/* ===================================
   NeoPlayLand - Premium Styles
   Style: Luxury/Premium
   Colors: Dark Blue + Gold + Anthracite
   =================================== */

:root {
    /* Premium Color Palette */
    --primary-gold: #d4af37;
    --secondary-gold: #ffd700;
    --dark-bg: #0a0e1a;
    --card-bg: #151b2e;
    --accent-blue: #1a2744;
    --text-light: #e8e8e8;
    --text-muted: #a0a0a0;
    --border-gold: #8b7355;
    --success-color: #28a745;
    --danger-color: #dc3545;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Header */
    --header-height: 70px;
    
    /* Shadows */
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ===================================
   RESET & BASE
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2744 100%);
    color: var(--text-light);
    line-height: 1.7;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   HEADER
   =================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(26, 39, 68, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-gold);
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
}

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin: 0;
    animation: pulse 2s infinite;
    font-family: 'Segoe UI', sans-serif;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex: 0 0 auto;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
}

.btn-nav {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: var(--dark-bg) !important;
    font-weight: 700;
    padding: 10px 24px !important;
    box-shadow: var(--shadow-gold);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.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(7px, -6px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(26, 39, 68, 0.9) 100%),
                url('../images/hero-bg.png') center/cover;
    background-attachment: scroll;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Segoe UI', sans-serif;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-hero-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--secondary-gold);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: var(--spacing-xl) 0;
    background: rgba(21, 27, 46, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-blue) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-family: 'Georgia', serif;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===================================
   GAMES SECTION
   =================================== */

.games-section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.game-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a2744 0%, #0a0e1a 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: var(--spacing-md);
}

.game-info h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-xs);
    font-family: 'Georgia', serif;
}

.game-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: var(--dark-bg);
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
    padding: var(--spacing-xl) 0;
    background: rgba(21, 27, 46, 0.5);
}

.faq-accordion {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
}

.faq-item {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-blue) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===================================
   DISCLAIMER SECTION
   =================================== */

.disclaimer-section {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    padding: var(--spacing-lg) 0;
    border-top: 3px solid var(--primary-gold);
    border-bottom: 3px solid var(--primary-gold);
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-content p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.disclaimer-badges {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: linear-gradient(135deg, #0a0e1a 0%, #151b2e 100%);
    border-top: 2px solid var(--primary-gold);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-family: 'Georgia', serif;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.footer-free {
    color: var(--success-color) !important;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.compliance-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.age-restriction {
    background: #ff6b35;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid white;
    flex-shrink: 0;
}

.compliance-logo {
    height: 35px !important;
    width: auto !important;
    min-width: 120px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gold);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    white-space: nowrap;
}

.compliance-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold);
}

.compliance-logo-text {
    display: inline-block;
}

.help-text {
    color: var(--text-light) !important;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-gold);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

/* ===================================
   POPUPS
   =================================== */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-blue) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
    text-align: center;
}

.popup-content h2 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
}

.popup-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.popup-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-blue) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-card);
    z-index: 9999;
    display: none;
}

.cookie-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.btn-cookie {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
    color: var(--dark-bg);
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: linear-gradient(135deg, rgba(10, 14, 26, 0.98) 0%, rgba(26, 39, 68, 0.98) 100%);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 16px;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-gold);
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .hero {
        padding-top: 100px !important;
        min-height: calc(100vh - 60px) !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .compliance-logos {
        justify-content: center;
    }
    
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .free-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    .popup-content {
        width: 95%;
        padding: var(--spacing-md);
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.game-card,
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.game-card:nth-child(2) {
    animation-delay: 0.15s;
}

.game-card:nth-child(3) {
    animation-delay: 0.3s;
}

