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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(0deg, #46014b 0%, #600723 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Mathematical symbols background */
.bg-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
    z-index: 0;
}

/* Cyber grid overlay */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(174, 0, 161, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(174, 0, 161, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 1;
    z-index: 0;
    mask: radial-gradient(ellipse at center, white 0%, white 15%, rgba(255,255,255,0.8) 28%, rgba(255,255,255,0.6) 38%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0.25) 75%, rgba(255,255,255,0.15) 100%);
    -webkit-mask: radial-gradient(ellipse at center, white 0%, white 15%, rgba(255,255,255,0.8) 28%, rgba(255,255,255,0.6) 38%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0.25) 75%, rgba(255,255,255,0.15) 100%);
}


.symbol {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    font-weight: 300;
    animation: float 6s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

.symbol:nth-child(1) { top: 17%; left: 23%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 73%; right: 41%; animation-delay: -0.8s; }
.symbol:nth-child(3) { top: 91%; left: 67%; animation-delay: -1.6s; }
.symbol:nth-child(4) { top: 6%; right: 29%; animation-delay: -2.4s; }
.symbol:nth-child(5) { top: 54%; left: 84%; animation-delay: -3.2s; }
.symbol:nth-child(6) { top: 39%; right: 73%; animation-delay: -4.0s; }
.symbol:nth-child(7) { top: 82%; left: 16%; animation-delay: -0.4s; }
.symbol:nth-child(8) { top: 27%; right: 58%; animation-delay: -1.2s; }
.symbol:nth-child(9) { top: 64%; left: 91%; animation-delay: -2.0s; }
.symbol:nth-child(10) { top: 11%; left: 47%; animation-delay: -2.8s; }
.symbol:nth-child(11) { top: 78%; right: 14%; animation-delay: -3.6s; }
.symbol:nth-child(12) { top: 33%; left: 76%; animation-delay: -0.6s; }
.symbol:nth-child(13) { top: 89%; right: 82%; animation-delay: -1.4s; }
.symbol:nth-child(14) { top: 21%; left: 36%; animation-delay: -2.2s; }
.symbol:nth-child(15) { top: 67%; right: 93%; animation-delay: -3.0s; }
.symbol:nth-child(16) { top: 44%; left: 19%; animation-delay: -3.8s; }
.symbol:nth-child(17) { top: 8%; left: 61%; animation-delay: -0.2s; }
.symbol:nth-child(18) { top: 76%; right: 37%; animation-delay: -1.0s; }
.symbol:nth-child(19) { top: 52%; left: 88%; animation-delay: -1.8s; }
.symbol:nth-child(20) { top: 29%; right: 71%; animation-delay: -2.6s; }
.symbol:nth-child(21) { top: 95%; left: 42%; animation-delay: -3.4s; }
.symbol:nth-child(22) { top: 13%; right: 86%; animation-delay: -4.2s; }
.symbol:nth-child(23) { top: 71%; left: 24%; animation-delay: -0.6s; }
.symbol:nth-child(24) { top: 48%; right: 59%; animation-delay: -1.4s; }
.symbol:nth-child(25) { top: 86%; left: 77%; animation-delay: -2.2s; }
.symbol:nth-child(26) { top: 19%; left: 53%; animation-delay: -3.0s; }
.symbol:nth-child(27) { top: 61%; right: 31%; animation-delay: -3.8s; }
.symbol:nth-child(28) { top: 37%; left: 94%; animation-delay: -0.8s; }
.symbol:nth-child(29) { top: 84%; right: 68%; animation-delay: -1.6s; }
.symbol:nth-child(30) { top: 26%; left: 12%; animation-delay: -2.4s; }
.symbol:nth-child(31) { top: 74%; right: 45%; animation-delay: -3.2s; }
.symbol:nth-child(32) { top: 41%; left: 83%; animation-delay: -4.0s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(-20px) translateX(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) translateX(-10px) rotate(-5deg);
    }
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
}

.logo-container {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.event-details {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.063);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* box-shadow: 0 8px 32px rgba(105, 105, 105, 0.3); */
}

.logo svg {
    width: 60px;
    height: 60px;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ff0043 0%, #ff0043 25%, #ae00a1 50%, #9600b6 75%, #9430cb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.6;
}

.event-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff0043, #ae00a1);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 0, 67, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 0, 67, 0.5);
}


/* Schedule Section */
.schedule-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.schedule-description {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
    align-items: start;
}

.schedule-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.schedule-col-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 100, 150, 0.7);
    padding: 0 0 0.25rem 0;
    border-bottom: 1px solid rgba(255, 100, 150, 0.2);
    margin-bottom: 0.15rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(174, 0, 161, 0.4);
}

.schedule-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 100, 150, 0.9);
    white-space: nowrap;
    letter-spacing: 0.3px;
    min-width: 58px;
    text-align: right;
}

.schedule-divider {
    width: 1px;
    height: 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.schedule-event {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

@media (max-width: 768px) {
    .schedule-title {
        font-size: 1.75rem;
    }

    .schedule-container {
        grid-template-columns: 1fr;
        gap: 0.6rem 0;
    }

    .schedule-col-header {
        margin-top: 0.5rem;
    }

    .schedule-time {
        font-size: 0.75rem;
        min-width: 52px;
    }

    .schedule-event {
        font-size: 0.9rem;
    }
}

/* Prizes Section */
.prizes-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.prizes-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.prizes-description {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.prizes-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prizes-overall {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.prizes-special {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.prize-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1;
}

.prize-card:hover {
    transform: translateY(-3px);
}

.prize-medal {
    font-size: 2rem;
}

.prize-place {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    color: white;
}

.prize-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.prize-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.prize-first {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.prize-first:hover {
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.35);
}

.prize-first .prize-amount {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-second {
    border-color: rgba(192, 192, 192, 0.5);
    background: rgba(192, 192, 192, 0.08);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.15);
}

.prize-second:hover {
    box-shadow: 0 6px 28px rgba(192, 192, 192, 0.3);
}

.prize-second .prize-amount {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-third {
    border-color: rgba(205, 127, 50, 0.5);
    background: rgba(205, 127, 50, 0.08);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.15);
}

.prize-third:hover {
    box-shadow: 0 6px 28px rgba(205, 127, 50, 0.3);
}

.prize-third .prize-amount {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-perks {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.prize-perks li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: left;
    padding-left: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.prize-perks li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.35);
}

.prize-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 0.25rem;
    font-style: italic;
}

.prize-special-card {
    border-color: rgba(174, 0, 161, 0.4);
    background: rgba(174, 0, 161, 0.08);
    box-shadow: 0 0 16px rgba(174, 0, 161, 0.15);
}

.prize-special-card:hover {
    box-shadow: 0 6px 24px rgba(174, 0, 161, 0.3);
}

.prize-special-card .prize-amount {
    background: linear-gradient(135deg, #ff0043, #ae00a1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .prizes-title {
        font-size: 1.75rem;
    }

    .prize-amount {
        font-size: 1.3rem;
    }

    .prize-medal {
        font-size: 1.6rem;
    }
}

.sponsors-section {
    margin-top: 4rem;
    width: 100%;
}

.sponsors-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.sponsors-description {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.sponsors-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.sponsors-small-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    text-decoration: none;
    cursor: pointer;
    grid-column: span 1;
}

.sponsor-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(174, 0, 161, 0.2);
}

.sponsor-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-placeholder img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-placeholder img {
    opacity: 1;
}

.sponsor-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Small Sponsor Cards */
.sponsor-card-small {
    min-height: 70px;
    padding: 0.75rem;
}

.sponsor-card-small .sponsor-name {
    font-size: 0.85rem;
}

/* Premium Sponsor Card */
/* Platinum Sponsor Card - Top Tier */
.sponsor-card-platinum {
    grid-column: 1 / -1;
    min-height: 220px;
    width: 130%;
    margin-left: -15%;
    position: relative;
    background: rgba(173, 216, 230, 0.12);
    border: 3px solid rgba(173, 216, 230, 0.8);
    box-shadow: 0 0 50px rgba(176, 224, 230, 0.5), 0 0 100px rgba(173, 216, 230, 0.35);
}

.sponsor-card-platinum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(173, 216, 230, 0.25) 0%,
        rgba(176, 224, 230, 0.15) 50%,
        rgba(173, 216, 230, 0.25) 100%);
    border-radius: 10px;
    z-index: 0;
}

.sponsor-card-platinum .sponsor-logo-placeholder,
.sponsor-card-platinum .sponsor-name {
    position: relative;
    z-index: 1;
}

.sponsor-card-platinum .sponsor-logo-placeholder img {
    max-height: 140px;
    max-width: 80%;
}

.sponsor-card-platinum:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(176, 224, 230, 0.6), 0 0 140px rgba(173, 216, 230, 0.45);
    border-color: rgba(224, 255, 255, 0.95);
}

/* Gold Sponsor Card */
.sponsor-card-premium {
    grid-column: span 3;
    min-height: 160px;
    width: 120%;
    margin-left: -10%;
    position: relative;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.sponsor-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 165, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.2) 100%);
    border-radius: 10px;
    z-index: 0;
}

.sponsor-card-premium .sponsor-logo-placeholder,
.sponsor-card-premium .sponsor-name {
    position: relative;
    z-index: 1;
}

.sponsor-card-premium .sponsor-logo-placeholder img {
    max-height: 100px;
}

/* Individual sponsor logo size adjustments */
.sponsor-logo-placeholder img[alt="QNX"] {
    max-height: 90px !important;
}

.sponsor-logo-placeholder img[alt="NordVPN"],
.sponsor-logo-placeholder img[alt="Incogni"],
.sponsor-logo-placeholder img[alt="Saily"] {
    max-height: 35px !important;
}

.sponsor-card-premium .sponsor-name {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.sponsor-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.8);
}

/* Silver Sponsor Card */
.sponsor-card-silver {
    min-height: 120px;
    position: relative;
    background: rgba(192, 192, 192, 0.06);
    border: 1px solid rgba(192, 192, 192, 0.35);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.15);
}

.sponsor-card-silver::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(192, 192, 192, 0.1) 0%,
        rgba(169, 169, 169, 0.05) 50%,
        rgba(192, 192, 192, 0.1) 100%);
    border-radius: 10px;
    z-index: 0;
}

.sponsor-card-silver .sponsor-logo-placeholder {
    position: relative;
    z-index: 1;
}

.sponsor-card-silver:hover {
    transform: translateY(-5px);
    background: rgba(192, 192, 192, 0.1);
    box-shadow: 0 10px 28px rgba(192, 192, 192, 0.22);
    border-color: rgba(192, 192, 192, 0.45);
}

/* In-Kind Sponsor Card */
.sponsor-card-inkind {
    grid-column: 1 / -1;
    min-height: 120px;
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.sponsor-card-inkind::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 10px;
    z-index: 0;
}

.sponsor-card-inkind .sponsor-logo-placeholder {
    position: relative;
    z-index: 1;
}

.sponsor-card-inkind:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes goldShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Partners Section */
.partners-section {
    margin-top: 4rem;
    width: 100%;
}

.partners-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.partners-description {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.partner-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 250px;
    text-decoration: none;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(174, 0, 161, 0.3);
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-placeholder img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Individual partner logo size adjustments */
.partner-logo-placeholder img[alt="Hack Club Bank"] {
    max-height: 85px !important;
    width: auto !important;
}

.partner-logo-placeholder img[alt="De La Salle College"] {
    max-height: 100px !important;
}



.partner-card:hover .partner-logo-placeholder img {
    opacity: 1;
}

/* Team Section */
.team-section {
    margin-top: 4rem;
    width: 100%;
    position: relative;
}


.team-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.team-description {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.team-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1rem;
    padding-left: 0;
}

@media (min-width: 1200px) {
    .team-container {
        justify-content: center;
    }
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 130px;
    max-width: 180px;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(174, 0, 161, 0.3);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: rgba(174, 0, 161, 0.6);
}

.team-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.team-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

.faq-section {
    margin-top: 3rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #e274df;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #ae00a1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.icons-attribution {
    margin: 0.5rem 0 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.icons-attribution a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icons-attribution a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .sponsors-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .sponsor-card {
        grid-column: span 1;
    }

    .sponsor-card-premium {
        grid-column: span 3;
    }

    .sponsor-card-platinum {
        grid-column: 1 / -1;
        min-height: 220px;
        width: 120%;
        margin-left: -10%;
    }

}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .description {
        font-size: 1.1rem;
    }

    .event-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .icons-attribution {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }

    .container {
        padding: 1rem;
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .sponsors-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .sponsor-card {
        padding: 0.75rem;
        min-height: 65px;
        grid-column: span 1;
    }

    .sponsor-card-small {
        min-height: 60px;
        padding: 0.6rem;
    }

    .sponsor-logo-placeholder img {
        max-height: 35px;
    }

    .sponsor-card-platinum {
        grid-column: 1 / -1;
        min-height: 200px;
        padding: 1.5rem;
        width: 100%;
        margin-left: 0;
    }

    .sponsor-card-platinum .sponsor-logo-placeholder img {
        max-height: 180px !important;
        transform: scale(1.2);
    }

    .sponsor-card-premium {
        grid-column: span 3;
        min-height: 130px;
        padding: 1.5rem;
        width: 100%;
        margin-left: 0;
    }

    .sponsor-card-premium:has(img[alt="QNX"]) {
        height: 130px;
    }

    .sponsor-card-premium .sponsor-logo-placeholder img {
        max-height: 80px;
    }

    .sponsor-logo-placeholder img[alt="QNX"] {
        max-height: clamp(30px, 17vw, 90px) !important;
    }

    .sponsor-logo-placeholder img[alt="HausWorth"] {
        transform: scale(1.8) !important;
    }

    .sponsor-logo-placeholder img[alt="NordVPN"],
    .sponsor-logo-placeholder img[alt="Incogni"],
    .sponsor-logo-placeholder img[alt="Saily"] {
        max-height: 26px !important;
    }

    .sponsor-card-premium .sponsor-name {
        font-size: 1.1rem;
    }

    .sponsors-title {
        font-size: 1.75rem;
    }

    .team-title {
        font-size: 1.75rem;
    }

    .team-container {
        gap: 1rem;
    }

    .team-card {
        min-width: 130px;
        padding: 1rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 0.9rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .partners-title {
        font-size: 1.75rem;
    }

    .partners-container {
        gap: 1rem;
    }

    .partner-card {
        width: 100%;
        max-width: 280px;
        min-height: 100px;
        padding: 1.25rem;
    }

    .partner-logo-placeholder img {
        max-height: 75px;
    }

    /* Mobile individual partner logo size adjustments */
    .partner-logo-placeholder img[alt="Hack Club Bank"] {
        max-height: 75px !important;
    }

    .partner-logo-placeholder img[alt="De La Salle College"] {
        max-height: 75px !important;
    }
}
