/* ===== OPEN HACKATHON STYLES ===== */

:root {
    /* Custom variables in addition to main variables */
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --secondary-gradient: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    --accent-color: #F59E0B;
    --accent-dark: #D97706;
    --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    --text-gradient: linear-gradient(to right, var(--primary), var(--primary-light));
    --section-padding: 5rem 0;
    --nav-height: 80px;
    --border-radius: 12px;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-base: all 0.3s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

[data-theme="dark"] {
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.logo-svg {
    width: 60px;
    height: 60px;
}

.logo-path {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: draw 2s infinite alternate;
}

@keyframes draw {
    0% {
        stroke-dashoffset: 150;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.loader p {
    font-weight: 500;
    margin-top: 1rem;
    color: var(--text-light);
}

/* ===== GLOBAL STYLES ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-alt {
    background-color: var(--background-alt);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-secondary);
}

[data-theme="dark"] .section-title {
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    font-family: var(--font-primary);
    transition: var(--transition-bounce);
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.btn-full {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    height: var(--nav-height);
}

[data-theme="dark"] .navbar {
    background-color: rgba(31, 41, 55, 0.95);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.25rem;
    gap: 0.5rem;
}

.logo .logo-svg {
    width: 32px;
    height: 32px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    padding: 0.5rem;
    position: relative;
}

[data-theme="dark"] .nav-link {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-toggle i {
    position: absolute;
    transition: var(--transition-base);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: translateY(20px);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: translateY(-20px);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition-base);
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 9px;
}

.navbar-toggler span:nth-child(3) {
    top: 18px;
}

.navbar.menu-open .navbar-toggler span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.navbar.menu-open .navbar-toggler span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar.menu-open .navbar-toggler span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7ef 100%);
    z-index: -2;
}

[data-theme="dark"] .hero-bg {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-secondary);
}

[data-theme="dark"] .hero-title {
    color: var(--text-light);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-wrapper {
    margin-bottom: 2.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    min-width: 100px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite alternate;
}

[data-theme="dark"] .countdown-item {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes pulse {
    0% {
        box-shadow: var(--card-shadow);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
    }
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    top: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0) 70%);
    animation: float-slow 15s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 70%);
    animation: float-slow 20s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    top: 40%;
    left: 20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%);
    animation: float-slow 10s ease-in-out infinite;
}

.shape-4 {
    top: 20%;
    left: 40%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0) 70%);
    animation: float-slow 12s ease-in-out 2s infinite alternate;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

/* ===== ABOUT SECTION ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

[data-theme="dark"] .feature-title {
    color: var(--text-light);
}

.feature-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary), var(--primary-dark));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background: var(--background);
    border: 4px solid var(--primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--background);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-bounce);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content.active {
    border: 2px solid var(--primary);
}

.timeline-content.active::before {
    content: '🚀';
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.timeline-date {
    position: absolute;
    top: -30px;
    right: 0;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.right .timeline-date {
    left: 0;
    right: auto;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

[data-theme="dark"] .timeline-title {
    color: var(--text-light);
}

.timeline-text {
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-schedule {
    margin-top: 1rem;
}

.schedule-item {
    display: flex;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(79, 70, 229, 0.05);
    border-radius: 5px;
}

.schedule-time {
    font-weight: 600;
    margin-right: 1rem;
    color: var(--primary);
    min-width: 170px;
}

.schedule-text {
    color: var(--text-light);
}

/* ===== RULES SECTION ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.rules-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition-bounce);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.rules-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    gap: 1rem;
}

.rules-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rules-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-secondary);
}

[data-theme="dark"] .rules-title {
    color: var(--text-light);
}

.rules-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.rules-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

.rules-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.rules-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

[data-theme="dark"] .rules-list li strong {
    color: var(--text-light);
}

.rules-note {
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.rules-note i {
    font-size: 2rem;
    color: #EF4444;
    flex-shrink: 0;
}

.rules-note p {
    color: #EF4444;
    font-weight: 500;
    margin: 0;
}

/* ===== PRIZES SECTION ===== */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.prize-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.prize-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-base);
}

.prize-card:hover::before {
    opacity: 1;
}

.prize-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-top-left-radius: 0;
    border-top-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: 0;
}

.first-prize .prize-badge {
    background: var(--accent-gradient);
}

.second-prize .prize-badge {
    background: linear-gradient(135deg, #A1A1AA, #71717A);
}

.third-prize .prize-badge {
    background: linear-gradient(135deg, #D97706, #92400E);
}

.team-prize .prize-badge {
    background: var(--secondary-gradient);
}

.prize-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.first-prize .prize-icon {
    color: #F59E0B;
}

.second-prize .prize-icon {
    color: #A1A1AA;
}

.third-prize .prize-icon {
    color: #D97706;
}

.team-prize .prize-icon {
    color: var(--secondary);
}

.prize-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

[data-theme="dark"] .prize-title {
    color: var(--text-light);
}

.prize-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.prize-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.prize-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.prize-note {
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.prize-note-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.prize-note p {
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    font-size: 1.1rem;
}

/* ===== REGISTRATION SECTION ===== */
.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}

.register-info {
    padding: 2.5rem;
}

.register-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

[data-theme="dark"] .register-title {
    color: var(--text-light);
}

.register-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.register-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
}

.register-detail-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.register-detail-text {
    color: var(--text-light);
}

.register-detail-text strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .register-detail-text strong {
    color: var(--text-light);
}

.register-form-wrapper {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-form {
    position: relative;
    z-index: 2;
}

.register-form-note {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    text-align: center;
}

.register-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.faq-question:hover {
    background-color: rgba(79, 70, 229, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-secondary);
}

[data-theme="dark"] .faq-question h3 {
    color: var(--text-light);
}

.faq-icon {
    color: var(--primary);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.contact-card:hover .contact-icon {
    background: var(--primary-gradient);
    color: white;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

[data-theme="dark"] .contact-title {
    color: var(--text-light);
}

.contact-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.contact-link:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--background);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .footer {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo .logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    font-family: var(--font-secondary);
}

.footer-links-column h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .footer-links-column h4 {
    color: var(--text-light);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links-column ul li a {
    color: var(--text-light);
}

.footer-links-column ul li a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    border-top: 1px solid var(--border);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.copyright {
    color: var(--text-light);
}

.footer-policy-links {
    display: flex;
    gap: 2rem;
}

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-policy-links a {
    color: var(--text-light);
}

.footer-policy-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.footer-shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--primary-light) 0%, var(--primary) 100%);
}

.footer-shape-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, var(--secondary) 0%, var(--primary) 100%);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--card-shadow);
    border: none;
    transition: var(--transition-bounce);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .timeline::after {
        left: 40px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    
    .timeline-container.left::after, 
    .timeline-container.right::after {
        left: 28px;
    }
    
    .timeline-container.right {
        left: 0;
    }
    
    .right .timeline-date {
        left: auto;
        right: 0;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .navbar.menu-open .navbar-menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--background);
        padding: 1rem;
        box-shadow: var(--card-shadow);
        z-index: 99;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .navbar.menu-open .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .navbar.menu-open .navbar-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-container {
        grid-template-columns: 1fr;
    }
    
    .register-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: auto;
        padding: 0.75rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .timeline-container {
        padding-left: 60px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-date {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
        top: -25px;
    }
    
    .register-info {
        padding: 1.5rem;
    }
    
    .register-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .rules-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .prize-note {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}
