/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.main-header {
    background-color: #000000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    gap: 8px;
}

.play-btn {
    background-color: #4CAF50;
    color: white;
}

.play-btn:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.register-btn {
    background-color: #ff9800;
    color: white;
}

.register-btn:hover {
    background-color: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-title {
    text-align: center;
    margin-bottom: 40px;
    color: #222;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.content-title p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Hero Section */
.hero-section {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-section:hover .hero-img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(76, 175, 80, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 30px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 12px;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-play-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.hero-play-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #3d8b40 0%, #1B5E20 100%);
}

.hero-register-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.hero-register-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.6);
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

/* Content Blocks */
.content-blocks {
    margin: 50px 0;
}

.content-block {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Added for table overflow */
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.block-text {
    margin-bottom: 30px;
}

.block-text h2 {
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
}

.block-text h3 {
    font-size: 1.5rem;
    color: #1a237e;
    margin: 25px 0 15px 0;
}

.block-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.block-image {
    margin: 30px 0;
    text-align: center;
}

.content-img {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.content-block:hover .content-img {
    transform: scale(1.02);
}

/* Placeholder for missing content images */
.content-img[src*="images/content/"]:not([src]),
.content-img:not([src]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 350px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

.content-img:not([src]):after {
    content: "Content image placeholder\A Image path: images/content/example.jpg";
    white-space: pre;
}

.block-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.content-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    min-width: 180px;
}

.play-content-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
}

.play-content-btn:hover {
    background: linear-gradient(135deg, #3d8b40 0%, #1B5E20 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.register-content-btn {
    background: linear-gradient(135deg, #2196F3 0%, #0b7dda 100%);
    color: white;
}

.register-content-btn:hover {
    background: linear-gradient(135deg, #0b7dda 0%, #0d47a1 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

/* Game Items */
.game-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #4CAF50;
}

.game-item h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Lists */
.advantages-list ul,
.steps-list,
.recommendations-list,
.payment-features,
.withdrawal-requirements {
    margin: 20px 0;
    padding-left: 20px;
}

.advantages-list li,
.steps-list li,
.recommendations-list li,
.payment-features li,
.withdrawal-requirements li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.advantages-list i {
    color: #4CAF50;
    margin-right: 10px;
}

.steps-list {
    list-style-type: decimal;
}

.recommendations-list {
    list-style-type: disc;
}

/* Tables - UPDATED with borders and full width */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border: 1px solid #ddd; /* Added border */
    border-radius: 8px; /* Added border radius */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
}

.advantages-table,
.bonus-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
}

.advantages-table th,
.bonus-table th {
    background-color: #1a237e;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #1a237e; /* Added border */
}

.advantages-table td,
.bonus-table td {
    padding: 15px;
    border: 1px solid #ddd; /* Added border */
}

.advantages-table tr:nth-child(even),
.bonus-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.advantages-table tr:hover,
.bonus-table tr:hover {
    background-color: #f0f7f0;
}

/* Bonus Types */
.bonus-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bonus-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0; /* Added border */
}

.bonus-item:hover {
    transform: translateY(-5px);
    background-color: #e8f5e9;
    border-color: #4CAF50; /* Added border color change on hover */
}

.bonus-icon {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.bonus-item h4 {
    color: #333;
    font-size: 1rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0; /* Added border */
}

.advantage-item:hover {
    background-color: #e8f5e9;
    transform: translateX(5px);
    border-color: #4CAF50; /* Added border color change on hover */
}

.advantage-item i {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-top: 3px;
}

.advantage-item h4 {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1a237e;
    font-size: 2rem;
    position: relative;
}

.faq-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    margin: 15px auto;
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.faq-item:hover {
    border-color: #4CAF50;
    background-color: #f0f7f0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    color: #4CAF50;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    content: "−";
    transform: rotate(0deg);
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 15px;
}

/* Footer Styles */
.main-footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logos {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff9800;
    text-decoration: underline;
}

.footer-text {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .content-title h1 {
        font-size: 2rem;
    }
    
    .content-title p {
        font-size: 1rem;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 15px 25px;
        min-width: 160px;
        font-size: 1rem;
    }
    
    .content-block {
        padding: 30px 20px;
    }
    
    .block-text h2 {
        font-size: 1.6rem;
    }
    
    .content-img {
        height: 250px;
    }
    
    .block-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-logos {
        justify-content: center;
    }
    
    /* Responsive Tables */
    .advantages-table,
    .bonus-table {
        font-size: 0.9rem;
    }
    
    .advantages-table th,
    .advantages-table td,
    .bonus-table th,
    .bonus-table td {
        padding: 10px;
    }
    
    .bonus-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .content-img {
        height: 200px;
    }
    
    .bonus-types {
        grid-template-columns: 1fr;
    }
    
    .game-item {
        padding: 15px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    /* Mobile table adjustments */
    .table-container {
        border: none;
        box-shadow: none;
    }
    
    .advantages-table,
    .bonus-table {
        display: block;
    }
    
    .advantages-table thead,
    .bonus-table thead {
        display: none;
    }
    
    .advantages-table tr,
    .bonus-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }
    
    .advantages-table td,
    .bonus-table td {
        display: block;
        text-align: right;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }
    
    .advantages-table td:before,
    .bonus-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: 600;
        color: #1a237e;
    }
    
    .advantages-table td:last-child,
    .bonus-table td:last-child {
        border-bottom: 0;
    }
}
