/* --- CSS Variables --- */
:root {
    --bg-color: #0d0f12; /* Deep dark blue/black */
    --surface-color: #1a1e24; /* Slightly lighter card background */
    --surface-light: #252a33;
    --primary-color: #ffa94d; /* Vibrant Neon #ffa94d/Green */
    --primary-hover: #ff922b;
    --secondary-color: #ff3366; /* Vibrant Pink/Red */
    --text-main: #f0f2f5;
    --text-muted: #9ba3af;
    --border-color: #2e3540;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; font-weight: 900; letter-spacing: 2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Highlighted Text */
h2 span {
    color: var(--primary-color);
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.container-fluid {
    width: 95%;
    margin: 0 auto;
}
.section-padding {
    padding: 100px 0;
}
.relative-z {
    position: relative;
    z-index: 2;
}
.mt-medium { margin-top: 2rem; }
.mb-small { margin-bottom: 1rem; }
.w-100 { width: 100%; }

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 169, 77, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 169, 77, 0.1);
    background-color: rgba(255, 169, 77, 0.05);
}

/* Pulse Animation for CTA */
.pulse-btn {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 169, 77, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 169, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 169, 77, 0); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color var(--transition-med), padding var(--transition-med);
}
.navbar.scrolled {
    background-color: rgba(13, 15, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}
.logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('images/hero-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(13, 15, 18, 0.4) 0%, rgba(13, 15, 18, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-tagline {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--text-main);
    margin: 20px 0 40px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Animations classes for JS Intersection Observer */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}
.fade-in.visible {
    opacity: 1;
}

/* --- Upcoming Events --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 10px;
}

.event-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.event-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1100px;
    background: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: rgba(255, 169, 77, 0.4);
}

.event-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    flex-shrink: 0;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-date-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-color);
    color: #000;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-info h3 {
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 800;
}

.event-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.15rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .event-card {
        flex-direction: column;
        max-width: 600px;
    }
    .event-image-wrapper {
        width: 100%;
        height: 350px;
    }
    .event-info {
        width: 100%;
        padding: 40px 30px;
    }
}
@media (max-width: 480px) {
    .event-image-wrapper {
        height: 250px;
    }
    .event-info {
        padding: 30px 20px;
    }
    .event-info h3 {
        font-size: 1.8rem;
    }
    .event-desc {
        font-size: 1.05rem;
    }
}

/* --- Countdown Section --- */
.countdown-section {
    position: relative;
    padding: 120px 0;
    background: url('images/gallery-2.png') center/cover fixed; /* Parallax effect */
    text-align: center;
}

.countdown-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 15, 18, 0.85); /* Darken bg image */
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.time-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.time-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* --- Features / Why Join --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast);
}

.feature-item:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* --- Gallery Carousel Section --- */
.carousel-container {
    position: relative;
    padding: 0 40px; /* Space for arrows */
}

.gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    flex: 0 0 300px;
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transform: translateY(20px);
    transition: transform var(--transition-med);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-light);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* hidden on mobile, block on desktop */
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (min-width: 768px) {
    .carousel-btn {
        display: flex; /* Show arrows on desktop */
    }
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0;
    }
    .gallery-item {
        flex: 0 0 85%;
    }
}

/* --- Sponsors Section --- */
.sponsors-section {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.sponsors-track {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-card {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
    width: 100%;
    max-width: 450px;
    height: auto;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 169, 77, 0.1);
    border-color: rgba(255, 169, 77, 0.4);
}

.partner-logo {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform var(--transition-med), filter var(--transition-med);
}

.partner-card:hover .partner-logo {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(255, 169, 77, 0.3));
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 40px 0;
    }
    .sponsors-track {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .partner-card {
        padding: 20px;
        max-width: 90%;
    }
    .partner-logo {
        max-height: 250px;
    }
}

/* --- Footer --- */
.footer {
    background: #000;
    padding-top: 80px;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
}

.footer h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface-light);
    border-radius: 50%;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================================================= */
/* EVENT DETAILS PAGE SPECIFIC STYLES */
/* ========================================================================= */

.event-hero {
    height: 70vh;
    min-height: 500px;
    background: url('images/event-banner.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for navbar */
}

.event-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(13, 15, 18, 0.9) 0%, rgba(13, 15, 18, 0.4) 100%);
}

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

.event-title-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.event-date-hero {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

.glass-panel {
    background: rgba(26, 30, 36, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.glass-panel.dark {
    background: rgba(13, 15, 18, 0.8);
}

.event-countdown {
    margin-top: 40px;
    display: inline-block;
}

.event-countdown h3 {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-countdown .timer {
    margin: 0;
    gap: 15px;
}

.event-countdown .time-box {
    width: 80px;
    height: 80px;
}

.event-countdown .time-val {
    font-size: 2rem;
}

/* Event Layout Grid */
.event-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.event-main-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Virtual Event Information Styling */
.virtual-info-section h3 {
    margin-bottom: 5px;
}

.virtual-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.virtual-step-item {
    text-align: center;
    padding: 20px 10px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.virtual-step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.virtual-step-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.virtual-step-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.virtual-details-list {
    margin: 0;
}

.virtual-details-list li {
    padding: 12px 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

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

.detail-icon {
    font-size: 1.2rem;
    margin-right: 15px;
}

.virtual-details-list strong {
    color: #fff;
    margin-right: 10px;
}

.rules-list {
    margin: 0;
    padding: 10px 0;
}

.rules-list li {
    position: relative;
    padding: 10px 0 10px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.rule-num {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 15px;
    line-height: 1;
}

/* Registration Sidebar */
.event-sidebar {
    position: sticky;
    top: 100px;
}

.registration-card h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.event-specs {
    margin-bottom: 30px;
}

.event-specs li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.spec-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
}

.spec-text {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-val {
    font-weight: 600;
    font-size: 1.1rem;
}

.slot-status {
    color: var(--secondary-color);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.price-tag .currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 10px;
}

.price-tag .cents {
    font-size: 1.5rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .event-layout {
        grid-template-columns: 1fr;
    }
    
    .event-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        padding: 100px 30px;
        transition: right var(--transition-med);
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .timer .time-box {
        width: 80px;
        height: 80px;
    }
    .timer .time-val {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .timer .time-box {
        width: 70px;
        height: 70px;
    }
    .timer .time-val {
        font-size: 1.5rem;
    }
    
    .event-countdown .time-box {
        width: 65px;
        height: 65px;
    }
    .event-countdown .time-val {
        font-size: 1.5rem;
    }
}

/* ========================================================================= */
/* WHATSAPP INTEGRATION STYLES */
/* ========================================================================= */

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.btn-whatsapp .wa-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.btn-whatsapp.pulse-btn {
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: #fff;
}

.floating-wa .wa-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-wa .wa-icon {
        width: 28px;
        height: 28px;
    }
}

/* ========================================================================= */
/* MULTI-LEVEL REGISTRATION STYLES */
/* ========================================================================= */

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

.category-card {
    background: linear-gradient(145deg, #1a1e24 0%, #0d0f12 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 25px;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #ffa94d, var(--primary-color), #25D366);
    opacity: 0.3;
    transition: opacity var(--transition-fast);
}

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

.category-card:hover::before {
    opacity: 1;
}

.category-card.highlight-card {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 169, 77, 0.1);
    transform: scale(1.05);
    z-index: 1;
}

.category-card.highlight-card::before {
    height: 6px;
    opacity: 1;
}

.category-card.highlight-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 169, 77, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffa94d, #ff3366);
    color: #fff;
    padding: 5px 20px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(255, 169, 77, 0.3);
}

.cat-header {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.cat-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
}

.cat-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.highlight-card .cat-price {
    color: var(--primary-color);
}

.cat-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.cat-features li {
    padding: 12px 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.cat-features li:last-child {
    border-bottom: none;
}

.feature-bullet {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.mt-auto {
    margin-top: auto;
}

.btn-package {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 8px;
}

.btn-package:hover {
    background: linear-gradient(90deg, #ffa94d, #ff3366);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 169, 77, 0.3);
}

.btn-package-highlight {
    background: var(--primary-color);
    color: #000;
    border-radius: 8px;
    border: none;
    font-weight: 800;
}

.btn-package-highlight:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.highlight-text {
    color: var(--primary-color);
}

.selected-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.selected-details p {
    font-size: 1.1rem;
}

.selected-details strong {
    color: #fff;
}

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

/* ========================================================================= */
/* PREMIUM FEATURES STYLES */
/* ========================================================================= */

/* Lucky Draw Styles */
.lucky-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.lucky-item {
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.lucky-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.lucky-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(255, 169, 77, 0.4);
}

.lucky-item h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

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

.blog-card {
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

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

.blog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.blog-content p {
    flex-grow: 1;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-btn svg {
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.social-btn:hover svg {
    transform: scale(1.15);
}

.facebook-btn:hover { background: #1877F2; color: #fff; border-color: #1877F2; box-shadow: 0 5px 15px rgba(24,119,242,0.4); }
.youtube-btn:hover { background: #FF0000; color: #fff; border-color: #FF0000; box-shadow: 0 5px 15px rgba(255,0,0,0.4); }
.instagram-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff; border-color: transparent; box-shadow: 0 5px 15px rgba(214,41,118,0.4);
}
.strava-btn:hover { background: #fc4c02; color: #fff; border-color: #fc4c02; box-shadow: 0 5px 15px rgba(252,76,2,0.4); }

/* ========================================================================= */
/* WELCOME POPUP STYLES */
/* ========================================================================= */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), visibility var(--transition-med);
}

.popup-modal.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 169, 77, 0.2);
    transform: scale(0.9);
    transition: transform var(--transition-med);
}

.popup-modal.show .popup-content {
    transform: scale(1);
}

.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.popup-content p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.popup-content .organiser {
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 20px;
}

.popup-content .action-text {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 25px;
}

.popup-content .btn {
    width: 100%;
    padding: 12px;
}
