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

:root {
    --primary-color: #0066ff;
    --secondary-color: #0052cc;
    --accent-color: #3399ff;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --success: #10b981;
    --error: #ef4444;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 2.5s forwards;
}

.splash-banner {
    position: relative;
    text-align: center;
    transform: rotate(-35deg);
    animation: slideIn 0.8s ease-out;
}

.splash-text {
    font-family: 'Bungee Inline', cursive;
    font-size: 8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.splash-year {
    font-family: 'Bungee Inline', cursive;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0 0 0;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        transform: rotate(-35deg) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: rotate(-35deg) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.hidden {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(0, 102, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 800px;
    height: 800px;
    top: -200px;
    right: -200px;
    border-color: rgba(0, 102, 255, 0.15);
    animation-delay: 0s;
}

.circle-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    left: -150px;
    border-color: rgba(51, 153, 255, 0.12);
    animation-delay: -5s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(0, 82, 204, 0.1);
    animation-delay: -10s;
}

/* Countdown Timer Styles */
.countdown-container {
    margin: 2rem 0;
    position: relative;
    z-index: 10;
}

.countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.time-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(0, 102, 255, 0.15),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.time-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(0, 102, 255, 0.2) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-box:hover::before {
    opacity: 1;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px 0 rgba(0, 102, 255, 0.25),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.1);
}

.time-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.time-box:hover::after {
    left: 100%;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0066ff, #3399ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 2px;
}

.time-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-align: center;
}

.time-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0.25rem;
    opacity: 0.6;
}

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

.time-box.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.iedc-logo img {
    filter: drop-shadow(0 10px 20px rgba(0, 102, 255, 0.2));
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: 'Bungee Inline', cursive;
    font-size: 5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 102, 255, 0.1);
    animation: slideInLeft 0.8s ease-out;
    letter-spacing: 0.05em;
}

.hero-year {
    font-family: 'Bungee Inline', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.hero-location i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.register-btn i {
    transition: transform 0.3s;
}

.register-btn:hover i {
    transform: translateX(5px);
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

.robot-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: floatImage 3s infinite ease-in-out;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scrolling Text at Bottom */
.scrolling-text-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0066ff;
    transform: rotate(-1.5deg);
    transform-origin: left bottom;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 102, 255, 0.3);
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: trainScroll 25s linear infinite;
    padding: 1.5rem 0;
    align-items: center;
    height: 100%;
}

.scrolling-text span {
    font-family: 'Bungee Inline', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
    padding: 0 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

@keyframes trainScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Doodle Images */
.doodles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.doodle {
    position: absolute;
    opacity: 0.7;
    animation: floatDoodle 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.3));
}

.doodle-1 {
    top: 10%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.doodle-2 {
    top: 25%;
    right: 12%;
    width: 60px;
    height: 60px;
    animation-delay: 1s;
}

.doodle-3 {
    top: 50%;
    left: 5%;
    width: 70px;
    height: 70px;
    animation-delay: 2s;
}

.doodle-4 {
    top: 65%;
    right: 8%;
    width: 50px;
    height: 50px;
    animation-delay: 0.5s;
}

.doodle-5 {
    top: 15%;
    left: 50%;
    width: 65px;
    height: 65px;
    animation-delay: 1.5s;
}

.doodle-6 {
    top: 70%;
    left: 15%;
    width: 55px;
    height: 55px;
    animation-delay: 2.5s;
}

.doodle-7 {
    top: 35%;
    right: 25%;
    width: 75px;
    height: 75px;
    animation-delay: 0.8s;
}

.doodle-8 {
    top: 80%;
    right: 30%;
    width: 60px;
    height: 60px;
    animation-delay: 1.8s;
}

@keyframes floatDoodle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-year {
        font-size: 3rem;
    }
    
    .hero-location {
        justify-content: center;
    }
    
    .doodle-1 { width: 60px; height: 60px; }
    .doodle-2 { width: 45px; height: 45px; }
    .doodle-3 { width: 55px; height: 55px; }
    .doodle-4 { width: 40px; height: 40px; }
    .doodle-5 { width: 50px; height: 50px; }
    .doodle-6 { width: 42px; height: 42px; }
    .doodle-7 { width: 58px; height: 58px; }
    .doodle-8 { width: 48px; height: 48px; }
    
    .robot-image {
        max-width: 400px;
    }
    
    .scrolling-text span {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: left;
    }
    
    .hero-left {
        text-align: left;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.1;
    }
    
    .hero-year {
        font-size: 2.5rem;
    }
    
    .hero-location {
        font-size: 1.1rem;
        justify-content: flex-start;
    }
    
    .register-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .robot-image {
        max-width: 300px;
    }
    
    .scrolling-text span {
        font-size: 2rem;
        padding: 0 2rem;
    }
    
    .scrolling-text-container {
        height: 80px;
    }
    
    .doodle-1 { width: 50px; height: 50px; top: 8%; left: 5%; }
    .doodle-2 { width: 38px; height: 38px; top: 20%; right: 8%; }
    .doodle-3 { width: 45px; height: 45px; top: 45%; left: 3%; }
    .doodle-4 { width: 32px; height: 32px; top: 60%; right: 5%; }
    .doodle-5 { width: 42px; height: 42px; top: 12%; left: 45%; }
    .doodle-6 { width: 35px; height: 35px; top: 65%; left: 10%; }
    .doodle-7 { width: 48px; height: 48px; top: 30%; right: 20%; }
    .doodle-8 { width: 40px; height: 40px; top: 75%; right: 25%; }
    
    .circle-1 {
        width: 500px;
        height: 500px;
    }
    
    .circle-2 {
        width: 400px;
        height: 400px;
    }
    
    .circle-3 {
        width: 300px;
        height: 300px;
    }
}

/* Old Splash Screen - Remove */

/* Main Content */
#main-content {
    min-height: 100vh;
    position: relative;
    background: var(--light-bg);
}

#main-content.hidden {
    display: none;
}

/* Animated Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(45deg, rgba(37, 99, 235, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(37, 99, 235, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(37, 99, 235, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(37, 99, 235, 0.03) 75%);
    background-size: 50px 50px;
    background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
    }
    100% {
        background-position: 50px 50px, 50px 75px, 75px 25px, 25px 50px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 0;
    animation: fadeInDown 0.8s ease-out;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Italianno', cursive;
    color: #0066ff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 102, 255, 0.2);
}

.academic-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066ff;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 102, 255, 0.2);
}

.subtitle {
    font-size: 1.25rem;
    color: #0066ff;
    font-family: 'Italianno', cursive;
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Slideshow */
.slideshow-section {
    margin: 0;
    padding: 4rem 0;
    animation: fadeIn 1s ease-out 0.3s backwards;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
}

.slide-track {
    display: flex;
    align-items: center;
    width: calc(300px * 18);
    animation: curveScroll 45s linear infinite;
    will-change: transform;
}

.slide {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    position: relative;
    flex-shrink: 0;
    margin: 0 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatSlide 8s ease-in-out infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: -1s; }
.slide:nth-child(3) { animation-delay: -2s; }
.slide:nth-child(4) { animation-delay: -3s; }
.slide:nth-child(5) { animation-delay: -4s; }
.slide:nth-child(6) { animation-delay: -5s; }
.slide:nth-child(7) { animation-delay: -6s; }
.slide:nth-child(8) { animation-delay: -7s; }
.slide:nth-child(9) { animation-delay: -8s; }

.slide:nth-child(even) {
    margin-top: 60px;
}

.slide:nth-child(odd) {
    margin-top: -60px;
}

.slide:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.6);
    border-color: #3399ff;
    z-index: 10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.slide:hover img {
    transform: scale(1.1);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 102, 255, 0.95) 0%, rgba(0, 102, 255, 0.85) 50%, transparent 100%);
    color: white;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.slide:hover .slide-caption {
    background: linear-gradient(to top, rgba(0, 102, 255, 1) 0%, rgba(0, 102, 255, 0.95) 60%, transparent 100%);
    padding: 2rem 1rem;
    font-size: 1.2rem;
}

@keyframes curveScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 9 - 27rem));
    }
}

@keyframes floatSlide {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-25px) rotate(1deg);
    }
}

.slide-dots {
    display: none;
}

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

/* Form Section */
.form-section {
    max-width: 800px;
    margin: 3rem auto;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.registration-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

.form-header-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.form-title::after {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.form-group:has(.custom-select.active) {
    z-index: 9999;
}

.form-group.full-width {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group label .optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select.active {
    z-index: 99999;
}

.custom-select .select-selected {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
    transition: var(--transition);
    position: relative;
    padding-right: 2.5rem;
}

.custom-select .select-selected::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #0ea5e9;
    transition: var(--transition);
}

.custom-select.active .select-selected::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select .select-selected:hover {
    border-color: var(--accent-color);
}

.custom-select.active .select-selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.select-items {
    position: absolute;
    background-color: white;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 99999;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
}

.select-items div {
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.select-items div:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
}

.select-items div.same-as-selected {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
}

.select-hide {
    display: none;
}

.select-items::-webkit-scrollbar {
    width: 8px;
}

.select-items::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}

.select-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border-radius: 8px;
}

.select-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #0066ff;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.5);
    background: #0052cc;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-loader.hidden,
.message.hidden {
    display: none;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Success Screen & Ticket Styles */
.success-container {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.6s ease-out;
}

.success-message {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h2 {
    color: #0066ff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.whatsapp-section {
    margin-top: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-section h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.whatsapp-section p {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .splash-title {
        font-size: 3rem;
    }

    .splash-subtitle {
        font-size: 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }
    
    .countdown-container {
        margin: 1.5rem 0;
        width: 100%;
    }
    
    .countdown-timer {
        gap: 0.25rem;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .time-box {
        padding: 0.75rem 0.6rem;
        min-width: 55px;
        border-radius: 10px;
    }
    
    .time-value {
        font-size: 1.4rem;
        letter-spacing: 0;
    }
    
    .time-label {
        font-size: 0.55rem;
        margin-top: 0.25rem;
        letter-spacing: 0.5px;
    }
    
    .time-separator {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .countdown-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .slideshow-container {
        height: 300px;
    }

    .slide-track {
        width: calc(300px * 18);
    }

    .slide {
        flex: 0 0 300px;
        width: 300px;
        height: 300px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 9));
        }
    }

    .slide-caption {
        font-size: 1.25rem;
        padding: 1rem;
    }

    .slide-btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .slide-btn.prev {
        left: 0.5rem;
    }

    .slide-btn.next {
        right: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 1rem;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-container {
        padding: 1rem;
    }

    .whatsapp-section {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.8rem;
        line-height: 1.1;
    }
    
    .hero-year {
        font-size: 2rem;
    }
    
    .splash-title {
        font-size: 2.5rem;
    }

    .main-title {
        font-size: 2rem;
    }
    
    .countdown-container {
        margin: 1rem 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .countdown-title {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        text-align: right;
        width: 100%;
    }
    
    .countdown-timer {
        gap: 0.2rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: 100%;
    }
    
    .time-box {
        padding: 0.6rem 0.5rem;
        min-width: 48px;
        border-radius: 8px;
    }
    
    .time-value {
        font-size: 1.2rem;
        letter-spacing: 0;
    }
    
    .time-label {
        font-size: 0.5rem;
        margin-top: 0.2rem;
        letter-spacing: 0;
    }
    
    .time-separator {
        font-size: 1rem;
        margin: 0;
        opacity: 0.5;
    }

    .slideshow-container {
        height: 250px;
    }

    .slide-track {
        width: calc(250px * 18);
    }

    .slide {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 9));
        }
    }

    .registration-form {
        padding: 1.5rem 1rem;
    }

    .whatsapp-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
