@font-face {
    font-family: 'Digital';
    src: url('../fonts/DS-Digital.woff') format('woff2');
    font-display: swap;
}

:root {
    /* Primary colors - inherit from site config */
    --lp-primary: var(--t4s-primary-color, #FF4B4B);
    --lp-primary-rgb: 255, 75, 75;

    /* Secondary colors */
    --lp-secondary: #1A1A2E;
    --lp-accent: #FFD700;

    /* Text colors */
    --lp-heading: var(--t4s-text-head-color, #1F2937);
    --lp-body: var(--t4s-text-content-color, #4B5563);
    --lp-muted: #6B7280;

    /* Background colors */
    --lp-white: #FFFFFF;
    --lp-bg: #F8FAFC;
    --lp-bg-alt: #EEF2F7;
    --lp-border: #E5E7EB;

    /* Typography - use site fonts if available */
    --lp-font: var(--t4s-font-family-primary, 'SVN-Poppins'), system-ui, sans-serif;

    /* Spacing & Radius */
    --lp-radius: 16px;
    --lp-radius-lg: 24px;

    /* Shadows */
    --lp-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --lp-shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --lp-shadow-xl: 0 25px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --lp-transition: all .4s cubic-bezier(.4,0,.2,1);

    /* Gradients */
    --lp-gradient: linear-gradient(135deg, var(--lp-primary) 0%, #FF8E53 100%);
    --lp-gradient-soft: linear-gradient(135deg, rgba(var(--lp-primary-rgb), 0.08) 0%, rgba(255, 142, 83, 0.08) 100%);
    --lp-gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);

    /* Status colors */
    --lp-success: #10B981;
    --lp-success-rgb: 16, 185, 129;
    --lp-warning: #F59E0B;
    --lp-warning-rgb: 245, 158, 11;
    --lp-danger: #EF4444;
    --lp-danger-rgb: 239, 68, 68;
}

/* ========================================
   BASE STYLES
   ======================================== */
.landing-page {
    font-family: var(--lp-font);
    color: var(--lp-body);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--lp-white);
}

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

.landing-page a {
    text-decoration: none;
    color: inherit;
    transition: var(--lp-transition);
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6 {
    font-family: var(--lp-font);
    color: var(--lp-heading);
    line-height: 1.3;
    font-weight: 700;
}

.landing-page .container {
    max-width: 1200px;
}

/* ========================================
   NAVBAR
   ======================================== */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0.5rem 0;
    transition: var(--lp-transition);
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.lp-nav.scrolled {
    background: rgba(255,255,255,0.97);
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.lp-nav .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.lp-nav .logo {
    flex-shrink: 0;
}

.lp-nav .logo img {
    height: 36px;
}

.lp-nav.scrolled .logo img {
    height: 36px;
}

.lp-nav .menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.lp-nav .menu a {
    display: block;
    padding: 0.4rem 0.8rem;
    color: var(--lp-heading);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: var(--lp-transition);
    white-space: nowrap;
}

.lp-nav .menu a:hover {
    background: var(--lp-bg);
    color: var(--lp-primary);
}

.lp-nav.scrolled .menu a {
    color: var(--lp-heading);
}

.lp-nav.scrolled .menu a:hover {
    background: var(--lp-bg);
    color: var(--lp-primary);
}

.lp-nav .menu a.active {
    background: var(--lp-primary);
    color: var(--lp-white) !important;
}

/* Nav Right (register button + menu toggle) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cta.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(var(--lp-primary-rgb), 0.3);
}

@media (max-width: 767px) {
    .btn-cta.btn-nav {
        display: none;
    }
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: var(--lp-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--lp-heading);
    border-radius: 2px;
}

.lp-nav.scrolled .menu-toggle {
    background: var(--lp-bg);
}

.lp-nav.scrolled .menu-toggle span {
    background: var(--lp-heading);
}

/* Mobile Menu Wrapper */
.menu-wrapper {
    display: contents;
}

.menu-header,
.menu-footer,
.menu-overlay {
    display: none;
}

@media (max-width: 1199px) {
    .menu-toggle {
        display: flex;
    }

    /* Menu Wrapper - Slide from left */
    .menu-wrapper {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 320px;
        background: var(--lp-white);
        z-index: 1060;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    }

    .menu-wrapper.open {
        transform: translateX(0);
    }

    /* Menu Header */
    .menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--lp-border);
        flex-shrink: 0;
    }

    .menu-logo img {
        height: 42px;
    }

    .menu-close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--lp-bg);
        border: none;
        border-radius: 10px;
        color: var(--lp-heading);
        cursor: pointer;
        transition: var(--lp-transition);
    }

    .menu-close:hover {
        background: var(--lp-primary);
        color: var(--lp-white);
    }

    /* Menu List */
    .lp-nav .menu {
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lp-nav .menu li {
        width: 100%;
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-nav .menu li:last-child {
        border-bottom: none;
    }

    .lp-nav .menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        color: var(--lp-heading);
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 0;
        white-space: normal;
    }

    .lp-nav .menu a:hover {
        background: var(--lp-bg);
        color: var(--lp-primary);
    }

    .lp-nav .menu a.active {
        background: var(--lp-gradient-soft);
        color: var(--lp-primary) !important;
        border-left: 3px solid var(--lp-primary);
    }

    /* Menu Footer */
    .menu-footer {
        display: block;
        padding: 1rem;
        border-top: 1px solid var(--lp-border);
        flex-shrink: 0;
    }

    .menu-footer .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Menu Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1055;
        opacity: 0;
        visibility: hidden;
        transition: var(--lp-transition);
    }

    .menu-wrapper.open ~ .menu-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--lp-gradient);
    color: var(--lp-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(var(--lp-primary-rgb), 0.35);
    transition: var(--lp-transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--lp-transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--lp-primary-rgb), 0.45);
    color: var(--lp-white);
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
}

.btn-cta.btn-block {
    width: 100%;
}

.btn-cta.btn-success {
    background: linear-gradient(135deg, var(--lp-success) 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(var(--lp-success-rgb), 0.35);
}

.btn-cta.btn-warning {
    background: linear-gradient(135deg, var(--lp-warning) 0%, #D97706 100%);
    box-shadow: 0 6px 20px rgba(var(--lp-warning-rgb), 0.35);
}

.btn-cta.btn-danger {
    background: linear-gradient(135deg, var(--lp-danger) 0%, #DC2626 100%);
    box-shadow: 0 6px 20px rgba(var(--lp-danger-rgb), 0.35);
}

.btn-cta.btn-outline {
    background: transparent;
    border: 2px solid var(--lp-white);
    box-shadow: none;
}

.btn-cta.btn-outline:hover {
    background: var(--lp-white);
    color: var(--lp-primary);
}

.status-actions .btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-cta.btn-outline-cancel {
    background: transparent;
    border: 1px solid var(--lp-danger, #DC2626);
    color: var(--lp-danger, #DC2626);
    box-shadow: none;
}

.btn-cta.btn-outline-cancel::before {
    display: none;
}

.btn-cta.btn-outline-cancel:hover {
    background: var(--lp-danger, #DC2626);
    color: var(--lp-white, #fff);
}

/* ========================================
   HERO SECTION (1900x780 ratio)
   ======================================== */
.lp-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    aspect-ratio: 1900 / 1000;
    margin-top: 52px;
}

.lp-hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}

/* Wave bottom effect */
.lp-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 100%;
    background: url(../../uploads/images/icons/Bg_03.png) bottom no-repeat;
    background-size: cover;
    z-index: 5;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scrollMouse 1.5s ease-out infinite;
}

@keyframes scrollMouse {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.lp-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lp-section.bg-white {
    background: var(--lp-white);
}

.lp-section.bg-light {
    background: var(--lp-bg);
    /* Bù trừ wave height (60px) để nội dung trên/dưới cân đối với bg-white */
    padding-top: calc(3rem + 60px);
    padding-bottom: calc(3rem + 60px);
}

/* Wave SVG dividers - only on bg-light sections */
.lp-section.bg-light::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C120,100 240,110 360,90 C480,70 600,20 720,30 C840,40 960,100 1080,100 C1200,100 1320,60 1440,40 L1440,0 L0,0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 1;
}

.lp-section.bg-light::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C120,60 240,100 360,100 C480,100 600,40 720,30 C840,20 960,70 1080,90 C1200,110 1320,100 1440,64 L1440,120 L0,120 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 1;
}

.lp-section:last-child::after,
.lp-section:not(:has(~ .lp-section))::after {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    padding: 0.4rem 1rem;
    background: var(--lp-gradient-soft);
    border-radius: 50px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    position: relative;
}

.section-title span {
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-accent {
    width: 80px;
    height: 4px;
    background: var(--lp-gradient);
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
}

.line-accent::before,
.line-accent::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 4px;
    background: rgba(var(--lp-primary-rgb), 0.3);
    border-radius: 4px;
}

.line-accent::before { left: -30px; }
.line-accent::after { right: -30px; }

.section-content {
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION-SPECIFIC STYLES
   ======================================== */
.lp-stats {
    padding: 2rem 0;
}

.lp-stats .section-header {
    margin-bottom: 1.5rem;
}

.lp-register {
    padding: 2.5rem 0;
}

.lp-my-results {
    padding: 2.5rem 0;
}

.lp-results {
    padding: 2.5rem 0;
}

@media (max-width: 768px) {
    /* Reduce wave height on mobile */
    .lp-section.bg-light::before,
    .lp-section.bg-light::after {
        height: 40px;
    }

    .lp-section.bg-light {
        padding-top: calc(1.5rem + 40px);
        padding-bottom: calc(1.5rem + 40px);
    }
}

/* ========================================
   REGISTER SECTION (additional styles)
   ======================================== */

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .register-grid {
        grid-template-columns: 1fr;
    }
}

.register-info {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(var(--lp-primary-rgb), 0.1);
    position: relative;
    overflow: hidden;
}

.register-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--lp-gradient);
}

.register-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.status-badge.success {
    background: linear-gradient(135deg, rgba(var(--lp-success-rgb), 0.15) 0%, rgba(var(--lp-success-rgb), 0.08) 100%);
    color: var(--lp-success);
}

.status-badge.warning {
    background: linear-gradient(135deg, rgba(var(--lp-warning-rgb), 0.15) 0%, rgba(var(--lp-warning-rgb), 0.08) 100%);
    color: var(--lp-warning);
}

.status-badge.danger {
    background: linear-gradient(135deg, rgba(var(--lp-danger-rgb), 0.15) 0%, rgba(var(--lp-danger-rgb), 0.08) 100%);
    color: var(--lp-danger);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-badge.success .dot { background: var(--lp-success); }
.status-badge.warning .dot { background: var(--lp-warning); }
.status-badge.danger .dot { background: var(--lp-danger); animation: none; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--lp-border);
    transition: var(--lp-transition);
}

.info-list li:hover {
    padding-left: 0.5rem;
}

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

.info-list .icon {
    width: 36px;
    height: 36px;
    background: var(--lp-gradient-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--lp-primary);
    transition: var(--lp-transition);
}

.info-list .icon svg {
    width: 18px;
    height: 18px;
}

.info-list li:hover .icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--lp-primary-rgb), 0.15);
}

.info-list .label {
    font-size: 0.7rem;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.info-list .value {
    font-weight: 600;
    color: var(--lp-heading);
    font-size: 0.85rem;
}

/* ========================================
   COUNTDOWN BOX
   ======================================== */
.countdown-box {
    background: var(--lp-gradient-dark);
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--lp-shadow-xl);
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--lp-primary-rgb), 0.25) 0%, transparent 70%);
    pointer-events: none;
    animation: floatShape 15s ease-in-out infinite;
}

.countdown-box::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 142, 83, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: floatShape 20s ease-in-out infinite reverse;
}

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

.countdown-box h4 {
    color: var(--lp-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.countdown-box .countdown-label {
    color: var(--lp-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--lp-radius);
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 70px;
    transition: var(--lp-transition);
}

.countdown-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.countdown-item .num {
    font-family: "Digital", Sans-Serif, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lp-white);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-box .btn-cta {
    position: relative;
    z-index: 1;
    align-self: center;
    margin-top: 1.25rem;
    padding: 0.6rem 1.75rem;
    font-size: 0.9rem;
}

/* ========================================
   STATUS BOXES
   ======================================== */
.register-status-box {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--lp-shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.register-status-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.register-status-box.success {
    border-color: rgba(var(--lp-success-rgb), 0.2);
}

.register-status-box.success::before {
    background: linear-gradient(135deg, var(--lp-success) 0%, #059669 100%);
}

.register-status-box.warning {
    border-color: rgba(var(--lp-warning-rgb), 0.2);
}

.register-status-box.warning::before {
    background: linear-gradient(135deg, var(--lp-warning) 0%, #D97706 100%);
}

.register-status-box.danger {
    border-color: rgba(var(--lp-danger-rgb), 0.2);
}

.register-status-box.danger::before {
    background: linear-gradient(135deg, var(--lp-danger) 0%, #DC2626 100%);
}

.register-status-box .status-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--lp-primary);
    box-shadow: 0 15px 40px rgba(var(--lp-primary-rgb), 0.35);
    opacity: 1;
    transform: scale(1);
    animation: bounceIn 0.6s ease-out forwards;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.register-status-box.success .status-icon {
    background: linear-gradient(135deg, var(--lp-success) 0%, #059669 100%);
    box-shadow: 0 15px 40px rgba(var(--lp-success-rgb), 0.35);
}

.register-status-box.warning .status-icon {
    background: linear-gradient(135deg, var(--lp-warning) 0%, #D97706 100%);
    box-shadow: 0 15px 40px rgba(var(--lp-warning-rgb), 0.35);
}

.register-status-box.danger .status-icon {
    background: linear-gradient(135deg, var(--lp-danger) 0%, #DC2626 100%);
    box-shadow: 0 15px 40px rgba(var(--lp-danger-rgb), 0.35);
}

.register-status-box .status-icon svg {
    color: var(--lp-white);
}

.register-status-box h4 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.register-status-box.success h4 { color: var(--lp-success); }
.register-status-box.warning h4 { color: var(--lp-warning); }
.register-status-box.danger h4 { color: var(--lp-danger); }

.register-status-box p {
    color: var(--lp-muted);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

/* ========================================
   MY RESULTS SECTION (additional styles)
   ======================================== */

.my-results-card {
    background: var(--lp-gradient-soft);
    border-radius: var(--lp-radius-lg);
    padding: 1rem;
    border: 1px solid rgba(var(--lp-primary-rgb), 0.1);
    position: relative;
    z-index: 1;
}

/* ========================================
   STATS SECTION (additional styles)
   ======================================== */

.stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-grid .stat-card {
    flex: 1;
    min-width: 0;
}

.stat-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--lp-shadow);
    border: 1px solid var(--lp-border);
    transition: var(--lp-transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lp-gradient);
    transition: var(--lp-transition);
}

.stat-card:hover {
    transform: none;
    box-shadow: var(--lp-shadow);
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    background: var(--lp-gradient-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-primary);
    transition: var(--lp-transition);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-card:hover .stat-icon {
    transform: none;
    box-shadow: none;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--lp-muted);
    font-weight: 500;
}

/* ========================================
   RESULTS / LEADERBOARD (Compact & Pretty)
   ======================================== */

.lp-results .container {
    max-width: 900px;
}

.results-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.results-tab {
    padding: 0.5rem 1.25rem;
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--lp-body);
    cursor: pointer;
    transition: var(--lp-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.results-tab svg {
    width: 14px;
    height: 14px;
}

.results-tab:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.results-tab.active {
    background: var(--lp-gradient);
    border-color: transparent;
    color: var(--lp-white);
    box-shadow: 0 4px 12px rgba(var(--lp-primary-rgb), 0.25);
}

.results-panel {
    display: none;
}

.results-panel.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    border: 1px solid var(--lp-border);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.results-card .card-header {
    background: var(--lp-bg);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lp-border);
}

.results-card .card-body {
    padding: 0;
}

/* Compact Search Form */
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.search-form input {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    font-size: 0.8rem;
    min-width: 130px;
    transition: var(--lp-transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 2px rgba(var(--lp-primary-rgb), 0.1);
}

.search-form .btn-search {
    padding: 0.45rem 1rem;
    background: var(--lp-gradient);
    color: var(--lp-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--lp-transition);
}

.search-form .btn-search:hover {
    opacity: 0.9;
}

/* Compact Results Table */
.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.results-table th,
.results-table td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--lp-border);
}

.results-table th {
    background: var(--lp-bg);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lp-muted);
    padding: 0.6rem 0.85rem;
}

.results-table tbody tr {
    transition: background 0.2s ease;
}

.results-table tbody tr:hover {
    background: rgba(var(--lp-primary-rgb), 0.04);
}

/* Skeleton Loading */
.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.placeholder {
    background: linear-gradient(90deg, var(--lp-border) 25%, var(--lp-bg) 50%, var(--lp-border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Compact Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pagination .page-link {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--lp-border);
    color: var(--lp-body);
    font-size: 0.8rem;
    transition: var(--lp-transition);
}

.pagination .page-link:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.pagination .page-item.active .page-link {
    background: var(--lp-gradient);
    border-color: transparent;
    color: var(--lp-white);
    box-shadow: 0 2px 8px rgba(var(--lp-primary-rgb), 0.25);
}

/* Compact Form Select */
.search-form .form-select {
    height: 34px;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    transition: var(--lp-transition);
    font-size: 0.8rem;
    padding: 0.35rem 1.5rem 0.35rem 0.75rem;
}

.search-form .form-select:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 2px rgba(var(--lp-primary-rgb), 0.1);
}

.gender-segmented {
    display: inline-flex;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.gender-segmented .gender-seg-btn {
    min-width: 60px;
    height: 36px;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border: none;
    background: var(--lp-white);
    color: var(--lp-body);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid var(--lp-border);
    line-height: 1.2;
}

.gender-segmented .gender-seg-btn:last-child {
    border-right: none;
}

.gender-segmented .gender-seg-btn:hover {
    background: rgba(var(--lp-primary-rgb), 0.05);
}

.gender-segmented .gender-seg-btn.active {
    background: var(--lp-primary) !important;
    color: #fff !important;
}

@media (max-width: 576px) {
    .gender-segmented {
        width: 100%;
    }

    .gender-segmented .gender-seg-btn {
        flex: 1;
        text-align: center;
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }
}

.lp-search-form {
    padding: 1rem;
    border-bottom: 1px solid var(--lp-border);
    background: #fff;
}

.lp-search-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.lp-search-row:last-child {
    margin-bottom: 0;
}

.lp-search-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--lp-font);
    transition: var(--lp-transition);
    background: var(--lp-white);
}

.lp-search-input:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 2px rgba(var(--lp-primary-rgb), 0.1);
}

.lp-search-input::placeholder {
    color: var(--lp-muted);
}

.lp-search-form .select2-container {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem !important;
    font-family: var(--lp-font) !important;
}

.lp-search-form .select2-container .select2-selection--single {
    height: 36px !important;
    border: 1px solid var(--lp-border) !important;
    border-radius: 8px !important;
    background: var(--lp-white) !important;
}

.lp-search-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    padding-left: 0.75rem !important;
    font-size: 0.85rem !important;
    font-family: var(--lp-font) !important;
    color: var(--lp-body) !important;
}

.lp-search-form .select2-container .select2-selection--single .select2-selection__placeholder {
    color: var(--lp-muted) !important;
    font-family: var(--lp-font) !important;
}

.lp-search-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}

.lp-search-full {
    width: 100%;
}

@media (max-width: 576px) {
    .lp-search-form {
        padding: 0.75rem;
    }

    .lp-search-row {
        flex-direction: column;
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }

    .lp-search-input,
    .lp-search-form .select2-container {
        width: 100% !important;
        flex: none;
    }

    .lp-search-input {
        font-size: 0.8rem;
        font-family: var(--lp-font);
        padding: 0.3rem 0.65rem;
    }

    .lp-search-form .select2-container {
        font-size: 0.8rem !important;
    }

    .lp-search-form .select2-container .select2-selection--single {
        height: 32px !important;
    }

    .lp-search-form .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 30px !important;
        font-size: 0.8rem !important;
    }

    .lp-search-form .select2-container .select2-selection--single .select2-selection__arrow {
        height: 30px !important;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    /* Section spacing */
    .lp-section {
        padding: 1.5rem 0;
    }

    .lp-stats    { padding: 1.25rem 0; }
    .lp-register { padding: 1.5rem 0; }
    .lp-my-results { padding: 1.5rem 0; }
    .lp-results  { padding: 1.5rem 0; }

    /* Section header & title */
    .section-header {
        margin-bottom: 1.25rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    /* Register boxes */
    .register-info,
    .countdown-box,
    .register-status-box {
        padding: 1.25rem;
    }

    .register-info h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Info list */
    .info-list {
        margin: 0.75rem 0 0;
    }

    .info-list li {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }

    .info-list li:hover {
        padding-left: 0;
    }

    .info-list .icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .info-list .icon svg {
        width: 15px;
        height: 15px;
    }

    .info-list .label {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }

    .info-list .value {
        font-size: 0.82rem;
    }

    /* Status boxes */
    .register-status-box .status-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }

    .register-status-box .status-icon svg {
        width: 28px;
        height: 28px;
    }

    .register-status-box h4,
    .countdown-box h4 {
        font-size: 0.95rem;
    }

    .countdown-box .btn-cta {
        padding: 0.5rem 1.5rem;
        font-size: 0.82rem;
        margin-top: 1rem;
    }

    .register-status-box p {
        font-size: 0.82rem;
        margin-bottom: 1rem;
    }

    /* Countdown */
    .countdown-item {
        min-width: 58px;
        padding: 0.75rem 0.5rem;
    }

    .countdown-item .num {
        font-size: 1.5rem;
    }

    /* Stats grid */
    .stats-grid {
        flex-wrap: wrap;
        gap: 8px;
    }

    .stats-grid .stat-card {
        flex: 0 0 calc(50% - 4px);
        padding: 0.75rem 0.5rem;
    }

    .stats-grid .stat-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.4rem;
        border-radius: 10px;
    }

    .stats-grid .stat-icon svg {
        width: 16px;
        height: 16px;
    }

    .stats-grid .stat-number {
        font-size: 1rem;
    }

    .stats-grid .stat-label {
        font-size: 0.62rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    /* Search */
    .search-form {
        flex-direction: column;
    }

    .search-form input,
    .search-form .form-select {
        width: 100% !important;
    }

    /* Results table */
    .results-card .card-header {
        padding: 0.75rem 1rem;
    }

    .lp-results .table,
    .result__container .table {
        font-size: 0.75rem;
    }

    .lp-results .table th,
    .lp-results .table td,
    .result__container .table th,
    .result__container .table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.7rem;
    }

    .lp-results .table th,
    .result__container .table th {
        font-size: 0.65rem;
    }
}

/* ==============================
 * Image Modal (shared partial)
 * ============================== */
.card-image {
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
}

.card-image:has(> .show) {
    background: transparent !important;
    animation: none !important;
    opacity: 1 !important;
    cursor: inherit !important;
}

a .card-image:has(> .show), a.card-image:has(> .show) {
    cursor: pointer !important;
}

.lozad {
    visibility: hidden;
}

.lozad.show {
    visibility: visible;
}

.lozad.fade {
    animation-name: fade;
    animation-duration: 0.3s;
}

.btn__secondary {
    background-color: var(--t4s-secondary-color) !important;
    color: #fff !important;
    border: 1px solid white !important;
    font-weight: 600;
    border-radius: 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn__secondary:hover {
    -webkit-animation: jelly 0.4s linear;
    animation: jelly 0.4s linear;
}

.btn__secondary svg {
    transition: 0.3s all linear;
}

.btn__secondary:hover svg {
    transform: rotateZ(0deg) !important;
}

@keyframes jelly {
    25% {
        transform: scale(0.9, 1.1);
    }
    50% {
        transform: scale(1.1, 0.9);
    }
    75% {
        transform: scale(0.95, 1.05);
    }
}
