/* Root Variables */
:root {
    --primary-color: #094b47;
    --secondary-color: #32bfde;
    --accent-color: #ceb143;
    --light-bg: #eaf6fa;
    --light-blue: #b2ebf2;
    --dark-bg: #0a1f1e;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 75, 71, 0.95);
    display: none; /* Hidden by default to prevent flash */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.age-popup .crown-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.popup-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.age-confirm {
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-container label {
    cursor: pointer;
    font-size: 16px;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-play {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2aa3bf;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 191, 222, 0.3);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-play {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 24px;
    font-size: 14px;
}

.btn-play:hover {
    background-color: #2aa3bf;
}

/* Header */
.header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.crown-logo {
    font-size: 32px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #094b47 0%, #0a3532 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="100" r="150" fill="rgba(50,191,222,0.1)"/><circle cx="900" cy="400" r="200" fill="rgba(206,177,67,0.1)"/><circle cx="600" cy="300" r="100" fill="rgba(178,235,242,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Section Title */
.section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.game-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-content {
    padding: 25px;
}

.game-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.game-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

/* Tournaments Section */
.tournaments-section {
    padding: 80px 0;
    background: white;
}

.leaderboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.leaderboard-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, #d4f1f4 100%);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 40px;
}

.player-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaderboard-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.score {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.rank-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #000;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a157 100%);
    color: #000;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
    background: var(--light-blue);
}

.achievement-box {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.achievement-box h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.achievement-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Clans Section */
.clans-section {
    padding: 80px 0;
    background: white;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.clan-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.clan-icon {
    font-size: 80px;
    transition: var(--transition);
    cursor: pointer;
}

.clan-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stars {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: var(--primary-color);
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.disclaimer-box h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 32px;
}

.disclaimer-box p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
}

.disclaimer-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
    transition: var(--transition);
}

.disclaimer-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.user-level {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
}

.responsible-gaming {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gaming-logos a,
.age-restriction {
    opacity: 0.8;
    transition: var(--transition);
}

.gaming-logos a:hover {
    opacity: 1;
}

.gaming-logos img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.gaming-logos img:hover {
    filter: brightness(1);
}

.age-restriction img {
    height: 60px;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.faq-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.faq-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN - FULL ADAPTIVE SYSTEM
   ======================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 17px;
    }

    .section-title {
        font-size: 32px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .leaderboard {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header & Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        font-size: 16px;
        padding: 12px 0;
    }

    .logo {
        font-size: 24px;
    }

    .logo-img {
        height: 35px;
    }

    /* Hero Section */
    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .hero-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    /* Section Titles */
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding-bottom: 12px;
    }

    .section-title::after {
        width: 80px;
        height: 3px;
    }

    /* Games Section */
    .games-section {
        padding: 60px 0;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .game-card {
        margin: 0;
    }

    .game-content {
        padding: 20px;
    }

    .game-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .game-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .game-features {
        gap: 8px;
        margin-bottom: 15px;
    }

    .feature-tag {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* Tournaments Section */
    .tournaments-section {
        padding: 60px 0;
    }

    .leaderboard {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .leaderboard-card {
        padding: 30px 25px;
    }

    .player-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .leaderboard-card h3 {
        font-size: 20px;
    }

    .score {
        font-size: 15px;
    }

    /* Achievements Section */
    .achievements-section {
        padding: 60px 0;
    }

    .achievement-box {
        padding: 35px 25px;
    }

    .achievement-icon {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .achievement-box h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .achievement-box p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .progress-bar {
        height: 25px;
    }

    .progress-text {
        font-size: 16px;
    }

    /* Clans Section */
    .clans-section {
        padding: 60px 0;
    }

    .section-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

    .clan-icons {
        gap: 35px;
        margin-top: 30px;
    }

    .clan-icon {
        font-size: 60px;
    }

    /* Testimonials Section */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-slider {
        padding: 0 50px;
        max-width: 600px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .testimonial-card h4 {
        font-size: 18px;
    }

    .stars {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .testimonial-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    /* Disclaimer Section */
    .disclaimer-section {
        padding: 60px 0;
    }

    .disclaimer-box {
        padding: 35px 25px;
    }

    .disclaimer-box h2 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .disclaimer-box p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .disclaimer-link {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 35px;
    }

    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .user-level {
        font-size: 16px;
    }

    .gaming-logos {
        gap: 20px;
        flex-wrap: wrap;
    }

    .gaming-logos img {
        height: 40px;
    }

    .age-restriction img {
        height: 50px;
    }

    /* FAQ Styles */
    .faq-list {
        gap: 15px;
    }

    .faq-item {
        padding: 25px 20px;
    }

    .faq-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .faq-item p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-play {
        padding: 11px 25px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 35px;
        font-size: 17px;
    }

    /* Feature Cards */
    .feature-card {
        padding: 25px 20px;
    }

    .card-icon {
        font-size: 45px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* Cookie Banner */
    .cookie-banner {
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Popup */
    .popup-content {
        padding: 35px 25px;
        max-width: 450px;
    }

    .popup-content h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .popup-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .age-popup .crown-icon {
        font-size: 50px;
        margin-bottom: 18px;
    }

    .popup-buttons {
        gap: 12px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    /* Contact Form */
    form input,
    form select,
    form textarea {
        font-size: 15px;
        padding: 11px;
    }

    form label {
        font-size: 15px;
    }

    /* Text Content */
    p, li, span, a {
        font-size: 15px;
        line-height: 1.7;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .header {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    .logo-img {
        height: 30px;
    }

    .nav-menu {
        top: 60px;
        padding: 15px;
        max-height: calc(100vh - 60px);
    }

    .nav-menu a {
        font-size: 15px;
        padding: 10px 0;
    }

    /* Hero Section */
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Section Titles */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Sections */
    .games-section,
    .tournaments-section,
    .achievements-section,
    .clans-section,
    .testimonials-section,
    .disclaimer-section {
        padding: 50px 0;
    }

    /* Games Grid */
    .games-grid {
        gap: 20px;
    }

    .game-image {
        height: 200px;
    }

    .game-content {
        padding: 18px;
    }

    .game-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .game-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .feature-tag {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Leaderboard */
    .leaderboard {
        gap: 20px;
    }

    .leaderboard-card {
        padding: 25px 20px;
    }

    .player-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .leaderboard-card h3 {
        font-size: 18px;
    }

    .score {
        font-size: 14px;
    }

    .rank-badge {
        font-size: 35px;
        top: 10px;
        left: 10px;
    }

    /* Achievements */
    .achievement-box {
        padding: 25px 18px;
    }

    .achievement-icon {
        font-size: 50px;
        margin-bottom: 12px;
    }

    .achievement-box h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .achievement-box p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .progress-bar {
        height: 22px;
        margin-bottom: 8px;
    }

    .progress-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    /* Clans */
    .section-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .clan-icons {
        gap: 25px;
        margin-top: 25px;
        flex-wrap: wrap;
    }

    .clan-icon {
        font-size: 50px;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0 40px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .testimonial-card h4 {
        font-size: 17px;
    }

    .stars {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    /* Disclaimer */
    .disclaimer-box {
        padding: 25px 20px;
    }

    .disclaimer-box h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .disclaimer-box h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }

    .disclaimer-box p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .disclaimer-box ul {
        margin-left: 20px;
    }

    .disclaimer-box li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .disclaimer-link {
        font-size: 15px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }

    .footer-logo {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .footer-column ul li {
        margin-bottom: 6px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 13px;
    }

    .user-level {
        font-size: 15px;
    }

    .gaming-logos {
        gap: 15px;
    }

    .gaming-logos img {
        height: 35px;
        width: auto;
    }

    .age-restriction img {
        height: 45px;
        width: auto;
    }

    .responsible-gaming {
        padding-top: 25px;
    }

    /* FAQ */
    .faq-list {
        gap: 12px;
    }

    .faq-item {
        padding: 20px 18px;
    }

    .faq-item h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .faq-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    .faq-item a {
        font-size: 14px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-play {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .popup-buttons button {
        width: 100%;
    }

    /* Feature Cards */
    .feature-card {
        padding: 20px 18px;
    }

    .card-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* Cookie Banner */
    .cookie-banner {
        padding: 12px;
    }

    .cookie-content {
        gap: 12px;
    }

    .cookie-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Popup */
    .popup-content {
        padding: 30px 20px;
        width: 95%;
        max-width: 380px;
    }

    .popup-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .popup-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .age-popup .crown-icon {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .age-confirm {
        font-size: 14px;
        margin: 15px 0;
    }

    .checkbox-container {
        gap: 8px;
        margin: 15px 0;
    }

    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .checkbox-container label {
        font-size: 14px;
    }

    .popup-buttons {
        gap: 10px;
        margin-top: 18px;
    }

    /* Contact Form */
    form {
        gap: 18px;
    }

    form input,
    form select,
    form textarea {
        font-size: 14px;
        padding: 10px;
    }

    form label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    form textarea {
        min-height: 120px;
    }

    /* Text Content - Mobile */
    p, li, span, a, label {
        font-size: 14px;
        line-height: 1.6;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 15px;
    }

    /* Tournament Cards */
    .tournament-card {
        padding: 20px 18px;
    }

    .tournament-card h3 {
        font-size: 20px;
    }

    .tournament-card > div {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    /* Contact Page Cards */
    .contact-card {
        padding: 25px 18px;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    /* Content Boxes */
    div[style*="background: white"],
    div[style*="background: var(--light-bg)"] {
        padding: 20px 18px !important;
    }

    div[style*="font-size: 50px"],
    div[style*="font-size: 60px"],
    div[style*="font-size: 80px"] {
        font-size: 40px !important;
        margin-bottom: 12px !important;
    }
}

/* Very Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero-description {
        font-size: 13px;
    }

    .section-title {
        font-size: 20px;
    }

    .game-content h3 {
        font-size: 18px;
    }

    .leaderboard-card h3 {
        font-size: 17px;
    }

    .achievement-box h3 {
        font-size: 20px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-play {
        padding: 9px 18px;
        font-size: 13px;
    }

    .popup-content {
        padding: 25px 15px;
        width: 98%;
    }

    .popup-content h2 {
        font-size: 20px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }

    .nav-menu {
        max-height: calc(100vh - 60px);
    }

    .popup-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}
