:root {
    --font-main: "Inter Variable", "Inter Placeholder", sans-serif;
    --font-heading: "Space Grotesk", "Space Grotesk Placeholder", sans-serif;

    --color-bg: #0a0f1c;
    --color-text: #e6eaf2;
    --color-text-toned-down: #e6eaf2dd;
    --color-muted: #a3a3a3;

    --color-accent-1: #ffd23f;
    --color-accent-2: #ff3d81;
}

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

body {
    margin: 0;
    font-family: var(--font-main);
    font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03";
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Improved responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background: #151b2f;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header .logo-text {
    height: 100%;
}

.nav-links a {
    color: var(--color-text);
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
}
.nav-main a {
    color: var(--color-text);
    text-decoration: none;
}
.no-deco {
    color: var(--color-text);
    text-decoration: underline;
}

.nav-links a:hover {
    color: var(--color-accent-1);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
/* Hero */
.hero {
    background: url("assets/Hero-section-bg.png") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem 4rem;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-caption {
    font-family: var(--font-heading);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-1);
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow-wrap: break-word;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 4px 2px;
}

.hero-button {
    background-color: var(--color-accent-2);
    border: none;
    overflow: hidden;
    border-radius: 100px;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 500;
    /* letter-spacing: -0.01em; */
    padding: 0.5rem 1rem;
}

.hero-button:hover {
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-date {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: clamp(24px, 4vw, 37px); /* Responsive font size */
    letter-spacing: -0.03em;
    color: var(--color-accent-1);
    padding-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background: transparent;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(15, 23, 42, 0.95));
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(168, 85, 247, 0.1) inset,
                0 4px 20px rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(168, 85, 247, 0.2) inset,
                0 8px 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-caption {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: rgba(168, 85, 247, 0.1);
}

.datetime {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.countdown-announcement {
    color: var(--color-accent-1);
    font-weight: 525;
    font-size: clamp(24px, 4vw, 33px); /* Responsive font size */
    /* letter-spacing: -0.03em; */
    line-height: 1.2;
}

.countdown {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 38px); /* Responsive font size */
    font-weight: 525;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #9ba6bf;
    margin-bottom: 0.7rem;
}

.countdown-number {
    color: var(--color-text);
}

.extra-bold {
    font-weight: 700;
    font-size: clamp(20px, 3.5vw, 30px); /* Responsive font size */
    font-variation-settings: "opsz" 32, "wght" 700;
    letter-spacing: -0.03em;
    max-width: 415px;
    line-height: 1.3;
    overflow-wrap: break-word;
}

/* Day-1 Quick Links Section */
.day-links-section {
    padding: 2rem 2rem;
    background: transparent;
}

.day-links-section .container {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(15, 23, 42, 0.95));
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(168, 85, 247, 0.1) inset,
                0 4px 20px rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.day-links-section .container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(168, 85, 247, 0.2) inset,
                0 8px 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.day-links-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.day-links-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.day-links-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.8rem;
}

.day-link-btn {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.day-link-btn:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
    color: #f0e7ff;
}

.extra-bold-1 {
    font-weight: 700;
    font-size: clamp(18px, 3vw, 26px); /* Responsive font size */
    font-variation-settings: "opsz" 32, "wght" 700;
    letter-spacing: -0.03em;
    max-width: 415px;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.muted {
    color: var(--color-muted);
}

.whitetext {
    color: var(--color-text-toned-down);
    text-align: justify;
}
.whitetext-unjust {
    color: var(--color-text-toned-down);
}

#eligibility {
    padding-bottom: 0.1rem;
}

#details {
    scroll-margin-top: 65px;
}

/* About */
.about {
    max-width: 1030px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.about-content p {
    margin-bottom: 0.8rem;
}

#about-title {
    max-width: 1045px;
    margin: 0 auto;
    padding: 1.5rem 0 0.2rem 0;
}

/* Schedule */
.schedule {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--color-bg);
    scroll-margin-top: 4px;
}

.schedule h2 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Responsive font size */
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    color: var(--color-text);
}

.schedule h3{
    margin-bottom: 2rem;
    color: var(--color-muted);
}

/* Schedule Image Container */
.schedule-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.schedule-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: block;
}

.pdf-fallback {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
}

.pdf-fallback p {
    color: var(--color-text-toned-down);
    font-size: 0.95rem;
}

.pdf-fallback a {
    color: var(--color-accent-1);
    text-decoration: underline;
    font-weight: 500;
}

.pdf-fallback a:hover {
    color: var(--color-accent-2);
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: var(--color-accent-1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 0.5rem 2rem;
    position: relative;
    width: 50%;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: -10px;
    top: 50%;
    background: var(--color-accent-1);
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

/* Horizontal connector line */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 55%;
  right: -10px;
  height: 3px;
  background: var(--color-accent-1);
  z-index: 0;
}


.timeline-item.left::after {
  left: 89.5%;          /* start at circle center */
  right: auto;
  width: 1.5rem;  /* reach content box */
}

.timeline-item.right::after {
  right: 89.5%;          /* start at circle center */
  left: auto;
  width: 1.5rem;  /* reach content box */
}

.timeline-item.left {
    left: 0;
    text-align: center;
}

.timeline-item.right {
    left: 50%;
    text-align: center;
}

.timeline-item.right::before {
    left: -10px;
}

.timeline-date {
    font-weight: bold;
    color: var(--color-accent-1);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    color: var(--color-text);
}

.timeline-content p {
    margin: 0.5rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

/* Speakers */
.speakers {
    max-width: 1030px;
    padding: 3.4rem 2rem 4rem 2rem;
    text-align: center;
    margin: 0 auto;
    scroll-margin-top: 15px;
}

.speakers h2 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Responsive font size */
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text);
}

.speakers-1 {
    max-width: 1030px;
    padding: 3.4rem 2rem 2rem 2rem;
    text-align: center;
    margin: 0 auto;
    scroll-margin-top: 30px;
}

.speakers-1 h2 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Responsive font size */
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text);
}

.speakers-grid {
    display: grid;
    grid-template-columns:  minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr)   minmax(200px, 1fr) minmax(200px, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
}
.speaker-card:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}

.speaker-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 0.3rem;
    object-fit: cover;
}

.speakers-grid-1 {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem;
    align-items: center;
}

.speaker-card-1 {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
}
.speaker-card-1:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}

.speaker-card-1 img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.3rem;
    object-fit: cover;
}

.speaker-card-1 h4 {
    margin: 0.2rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
}

.speaker-card-2 {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
}
.speaker-card-2:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}

.speaker-card-2 img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.4rem;
    object-fit: cover;
}

.speaker-card-2 h4 {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
}


.speaker-card h3 {
    margin: 0.2rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
}

.speaker-card p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.speaker-card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--color-accent-2);
    text-decoration: none;
    font-weight: bold;
}

.speaker-card a:hover {
    text-decoration: underline;
}

/* Register */
.register {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.register .section-title {
    color: #fff;
    margin-bottom: 16px;
}

.register-text {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.register-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.register-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: var(--color-accent-2);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Events Showcase Section */
.events-showcase {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 20px;
}

.events-showcase h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.event-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.event-poster {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-poster img {
    transform: scale(1.05);
}

.event-info {
    padding: 1.5rem;
    text-align: left;
}

.event-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #a855f7;
}

.event-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.event-cta {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #ec4899;
    transition: all 0.3s ease;
}

.event-card:hover .event-cta {
    color: #f9a8d4;
    transform: translateX(5px);
}

.collaborations {
    padding: 3rem 2rem 2rem;
    text-align: center;
    max-width: 1080px;
    margin: 0 auto;
    scroll-margin-top: 20px;
}

#club-collaborations {
    padding: 0 2rem 2rem;
}

#club-collaborations h2 {
    font-size: 2rem;
}


.collaborations h2 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Responsive font size */
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.collab-grid-below {
    max-width: 570px;
    display: grid;
    padding: 1rem 1rem 0 1rem;
    margin: 0 auto;
}
.collab-grid-club {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.collab-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg, #1a1a2e);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    gap: 1rem;
}

.club-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background: var(--card-bg, #1a1a2e);
    padding: 1rem;
    border-radius: 12px;
}

.collab-card:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}

.club-card:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}

.collab-card h3 {
    margin-bottom: 0.7rem;
    color: var(--text-primary);
    text-align: center;
}

.collab-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: justify;
}

.collab-logo-club img {
    max-width: 100px;
    height: 100px;
}

.collab-logo img {
    max-width: 100px;
    height: auto;
}

/* Banner */
/*.banner {
    display: flex;
    height: ;
    margin: 0 auto;
    background-color: #d4bcff;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}*/

.banner {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 300px;
    aspect-ratio: 12/7; /* match your image */
    background: url("assets/CTA-bottom-section-bg.png") center/cover no-repeat;
    align-items: center;
    padding: 2rem;
}

.banner-content {
    width: min(50%, 600px);
    color: #0b1220;
    font-size: clamp(18px, 3vw, 26px); /* Responsive font size */
    margin: 0 0 0 clamp(2rem, 8vw, 9.5rem);
}

.banner-button {
    background-color: var(--color-accent-2);
    border: none;
    overflow: hidden;
    border-radius: 100px;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-top: 1.5rem;
}

.banner-button:hover {
    cursor: pointer;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #0b1220;
    color: #ddd;
    padding: 25px 20px 30px;
    margin-top: -4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 30px;
    /*place-content: center;*/
    place-items: center;
}

.footer h4 {
    margin-bottom: 12px;
    color: var(--color-accent-1);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin: 6px 0;
}

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

.footer ul li a:hover {
    color: #fff;
}

.footer-copy {
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design */

/* Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
    .day-links-section {
        padding: 1.5rem 1rem;
    }

    .day-links-section .container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .day-links-header {
        margin-bottom: 1.25rem;
    }

    .day-links-header h3 {
        font-size: 1.15rem;
    }

    .day-links-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .day-link-btn {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    /* Gallery Section Responsive */
    .gallery-section {
        padding: 2rem 1rem;
    }

    .gallery-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-caption {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .site-header {
        padding: 0.5rem 1rem;
    }
    
    .site-header .logo {
        font-size: 0.9rem;
    }
    
    .nav-links {
        position: absolute;
        top: 65px;
        right: 0;
        background: var(--nav-bg, #0b0b1a);
        flex-direction: column;
        gap: 0.8rem;
        width: 180px;
        padding: 0.8rem;
        display: none;
        border-radius: 0 0 8px 8px;
        font-size: 0.9rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }
    
    .hero-caption {
        font-size: 12px;
        letter-spacing: 0.1em;
        margin-bottom: 0.75rem;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-date {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }
    
    .hero-button {
        font-size: 16px;
        padding: 0.4rem 0.8rem;
    }

    /* DateTime Section */
    .datetime {
        padding: 1.5rem 1rem;
    }
    
    .countdown-announcement {
        font-size: 22px;
    }
    
    .countdown {
        font-size: 24px;
        margin-bottom: 0.5rem;
    }
    
    .extra-bold, .extra-bold-1 {
        font-size: 16px;
        line-height: 1.3;
        height: auto;
        width: 100%;
        text-align: center;
    }

    /* About Section */
    .about {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .about img {
        display: none;
    }

    /* Schedule Section */
    .schedule {
        padding: 2rem 1rem;
    }
    
    .schedule h2 {
        font-size: 1.8rem;
    }
    
    .schedule-image-container {
        padding: 0.5rem;
    }
    
    .schedule-image {
        border-radius: 6px;
    }
    
    .timeline::after {
        left: 15px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 2.5rem;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 8px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.right::before {
        left: 8px;
    }
    
    .timeline-item::after,
    .timeline-item.left::after,
    .timeline-item.right::after {
        display: none;
    }

    /* Speakers Section */
    .speakers, .speakers-1 {
        padding: 2rem 1rem;
    }
    
    .speakers h2, .speakers-1 h2 {
        font-size: 1.8rem;
    }
    
    .speakers-grid,
    .speakers-grid-1 {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .speaker-card,
    .speaker-card-1,
    .speaker-card-2 {
        padding: 1rem 0.5rem;
    }
    
    .speaker-card img,
    .speaker-card-1 img,
    .speaker-card-2 img {
        width: 80px;
        height: 80px;
    }
    
    .speaker-card h3,
    .speaker-card-1 h4,
    .speaker-card-2 h4 {
        font-size: 0.9rem;
    }

    /* Collaborations */
    .collaborations {
        padding: 2rem 1rem;
    }
    
    .collaborations h2 {
        font-size: 1.8rem;
    }
    
    .collab-grid,
    .collab-grid-club {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .collab-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .collab-logo img,
    .collab-logo-club img {
        max-width: 80px;
        height: 80px;
    }

    /* Banner */
    .banner {
        background-size: cover;
        padding: 2rem 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .banner-content {
        width: 100%;
        margin: 0;
        text-align: center;
        font-size: 18px;
    }
    
    .banner-button {
        font-size: 16px;
        padding: 0.4rem 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 20px 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile Landscape and Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .site-header {
        padding: 0.5rem 1.5rem;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--nav-bg, #0b0b1a);
        flex-direction: column;
        gap: 1rem;
        width: 200px;
        padding: 1rem;
        display: none;
        border-radius: 0 0 8px 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 2rem;
    }
    
    .hero-caption {
        font-size: 14px;
        letter-spacing: 0.12em;
        margin-bottom: 0.85rem;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-date {
        font-size: 24px;
    }
    
    .hero-button {
        font-size: 18px;
        padding: 0.5rem 0.75rem;
    }

    /* Gallery Section */
    .gallery-section {
        padding: 3rem 1.5rem;
    }

    .gallery-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* DateTime */
    .countdown-announcement {
        font-size: 28px;
    }
    
    .countdown {
        font-size: 32px;
    }
    
    .extra-bold, .extra-bold-1 {
        font-size: 18px;
        line-height: 1.2;
        height: auto;
        width: 100%;
    }

    /* About */
    .about {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .about img {
        max-width: 300px;
        width: 100%;
    }

    /* Schedule */
    .schedule h2 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 13px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.right::before {
        left: 13px;
    }
    
    .timeline-item::after,
    .timeline-item.left::after,
    .timeline-item.right::after {
        display: none;
    }

    /* Speakers */
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .speakers-grid-1 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Collaborations */
    .collab-grid {
        grid-template-columns: 1fr;
    }
    
    .collab-grid-club {
        grid-template-columns: 1fr 1fr;
    }
    
    .collab-card {
        flex-direction: row;
        text-align: left;
    }

    /* Banner */
    .banner {
        padding: 2rem;
    }
    
    .banner-content {
        width: 70%;
        font-size: 22px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .site-header {
        padding: 0.5rem 2rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-date {
        font-size: 28px;
    }

    /* About */
    .about {
        max-width: 900px;
        gap: 1.5rem;
    }
    
    .about img {
        max-width: 300px;
    }

    /* Speakers */
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .speakers-grid-1 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    /* Collaborations */
    .collab-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Banner */
    .banner-content {
        font-size: 24px;
    }
}

/* Large Tablets and Small Desktops (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .about {
        max-width: 950px;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-content {
        font-size: 24px;
    }
}

/* Very Large Screens (1201px+) */
@media (min-width: 1201px) {
    .hero {
        padding: 8rem 2rem 6rem;
    }
    
    .about {
        max-width: 1200px;
    }
    
    .speakers, .speakers-1 {
        max-width: 1200px;
    }
    
    .collaborations {
        max-width: 1200px;
    }
    
    /* Prevent content from being too wide on very large screens */
    .hero-content {
        max-width: 900px;
    }
}

/* Discord Community Banner */
.discord-banner {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid #4752c4;
}

.discord-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.discord-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.discord-text {
    flex: 1;
    min-width: 250px;
}

.discord-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.discord-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.discord-button {
    background: #fff;
    color: #5865f2;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.discord-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Deadline Banner - Discord Style */
.deadline-banner {
    background: linear-gradient(135deg, #ff3d81 0%, #ff6b6b 100%) !important;
    border-bottom: 3px solid #e53e3e !important;
}

.deadline-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Event Info Section */
.event-info-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, #1a2332 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #a855f7;
}

.info-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-link {
    display: inline-block;
    color: #ec4899;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: #f9a8d4;
    transform: translateX(5px);
}

/* Challenge Page Styles */
.challenge-hero {
    background: linear-gradient(135deg, var(--color-bg) 0%, #1a2332 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem 3rem;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.challenge-hero .hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent-1);
}

.challenge-hero .hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-toned-down);
    max-width: 600px;
}

/* Challenge Countdown Section */
.challenge-countdown {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a2332 0%, var(--color-bg) 100%);
    text-align: center;
}

.challenge-countdown h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent-1);
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.time-unit {
    background: rgba(255, 210, 63, 0.1);
    border: 2px solid var(--color-accent-1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-accent-1);
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: var(--color-text-toned-down);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-message {
    font-size: 1.1rem;
    color: var(--color-text-toned-down);
    margin-top: 1rem;
}

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

/* Leaderboard Section */
.leaderboard-section {
    padding: 4rem 0;
    background: var(--color-bg);
}

.leaderboard-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-accent-1);
}

/* Problem Statements Banner */
.problem-statements-banner {
    background: linear-gradient(135deg, rgba(255, 210, 63, 0.1) 0%, rgba(255, 61, 129, 0.1) 100%);
    border: 2px solid var(--color-accent-1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-statements-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 210, 63, 0.3);
}

/* Notebooks Container - Compact Grid Layout */
.notebooks-container {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 210, 63, 0.2);
}

.notebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.notebook-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notebook-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 210, 63, 0.5);
    box-shadow: 0 8px 20px rgba(255, 210, 63, 0.2);
}

.solution-card {
    border-color: rgba(0, 255, 136, 0.3);
}

.solution-card:hover {
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.2);
}

.notebook-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.notebook-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-accent-1);
    margin-bottom: 1rem;
}

.colab-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.colab-link:hover {
    transform: scale(1.05);
}

.colab-link img {
    height: 20px;
    vertical-align: middle;
}

/* Old banner styles - keeping for backward compatibility */
.banner-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.banner-content {
    flex: 1;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent-1);
    margin-bottom: 0.5rem;
}

.banner-content p {
    color: var(--color-text-toned-down);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.colab-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.colab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: var(--color-accent-1);
    color: var(--color-bg);
}

.contest-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contest-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contest-title {
    color: var(--color-accent-1);
    font-weight: 600;
}

.contest-note {
    background: #1a2332;
    border: 1px solid #2a3441;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 auto;
    max-width: 800px;
    font-size: 0.9rem;
    color: var(--color-text-toned-down);
}

.contest-note strong {
    color: var(--color-accent-1);
}

.leaderboard-container {
    background: #151b2f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: var(--color-muted);
}

.contest-leaderboard {
    width: 100%;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.leaderboard-header {
    background: #1a2332;
    color: var(--color-text);
}

.leaderboard-header th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #2a3441;
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: #1a2332;
    z-index: 1;
}

.leaderboard-header th:last-child {
    border-right: none;
}

.rank-col {
    width: 60px;
    min-width: 60px;
}

.name-col {
    width: 200px;
    min-width: 150px;
    text-align: left !important;
}

.score-col {
    width: 80px;
    min-width: 80px;
}

.time-col {
    width: 100px;
    min-width: 100px;
}

.challenge-col {
    width: 80px;
    min-width: 80px;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid #2a3441;
    transition: background-color 0.2s ease;
}

.leaderboard-table tbody tr:hover {
    background: #1a2332;
}

.leaderboard-table tbody tr:last-child {
    border-bottom: none;
}

.leaderboard-table td {
    padding: 0.75rem;
    text-align: center;
    border-right: 1px solid #2a3441;
    vertical-align: middle;
}

.leaderboard-table td:last-child {
    border-right: none;
}

.rank-cell {
    font-weight: 600;
    font-size: 1rem;
}

.rank-cell.gold {
    color: #ffd700;
}

.rank-cell.silver {
    color: #c0c0c0;
}

.rank-cell.bronze {
    color: #cd7f32;
}

.name-cell {
    text-align: left !important;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-cell {
    font-weight: 600;
    color: var(--color-accent-2);
}

.time-cell {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.challenge-cell {
    font-size: 0.85rem;
    position: relative;
}

.trail-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.trail-score {
    background: #2d5a3d;
    color: #4ade80;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.trail-time {
    font-size: 0.7rem;
    color: var(--color-muted);
    font-weight: 400;
}

.perfect-score .trail-score {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a0f1c;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.challenge-solved {
    background: #2d5a3d;
    color: #4ade80;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
}

.perfect-score .challenge-solved {
    background: #2d5a3d;
    color: #4ade80;
    font-weight: 600;
}

.challenge-unsolved {
    color: var(--color-muted);
    opacity: 0.6;
}

.challenge-time {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 0.1rem;
}

/* Top rankings special styling */
.leaderboard-table tbody tr:nth-child(1) {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
}

.leaderboard-table tbody tr:nth-child(2) {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08) 0%, transparent 100%);
}

.leaderboard-table tbody tr:nth-child(3) {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08) 0%, transparent 100%);
}

.rank {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.rank-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.participant {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.participant .name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.participant .email {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.participant .last-submission {
    font-size: 0.8rem;
    color: var(--color-accent-1);
    font-weight: 500;
    margin-top: 0.2rem;
}

.score {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-accent-2);
}

.challenges {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--color-muted);
    font-style: italic;
    grid-column: 1 / -1;
}

/* Challenge Submission Section */
.challenge-submission {
    padding: 4rem 0;
    background: #0d1117;
}

.challenge-submission h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-accent-1);
}

.challenge-form {
    max-width: 600px;
    margin: 0 auto;
    background: #151b2f;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group select,
.form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #2a3441;
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent-1);
    box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.1);
}

.file-upload-container {
    position: relative;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #2a3441;
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--color-accent-1);
    background: #1a2332;
}

.file-upload-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.file-size-limit {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.file-selected-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #1a2332;
    border-radius: 6px;
    border-left: 4px solid var(--color-accent-1);
}

.file-selected-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Contest Leaderboard Responsive Design */
@media (max-width: 1200px) {
    .leaderboard-table {
        font-size: 0.8rem;
    }
    
    .challenge-col {
        width: 60px;
        min-width: 60px;
    }
    
    .leaderboard-header th {
        padding: 0.75rem 0.5rem;
    }
    
    .leaderboard-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 968px) {
    .contest-leaderboard {
        overflow-x: scroll;
    }
    
    .leaderboard-table {
        min-width: 800px;
    }
    
    .name-col {
        width: 150px;
        min-width: 120px;
    }
    
    .challenge-col {
        width: 50px;
        min-width: 50px;
    }
}

@media (max-width: 768px) {
    .day-links-section {
        padding: 1.5rem 1rem;
    }

    .day-links-section .container {
        padding: 1.75rem 1.25rem;
        border-radius: 14px;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .day-links-header {
        margin-bottom: 1.35rem;
    }

    .day-links-header h3 {
        font-size: 1.25rem;
    }

    .day-links-buttons {
        gap: 0.85rem;
    }

    .day-link-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .discord-banner {
        padding: 1.25rem 1rem;
    }

    .discord-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .discord-text h3 {
        font-size: 1.25rem;
    }

    .discord-text p {
        font-size: 0.9rem;
    }

    .discord-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .event-info-section {
        padding: 2rem 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        font-size: 2.5rem;
    }

    .info-card h3 {
        font-size: 1.25rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .events-showcase {
        padding: 3rem 1.5rem;
    }

    .events-showcase h2 {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-poster {
        height: 350px;
    }

    .event-info h3 {
        font-size: 1.3rem;
    }

    .leaderboard-section {
        padding: 2rem 0;
    }
    
    .leaderboard-section h2 {
        font-size: 2rem;
    }
    
    .contest-note {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .leaderboard-table {
        font-size: 0.75rem;
        min-width: 700px;
    }
    
    .rank-col {
        width: 40px;
        min-width: 40px;
    }
    
    .name-col {
        width: 120px;
        min-width: 100px;
    }
    
    .score-col,
    .time-col {
        width: 60px;
        min-width: 60px;
    }
    
    .challenge-col {
        width: 40px;
        min-width: 40px;
    }
    
    .leaderboard-header th {
        padding: 0.5rem 0.25rem;
    }
    
    .leaderboard-table td {
        padding: 0.5rem 0.25rem;
    }
}

.file-selected-info .valid {
    color: #4ade80;
}

.file-selected-info .invalid {
    color: var(--color-accent-2);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--color-accent-1) 0%, #ffb700 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 210, 63, 0.3);
}

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

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Submission Result */
.submission-result {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.submission-result.success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid #4ade80;
    color: #4ade80;
}

.submission-result.error {
    background: rgba(255, 61, 129, 0.1);
    border: 1px solid var(--color-accent-2);
    color: var(--color-accent-2);
}

.result-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.result-message {
    flex: 1;
    line-height: 1.5;
}

/* Active nav link */
.nav-links a.active {
    color: var(--color-accent-1);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #151b2f;
    padding: 2rem 0;
    text-align: center;
    color: var(--color-muted);
    border-top: 1px solid #2a3441;
}

/* Responsive Design for Challenge Page */
@media (max-width: 768px) {
    .notebooks-container {
        padding: 1.5rem 1rem;
    }
    
    .notebooks-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .notebook-card {
        padding: 1rem;
    }
    
    .notebook-icon {
        font-size: 2rem;
    }
    
    .notebook-card h3 {
        font-size: 1rem;
    }
    
    .challenge-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .challenge-hero .hero-content p {
        font-size: 1rem;
    }
    
    .challenge-countdown h2 {
        font-size: 2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .time-unit {
        padding: 1rem 1.5rem;
        min-width: 90px;
    }
    
    .time-value {
        font-size: 2.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .problem-statements-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .banner-icon {
        font-size: 2.5rem;
    }
    
    .notebooks-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .notebook-card {
        padding: 0.8rem;
    }
    
    .notebook-icon {
        font-size: 1.8rem;
    }
    
    .notebook-card h3 {
        font-size: 0.95rem;
    }
    
    .banner-content h3 {
        font-size: 1.3rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 60px 1fr 80px 100px;
        gap: 0.5rem;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .participant .email {
        display: none;
    }
    
    .participant .last-submission {
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }
    
    .challenge-form {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .time-unit {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .countdown-message {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .problem-statements-banner {
        padding: 1rem;
    }
    
    .banner-icon {
        font-size: 2rem;
    }
    
    .banner-content h3 {
        font-size: 1.1rem;
    }
    
    .colab-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 50px 1fr 70px;
        gap: 0.5rem;
    }
    
    .challenges {
        display: none;
    }
    
    .rank-icon {
        font-size: 1.2rem;
        margin-right: 0.2rem;
    }
}

/* Winners Announcement */
.winners-announcement {
    background: radial-gradient(ellipse at center, rgba(255, 210, 63, 0.2) 0%, rgba(255, 61, 129, 0.15) 50%, rgba(138, 43, 226, 0.1) 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.winners-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 210, 63, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 61, 129, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.announcement-banner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid;
    border-image: linear-gradient(45deg, #ffd23f, #ff3d81, #8a2be2) 1;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 210, 63, 0.2);
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

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

.banner-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.announcement-banner .banner-content {
    width: 100%;
    margin: 0;
    color: inherit;
}

.announcement-banner h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ffd23f, #ff3d81, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: textShimmer 3s ease-in-out infinite;
    text-align: center;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.winners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 1.2rem auto;
    flex-wrap: wrap;
    max-width: 100%;
}

.winner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    width: 130px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 210, 63, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: relative;
    backdrop-filter: blur(10px);
    transform: scale(1);
    transition: all 0.3s ease;
    animation: winnerGlow 2s ease-in-out infinite alternate;
}

.winner:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(255, 210, 63, 0.5);
}

@keyframes winnerGlow {
    0% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 210, 63, 0.3); }
    100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 61, 129, 0.4); }
}

.winner:first-child {
    animation-delay: -0.5s;
}

.winner:last-child {
    animation-delay: -1s;
}

.medal {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    display: block;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.winner strong {
    font-size: 1rem;
    color: #ffd23f;
    display: block;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    text-align: center;
}

.winner .points {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.winners-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.2rem;
    font-style: italic;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
    text-align: center;
}

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

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd23f;
    pointer-events: none;
}

.confetti:nth-child(odd) {
    background: #ff3d81;
    border-radius: 50%;
}

.confetti:nth-child(3n) {
    background: #8a2be2;
    border-radius: 2px;
}

.confetti:nth-child(4n) {
    background: #00ff88;
    border-radius: 50%;
}

.confetti:nth-child(5n) {
    background: #ff6b6b;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive styles for new sections */
@media (max-width: 768px) {
    .winners-announcement {
        padding: 1.5rem 0;
    }
    
    .announcement-banner {
        max-width: 95%;
        padding: 1.5rem 1rem;
        margin: 0 auto;
    }
    
    .announcement-banner h2 {
        font-size: 1.5rem;
    }
    
    .banner-icon {
        font-size: 2rem;
    }
    
    .winners-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 100%;
    }
    
    .winner {
        min-width: 140px;
        max-width: 160px;
        padding: 1rem;
    }
    
    .medal {
        font-size: 1.8rem;
    }
    
    .winner strong {
        font-size: 1.1rem;
    }
    
    .winner .points {
        font-size: 0.85rem;
    }
    
    .winners-message {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .announcement-banner h2 {
        font-size: 1.3rem;
    }
    
    .banner-icon {
        font-size: 1.8rem;
    }
    
    .winner {
        min-width: 120px;
        max-width: 140px;
        padding: 0.8rem;
    }
    
    .medal {
        font-size: 1.5rem;
    }
    
    .winner strong {
        font-size: 1rem;
    }
    
    .winner .points {
        font-size: 0.8rem;
    }
    
    .winners-message {
        font-size: 0.85rem;
    }
}