* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --teal-color: #20b2aa;
    --teal-dark: #008080;
    --light-blue: #e0f7fa;
    --light-blue-bg: #b3e5fc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Popup */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.age-verification-overlay.hidden {
    display: none;
}

.age-verification-modal {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-verification-crown {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.age-verification-welcome {
    color: #27ae60;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.age-verification-disclaimer {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.age-verification-prompt {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 16px;
}

.age-verification-prompt strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.age-verification-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.age-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--teal-color);
    flex-shrink: 0;
}

.age-checkbox-label {
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-enter {
    background: #5dade2;
    color: var(--white);
    flex: 1;
}

.btn-enter:hover:not(:disabled) {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.4);
}

.btn-enter:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-exit {
    background: var(--teal-color);
    color: var(--white);
    flex: 1;
}

.btn-exit:hover {
    background: #1a9d8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.4);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner.hidden {
    display: none;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--white);
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Hero Features Cards */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    z-index: 10;
}

.hero-feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.hero-feature-card h3 {
    color: var(--teal-color);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-feature-card p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* Games Overview */
.games-overview,
.more-games {
    padding: 100px 0 60px;
    background: var(--light-blue);
}

.section-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.game-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 25px;
}

.game-card-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.game-card-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #555;
}

.btn-play {
    width: 100%;
    background: var(--success-color);
    color: var(--white);
    font-size: 18px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: block;
    border: none;
    cursor: pointer;
}

.btn-play:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-responsible-gaming {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer-responsible-gaming h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.responsible-gaming-logos a {
    display: inline-block;
    transition: opacity 0.3s, transform 0.3s;
}

.responsible-gaming-logos a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.responsible-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.responsible-logo:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Top Players Section */
.top-players {
    padding: 60px 0;
    background: var(--light-blue);
}

.top-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.player-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.player-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.player-icon.trophy {
    color: #ffd700;
}

.player-icon.checkmark {
    color: var(--teal-color);
    font-size: 40px;
    font-weight: bold;
}

.player-name {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.player-score {
    font-size: 28px;
    color: var(--teal-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.player-rank {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.player-rank.rank-1 {
    background: #ffd700;
    color: var(--secondary-color);
}

.player-rank.rank-2 {
    background: #c0c0c0;
    color: var(--secondary-color);
}

.player-rank.rank-3 {
    background: #cd7f32;
    color: var(--white);
}

/* Achievement Section */
.achievement-section {
    padding: 60px 0;
    background: var(--light-blue);
}

.achievement-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 40px auto 0;
    box-shadow: var(--shadow);
    text-align: center;
}

.achievement-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.achievement-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.achievement-description {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal-color) 0%, #4ecdc4 100%);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    display: block;
    color: var(--teal-color);
    font-weight: 600;
    font-size: 16px;
}

/* Clan Section */
.clan-section {
    padding: 60px 0;
    background: var(--light-blue);
}

.clan-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.clan-icon-item {
    text-align: center;
}

.clan-icon {
    font-size: 64px;
    margin-bottom: 15px;
    display: block;
}

.clan-icon-item p {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: var(--light-blue);
}

.testimonial-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.testimonial-name {
    font-size: 22px;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating .star {
    color: #ffd700;
    font-size: 24px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(32, 178, 170, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-dots .dot.active {
    background: var(--teal-color);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--teal-dark);
    color: var(--white);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.disclaimer-title {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
}

.disclaimer-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

.disclaimer-text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer-text a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 120px;
    }

    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }

    .hero-feature-card {
        padding: 20px;
    }

    .hero-feature-card h3 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }

    .top-players-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .player-card {
        padding: 25px;
    }

    .achievement-card {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .achievement-icon {
        font-size: 48px;
    }

    .achievement-title {
        font-size: 24px;
    }

    .achievement-description {
        font-size: 16px;
    }

    .clan-icons {
        gap: 40px;
    }

    .clan-icon {
        font-size: 48px;
    }

    .clan-icon-item p {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-name {
        font-size: 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .disclaimer-content {
        padding: 0 20px;
    }

    .disclaimer-icon {
        font-size: 48px;
    }

    .disclaimer-title {
        font-size: 24px;
    }

    .disclaimer-text {
        font-size: 16px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .age-verification-modal {
        padding: 40px 25px;
        max-width: 90%;
    }

    .age-verification-crown {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .age-verification-welcome {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .age-verification-disclaimer {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .age-verification-prompt {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .age-verification-checkbox-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }

    .age-checkbox-label {
        font-size: 14px;
    }

    .age-verification-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-enter,
    .btn-exit {
        width: 100%;
    }
    
    .responsible-gaming-logos {
        gap: 20px;
    }
    
    .responsible-logo {
        height: 40px;
        max-width: 120px;
    }
    
    .footer-responsible-gaming {
        padding: 20px 0;
    }
}

