:root {
    --primary: #00bbff;
    --primary-dark: #0072b4;
    --secondary: #14cc24;
    --accent: #ffc600;
    --bg-dark: #0b0d13;
    --bg-surface: #151924;
    --text-white: #ffffff;
    --text-muted: #8e99af;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        padding-left: 5px;
        padding-right: 5px;
    }
}

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

@media (max-width: 768px) {
    .container { padding: 0 25px; }
}

@media (max-width: 480px) {
    .container { padding: 0 22px; }
    html { font-size: 14px; }
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 25px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(11, 13, 19, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 187, 255, 0.3));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #8e99af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 187, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 187, 255, 0.5);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(0, 187, 255, 0.15), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(20, 204, 36, 0.1), transparent 40%);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    margin-top: -40px;
    position: relative;
    z-index: 20;
    padding: 30px 0;
    border-radius: 25px;
    background: rgba(21, 25, 36, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item .num {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Games Showcase */
.games-showcase {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

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

.game-item {
    padding: 40px;
    border-radius: 30px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.game-item:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.game-item img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 25px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.game-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.game-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Blog Section */
.blog-preview {
    padding: 100px 0;
}

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

.blog-card {
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.blog-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-img-box img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Referral Section */
.referral-highlight {
    padding: 40px 0;
}

.refer-box {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(21, 25, 36, 0.9), rgba(11, 13, 19, 0.9));
}

.refer-content {
    flex: 1;
}

.refer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.refer-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.refer-steps {
    list-style: none;
    margin-bottom: 40px;
}

.refer-steps li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.refer-steps span {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.refer-visual {
    flex: 1;
}

.refer-visual img {
    width: 100%;
    border-radius: 30px;
}

/* SEO Text Section */
.seo-text-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.text-block h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.text-block p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq { padding: 80px 0; }
.faq-container { max-width: 800px; margin: 40px auto 0; }
.faq-item { background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 15px; margin-bottom: 15px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 10px 30px rgba(232, 55, 12, 0.1); }
.faq-question { padding: 25px; cursor: pointer; font-size: 1.2rem; font-weight: 700; position: relative; }
.faq-answer { padding: 0 25px 25px; color: var(--text-muted); line-height: 1.6; display: none; }
.faq-item.active .faq-answer { display: block; }

/* SEO Detailed Content */
.seo-detailed-content { padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.seo-intro { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.seo-intro h2 { font-size: 2.5rem; margin-bottom: 20px; }
.seo-intro p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; }
.styled-list { list-style: none; padding: 0; margin-top: 20px; }
.styled-list li { position: relative; padding-left: 30px; margin-bottom: 15px; color: var(--text-muted); line-height: 1.6; }
.styled-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.styled-list li strong { color: var(--text-light); }

/* Final CTA */
.final-cta {
    padding: 120px 0;
}

.cta-container {
    text-align: center;
    padding: 100px 40px;
    border-radius: 50px;
    background: radial-gradient(circle at center, rgba(0, 187, 255, 0.1), transparent);
    border: 2px solid var(--primary);
}

.cta-container h2 {
    font-size: 3.5rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #080a0f;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    grid-column: span 2;
}

.footer-brand .logo {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 35px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin-top: 0;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 100%;
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer {
        text-align: center;
    }
}

/* Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 187, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 187, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 187, 255, 0); }
}

.pulse-glow {
    animation: pulse-glow 2.5s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: animate-up 1s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes animate-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

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

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* Responsive Improvements */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0f121a;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 25px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: white;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .menu-toggle {
        display: flex;
        margin-left: 20px;
    }

    .download-nav {
        margin-left: auto;
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .refer-box { flex-direction: column; padding: 40px; text-align: center; }
    .refer-steps li { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .refer-visual { order: -1; }
}

@media (max-width: 768px) {
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; padding: 0 10px; }
    .stats-flex { flex-direction: column; gap: 30px; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 40px; }
    .stat-item .num { font-size: 2rem; }
    .refer-box { padding: 30px 20px; }
    .refer-content h2 { font-size: 1.6rem; }
    .game-item { padding: 20px; }
    .blog-preview { padding: 50px 0; }
    .seo-text-section { padding: 50px 0; }
    .final-cta { padding: 50px 0; }
    .cta-container { padding: 50px 20px; }
    .cta-container h2 { font-size: 1.8rem; }
}
