/* Geaux Hack-only enhancements. No changes to other pages. */
:root{--gh-purple:#a98bdb;--gh-pink:#f2b6d1;--gh-dark:#161026}
html{scroll-behavior:smooth}body{overflow-x:hidden}

.introduction-container{
    position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 16% 20%,#653a91 0%,transparent 46%),
    radial-gradient(ellipse at 86% 75%,#9d477e 0%,transparent 42%),
    linear-gradient(135deg,#181126,#31214e 62%,#181126)!important;
    min-height:620px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:90px 24px 75px!important}
.introduction-container:before,.introduction-container:after{
    content:"";
    position:absolute;
    border:1px solid #ffffff25;
    border-radius:50%;
    pointer-events:none;
    z-index:-1;
}
.introduction-container:before{
    width:600px;
    height:600px;
    left:-270px;
    top:-230px;
}
.introduction-container:after{
    width:480px;
    height:480px;
    right:-190px;
    bottom:-220px;
}
.welcome-msg{
    position:relative;z-index:1;text-align:center
}
.welcome-msg h1{
    font-size:clamp(3rem,8vw,7.2rem)!important;
        line-height:1.08!important;letter-spacing:-.06em!important;
        margin:14px 0!important;color:#fff!important;
        text-shadow:0 12px 35px #0005
}

/* Match event date to the Geaux Hack heading */
/* Match the event date to the main Geaux Hack heading */
#event-date {
    font-family: 'Handjet', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;

    background: linear-gradient(90deg, #ccc7ec 24.34%, #9b9bed 41.54%, #6a6adf 64.8%, #4343d5 75.56%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 16px 0 24px;
}

#event-date span {
    -webkit-text-fill-color: transparent;
}

#event-date span {
    color: inherit;
    -webkit-text-fill-color: transparent;
}

.welcome-msg h3 span{
    color:var(--gh-pink)
}

.welcome-msg{
    position:relative;z-index:1;text-align:center
}
#welcome-msg h3{
    font-size:clamp(1rem,4vw,4.1rem)!important;
        line-height:1.08!important;letter-spacing:-.03em!important;
        margin:14px 0!important;color:#fff!important;
        text-shadow:0 12px 35px #0005
    }
.welcome-msg h3 span{
    color:var(--gh-pink)
}

.gh-eyebrow{
    color:#e7b9f8!important;
    letter-spacing:.22em;font:700 .78rem/1.5 'Fragment Mono',
    monospace!important
}
.gh-tagline{
    font-size:clamp(1.05rem,2vw,1.45rem)!important;
    color:#f5eefa!important;max-width:680px;margin:12px auto 24px
}
.gh-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;margin-top:25px
}
.gh-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;border:1px solid #ffffff70;
  border-radius:999px;padding:14px 24px;
  cursor:pointer;font:700 1rem 'Fragment Mono',
  monospace;text-decoration:none;
  transition:transform .2s,box-shadow .2s
}
.gh-button:hover{
   transform:translateY(-3px);
   box-shadow:0 12px 28px #0004;
}
.gh-button-primary{
  background:var(--gh-pink);
  color:#21122e;
  border-color:var(--gh-pink);
}
.gh-button-secondary{
   background:#ffffff18;
   color:#fff;
}
.gh-interest-note{
   color:#e6d4e8!important;
   font-size:.82rem!important;
   margin-top:13px;
}
.gh-float{
   position:absolute;
   border:1px solid #e6b5ef85;
   border-radius:14px;
   padding:15px 20px;
   color:#f6d8f2;
   background:#ffffff16;
   backdrop-filter:blur(9px);
   box-shadow:0 14px 36px #0003;
   font:700 .9rem 'Fragment Mono',monospace;
   animation:gh-float 6s ease-in-out infinite;
   pointer-events:none;
}
.gh-float-a{
  top:18%;
  left:-30%;
  transform:rotate(-9deg);
}
.gh-float-b{
   right:-30%;
   bottom:19%;
   animation-delay:-3s;
   transform:rotate(7deg);
}
@keyframes gh-float{
  0%,100%{translate:0 0}
  50%{translate:0 -18px}
}

#countdown-msg{
    margin-top:34px!important;
    color:#fff!important;
}
.countdown-container{
    position:relative;
    z-index:1;
}
.gh-ticker{
    background:#e5afd3;
    color:#25172f;
    overflow:hidden;
    padding:12px 0;
    font:700 .9rem 'Fragment Mono',monospace;
    letter-spacing:.09em;
    white-space:nowrap;
}
.gh-ticker div{
    width:max-content;
    animation:gh-marquee 26s linear infinite;
}
@keyframes gh-marquee{
    to{
        transform:translateX(-35%);
    }
}
.about-container,
.board-container,
#schedule-nav,
#sponsors-nav,
.faw-container{
    scroll-margin-top:95px;
}
.about-container{
    position:relative;
}
.about-container:nth-of-type(even){
    background:radial-gradient(ellipse at 16% 20%,#653a91 0%,transparent 46%),
    radial-gradient(ellipse at 86% 75%,#9d477e 0%,transparent 42%),
    linear-gradient(135deg,#181126,#31214e 62%,#181126)!important;
}
.level-table{
    box-shadow:0 15px 40px #0002;
}
.faq-item{
    transition:transform .2s;
}
.faq-item:hover{
    transform:translateX(4px);
}
.gh-modal[hidden]{
    display:none!important
}
.gh-modal{
    position:fixed;
    inset:0;z-index:10000;
    display:grid;
    place-items:center;
    padding:16px
}
.gh-modal-backdrop{
    position:absolute;
    inset:0;
    background:#100a1bd9;
    backdrop-filter:blur(7px)
}
.gh-dialog{
    position:relative;
    max-width:520px;
    width:100%;
    max-height:min(92vh,850px);
    overflow:auto;
    background:linear-gradient(145deg,#2a1c43,#1b152a);
    border:1px solid #d7addc70;
    border-radius:24px;
    padding:clamp(22px,4vw,38px);
    color:#fff;box-shadow:0 25px 100px #0009
}
.gh-dialog h2{
    color:#fff;font-size:clamp(1.6rem,4vw,2.3rem);
    margin:7px 0
}
.gh-dialog p{
    color:#e9dfef
}
.gh-modal-close{
    position:absolute;
    right:15px;top:12px;
    background:none;
    border:0;color:white;
    font-size:2rem;cursor:pointer
}
.gh-dialog form{
    display:grid;
    gap:9px;margin-top:20px
}
.gh-dialog label{
    font-size:.91rem;font-weight:700;
}
.gh-dialog label>span:not(.gh-optional){
    color:#ffc6dc;
}
.gh-dialog input:not([type=checkbox]),
.gh-dialog select{
    width:100%;
    box-sizing:border-box;
    border:1px solid #b89ac2;
    background:#fff;
    color:#1d1726;
    padding:12px;
    border-radius:9px;
    font-size:1rem;
    margin-bottom:6px;
}
.gh-dialog :focus-visible{
    outline:3px solid #f3b7d3;
    outline-offset:3px;
}
.gh-optional{
    font-size:.8rem;
    color:#cab8d4;
    font-weight:400;
}
.gh-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:10px 0;
}
.gh-consent input{
    margin-top:4px;
    accent-color:#cf9fce;
}
.gh-consent span{
    color:#fff!important;
}
.gh-submit{
    width:100%;
}
.gh-form-status{
    min-height:1.3em;
    font-size:.9rem!important;
}
.gh-privacy{
    font-size:.78rem!important;
    line-height:1.5;
}
.gh-privacy a{
    color:#ffd0e9;
}
.gh-honeypot{
    position:absolute;
    left:-9999px;
}
.gh-modal-open{
    overflow:hidden;
}
@media(max-width:750px){
    .gh-float{
        display:none;
    }
    .introduction-container{
        min-height:550px;
        padding:70px 16px!important;
    }
    .gh-actions{
        flex-direction:column;
        align-items:stretch;
    }
    .gh-button{
        font-size:.85rem;
    }
    .gh-dialog{
        border-radius:16px;
    }
    .gh-ticker{
        font-size:.7rem;
    }
}
@media(prefers-reduced-motion:reduce){
    *,*:before,*:after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
}


/* Geaux Hack history timeline */
.gh-history-section{
    padding:clamp(65px,8vw,115px) 24px;
    background:linear-gradient(180deg,#1b132d,#30204c 55%,#1b132d);
    color:#f9f1ff;
    scroll-margin-top:95px
}
.gh-history-heading{
    text-align:center;
    max-width:760px;
    margin:0 auto 75px
}
.gh-history-kicker{
    font:700 .8rem 'Fragment Mono',monospace;
    letter-spacing:.2em;color:#eebadf
}
.gh-history-heading h2{
    font-size:clamp(2.2rem,5vw,4rem);
    line-height:1.1;
    color:#fff;
    margin:16px 0
}
.gh-history-heading>p:last-child{
    color:#e2d7ec;
    font-size:1.1rem;
    line-height:1.65
}
.gh-history-timeline{
    position:relative;
    max-width:1120px;
    margin:auto
}
.gh-history-timeline::before{
    content:"";
    position:absolute;
    top:18px;
    bottom:35px;
    left:50%;
    width:3px;
    transform:translateX(-50%);
    background:linear-gradient(#efb6d6,#a98bdb,#efb6d6);
    box-shadow:0 0 20px #f2b6d180
}
.gh-history-event{
    position:relative;
    width:50%;
    box-sizing:border-box;
    padding:0 58px 70px 0
}
.gh-history-event:nth-child(even){
    margin-left:50%;
    padding:0 0 70px 58px
}
.gh-history-year{
    position:absolute;
    z-index:2;
    top:15px;
    right:-43px;
    width:86px;
    min-height:42px;
    display:grid;
    place-items:center;
    border:2px solid #f2b6d1;
    border-radius:999px;
    background:#291b42;
    color:#ffe2f1;
    font:700 1.05rem 'Fragment Mono',monospace;
    box-shadow:0 0 24px #efb6d655
}
.gh-history-event:nth-child(even) .gh-history-year{
    right:auto;
    left:-43px
}
.gh-history-card{
    overflow:hidden;
    border:1px solid #d7a9e777;
    border-radius:22px;
    background:#ffffff0d;
    box-shadow:0 20px 45px #0a061a55;
    transition:transform .25s,box-shadow .25s
}
.gh-history-card:hover{
    transform:translateY(-5px);
    box-shadow:0 25px 55px #0a061a88
}
.gh-history-card img{
    display:block;
    width:100%;
    height:235px;
    object-fit:cover
}
.gh-history-details{
    padding:25px
}
.gh-history-date{
    font:700 .75rem/1.5 'Fragment Mono',monospace;
    letter-spacing:.08em;
    color:#e9b7dd;
    margin:0 0 9px
}
.gh-history-details h3{
    font-size:clamp(1.5rem,2.6vw,2rem);
    color:#fff;
    margin:0 0 12px
}
.gh-history-stat{
    display:inline-block;
    padding:7px 13px;
    border-radius:999px;
    background:#eab8d622;
    color:#ffd3ec;
    font-weight:700;
    margin:0 0 12px
}
.gh-history-details p:last-child{
    line-height:1.6;
    color:#eee3f4;
    margin:4px 0 0
}
@media(max-width:760px){
 .gh-history-section{
    padding:65px 18px
}
 .gh-history-heading{
    margin-bottom:50px
}
 .gh-history-timeline::before{
    left:25px;transform:none
}
 .gh-history-event,.gh-history-event:nth-child(even){
    width:100%;
    margin-left:0;
    padding:0 0 48px 72px
}
 .gh-history-year,.gh-history-event:nth-child(even) .gh-history-year{
    top:15px;
    left:-3px;
    right:auto;
    width:57px;
    min-height:34px;
    font-size:.78rem
}
 .gh-history-card img{
    height:200px
}
 .gh-history-details{
    padding:20px
}
}

/* ========================================
   GEAUX HACK — ANIMATED TRACK CARDS
   ======================================== */

.gh-tracks {
    padding: 45px 20px;
    text-align: center;
}

.gh-tracks-heading {
    margin-bottom: 35px;
}

.gh-tracks-kicker {
    color: #b34f92;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gh-tracks-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #63357d;
    margin: 12px 0;
}

.gh-tracks-heading > p:last-child {
    color: #967fa3;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive card layout */

.gh-tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.gh-track-card {
    grid-column: auto;
    background: linear-gradient(145deg, #fff5fc, #f1e5ff);
    border: 2px solid #e5c9f2;
    border-radius: 22px;
    padding: 35px 24px;
    box-shadow: 0 8px 24px rgba(100, 53, 125, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Center the final three cards */

/* Keep all nine track cards aligned in three rows of three on desktop */

/* Hover animation */

.gh-track-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(100, 53, 125, 0.20);
    border-color: #c779c9;
}

.gh-track-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.gh-track-card:hover .gh-track-icon {
    transform: scale(1.15) rotate(-5deg);
}

.gh-track-card h3 {
    color: #63357d;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.gh-track-card p {
    color: #62536b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tablet */

@media (max-width: 850px) {
    .gh-tracks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gh-track-card,
    .gh-track-card:nth-child(7),
    .gh-track-card:nth-child(8),
    .gh-track-card:nth-child(9) {
        grid-column: auto;
    }

    .gh-track-card:last-child {
        grid-column: 1 / -1;
    }
}

/* Mobile */

@media (max-width: 550px) {
    .gh-tracks {
        padding: 35px 12px;
    }

    .gh-tracks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gh-track-card,
    .gh-track-card:last-child {
        grid-column: auto;
    }

    .gh-track-card {
        padding: 28px 20px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .gh-track-card,
    .gh-track-icon {
        transition: none;
    }

    .gh-track-card:hover,
    .gh-track-card:hover .gh-track-icon {
        transform: none;
    }
}

/* Geaux Hack judging panel heading */

/* Compact navy box around Judging Panel heading */
#judge-nav .judge-title {
    font-family: 'Handjet', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;
    text-align: center;

    background: #161026;
    border: 1px solid #383052;
    border-radius: 0;
    padding: 12px 24px;

    width: fit-content;
    max-width: 90%;
    box-sizing: border-box;
    margin: 0 auto 35px;
}

/* Apply the blue gradient to the text only */
/* Apply the blue gradient to the text only */
#judge-nav .judge-title {
    color: #ccc7ec;
    -webkit-text-fill-color: initial;
}

#judge-nav .judge-title span {
    font-family: 'Handjet', sans-serif;
    background: linear-gradient(
        90deg,
        #ccc7ec 24.34%,
        #9b9bed 41.54%,
        #6a6adf 64.8%,
        #4343d5 75.56%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Sponsors heading — match Judging Panel */
#sponsors-title h2 {
    font-family: 'Handjet', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;
    text-align: center;

    background: #161026;
    border: 1px solid #383052;
    border-radius: 0;
    padding: 12px 24px;

    width: fit-content;
    max-width: 90%;
    box-sizing: border-box;
    margin: 0 auto 35px;

    color: #ccc7ec;
    -webkit-text-fill-color: initial;
}

/* Blue gradient on text only */
#sponsors-title h2 span {
    font-family: 'Handjet', sans-serif;
    background: linear-gradient(
        90deg,
        #ccc7ec 24.34%,
        #9b9bed 41.54%,
        #6a6adf 64.8%,
        #4343d5 75.56%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Remove the original background around the Sponsors heading */
#sponsors-title {
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Sponsors year headings */
#sponsors-2025 h2,
#sponsors-2026 h2,
#sponsors-2027 h2 {
    font-family: 'Handjet', sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.2;
    letter-spacing: 2px;
    text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 12px rgba(106, 106, 223, 0.45);
}

/* Geaux Hack full-page background */
html,
body {
    background: linear-gradient(
        135deg,
        #181126,
        #31214e 62%,
        #181126
    ) !important;

    background-attachment: fixed !important;
}

/* Let the page gradient show through Event Information */
#hackathon-nav {
    background: transparent !important;
    background-color: transparent !important;
}

/* ===== GEAUX HACK FAQ REDESIGN ===== */

/* FAQ section container */
.faw-container {
    width: 100%;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

#faq-nav {
    width: 100%;
    min-width: 0;
}

/* FAQ heading */
#faq-nav h2 {
    font-family: 'Handjet', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    color: #ccc7ec;
    margin-bottom: 32px;
}

/* FAQ cards */
#faq-nav .faq-item {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;

    background: #161026;
    border: 1px solid #514073;
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* FAQ questions */
#faq-nav .faq-item summary {
    display: list-item;
    padding: 18px 24px;
    background: #241936;
    color: #e8ddff;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: background 0.3s ease;
}

#faq-nav .faq-item summary:hover,
#faq-nav .faq-item[open] summary {
    background: #392755;
}

/* FAQ answers */
#faq-nav .faq-item p {
    padding: 16px 24px;
    margin: 0;
    color: #e8ddff;
    font-size: 1rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .faw-container {
        width: 100%;
        margin: 40px auto;
        padding: 0 16px;
    }

    #faq-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #faq-nav .faq-item {
        width: 100%;
        min-width: 0;
    }

    #faq-nav .faq-item summary {
        padding: 14px 16px;
        font-size: 1rem;
    }

    #faq-nav .faq-item p {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}
