* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #00ffa6;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #151515;
    --text-white: #ffffff;
    --border-color: #2a2a2a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Bar */
.age-bar {
    background: var(--teal);
    padding: 15px 0;
    color: var(--dark-bg);
}

.age-bar .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.age-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.age-bar p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Header */
.header {
    background: var(--darker-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--teal);
    font-size: 32px;
    font-weight: bold;
}

.logo-text {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-white);
}

.nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--teal);
}

.nav a.highlight {
    font-weight: 900;
}

/* Hero Section */
.hero {
    background: var(--darker-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(0, 255, 166, 0.03) 35px,
        rgba(0, 255, 166, 0.03) 70px
    );
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(70px, 70px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #cccccc;
}

/* Winning Streak Section */
.winning-streak {
    background: var(--dark-bg);
    padding: 80px 0;
}

.streak-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.streak-image img {
    width: 100%;
    height: auto;
}

.streak-text .section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.section-title.center {
    text-align: center;
}

.streak-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.placeholder {
    opacity: 0.7;
    font-style: italic;
}

/* Social Gaming Section */
.social-gaming {
    background: var(--darker-bg);
    padding: 80px 0;
    text-align: center;
}

.center-text {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #cccccc;
}

/* How It Works Section */
.how-it-works {
    background: var(--dark-bg);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 10px 30px rgba(0, 255, 166, 0.1);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-card p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

/* Games Section */
.games-section {
    background: var(--darker-bg);
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal);
    box-shadow: 0 15px 40px rgba(0, 255, 166, 0.2);
}

.game-image {
    width: 100%;
    height: 200px;
    background: var(--darker-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.play-btn {
    background: var(--teal);
    color: var(--dark-bg);
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.play-btn:hover {
    background: #00e595;
    transform: scale(1.05);
}

/* Mid Footer */
.mid-footer {
    background: var(--dark-bg);
    padding: 50px 0;
    text-align: center;
}

.mid-footer p {
    font-size: 20px;
    color: #cccccc;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--teal);
}

.footer-disclaimer {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--dark-bg);
    border-radius: 8px;
}

.footer-age-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark-bg);
    flex-shrink: 0;
}

.footer-text p {
    font-size: 12px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.copyright p {
    font-size: 12px;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--teal);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup.active {
    display: flex;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.popup-content {
    position: relative;
    background: var(--darker-bg);
    border: 2px solid var(--teal);
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--teal);
    font-size: 40px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Age 18+ Popup */
.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    animation: fadeIn 0.3s ease;
}

.age-popup.active {
    display: flex;
}

.age-popup-content {
    background: var(--darker-bg);
    border: 3px solid var(--teal);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 255, 166, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.age-popup-icon {
    width: 100px;
    height: 100px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-bg);
    margin: 0 auto 30px;
    border: 5px solid white;
}

.age-popup-content h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.age-popup-content p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 30px;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
}

.age-btn-enter {
    background: var(--teal);
    color: var(--dark-bg);
}

.age-btn-enter:hover {
    background: #00e595;
    transform: scale(1.05);
}

.age-btn-exit {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.age-btn-exit:hover {
    border-color: #ff3d3d;
    color: #ff3d3d;
    transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--darker-bg);
    border-top: 3px solid var(--teal);
    padding: 20px 30px;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.cookie-text strong {
    color: var(--teal);
    font-weight: 900;
}

.cookie-btn {
    background: var(--teal);
    color: var(--dark-bg);
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #00e595;
    transform: scale(1.05);
}

/* Content Block Styles for Disclaimer, Privacy, Terms */
.disclaimer-section,
.privacy-section,
.terms-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.content-block {
    max-width: 900px;
    margin: 50px auto 0;
    background: var(--card-bg);
    padding: 50px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

.content-block strong {
    color: var(--teal);
    font-weight: 900;
}

.content-block h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--teal);
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-block li {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 12px;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.content-block li::before {
    content: '▶';
    color: var(--teal);
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 4px;
}

.content-block li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .streak-content {
        grid-template-columns: 1fr;
    }

    .streak-image {
        order: 2;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 11px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .age-popup-content {
        padding: 40px 25px;
    }

    .age-popup-icon {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .age-popup-content h2 {
        font-size: 22px;
    }

    .age-popup-content p {
        font-size: 13px;
    }

    .age-popup-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .content-block {
        padding: 30px 20px;
    }

    .content-block h3 {
        font-size: 18px;
    }

    .content-block p,
    .content-block li {
        font-size: 14px;
    }
}
