/* -------------------- RESET -------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* -------------------- BODY -------------------- */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0a0f14;
    color: #f8f8f8;
    font-family: 'Orbitron', sans-serif;
    padding-bottom: 8rem;
    /* more space between content and footer */
}

/* -------------------- BACKGROUND EFFECTS -------------------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.08) 2px,
            rgba(0, 0, 0, 0.08) 4px);
    pointer-events: none;
    z-index: 100;
}

canvas#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 0;
}

.radial-glow {
    position: fixed;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(ellipse at center,
            rgba(34, 211, 238, 0.08) 0%,
            rgba(34, 211, 238, 0.04) 40%,
            rgba(34, 211, 238, 0.02) 65%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* -------------------- MAIN CONTENT -------------------- */
main {
    flex: 1;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
}

/* -------------------- LOGO -------------------- */
.logo {
    width: 100%;
    max-width: 520px;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at 40% 45%, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 85% at 40% 45%, black 40%, transparent 85%);
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.5));
    opacity: 0;
    transform: scale(0.85);
    animation: fadeIn 1.2s ease-out forwards;
}

/* -------------------- PAGE TITLE -------------------- */
.tagline {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(103, 232, 249, 0.7);
    font-size: 3rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out 0.6s forwards;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 16px rgba(255, 255, 255, 0.2);
}

/* -------------------- DIVIDERS -------------------- */
.divider {
    width: 256px;
    height: 1px;
    transform: scaleX(0);
    margin: 0 auto;
}

.divider-cyan {
    background: linear-gradient(to right, transparent, #22d3ee, transparent);
    animation: expandX 0.8s ease-out 0.9s forwards;
}

.divider-amber {
    background: linear-gradient(to right, transparent, #fb923c, transparent);
    animation: expandX 0.8s ease-out 1.0s forwards;
}

/* -------------------- AUDIO BARS -------------------- */
.audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 48px;
    width: 100%;
    max-width: 24rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.bar {
    flex: 1;
    border-radius: 2px;
    transition: height 0.15s ease, opacity 0.15s ease;
}

/* -------------------- BUTTONS -------------------- */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* -------------------- CITATIONS -------------------- */
.citation {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(103, 232, 249, 0.5);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.3s forwards, float 5s ease-in-out 2s infinite;
}

/* -------------------- LINKS -------------------- */
.billetterie,
.lineup {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(251, 146, 60, 0.3);
    background: rgba(251, 146, 60, 0.05);
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.5s forwards;
    text-decoration: none;
    color: inherit;
}

.billetterie:hover,
.lineup:hover {
    background-color: rgba(251, 146, 60, 0.15);
    /* slightly brighter */
    border-color: rgba(251, 146, 60, 0.6);
    /* more visible */
    cursor: pointer;
    transform: translateY(-2px) scale(1.02);
    /* subtle lift */
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fb923c;
    animation: pulseGlow 2s ease-in-out infinite;
}

.billetterie span,
.lineup span {
    font-family: 'Share Tech Mono', monospace;
    color: #fcd34d;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* -------------------- COLORS -------------------- */
.orange {
    color: rgba(103, 232, 249, 0.7);
    text-shadow: 0 0 6px rgba(251, 146, 60, 0.45);
}

.cyan {
    color: rgba(103, 232, 249, 0.7);
}

/* -------------------- SOUND BUTTON -------------------- */
.sound-btn {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: rgba(34, 211, 238, 0.4);
    text-transform: uppercase;
    background: none;
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out 1.6s forwards;
    transition: all 0.3s;
}

.sound-btn.playing {
    color: #22d3ee;
    border-color: #22d3ee;
    box-shadow: 0 0 2px #22d3ee, 0 0 4px #22d3ee, 0 0 8px #22d3ee;
    animation: fadeSlideUp 0.8s ease-out 1.6s forwards, pulseGlowBtn 1.5s ease-in-out infinite;
}

.sound-btn:hover {
    background-color: rgba(34, 211, 238, 0.1);
    /* subtle glow effect */
    border-color: rgba(34, 211, 238, 0.6);
    cursor: pointer;
    transform: translateY(-2px) scale(1.02);
    /* subtle lift */
}

.audio-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.skip-btn {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: rgba(34, 211, 238, 0.4);
    text-transform: uppercase;
    background: none;
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    transition: all 0.3s;
    cursor: pointer;
    
}

.skip-btn:hover {
    color: #22d3ee;
    border-color: #22d3ee;
    transform: scale(1.05);
}

/* -------------------- FOOTER -------------------- */
footer {
    position: fixed;
    /* always visible */
    bottom: 0;
    /* stick to bottom */
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    letter-spacing: 0.3em;
    color: rgba(148, 163, 184, 0.4);
    text-transform: uppercase;
    padding: 1rem 0;
    background: #0a0f14;
    z-index: 10;
    animation: fadeIn 1s ease-out 1.8s forwards;
}

/* Footer link */
.footer-email {
    color: rgba(148, 163, 184, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #fb923c;
}

/* -------------------- LINEUP -------------------- */
.lineup-list {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.lineup-list h3 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2rem;
    color: #fb923c;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 2rem 0 1rem 0;
}

.lineup-list h4 {
    font-family: 'Share Tech Mono', monospace;
    color: #fb923c;
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.lineup-list p {
    font-family: 'Share Tech Mono', monospace;
    color: #22d3ee;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* Extra spacing & divider after special acts */
.lineup-list h4:nth-of-type(11)+p {
    margin-bottom: 4rem;
}

.lineup-list h4:nth-of-type(11)+p::after {
    content: '';
    display: block;
    width: 50%;
    margin: 1rem auto 0 auto;
    border-bottom: 1px solid rgba(103, 232, 249, 0.3);
}

.lineup-pair {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.lineup-pair.special-gap p {
    margin-bottom: 3rem;
}

/* -------------------- DAY LABELS -------------------- */
.lineup-day {
    font-family: 'Share Tech Mono', monospace;
    color: #fb923c;
    font-size: 3rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(255, 255, 255, 0.15);
}

.lineup-day:nth-of-type(1) {
    animation-delay: 1.0s;
}

.lineup-day:nth-of-type(2) {
    animation-delay: 3.8s;
}

/* Normal state: no underline, matches text color */
.link-highlight {
    color: rgba(251, 146, 60, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect: subtle glow like your buttons */
.link-highlight:hover {
    color: #fb923c;
    /* slightly brighter */
    text-shadow: 0 0 6px rgba(251, 146, 60, 0.6), 0 0 12px rgba(251, 146, 60, 0.3);
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandX {
    to {
        transform: scaleX(1);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes pulseGlowBtn {

    0%,
    100% {
        box-shadow: 0 0 4px #22d3ee, 0 0 6px #22d3ee, 0 0 12px #22d3ee;
    }

    50% {
        box-shadow: 0 0 6px #22d3ee, 0 0 8px #22d3ee, 0 0 16px #22d3ee;
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.02) translateY(-2px) translateX(1px);
    }

    50% {
        transform: scale(0.98) translateY(1px) translateX(-1px);
    }

    75% {
        transform: scale(1.01) translateY(-1px) translateX(0);
    }
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
    /* Mobile + tablet styles */
    .tagline {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
        text-align: center;
        /* optional but looks better */
    }

    /* Each word on its own line */
    .tagline span {
        display: block;
        margin: 5px 0;
        /* spacing between lines */
    }

    /* Hide the dots */
    .separator {
        display: none;
    }

    .lineup-day {
        font-size: 2rem;
    }

    .billetterie span,
    .lineup span {
        font-size: 0.85rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .buttons a {
        width: 100%;
        text-align: center;
        display: inline-block; /* Make sure it behaves like a block */
    }

    .sound-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .lineup-list h3 {
        font-size: 1.6rem;
    }

    .lineup-list h4 {
        font-size: 1.2rem;
    }

    .lineup-list p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    footer {
        font-size: 14px;
        letter-spacing: 0.15em;
    }
}

/* For the giggles */

.team-hierarchy {
  text-align: center;
  margin-top: 60px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  color: #22d3ee;
  margin-bottom: 40px;
}

.tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.node {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 16px;
  padding: 15px;
  width: 160px;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.node:hover {
  transform: translateY(-5px);
  border-color: #22d3ee;
}

.node img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.node h3 {
  font-size: 18px;
  color: #fff;
  margin: 5px 0;
}

.node p {
  font-size: 15px;
  color: #fb923c;
}