* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(220, 53, 69, 0.3);
}

/* Animated Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 53, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(220, 53, 69, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}

/* Batman Logo Background */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 400px;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M50 5 C30 5, 20 15, 15 25 C10 35, 15 45, 25 45 C35 45, 45 35, 50 25 C55 35, 65 45, 75 45 C85 45, 90 35, 85 25 C80 15, 70 5, 50 5 Z' fill='%23dc3545' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    animation: batLogoFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Bat Signal Effect */
.bat-signal {
    position: fixed;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 75px;
    background: radial-gradient(ellipse at center, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: batSignal 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.bat-signal::before {
    content: '🦇';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #dc3545;
    opacity: 0.4;
    animation: batSignalPulse 2s ease-in-out infinite;
}

/* Floating Bat Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    font-size: 16px;
    color: #dc3545;
    opacity: 0.4;
    animation: float 15s infinite linear;
}

.particle::before {
    content: '🦇';
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 14s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 16s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 13s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 19s; }

/* Grid Pattern Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 53, 69, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 53, 69, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: -3;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
    color: #e0e0e0;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #dc3545;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    animation: textGlow 3s ease-in-out infinite;
    transition: all 0.3s;
}

.logo h1 a {
    color: #dc3545 !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.logo h1 a:hover {
    color: #ff4757 !important;
    text-shadow: 0 0 15px rgba(220, 53, 69, 0.8);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    margin: 0 2rem;
}

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    min-height: 44px; /* Minimum touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(220, 53, 69, 0.3);
}

.nav-link:hover,
.nav-link.active,
.nav-link:active {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    text-decoration: none;
}

.register-btn {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid #dc3545;
}

.register-btn:hover {
    background: linear-gradient(135deg, #a71e2a 0%, #dc3545 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(220, 53, 69, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(220, 53, 69, 0.02) 50%, transparent 70%);
    animation: heroSweep 8s linear infinite;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.event-badge {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1rem;
}

.event-details {
    font-size: 1rem;
    color: #dc3545;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-animation {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    border-radius: 20px;
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    animation: cardFloat 3s ease-in-out infinite;
}

.code-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.bat-logo {
    font-size: 4rem;
    color: #dc3545;
    opacity: 0.8;
    animation: batSignalPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.code-line {
    width: 80%;
    height: 8px;
    background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.code-line:nth-child(2) {
    width: 60%;
    animation-delay: 0.5s;
}

.code-line:nth-child(3) {
    width: 70%;
    animation-delay: 1s;
}

/* Registration Section */
.registration-section {
    background: #111111;
    padding: 3rem 0;
}

.registration-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.registration-card,
.prize-pool-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: cardFloat 4s ease-in-out infinite;
    transition: all 0.3s;
}

.registration-card:hover,
.prize-pool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}

.registration-card h2,
.prize-pool-card h3 {
    color: #dc3545;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.countdown-item {
    text-align: center;
    background: #0a0a0a;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #dc3545;
}

.countdown-label {
    font-size: 0.9rem;
    color: #888;
}

.registration-closes {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.registered-count {
    color: #888;
    font-size: 0.9rem;
}

.prize-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 1rem;
}

.organized-by {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Section Navigation */
.section-navigation {
    background: #111111;
    padding: 2rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.section-nav-tabs {
    display: flex;
    gap: 0;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 0.5rem;
    overflow-x: auto;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.section-nav-btn {
    background: transparent;
    color: #b0b0b0;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.9rem;
    border: none;
}

.section-nav-btn:hover,
.section-nav-btn.active {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Main Content */
.main-content {
    background: #0a0a0a;
    padding: 3rem 0;
}

/* Content Sections */
.content-section {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #dc3545;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Overview Content */
.overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #dc3545;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '🦇';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.2;
    animation: batSignalPulse 3s ease-in-out infinite;
}

.info-card h3 {
    color: #dc3545;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: left;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    color: #e0e0e0;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.info-list li::before {
    content: '🦇';
    color: #dc3545;
    position: absolute;
    left: 0;
    top: 0.8rem;
    font-size: 0.8rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: #ff6b6b;
}

.rounds-section {
    margin-top: 3rem;
}

.rounds-section h3 {
    color: #dc3545;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.round-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
    border-left: 4px solid #dc3545;
}

.round-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.round-icon {
    font-size: 1.2rem;
    color: #dc3545;
}

.round-card h4 {
    color: #dc3545;
    font-size: 1.3rem;
    margin: 0;
    text-align: left;
}

.round-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Timeline */
.timeline-content {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #dc3545 0%, #a71e2a 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-number {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content-item h3 {
    color: #dc3545;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.timeline-content-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Prizes Grid */
.prizes-content {
    max-width: 1000px;
    margin: 0 auto;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prize-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}

.prize-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.prize-card h3 {
    color: #dc3545;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.prize-card .prize-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.prize-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.prize-note {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-left: 4px solid #dc3545;
}

.prize-note p {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.prize-note p:last-child {
    margin-bottom: 0;
}

/* Tracks Grid */
.tracks-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.track-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s;
    border-top: 4px solid #dc3545;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}

.track-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.track-card h3 {
    color: #dc3545;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.track-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Registration Form */
.register-section {
    background: #111111;
    padding: 4rem 0;
}

.register-form-container {
    max-width: 800px;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    border: 1px solid #333;
    text-align: center;
}

.register-form-container h3 {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-description {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.registration-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e0e0e0;
    font-size: 1rem;
}

.info-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.primary-btn {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    border: 2px solid #dc3545;
    display: block;
    text-align: center;
    min-height: 44px; /* Minimum touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(220, 53, 69, 0.3);
}

.primary-btn:hover,
.primary-btn:active {
    background: linear-gradient(135deg, #ff4757 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
    text-decoration: none;
    color: white;
}

.secondary-btn {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #e0e0e0;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(85, 85, 85, 0.3);
    border: 2px solid #555;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #555 0%, #777 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 85, 85, 0.5);
}

.submission-note {
    background: linear-gradient(135deg, #0f0f0f 0%, #1f0f0f 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    border: 1px solid #333;
    margin-top: 2rem;
    text-align: left;
}

.submission-note p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.submission-note p:last-child {
    margin-bottom: 0;
}

.submission-note a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    word-break: break-all;
}

.submission-note a:hover {
    color: #ff4757;
    text-decoration: underline;
}

footer a {
    color: #dc3545 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s;
}

footer a:hover {
    color: #ff4757 !important;
    text-decoration: underline !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
    color: #b0b0b0;
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid #dc3545;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1.2; transform: scale(1.05); }
}

@keyframes heroSweep {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(220, 53, 69, 0.5); }
    50% { text-shadow: 0 0 20px rgba(220, 53, 69, 0.8), 0 0 30px rgba(220, 53, 69, 0.3); }
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes batLogoFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.03;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) rotate(2deg);
        opacity: 0.05;
    }
}

@keyframes batSignal {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes batSignalPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .register-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .event-details {
        font-size: 0.9rem;
    }
    
    .code-animation {
        width: 250px;
        height: 250px;
    }
    
    .bat-logo {
        font-size: 3rem;
    }
    
    .registration-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.8rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .section-nav-tabs {
        padding: 0.3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-nav-btn {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-list li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.2rem;
    }
    
    .round-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .round-card h4 {
        font-size: 1.1rem;
    }
    
    .round-card p {
        font-size: 0.9rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-number {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.9rem;
    }
    
    .timeline-content-item h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content-item p {
        font-size: 0.9rem;
    }
    
    .prizes-grid,
    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .prize-card,
    .track-card {
        padding: 1.5rem;
    }
    
    .prize-card h3,
    .track-card h3 {
        font-size: 1.1rem;
    }
    
    .prize-card .prize-amount {
        font-size: 1.3rem;
    }
    
    .track-icon,
    .prize-icon {
        font-size: 2.5rem;
    }
    
    .register-form-container {
        padding: 2rem 1.5rem;
        margin: 1rem auto 0;
    }
    
    .register-form-container h3 {
        font-size: 1.5rem;
    }
    
    .form-description {
        font-size: 1rem;
    }
    
    .registration-info {
        text-align: center;
        gap: 0.8rem;
    }
    
    .info-item {
        justify-content: center;
        font-size: 0.9rem;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .info-icon {
        font-size: 1rem;
        width: 25px;
    }
    
    .form-buttons {
        gap: 0.8rem;
    }
    
    .primary-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .submission-note {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .submission-note p {
        font-size: 0.9rem;
    }
    
    /* Navigation improvements for mobile */
    nav {
        flex-direction: row;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo h1 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.3rem;
        margin: 0;
        flex: 1;
        max-width: 60%;
    }
    
    .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        min-height: 32px;
        border-radius: 4px;
        white-space: nowrap;
    }
    
    .register-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-height: 32px;
        border-radius: 4px;
        white-space: nowrap;
    }
    
    /* Hero banner mobile fixes */
    .hero-banner {
        padding: 2rem 0;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .event-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 1.5rem 0;
    }
    
    footer p {
        font-size: 0.9rem;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    header {
        padding: 0.6rem 0;
    }
    
    nav {
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-height: 32px;
    }
    
    .register-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        min-height: 32px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .code-animation {
        width: 200px;
        height: 200px;
    }
    
    .bat-logo {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }
    
    .countdown-item {
        padding: 0.6rem 0.3rem;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .section-nav-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .round-card {
        padding: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .timeline-number {
        margin: 0 auto 0.5rem;
    }
    
    .register-form-container {
        padding: 1.5rem 1rem;
    }
    
    .register-form-container h3 {
        font-size: 1.3rem;
    }
    
    .primary-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .info-item {
        font-size: 0.8rem;
    }
    
    .track-icon,
    .prize-icon {
        font-size: 2rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #a71e2a 0%, #dc3545 100%);
}