/* ============================================
   ENTITY'S CHOSEN — Tournament Website CSS
   ============================================ */

:root {
    --bg-color: #050505;
    --card-bg: rgba(12, 10, 15, 0.75);
    --primary-purple: #6a0dad;
    --accent-purple: #bf40bf;
    --blood-red: #b01a0a;
    --blood-glow: rgba(176, 26, 10, 0.45);
    --ember-orange: #e85c00;
    --text-light: #f0ece8;
    --text-dim: #7a7075;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-purple: rgba(106, 13, 173, 0.3);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Crimson Text', Georgia, serif;
}

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

/* ─── Grain Overlay ─── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--blood-red);
    color: white;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Keyframes ─── */
@keyframes pulse-purple {
    0%   { box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(106, 13, 173, 0); }
    100% { box-shadow: 0 0 0 0 rgba(106, 13, 173, 0); }
}

@keyframes ember-rise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
    50%  { transform: translateY(-40vh) translateX(var(--drift)) scale(0.7); opacity: 0.5; }
    100% { transform: translateY(-90vh) translateX(calc(var(--drift) * 2)) scale(0.3); opacity: 0; }
}

@keyframes fog-drift {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes glitch {
    0%  { transform: skew(0deg); }
    1%  { transform: skew(10deg); opacity: 0.8; }
    2%  { transform: skew(-10deg); opacity: 0.8; }
    3%  { transform: skew(0deg); opacity: 1; }
    98% { transform: skew(0deg); }
    99% { transform: skew(5deg); }
    100%{ transform: skew(0deg); }
}

@keyframes scroll-wheel {
    0%   { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes blood-drip {
    0%   { height: 0; opacity: 0.8; }
    100% { height: 30px; opacity: 0; }
}

/* ─── Header & Nav ─── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent);
    backdrop-filter: blur(6px);
    transition: background 0.4s ease, border-bottom 0.4s ease;
}

header.scrolled {
    background: rgba(3, 2, 5, 0.96);
    border-bottom: 1px solid rgba(106, 13, 173, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 48px;
}

.logo img {
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border-purple);
    box-shadow: 0 0 18px rgba(106, 13, 173, 0.35);
    transition: box-shadow 0.3s;
}

.logo img:hover {
    box-shadow: 0 0 28px rgba(191, 64, 191, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

nav ul li a:hover { color: var(--accent-purple); }
nav ul li a:hover::after { width: 100%; }

.btn-nav {
    border: 1px solid var(--primary-purple);
    padding: 6px 16px;
    border-radius: 3px;
    transition: all 0.3s ease !important;
}

.btn-nav:hover {
    background: var(--primary-purple) !important;
    color: white !important;
}

.btn-nav::after { display: none !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 1px solid var(--border-purple);
    border-radius: 6px;
    background: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 3, 8, 0.98);
    border-left: 1px solid var(--border-purple);
    z-index: 999;
    padding: 100px 40px 40px;
    flex-direction: column;
    gap: 10px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 3px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
    display: block;
}

.mobile-nav a:hover { color: var(--accent-purple); }

.mobile-nav .btn-nav-mobile {
    margin-top: 20px;
    border: 1px solid var(--primary-purple);
    padding: 12px 20px;
    text-align: center;
    border-radius: 4px;
    background: rgba(106, 13, 173, 0.15);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
}

.nav-overlay.open { display: block; }

/* ─── Hero ─── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('hero_bg.png') no-repeat center center / cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, var(--bg-color) 100%);
}

/* Red vignette from the glowing tree in the image */
.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 60%, rgba(176, 26, 10, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(80, 0, 120, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.fog-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.fog-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cdefs%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3C/filter%3E%3C/defs%3E%3Cellipse cx='400' cy='180' rx='600' ry='80' fill='rgba(255,255,255,0.04)' filter='url(%23blur)'/%3E%3Cellipse cx='1100' cy='200' rx='500' ry='70' fill='rgba(255,255,255,0.03)' filter='url(%23blur)'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: 50% 100%;
    animation: fog-drift 35s linear infinite;
    opacity: 0.8;
}

.fog-img-2 {
    animation: fog-drift 55s linear infinite reverse;
    opacity: 0.5;
    animation-delay: -10s;
}

/* Embers */
.embers-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: 5%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ember-orange);
    box-shadow: 0 0 6px 2px rgba(232, 92, 0, 0.6);
    animation: ember-rise var(--duration) var(--delay) ease-in infinite;
}

.ember:nth-child(even) {
    background: var(--blood-red);
    box-shadow: 0 0 6px 2px rgba(176, 26, 10, 0.6);
    width: 2px;
    height: 2px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: var(--blood-red);
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-section h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    margin-bottom: 16px;
    color: var(--text-light);
    text-shadow: 0 0 40px rgba(106, 13, 173, 0.7), 0 0 80px rgba(106, 13, 173, 0.3);
}

.hero-section p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(240, 236, 232, 0.75);
    margin-bottom: 40px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Entity mark decoration */
.entity-mark {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: var(--primary-purple);
    opacity: 0.6;
    margin-top: 20px;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--primary-purple);
    color: white;
    font-family: var(--font-display);
    font-size: 1.35rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    animation: pulse-purple 2.5s infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 2px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;
}

.btn-primary:hover { background: var(--accent-purple); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(191, 64, 191, 0.4); animation: none; }
.btn-primary:hover::after { left: 100%; }

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: white;
    font-family: var(--font-display);
    font-size: 1.25rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

/* ─── Content Sections ─── */
.content-section {
    padding: 80px 0;
    position: relative;
}

.content-section.alt-bg {
    background: rgba(255,255,255,0.015);
}

/* Section Title */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
}

.section-title::before {
    content: '✦';
    display: block;
    font-size: 0.8rem;
    color: var(--blood-red);
    letter-spacing: 12px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--blood-red), transparent);
    margin: 14px auto 0;
}

/* ─── Info Cards ─── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card-bg);
    padding: 36px 28px;
    border: 1px solid var(--border-purple);
    border-radius: 12px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(191, 64, 191, 0.4);
    box-shadow: 0 12px 40px rgba(106, 13, 173, 0.2);
}

.card:hover::before { opacity: 1; }

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(106, 13, 173, 0.6));
}

.card h3 {
    font-family: var(--font-display);
    color: var(--accent-purple);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ─── Hall of Fame ─── */
.fame-card {
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.1), rgba(12, 10, 15, 0.8));
    border: 1px solid rgba(191, 64, 191, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fame-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 15px 45px rgba(106, 13, 173, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
}

.fame-crown {
    font-size: 2.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.fame-season {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fame-card h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 4px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.fame-date {
    color: var(--accent-purple);
    font-size: 0.95rem;
    font-family: var(--font-display);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.fame-prize {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding: 2px 14px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.fame-roster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fame-roster span {
    color: var(--text-light);
    opacity: 0.8;
}

/* ─── Standings / Season 2 ─── */
.standings-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.prize-banner {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(20,15,28,0.9), rgba(10,8,15,0.95));
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prize-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(106,13,173,0.1), transparent 70%);
    pointer-events: none;
}

.prize-amount {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    color: var(--accent-purple);
    line-height: 1;
    margin: 10px 0 16px;
    text-shadow: 0 0 40px rgba(191,64,191,0.4);
    animation: glitch 4s infinite;
}

.prize-banner p {
    color: var(--text-dim);
    font-style: italic;
    font-size: 1.1rem;
}

.bracket-cta-box {
    background: rgba(106, 13, 173, 0.05);
    padding: 32px 40px;
    border-radius: 12px;
    border: 1px dashed rgba(106, 13, 173, 0.25);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.bracket-cta-box p {
    color: var(--text-light);
    font-family: var(--font-display);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* ─── Rules Accordion ─── */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.accordion-item.active {
    border-color: rgba(106, 13, 173, 0.5);
    box-shadow: 0 0 24px rgba(106, 13, 173, 0.15);
}

.accordion-header {
    padding: 20px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-header h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--text-light);
    transition: color 0.3s;
}

.accordion-item.active .accordion-header h3 { color: var(--accent-purple); }

.accordion-icon {
    font-size: 1.1rem;
    transition: transform 0.3s;
    color: var(--text-dim);
}

.accordion-item.active .accordion-icon { transform: rotate(180deg); color: var(--accent-purple); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 28px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    transition: max-height 1s ease-in;
    padding-bottom: 28px;
}

.rule-group {
    margin-bottom: 24px;
}

.rule-group h4 {
    color: var(--accent-purple);
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(191, 64, 191, 0.2);
    padding-bottom: 4px;
    display: inline-block;
    letter-spacing: 2px;
}

.rule-list {
    list-style: none;
}

.rule-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text-dim);
    font-size: 1.05rem;
}

.rule-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-size: 0.7rem;
    top: 5px;
}

.rule-sub-list {
    list-style: none;
    margin-left: 20px;
    margin-top: 5px;
}

.rule-sub-list li::before { content: "✧"; }

.rule-text {
    color: var(--text-dim);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.penalty-item {
    background: rgba(255, 255, 255, 0.025);
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid var(--blood-red);
}

.penalty-item strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* ─── Register Section ─── */
.register-section {
    padding: 100px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.register-card {
    background: var(--card-bg);
    padding: 60px 48px;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--accent-purple), transparent);
}

.register-card h2 { font-size: 3rem; margin-bottom: 12px; }

.register-card p {
    color: var(--text-dim);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.discord-cta { text-align: center; }

.btn-discord {
    background: #5865F2 !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    animation: none !important;
}

.btn-discord:hover { background: #4752c4 !important; }

/* ─── Staff Hero ─── */
.staff-hero {
    height: 50vh;
    min-height: 380px;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.88)), url('hero_bg.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.staff-hero .hero-overlay {
    background: radial-gradient(ellipse at 85% 60%, rgba(176,26,10,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.staff-hero .hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    text-shadow: 0 0 30px rgba(106, 13, 173, 0.6);
}

.staff-hero .hero-content p {
    font-style: italic;
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-top: 12px;
}

/* ─── Staff Cards ─── */
.staff-category { margin-bottom: 72px; }

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-purple), transparent);
}

.staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.staff-card {
    background: var(--card-bg);
    padding: 28px;
    border: 1px solid var(--border-purple);
    border-radius: 12px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(106,13,173,0.08), transparent 70%);
    pointer-events: none;
}

.staff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 64, 191, 0.45);
    box-shadow: 0 10px 36px rgba(106, 13, 173, 0.2);
}

.role-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 2px;
    font-family: var(--font-display);
}

.staff-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--text-light);
}

.staff-names-list {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 10px;
    font-family: var(--font-body);
}

.role-detail {
    color: var(--accent-purple);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ─── Bracket ─── */
.bracket-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding: 40px 0;
    overflow-x: auto;
    position: relative;
}

.bracket-column {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 24px;
    position: relative;
    padding: 0 16px;
}

/* Connector lines between rounds */
.bracket-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-purple), transparent);
}

.round-title {
    font-family: var(--font-display);
    color: var(--accent-purple);
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.matchup {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: border-color 0.3s;
}

.matchup:hover { border-color: var(--border-purple); }

.team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-dim);
    font-size: 1rem;
    border-radius: 7px;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.team + .team {
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 7px 7px;
}

.team:first-child { border-radius: 7px 7px 0 0; }

.team.winner {
    color: var(--text-light);
    font-weight: 700;
    background: rgba(106, 13, 173, 0.12);
}

.team .score {
    font-family: var(--font-display);
    color: var(--accent-purple);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: right;
}

.grand-finals {
    border: 1px solid rgba(191, 64, 191, 0.5);
    box-shadow: 0 0 30px rgba(106, 13, 173, 0.25);
}

.champion-box {
    margin-top: 32px;
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(106,13,173,0.15), rgba(176,26,10,0.05));
    border-radius: 12px;
    border: 1px dashed rgba(106, 13, 173, 0.4);
}

.champion-box .label {
    display: block;
    font-family: var(--font-display);
    color: var(--text-dim);
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.champion-box h3 {
    font-size: 2.8rem;
    color: var(--text-light);
    text-shadow: 0 0 24px var(--primary-purple);
}

.champion-box .tbd { opacity: 0.25; }

/* ─── Standings Table ─── */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.standings-table th {
    background: rgba(106, 13, 173, 0.22);
    color: var(--text-light);
    font-family: var(--font-display);
    padding: 14px 16px;
    text-align: left;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.standings-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 1rem;
}

.standings-table tr:last-child td { border-bottom: none; }

.standings-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text-light); }

.standings-table td:first-child {
    color: var(--accent-purple);
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-align: center;
    width: 40px;
}

/* Top 2 qualifier rows */
.standings-table tr:nth-child(-n+2) td {
    border-left: 2px solid var(--primary-purple);
}

.standings-table tr:nth-child(-n+2) td:first-child {
    border-left: none;
}

/* ─── Footer ─── */
footer {
    padding: 64px 0 28px;
    background: #000;
    border-top: 1px solid var(--border-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo img {
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo img:hover { opacity: 1; }

.footer-socials { display: flex; gap: 24px; }

.footer-socials a {
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

.footer-socials a:hover { color: var(--accent-purple); }

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #3a3540;
    font-size: 0.9rem;
}

/* ─── Reveal Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ─── Utility ─── */
.cta-center { text-align: center; margin-top: 40px; }

.btn-text {
    color: var(--text-dim);
    text-decoration: underline;
    font-family: var(--font-display);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.btn-text:hover { color: var(--text-light); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }

    nav { padding: 12px 20px; }

    .hero-section h1 { font-size: 3.8rem; }
    .hero-section p { font-size: 1.1rem; }

    .prize-amount { font-size: 4rem; }
    .register-card { padding: 40px 24px; }
    .prize-banner { padding: 32px 24px; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-socials { justify-content: center; }

    .bracket-wrapper { flex-direction: column; align-items: center; }
    .bracket-column { width: 100%; max-width: 380px; }
    .bracket-column::after { display: none; }

    .category-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 2.8rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .section-title { font-size: 2.2rem; }
    .register-card h2 { font-size: 2.4rem; }
}
