:root {
    /* Refined Luxury HSL Palette */
    --p-h: 45;  /* Primary Hue: Gold */
    --p-s: 65%;
    --p-l: 53%;
    
    --primary: hsl(var(--p-h), var(--p-s), var(--p-l));
    --primary-bright: hsl(var(--p-h), var(--p-s), 80%);
    --primary-glow: hsla(var(--p-h), var(--p-s), var(--p-l), 0.4);
    
    --secondary: hsl(275, 70%, 35%); /* Deep Royal Purple */
    --accent: hsl(0, 100%, 65%); /* Vibrant Red/Coral */
    
    --bg-dark: hsl(240, 30%, 3%);
    --bg-card: hsla(240, 25%, 15%, 0.7);
    --bg-glass: hsla(0, 0%, 100%, 0.03);
    --border-glass: hsla(0, 0%, 100%, 0.12);
    
    --text-main: hsl(210, 20%, 98%);
    --text-muted: hsl(240, 10%, 75%);
    
    /* Standardized Spacing & Sizing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 100px;
    
    --font-heading: 'Prompt', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary) 50%, #8b6d11 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

a {
    transition: var(--transition);
    text-decoration: none;
}

/* Layout Containers */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
}

/* Premium Sticky Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    background: hsla(240, 30%, 3%, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

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

.logo {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 2rem);
}

/* Nav Buttons & Action Items */
.nav-btn {
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-login {
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

/* Nav Button Active States */
.nav-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: hsla(var(--p-h), var(--p-s), var(--p-l), 0.1);
}

.nav-register {
    background: linear-gradient(135deg, var(--primary-bright), var(--primary));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

/* Premium Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--primary-glow);
}

.lang-btn:hover:not(.active) {
    color: #fff;
}

/* Mobile Adjustments for Navbar */
@media (max-width: 576px) {
    .container { padding: 0 1rem; }
    .nav-links { gap: 0.5rem; }
    .nav-btn { padding: 0.4rem 0.8rem; }
}

@media (max-width: 480px) {
    nav { padding: 0.6rem 0; }
    .nav-container {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.8rem !important;
    }
    .logo {
        width: 100% !important;
        justify-content: center !important;
        font-size: 1.5rem !important;
        margin-bottom: 0.2rem;
    }
    .nav-links {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }
    .lang-switcher {
        margin-right: 0 !important;
        padding: 0.2rem 0.4rem !important;
    }
    .lang-btn {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
    .nav-btn {
        flex: 1;
        text-align: center;
        padding: 0.5rem 0.3rem !important;
        font-size: 0.75rem !important;
        min-width: 0; /* Allow shrinking */
    }
    .nav-register {
        min-width: 110px; /* Minimum width to prevent bad wrapping */
    }
}



/* Hero Section Refinement */
.hero {
    padding: 16rem 0 10rem;
    text-align: center;
    background: 
        radial-gradient(circle at 50% 0%, hsla(var(--p-h), var(--p-s), var(--p-l), 0.15) 0%, transparent 60%),
        hsl(240, 30%, 3%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 10, 0.4), var(--bg-dark));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    text-align: left;
}

.hero-text {
    flex: 1.2;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    line-height: 1;
}

.gold-text-gradient {
    background: linear-gradient(to right, #fff, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-p-premium {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.hero-visual-premium {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, hsla(var(--p-h), var(--p-s), var(--p-l), 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulseBlob 8s ease-in-out infinite;
}

@keyframes pulseBlob {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-img-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    animation: heroFloat 6s ease-in-out infinite;
}

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

.hero-top-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .hero-container-flex {
        flex-direction: column;
        text-align: center;
    }
    .hero-p-premium {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Premium Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary-bright), var(--primary));
    border-radius: 100px;
    box-shadow: 0 10px 30px var(--primary-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px var(--primary-glow);
}

/* Card Grid Refinement */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    padding: var(--space-lg) 0;
}

.card {
    position: relative;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Status Badges */
.badge {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Featured List Overhaul */
.top-list {
    background: rgba(15, 15, 27, 0.4);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.list-item:last-child { border-bottom: none; }

.list-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(10px);
}

.rank-badge {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.list-item:nth-child(2) .rank-badge {
    background: linear-gradient(135deg, var(--primary), #8b6d11);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.list-item:nth-child(3) .rank-badge {
    background: rgba(176, 176, 197, 0.2);
    color: #fff;
}

.mini-button {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: var(--transition);
}

.list-item:hover .mini-button {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero { padding: 10rem 0 5rem; }
    .card-grid { gap: 1.5rem; }
}

/* Steps Section Styles */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.step-label {
    margin-top: auto;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    height: 4px;
    margin: 4rem 0;
    display: none; /* Hidden by default, show on desktop */
}

@media (min-width: 1024px) {
    .timeline { display: block; }
}



.timeline-line {
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    transform: translateY(-50%);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px currentColor;
}

/* Testimonials Slider - Modern Horizontal Layout */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a16 100%);
    color: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.slider-outer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.testimonials-slider-container {
    overflow: hidden;
    padding: 2rem 0;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 2rem;
}

.testimonial-card {
    min-width: calc(33.333% - 1.35rem);
    background: rgba(255, 255, 255, 0.03);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .testimonial-card { min-width: calc(50% - 1rem); }
}

@media (max-width: 768px) {
    .testimonial-card { min-width: 100%; }
    .slider-outer-container { padding: 0 1rem; }
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

.testimonial-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-prev { left: 0; }
.btn-next { right: 0; }

.testi-header {
    margin-bottom: 4rem;
    text-align: center;
}

.testi-header h2 {
    color: #ffffff;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
}

/* Consolidated into top section */

/* Admin Dashboard Specifics */
.admin-body {
    padding: 6rem 0;
    background: linear-gradient(135deg, #05050a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px var(--primary-glow);
}

.admin-table-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary);
}

.admin-table tr:hover {
    background: rgba(255,255,255,0.02);
}
/* Partners & Awards Section */
.partners-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-glass);
}

.partners-category {
    margin-bottom: 4rem;
    text-align: center;
}

.partners-category h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    text-align: center;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.partner-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 220px;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.partner-logo-box {
    width: 70px;
    height: 70px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 2.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.3rem;
    display: block;
}

.partner-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.awards-section {
    padding: 6rem 0;
    text-align: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

/* Info Footer (License, Links, Certs) */
.info-footer {
    padding: 6rem 0;
    background: #0f101a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
}

.footer-col-header {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    color: #3b82f6;
    font-size: 1.1rem;
}

.license-box {
    margin-bottom: 1.5rem;
}

.license-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 5px;
    color: var(--text-muted);
}

.license-text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
}

.footer-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.link-group h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

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

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

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

.cert-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 8px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.cert-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    background: rgba(255, 255, 255, 0.05);
}

.cert-logo {
    max-width: 100%;
    max-height: 100%;
}

.cert-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: -1px;
}

@media (max-width: 1024px) {
    .info-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .info-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-links-container {
        grid-template-columns: 1fr 1fr;
    }
}

.award-card {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.award-card:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.award-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.award-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
}

/* Payment Methods Section */
.payment-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.payment-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.payment-item {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.pay-icon {
    font-size: 2rem;
    color: #fff;
}

.pay-logo-text {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.2rem;
    color: #fff;
}

.pay-visa { color: #f79e1b; }
.pay-mastercard { color: #eb001b; }
.pay-btc { color: #f7931a; }
.pay-usdt { color: #26a17b; }
.pay-eth { color: #627eea; }

@media (max-width: 768px) {
    .payment-grid {
        gap: 1.5rem;
        justify-content: center;
    }
}

/* Welcome Bonus Promo Section (Slider) */
.welcome-promo-section {
    padding: 2rem 0; /* Reduced padding for slider container */
    background: #0f101a;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.promo-slider-wrapper {
    position: relative;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    visibility: hidden;
    transform: scale(1.05);
}

.promo-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
    display: flex !important;
}

.promo-content {
    flex: 1;
    background: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

/* Decorative Background Effects */
.light-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: rotateRay 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.sparkle-effect {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 1;
}

/* ---------------------------------------------------------
   Promotion Slider Themes (1-15)
   Consolidated & Premiumized
--------------------------------------------------------- */

/* Base Slide Active State */
.promo-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    z-index: 5;
}

/* Base Slide Theme Styling - Modern Layered Gradients */
.promo-theme-1 { background: radial-gradient(circle at 20% 30%, hsla(230, 60%, 15%, 1) 0%, hsla(230, 60%, 5%, 1) 100%); }
.promo-theme-2 { background: radial-gradient(circle at 80% 20%, hsla(330, 70%, 20%, 1) 0%, hsla(330, 70%, 5%, 1) 100%); }
.promo-theme-3 { background: radial-gradient(circle at 30% 70%, hsla(280, 80%, 15%, 1) 0%, hsla(280, 80%, 5%, 1) 100%); }
.promo-theme-4 { background: radial-gradient(circle at 50% 50%, hsla(210, 100%, 15%, 1) 0%, hsla(210, 100%, 5%, 1) 100%); }
.promo-theme-5 { background: radial-gradient(circle at 10% 40%, hsla(260, 90%, 15%, 1) 0%, hsla(260, 90%, 5%, 1) 100%); }
.promo-theme-6 { background: radial-gradient(circle at 90% 60%, hsla(290, 60%, 20%, 1) 0%, hsla(290, 60%, 5%, 1) 100%); }
.promo-theme-7 { background: radial-gradient(circle at 40% 10%, hsla(200, 100%, 15%, 1) 0%, hsla(200, 100%, 5%, 1) 100%); }
.promo-theme-8 { background: radial-gradient(circle at 70% 30%, hsla(40, 100%, 15%, 1) 0%, hsla(40, 100%, 5%, 1) 100%); }
.promo-theme-9 { background: radial-gradient(circle at 20% 80%, hsla(340, 100%, 20%, 1) 0%, hsla(340, 100%, 5%, 1) 100%); }
.promo-theme-10 { background: radial-gradient(circle at 60% 90%, hsla(0, 80%, 15%, 1) 0%, hsla(0, 80%, 5%, 1) 100%); }
.promo-theme-11 { background: radial-gradient(circle at 80% 40%, hsla(190, 100%, 20%, 1) 0%, hsla(190, 100%, 5%, 1) 100%); }
.promo-theme-12 { background: radial-gradient(circle at 30% 20%, hsla(170, 100%, 15%, 1) 0%, hsla(170, 100%, 5%, 1) 100%); }
.promo-theme-13 { background: radial-gradient(circle at 50% 10%, hsla(30, 40%, 15%, 1) 0%, hsla(30, 40%, 5%, 1) 100%); }
.promo-theme-14 { background: radial-gradient(circle at 10% 90%, hsla(210, 100%, 20%, 1) 0%, hsla(210, 100%, 5%, 1) 100%); }
.promo-theme-15 { background: radial-gradient(circle at 40% 50%, hsla(220, 90%, 20%, 1) 0%, hsla(220, 90%, 5%, 1) 100%); }

.promo-btn-large {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-bright), var(--primary));
    color: var(--bg-dark);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.promo-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
    filter: brightness(1.1);
}

/* Animation Keyframes for All Themes */
@keyframes floatMult { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.15) translateY(-15px); } }
@keyframes rotateRay { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sparkle { 0%, 100% { transform: scale(0); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }
@keyframes moveTrail { 0% { transform: translateX(-100%) skewX(-45deg); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(300%) skewX(-45deg); opacity: 0; } }
@keyframes floatBalloon { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-30px) rotate(5deg); } }
@keyframes rotateCrypto { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
@keyframes characterBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0) rotate(-5deg) scale(1); } 50% { transform: translateY(-20px) rotate(5deg) scale(1.05); } }

/* Element Animation Classes */
.floating-coin.balloon-float { animation: floatBalloon 4s ease-in-out infinite; }
.floating-coin.crypto-coin-animation { animation: rotateCrypto 4s linear infinite; }
.floating-coin.character-bounce { animation: characterBounce 2s ease-in-out infinite; }
.floating-coin.card-float { animation: floatCard 3s ease-in-out infinite; }
.floating-coin.chip-rotate { animation: rotateRay 10s linear infinite; }
.sports-trail {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: moveTrail 3s linear infinite;
    opacity: 0.3;
}
.multiplier-float {
    position: absolute;
    color: rgba(255,255,255,0.2);
    font-weight: 800;
    animation: floatMult 3s ease-in-out infinite;
}


.welcome-promo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.promo-content {
    flex: 1;
}

.promo-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.promo-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.promo-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.promo-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px var(--primary-glow);
}

.promo-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 3rem;
    font-weight: 600;
    opacity: 0.9;
}

.floating-coin {
    font-size: 4rem;
    position: absolute;
    animation: floatCoin 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

.main-character-placeholder {
    width: auto;
    max-width: 450px;
    height: auto;
    max-height: 500px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.main-character-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

.main-character-placeholder:hover img {
    transform: scale(1.05);
}

.main-character-placeholder.emoji-fallback {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

@media (max-width: 992px) {
    .promo-slider-wrapper {
        min-height: auto;
    }
    
    .promo-slide.active {
        position: relative;
    }
    
    .promo-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
        padding-top: 1rem;
        padding-bottom: 3rem;
    }
    
    .promo-visual {
        margin-bottom: 0;
    }
    
    .main-character-placeholder {
        max-width: 80%;
        max-height: 350px;
    }

    .promo-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .promo-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .promo-content {
        max-width: 100%;
        padding: 2rem;
    }

    .floating-coin {
        font-size: 2.5rem !important; /* Scale down decorations to prevent overlap */
    }

    .promo-btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        white-space: normal;
        margin-top: 0.5rem;
    }
    
    .promo-slider-dots {
        bottom: 1rem; /* Adjust dots position closer to the bottom */
    }
}

@media (max-width: 480px) {
    .promo-btn-large {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        letter-spacing: 0;
    }
    .promo-content {
        padding: 1.5rem 1rem;
    }
    .main-character-placeholder {
        max-width: 90%;
        max-height: 280px;
    }
    .promo-title {
        font-size: 1.8rem;
    }
    .floating-coin {
        display: none; /* Hide floating coins on very small screens to keep it clean */
    }
}

/* SEO Guide Section */
.seo-guide-section {
    padding: 10rem 0;
    background: linear-gradient(180deg, #05050a 0%, #0f101a 100%);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.guide-header {
    text-align: center;
    margin-bottom: 6rem;
}

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

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guide-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: hsla(240, 25%, 20%, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.guide-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.guide-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.guide-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .seo-guide-section { padding: 6rem 0; }
    .guide-card { padding: 3rem 2rem; }
}

/* Lotto Games Showcase */
.games-showcase {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.game-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.game-category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.category-visual {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

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

.game-category-card:hover .category-visual img {
    transform: scale(1.1);
}

.category-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.category-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.category-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.category-content ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
}

.featured-category {
    border-color: #ff007f;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.featured-category .category-visual {
    height: 250px;
}

.stock-icons-collage {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

@media (max-width: 992px) {
    .featured-category {
        transform: scale(1);
    }
}

/* Modern FAQ Section */
.faq-section {
    padding: var(--space-lg) 0;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--primary);
    background: hsla(240, 25%, 20%, 0.6);
}

.faq-q {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.faq-icon-q {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.5rem;
}

.faq-a-text {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Scroll Reveal Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition);
    visibility: hidden;
}

.fade-up.reveal {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Button Pulse Animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.cta-button {
    animation: pulseGlow 3s infinite;
}

/* Lottery Checker Styles */
.lottery-check-section {
    position: relative;
    overflow: hidden;
}

.lottery-check-section::before {
    content: '';
    position: absolute;
    top: -50%; border-radius: 50%; width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.lotto-box {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lotto-box:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.pulse-effect {
    animation: pulseGlow 2s infinite;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pulse-effect:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    animation: none;
}

#check-input-thai:focus, #check-input-lao:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
