/* ==========================================================================
   UFA191 - Main Stylesheet
   Modern dark theme with electric blue and cyan neon accents
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== */
:root {
    /* Colors - Electric Blue & Cyan Theme */
    --bg-primary: #0a0e17;
    --bg-secondary: #0d1320;
    --bg-tertiary: #131b2e;
    --bg-hover: #1a2540;

    --text-primary: #ffffff;
    --text-secondary: #a8b4c9;
    --text-muted: #6b7a94;

    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-tertiary: #00ffcc;
    --accent-primary-rgb: 0, 212, 255;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #00ffcc 50%, #00d4ff 100%);
    --accent-gradient-hover: linear-gradient(135deg, #00ffcc 0%, #00d4ff 50%, #00ffcc 100%);

    --border-primary: rgba(0, 212, 255, 0.15);
    --border-secondary: rgba(0, 212, 255, 0.25);

    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-heading: 'Prompt', sans-serif;
    --font-body: 'Sarabun', sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 4rem 1rem;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-tertiary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */
header[role="banner"] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid var(--border-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.875rem 1rem;
}

/* Logo */
.brand a {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
    transition: filter 0.3s ease;
}

.brand a:hover .header-logo {
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.5));
}

/* Navigation Menu */
.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-menu li a {
    display: block;
    padding: 0.625rem 1.125rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.08);
}

/* Desktop CTA */
.header-cta {
    display: none;
}

.header-cta .btn-cta {
    padding: 0.625rem 1.5rem;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.header-cta .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 1px solid var(--border-secondary);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: pointer;
}

/* Mobile Menu - Open State */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 1.5rem 2rem;
    z-index: 1001;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
    border-left: 1px solid var(--border-primary);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.nav-menu.active li a {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

.mobile-cta-item {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-primary);
}

.mobile-cta-item .btn-cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

/* Tablet and Desktop - 768px+ */
@media (min-width: 768px) {
    .header-container {
        padding: 1rem 2rem;
    }

    .header-logo {
        height: 48px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        animation: none;
        border: none;
        box-shadow: none;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.9375rem;
    }

    .mobile-cta-item {
        display: none;
    }

    .header-cta {
        display: block;
    }
}

/* Large Desktop - 1024px+ */
@media (min-width: 1024px) {
    .header-container {
        padding: 1rem 3rem;
    }

    .header-logo {
        height: 52px;
    }

    .nav-menu li a {
        padding: 0.5rem 1.25rem;
    }
}

/* Extra Large - 1280px+ */
@media (min-width: 1280px) {
    .header-container {
        padding: 1rem 4rem;
    }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
footer[role="contentinfo"] {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-primary);
    padding-bottom: 85px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3.5rem 1rem 1.5rem;
}

/* Footer Top - Grid Layout */
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Footer Brand Column */
.footer-brand {
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.25));
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Footer Columns */
.footer-column {
    text-align: center;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

/* Footer Contact */
.footer-contact {
    font-style: normal;
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Trust Badges Section */
.footer-trust {
    padding: 2rem 0;
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

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

.trust-badge svg {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.3));
}

.trust-badge span {
    font-size: 0.8125rem;
    text-align: center;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.8125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .footer-container {
        padding: 4rem 2rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

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

    .footer-column {
        text-align: left;
    }

    .footer-description {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .trust-badges {
        gap: 3rem;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .disclaimer {
        text-align: right;
        margin: 0;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .footer-container {
        padding: 5rem 3rem 2rem;
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3.5rem;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-logo {
        height: 50px;
    }
}

/* Large Desktop - 1280px+ */
@media (min-width: 1280px) {
    .footer-container {
        padding: 5rem 4rem 2rem;
    }
}

/* ==========================================================================
   STICKY BOTTOM BUTTONS
   ========================================================================== */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0.75rem;
    background: rgba(10, 14, 23, 0.98);
    border-top: 1px solid var(--border-primary);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

/* Secondary Buttons (Login, Register) */
.sticky-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.sticky-btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Primary Button (Main CTA) */
.sticky-btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.35);
}

.sticky-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 359px) {
    .sticky-bottom-bar {
        padding: 0.5rem 0.5rem;
        gap: 0.375rem;
    }

    .sticky-btn {
        padding: 0.625rem 0.375rem;
        font-size: 0.6875rem;
        border-radius: 25px;
    }
}

/* Small Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .sticky-btn {
        padding: 0.6875rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Medium Mobile (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .sticky-btn {
        padding: 0.75rem 0.625rem;
        font-size: 0.8125rem;
    }
}

/* Large Mobile / Phablet (576px+) */
@media (min-width: 576px) {
    .sticky-bottom-bar {
        padding: 0.875rem 1.5rem;
        gap: 0.75rem;
    }

    .sticky-btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .sticky-bottom-bar {
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .sticky-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
        max-width: 200px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .sticky-bottom-bar {
        justify-content: center;
        padding: 1rem 3rem;
    }

    .sticky-btn {
        flex: none;
        min-width: 160px;
        max-width: 220px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

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

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-secondary);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ==========================================================================
   SCROLLBAR STYLES
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ==========================================================================
   SELECTION STYLES
   ========================================================================== */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ==========================================================================
   MAIN CONTENT - HERO SECTION (Stacked/Vertical Layout)
   ========================================================================== */
.hero {
    position: relative;
    padding: 3rem 1rem 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-cta .btn {
    width: 100%;
    max-width: 320px;
}

.hero-image-wrapper {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glow), var(--shadow-card);
    border: 1px solid var(--border-primary);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-subtext {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    text-align: center;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .hero {
        padding: 4rem 2rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .hero-cta .btn {
        width: auto;
        max-width: none;
    }

    .hero-subtext {
        padding: 2rem;
        font-size: 1rem;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .hero {
        padding: 5rem 3rem 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-image-wrapper {
        border-radius: 20px;
    }
}

/* Large Desktop - 1280px+ */
@media (min-width: 1280px) {
    .hero {
        padding: 6rem 4rem 5rem;
    }

    .hero h1 {
        font-size: 3.25rem;
    }
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

.section-image {
    margin: 0 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-primary);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .section-container {
        padding: 0 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1.0625rem;
    }

    .section-image {
        border-radius: 16px;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .section-container {
        padding: 0 3rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .section-description {
        font-size: 1.125rem;
    }
}

/* Large Desktop - 1280px+ */
@media (min-width: 1280px) {
    .section-container {
        padding: 0 4rem;
    }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-secondary);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 204, 0.05) 100%);
    border-radius: 50%;
    border: 1px solid var(--border-primary);
}

.feature-icon svg {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .features {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .features {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .feature-card {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   CONTENT SECTIONS (Football, Slots, Casino, etc.)
   ========================================================================== */
.football-betting,
.slots-section,
.casino-section,
.deposit-section,
.other-games-section,
.registration-section,
.promotions-section,
.support-section {
    padding: 3rem 0;
}

.football-betting {
    background: var(--bg-secondary);
}

.slots-section {
    background: var(--bg-primary);
}

.casino-section {
    background: var(--bg-secondary);
}

.deposit-section {
    background: var(--bg-primary);
}

.other-games-section {
    background: var(--bg-secondary);
}

.registration-section {
    background: var(--bg-primary);
}

.promotions-section {
    background: var(--bg-secondary);
}

.support-section {
    background: var(--bg-primary);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
}

.content-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 212, 255, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.content-box a:hover {
    text-decoration-color: var(--accent-primary);
}

/* Highlight Box */
.highlight-box {
    margin: 2rem 0 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 204, 0.04) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.highlight-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

.highlight-box p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* CTA Box */
.cta-box {
    text-align: center;
    margin-top: 2rem;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .football-betting,
    .slots-section,
    .casino-section,
    .deposit-section,
    .other-games-section,
    .registration-section,
    .promotions-section,
    .support-section {
        padding: 4rem 0;
    }

    .content-box p {
        font-size: 1.0625rem;
    }

    .highlight-box {
        padding: 2rem;
    }

    .highlight-box h3 {
        font-size: 1.25rem;
    }

    .highlight-box p {
        font-size: 1rem;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .football-betting,
    .slots-section,
    .casino-section,
    .deposit-section,
    .other-games-section,
    .registration-section,
    .promotions-section,
    .support-section {
        padding: 5rem 0;
    }

    .content-box p {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   CASINO TABLE
   ========================================================================== */
.casino-table-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.casino-table th,
.casino-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

.casino-table th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 204, 0.08) 100%);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent-primary);
    white-space: nowrap;
}

.casino-table td {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.casino-table tbody tr:last-child td {
    border-bottom: none;
}

.casino-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .casino-table th,
    .casino-table td {
        padding: 1.25rem 1.5rem;
    }

    .casino-table th {
        font-size: 1rem;
    }

    .casino-table td {
        font-size: 1rem;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-secondary);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item dt {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 204, 0.04) 100%);
    border-bottom: 1px solid var(--border-primary);
}

.faq-item dd {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    padding: 1.25rem 1.5rem;
    margin: 0;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }

    .faq-item dt {
        font-size: 1.125rem;
        padding: 1.5rem 2rem;
    }

    .faq-item dd {
        font-size: 1rem;
        padding: 1.5rem 2rem;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .faq-section {
        padding: 5rem 0;
    }

    .faq-item {
        border-radius: 16px;
    }
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-section .section-container {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.final-cta-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cta-buttons .btn {
    width: 100%;
    max-width: 280px;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .final-cta-section {
        padding: 5rem 0;
    }

    .final-cta-section h2 {
        font-size: 2.25rem;
    }

    .final-cta-section p {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .cta-buttons .btn {
        width: auto;
        max-width: none;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .final-cta-section {
        padding: 6rem 0;
    }

    .final-cta-section h2 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   BUTTON LARGE VARIANT
   ========================================================================== */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

@media (min-width: 768px) {
    .btn-large {
        padding: 1.125rem 3rem;
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   VISUALLY HIDDEN (Accessibility)
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   PROMOTIONS PAGE STYLES
   ========================================================================== */

/* ==========================================================================
   PROMOTIONS HERO - Card/Floating Box Over Background (Pattern 6)
   ========================================================================== */
.promo-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.promo-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.promo-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.92) 0%, rgba(13, 19, 32, 0.85) 50%, rgba(10, 14, 23, 0.75) 100%);
    z-index: 2;
}

.promo-hero-container {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3rem 1rem;
    width: 100%;
}

.promo-hero-card {
    background: linear-gradient(135deg, rgba(19, 27, 46, 0.95) 0%, rgba(13, 19, 32, 0.98) 100%);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.promo-hero-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-hero-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.promo-hero-cta {
    display: flex;
    gap: 1rem;
}

.promo-hero-cta .btn {
    flex: 1;
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .promo-hero {
        min-height: 550px;
    }

    .promo-hero-container {
        padding: 4rem 2rem;
    }

    .promo-hero-card {
        padding: 3rem;
    }

    .promo-hero-card h1 {
        font-size: 2rem;
    }

    .promo-hero-description {
        font-size: 1rem;
    }

    .promo-hero-cta .btn {
        flex: none;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .promo-hero {
        min-height: 600px;
    }

    .promo-hero-container {
        padding: 5rem 3rem;
    }

    .promo-hero-card {
        padding: 3.5rem;
        border-radius: 24px;
    }

    .promo-hero-card h1 {
        font-size: 2.5rem;
    }

    .promo-hero-description {
        font-size: 1.0625rem;
    }
}

/* Large Desktop - 1280px+ */
@media (min-width: 1280px) {
    .promo-hero-container {
        padding: 6rem 4rem;
    }

    .promo-hero-card h1 {
        font-size: 2.75rem;
    }
}

/* ==========================================================================
   PROMOTIONS INTRO SECTION
   ========================================================================== */
.promo-intro {
    padding: 3rem 0;
    background: var(--bg-primary);
}

@media (min-width: 768px) {
    .promo-intro {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   PROMOTIONS SECTION
   ========================================================================== */
.promo-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.promo-section-alt {
    background: var(--bg-secondary);
}

@media (min-width: 768px) {
    .promo-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .promo-section {
        padding: 5rem 0;
    }
}

/* ==========================================================================
   PROMO CARD HIGHLIGHT
   ========================================================================== */
.promo-card-highlight {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    max-width: 400px;
    margin: 2rem auto 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.promo-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.promo-card-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    border-color: var(--border-secondary);
}

.promo-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 255, 204, 0.06) 100%);
    border-radius: 50%;
    border: 2px solid var(--border-secondary);
}

.promo-card-icon svg {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.promo-card-highlight h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.promo-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.promo-card-highlight p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promo-card-highlight .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .promo-card-highlight {
        padding: 3rem 2rem;
    }

    .promo-card-highlight h3 {
        font-size: 1.75rem;
    }

    .promo-value {
        font-size: 2rem;
    }
}

/* ==========================================================================
   VIP TABLE
   ========================================================================== */
.vip-table-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vip-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.vip-table th,
.vip-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

.vip-table th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 204, 0.08) 100%);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent-primary);
    white-space: nowrap;
}

.vip-table td {
    font-size: 0.875rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.vip-table tbody tr:last-child td {
    border-bottom: none;
}

.vip-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.vip-tier {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vip-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    color: #fff;
}

.vip-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: #1a1a1a;
}

.vip-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a1a;
}

.vip-platinum {
    background: linear-gradient(135deg, #e5e4e2 0%, #a0b2c6 100%);
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .vip-table th,
    .vip-table td {
        padding: 1.25rem 1.5rem;
    }

    .vip-table th {
        font-size: 1rem;
    }

    .vip-table td {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   REFERRAL STEPS
   ========================================================================== */
.referral-steps {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 204, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
}

.referral-steps h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
}

.step-text {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-top: 0.375rem;
}

@media (min-width: 768px) {
    .referral-steps {
        padding: 2.5rem 3rem;
    }

    .referral-steps h3 {
        font-size: 1.375rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .step-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CTA BOX ENHANCEMENTS
   ========================================================================== */
.promo-section .cta-box {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
}

.promo-section .cta-box p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.promo-section .cta-box .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.promo-section .cta-box .btn {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 768px) {
    .promo-section .cta-box {
        padding: 2.5rem 3rem;
    }

    .promo-section .cta-box .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .promo-section .cta-box .btn {
        width: auto;
        max-width: none;
    }
}
