/* ===== SPIN CASINO - PREMIUM LIGHT DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Brand Colors (Spin Casino specific) */
    --brand-pink: #F42A5C;
    --brand-orange: #EE4E34;
    --brand-gradient: linear-gradient(135deg, var(--brand-pink), var(--brand-orange));
    --brand-hover: linear-gradient(135deg, #e31849, #df3c22);

    /* Backgrounds */
    --bg-main: #F4F6F9;
    --surface-glass: rgba(255, 255, 255, 0.85);
    --surface-solid: #FFFFFF;

    /* Text Colors */
    --text-primary: #1A1C23;
    --text-secondary: #5A6072;
    --text-pure: #ffffff;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-neon: 0 8px 25px rgba(244, 42, 92, 0.25);
    --blur-heavy: blur(20px);

    /* Radii */
    --radius-pill: 50px;
    --radius-lg: 24px;
    --radius-sm: 12px;

    /* Layout Z-indices */
    --z-header: 1000;
    --z-overlay: 2000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 120px;
    /* Space for floating header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* ===== FLOATING HEADER (DESKTOP) ===== */
.floating-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    background: var(--surface-glass);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.brand-logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(244, 42, 92, 0.08);
    color: var(--brand-pink);
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--text-pure);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244, 42, 92, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand-pink);
    color: var(--brand-pink);
}

.btn-secondary:hover {
    background: rgba(244, 42, 92, 0.05);
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 60px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero-content h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--surface-solid);
}

/* ===== FEATURES / CHARTS ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--surface-solid);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 320px;
    min-width: 0;
}

/* ===== SEO CONTENT & TABLES ===== */
.seo-content {
    background: var(--surface-solid);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin: 40px 0 80px;
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 40px 0 20px;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px 0 16px;
    color: var(--brand-orange);
}

.seo-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.text-link {
    color: var(--brand-pink);
    font-weight: 600;
    border-bottom: 2px solid rgba(244, 42, 92, 0.2);
    padding-bottom: 2px;
}

.text-link:hover {
    border-bottom-color: var(--brand-pink);
}

.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-solid);
}

.glass-table th,
.glass-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-table th {
    background: rgba(244, 42, 92, 0.05);
    color: var(--brand-pink);
    font-weight: 700;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--surface-solid);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--brand-pink);
    transform: translateX(4px);
}

/* ===== MOBILE ADAPTATION ===== */
.mobile-header {
    display: none;
}

.mobile-overlay {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    .floating-header {
        position: relative;
        top: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    body {
        padding-top: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Hide Desktop Header */
    .floating-header {
        display: none;
    }

    /* Enable Mobile Headers */
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: var(--surface-glass);
        backdrop-filter: var(--blur-heavy);
        z-index: var(--z-header);
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        z-index: 1;
    }

    .mobile-logo img {
        height: 40px;
    }

    .burger-btn {
        background: none;
        border: none;
        color: var(--text-primary);
        padding: 10px;
        margin-left: -10px;
        z-index: 2;
        cursor: pointer;
    }

    /* Mobile Overlay Menu */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: var(--surface-solid);
        z-index: var(--z-overlay);
        display: flex;
        flex-direction: column;
        padding: 24px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        pointer-events: none;
    }

    .mobile-overlay.is-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .overlay-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .overlay-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .overlay-links a {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 15px;
    }

    /* Content Tweaks */
    body {
        padding-top: 70px;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .seo-content {
        padding: 30px 20px;
        border-radius: var(--radius-sm);
        margin: 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}