/* ========================================
   CSS Variables & Design System
   ======================================== */
:root {
    /* Primary color palette - inspired by LoL gold/blue */
    --gold: #C8AA6E;
    --gold-light: #F0E6D2;
    --gold-dark: #785A28;
    --blue: #0AC8B9;
    --blue-dark: #0A1428;
    --blue-deeper: #091428;
    --blue-mid: #0A323C;

    /* Background colors */
    --bg-primary: #0A0E16;
    --bg-secondary: #0D1321;
    --bg-card: rgba(13, 19, 33, 0.8);
    --bg-card-hover: rgba(200, 170, 110, 0.05);

    /* Text colors */
    --text-primary: #F0E6D2;
    --text-secondary: #A09B8C;
    --text-muted: #5B5A56;

    /* Accent colors */
    --red: #E84057;
    --green: #00C853;
    --orange: #FF9800;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #C8AA6E 0%, #F0E6D2 50%, #C8AA6E 100%);
    --gradient-blue: linear-gradient(135deg, #0AC8B9 0%, #0A323C 100%);
    --gradient-hero: linear-gradient(180deg, rgba(10, 14, 22, 0) 0%, rgba(10, 14, 22, 0.8) 60%, #0A0E16 100%);

    /* Spacing */
    --section-padding: 100px 0;

    /* Border */
    --border-color: rgba(200, 170, 110, 0.15);
    --border-glow: rgba(10, 200, 185, 0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   Particles Background
   ======================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ========================================
   Common / Utility
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--blue);
    background: rgba(10, 200, 185, 0.1);
    border: 1px solid rgba(10, 200, 185, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* Custom Refresh Btn */
.refresh-btn {
    background: rgba(10, 200, 185, 0.1);
    border: 1px solid rgba(10, 200, 185, 0.3);
    color: var(--blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.refresh-btn:hover:not(:disabled) {
    background: rgba(10, 200, 185, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 200, 185, 0.2);
}
.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 170, 110, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(10, 200, 185, 0.08) 0%, transparent 50%),
        var(--bg-primary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 170, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    border: 1px solid var(--gold-dark);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.2s both;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.1;
    color: var(--text-primary);
}

.title-line.accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.small {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 4px 30px rgba(200, 170, 110, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(200, 170, 110, 0.5);
}

/* Scroll indicator */
.scroll-indicator-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.scroll-indicator {
    text-align: center;
    animation: fadeInUp 1s ease 1.2s both;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translate(5px, 5px);
        opacity: 1;
    }
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 22, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.nav-logo {
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-brand:hover .nav-logo {
    filter: drop-shadow(0 0 8px rgba(200, 170, 110, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: rgba(200, 170, 110, 0.15) !important;
    color: var(--gold) !important;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--gold-dark);
}

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

.nav-cta:hover {
    background: rgba(200, 170, 110, 0.25) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 22, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 32px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ========================================
   Format Section
   ======================================== */
.format-flow {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 48px;
}

.format-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    transition: var(--transition);
}

.format-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 170, 110, 0.3);
}

.format-card:hover::before {
    background: var(--gold);
}

.format-card.highlight::before {
    background: var(--gradient-gold);
}

.format-card.highlight {
    border-color: rgba(200, 170, 110, 0.25);
}

.format-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.format-phase {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--blue);
    margin-bottom: 8px;
}

.format-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.format-badge {
    display: inline-block;
    padding: 4px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(200, 170, 110, 0.1);
    border: 1px solid var(--gold-dark);
    border-radius: 50px;
    margin-bottom: 20px;
}

.format-card ul {
    list-style: none;
}

.format-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.format-card li:last-child {
    border-bottom: none;
}

.format-card li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.format-arrow {
    display: flex;
    align-items: center;
    color: var(--gold);
    flex-shrink: 0;
}

.format-arrow svg {
    width: 32px;
    height: 32px;
}

/* Example box */
.example-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.example-box h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gold-light);
}

.example-note {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 12px 16px;
    background: rgba(10, 200, 185, 0.05);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

thead th {
    background: rgba(200, 170, 110, 0.08);
    color: var(--gold);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

tbody tr:hover {
    background: rgba(200, 170, 110, 0.03);
}

.vs {
    color: var(--red);
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
}

/* ========================================
   Rules Section
   ======================================== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}

.rule-card:hover {
    border-color: rgba(200, 170, 110, 0.3);
    transform: translateY(-2px);
}

.rule-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.rule-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gold-light);
}

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

.rule-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.rule-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue);
}

/* Prohibited box */
.prohibited-box {
    background: rgba(232, 64, 87, 0.05);
    border: 1px solid rgba(232, 64, 87, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.prohibited-box h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--red);
}

.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.prohibited-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-sm);
}

.prohibited-item.danger {
    background: rgba(232, 64, 87, 0.06);
}

.prohibited-item.warning {
    background: rgba(255, 152, 0, 0.06);
}

.prohibited-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.prohibited-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.prohibited-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Prizes Section
   ======================================== */
.fee-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.fee-amount {
    text-align: center;
    flex-shrink: 0;
}

.fee-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.fee-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.fee-detail {
    flex: 1;
    min-width: 250px;
}

.fee-detail p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.fee-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

/* Prize cards */
.prizes-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.prize-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.prize-card.gold::before {
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.prize-card.silver::before {
    background: linear-gradient(90deg, transparent, #C0C0C0, transparent);
}

.prize-card.bronze::before {
    background: linear-gradient(90deg, transparent, #CD7F32, transparent);
}

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

.prize-card.gold:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.prize-card.silver:hover {
    border-color: rgba(192, 192, 192, 0.3);
}

.prize-card.bronze:hover {
    border-color: rgba(205, 127, 50, 0.3);
}

.prize-rank {
    font-size: 3rem;
    margin-bottom: 12px;
}

.prize-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.prize-percent {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.prize-card.gold .prize-percent {
    color: #FFD700;
}

.prize-card.silver .prize-percent {
    color: #C0C0C0;
}

.prize-card.bronze .prize-percent {
    color: #CD7F32;
}

.prize-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Prize table */
.prize-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.prize-table-wrapper h4 {
    margin-bottom: 20px;
    color: var(--gold-light);
}

.gold-text {
    color: #FFD700 !important;
    font-weight: 600;
}

.silver-text {
    color: #C0C0C0 !important;
    font-weight: 600;
}

.bronze-text {
    color: #CD7F32 !important;
    font-weight: 600;
}

/* ========================================
   Registration Form
   ======================================== */
.reg-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 36px;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.required {
    color: var(--red);
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    background: rgba(200, 170, 110, 0.05);
    box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Member rows */
.members-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.member-row:hover {
    border-color: rgba(200, 170, 110, 0.2);
}

.member-row.sub {
    border-style: dashed;
    opacity: 0.8;
}

.member-row.sub:hover {
    opacity: 1;
}

.member-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.member-number.sub-number {
    background: var(--text-muted);
    font-size: 0.75rem;
}

.member-fields {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Submit button */
.submit-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    padding: 16px 48px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(200, 170, 110, 0.3);
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(200, 170, 110, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn.outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
    max-width: 300px;
}

.submit-btn.outline:hover {
    background: rgba(200, 170, 110, 0.1);
    box-shadow: none;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(10, 20, 40, 0.3);
    border-top-color: var(--blue-dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

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

/* Success message */
.success-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

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

.success-message h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--green);
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.success-message .submit-btn {
    margin-top: 30px;
}

/* ========================================
   Registered Teams Section
   ======================================== */
.teams-loading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.teams-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(200, 170, 110, 0.2);
    border-top-color: var(--gold);
    margin: 0 auto 16px;
    display: block;
}

.teams-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.teams-empty p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.teams-empty .submit-btn {
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    border-color: rgba(200, 170, 110, 0.3);
    transform: translateY(-2px);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.team-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(200, 170, 110, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.team-captain {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(200, 170, 110, 0.06);
    border-radius: var(--radius-sm);
}

.captain-badge {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    flex-shrink: 0;
}

.captain-name {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.team-members {
    list-style: none;
    margin-bottom: 12px;
}

.team-members li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.team-members li:last-child {
    border-bottom: none;
}

.member-ign {
    color: var(--blue);
    font-weight: 600;
}

.member-info {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.team-subs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
}

.subs-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sub-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px dashed var(--border-color);
}

.team-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    transition: var(--transition);
    width: 28px;
    text-align: center;
}

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

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 48px 24px;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    margin-bottom: 4px;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(108, 138, 255, 0.4));
}

.footer-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact strong {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Scroll reveal */
.format-card,
.rule-card,
.prize-card,
.fee-card,
.prohibited-box,
.prize-table-wrapper,
.example-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.format-card.visible,
.rule-card.visible,
.prize-card.visible,
.fee-card.visible,
.prohibited-box.visible,
.prize-table-wrapper.visible,
.example-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .format-flow {
        flex-direction: column;
    }

    .format-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .member-fields {
        grid-template-columns: 1fr;
    }

    .member-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .prizes-showcase {
        grid-template-columns: 1fr;
    }

    .fee-card {
        flex-direction: column;
        text-align: center;
    }

    .fee-breakdown {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .prohibited-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 12px 20px;
    }
}