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

:root {
    --aurora-teal: #00ffc8;
    --aurora-blue: #00d4ff;
    --aurora-cyan: #00fff5;
    --deep-navy: #0a1628;
    --midnight-blue: #1a2942;
    --slate: #2d3e5f;
    --ice-white: #f0f9ff;
    --snow-white: #ffffff;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--ice-white);
    background: var(--deep-navy);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 200, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--snow-white);
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--ice-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-teal), var(--aurora-blue));
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--aurora-teal);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--aurora-teal);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.aurora-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--midnight-blue) 50%, var(--deep-navy) 100%);
    z-index: 0;
}

.aurora-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 200, 0.15) 0%, transparent 70%);
    animation: aurora-float 20s ease-in-out infinite;
}

.aurora-background::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: aurora-float 25s ease-in-out infinite reverse;
}

@keyframes aurora-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue), var(--aurora-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--ice-white);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    color: var(--deep-navy);
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 200, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--snow-white);
    border: 2px solid var(--aurora-teal);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 255, 200, 0.1);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--ice-white);
    font-size: 14px;
    margin-top: 8px;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--midnight-blue);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--ice-white);
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 200, 0.1);
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--aurora-teal);
}

.game-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.8) 100%);
}

.aurora-slots {
    background: url("/images/aurora-slots.svg") center/cover no-repeat;
    position: relative;
}

.northern-roulette {
    background: url("/images/northern-roulette.svg") center/cover no-repeat;
    position: relative;
}

.polar-poker {
    background: url("/images/polar-poker.svg") center/cover no-repeat;
    position: relative;
}

.game-info {
    padding: 28px;
}

.game-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--aurora-teal);
}

.game-info p {
    color: var(--ice-white);
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-game {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    color: var(--deep-navy);
    font-weight: 700;
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 200, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--deep-navy);
}

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

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 200, 0.1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--aurora-teal);
}

.feature-icon {
    color: var(--aurora-teal);
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--snow-white);
}

.feature-card p {
    color: var(--ice-white);
    line-height: 1.8;
}

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

.disclaimer-box {
    background: rgba(0, 255, 200, 0.05);
    border: 2px solid var(--aurora-teal);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.disclaimer-box h3 {
    font-size: 28px;
    color: var(--aurora-teal);
    margin-bottom: 20px;
}

.disclaimer-box p {
    color: var(--ice-white);
    margin-bottom: 16px;
    line-height: 1.8;
}

.help-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.help-links a {
    color: var(--aurora-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid var(--aurora-blue);
    border-radius: 8px;
    transition: var(--transition);
}

.help-links a:hover {
    background: var(--aurora-blue);
    color: var(--deep-navy);
}

/* Footer */
.footer {
    background: var(--deep-navy);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 200, 0.1);
}

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

.footer-column h4 {
    color: var(--aurora-teal);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-column ul li a {
    color: var(--ice-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--aurora-teal);
    padding-left: 5px;
}

.footer-disclaimer {
    background: rgba(0, 255, 200, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    color: var(--ice-white);
    margin-bottom: 16px;
    line-height: 1.7;
}

.footer-help-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-help-links span {
    color: var(--aurora-teal);
    font-weight: 600;
}

.footer-help-links a {
    color: var(--aurora-blue);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-help-links a:hover {
    color: var(--aurora-teal);
}

.footer-contact {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(0, 255, 200, 0.1);
}

.footer-contact p {
    color: var(--ice-white);
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--ice-white);
    font-size: 14px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--midnight-blue);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 2px solid var(--aurora-teal);
    box-shadow: var(--shadow-lg);
}

.age-modal {
    text-align: center;
}

.aurora-effect {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue), var(--aurora-cyan));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: aurora-pulse 3s ease-in-out infinite;
}

@keyframes aurora-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.age-modal h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--aurora-teal);
}

.age-modal p {
    color: var(--ice-white);
    margin-bottom: 32px;
}

.age-verification {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--aurora-teal);
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

.checkbox-container input:checked + .checkmark {
    background: var(--aurora-teal);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--deep-navy);
    font-weight: 700;
    font-size: 16px;
}

.checkbox-container span:last-child {
    color: var(--ice-white);
    text-align: left;
}

.disclaimer-small {
    font-size: 12px;
    color: var(--ice-white);
    margin-top: 20px;
    opacity: 0.7;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--midnight-blue);
    border-top: 2px solid var(--aurora-teal);
    padding: 20px;
    z-index: 1500;
    box-shadow: var(--shadow-lg);
}

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content p {
    color: var(--ice-white);
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--aurora-teal);
    text-decoration: underline;
}

/* Content Pages */
.page-header {
    padding: 140px 0 80px;
    text-align: center;
    background: var(--midnight-blue);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--ice-white);
}

.page-content {
    padding: 60px 0 100px;
    background: var(--deep-navy);
}

.content-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    border: 1px solid rgba(0, 255, 200, 0.1);
}

.content-box h2 {
    font-size: 28px;
    color: var(--aurora-teal);
    margin-bottom: 16px;
}

.content-box h3 {
    font-size: 22px;
    color: var(--aurora-cyan);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-box p {
    color: var(--ice-white);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-box ul, .content-box ol {
    color: var(--ice-white);
    margin-left: 24px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-box ul li, .content-box ol li {
    margin-bottom: 8px;
}

.content-box a {
    color: var(--aurora-blue);
    text-decoration: underline;
}

/* Game Pages */
.game-container {
    min-height: 100vh;
    padding-top: 80px;
    background: var(--deep-navy);
}

.game-header {
    text-align: center;
    padding: 40px 0;
    background: var(--midnight-blue);
}

.game-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-interface {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(0, 255, 200, 0.05);
    border: 2px solid var(--aurora-teal);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.stat-box label {
    display: block;
    font-size: 14px;
    color: var(--ice-white);
    margin-bottom: 8px;
}

.stat-box .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--aurora-teal);
}

.game-board {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
}

.game-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-message {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 200, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--aurora-teal);
    font-size: 18px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        display: none;
        border-bottom: 2px solid var(--aurora-teal);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 32px;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .age-modal h2 {
        font-size: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

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