@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg-dark: #fff8ea; /* Cream background */
    --bg-card: #ffffff; /* Card background */
    --border-color: rgba(96, 134, 80, 0.15); /* Greenish border */
    --border-hover: rgba(96, 134, 80, 0.4);
    
    /* Brand Palette */
    --brand-green: #608650; /* Olive/grass green for texts and outlines */
    --brand-green-glow: rgba(96, 134, 80, 0.15);
    
    --brand-gold: #c9bc48; /* Gold for buttons and highlights */
    --brand-gold-glow: rgba(201, 188, 72, 0.3);
    
    --bg-dark-accent: #f7f1e3;
    
    /* Feedback */
    --success: #2e7d32;
    --error: #c62828;
    --text-primary: #2d3b26; /* Dark olive charcoal for main text */
    --text-secondary: #5c6b54;
    --text-muted: #8c9b83;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    /* Subtle soccer field grass lines or controller abstract lines pattern */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(96, 134, 80, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 188, 72, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(96, 134, 80, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

header .logo-container {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
}

header h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-green);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(96, 134, 80, 0.1);
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Soccer field custom visual banner */
.brand-banner-container {
    max-width: 800px;
    margin: 0 auto 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(96, 134, 80, 0.08);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--brand-green) 0%, #46633a 100%);
    aspect-ratio: 21 / 9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.brand-banner-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: var(--brand-gold);
    margin-bottom: 8px;
    line-height: 1.1;
}

.brand-banner-desc {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--brand-gold);
    opacity: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.brand-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.25) 100%),
        /* Soccer Pitch Lines */
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Glassmorphism/Neumorphic Card Base */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(96, 134, 80, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(96, 134, 80, 0.25);
    box-shadow: 0 15px 35px rgba(96, 134, 80, 0.08);
}

/* Forms */
.form-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--brand-green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(96, 134, 80, 0.15);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .brand-banner-container {
        aspect-ratio: auto;
        min-height: 160px;
        padding: 10px;
    }

    .brand-banner-content {
        padding: 15px 10px;
    }

    .brand-banner-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .brand-banner-desc {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-control {
    width: 100%;
    background: #fdfcf9;
    border: 1px solid rgba(96, 134, 80, 0.2);
    border-radius: 12px;
    padding: 14px 16px 14px 45px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 1px 2px rgba(96, 134, 80, 0.03);
}

.form-control:focus {
    border-color: var(--brand-green);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--brand-green-glow);
}

.form-control:focus + svg {
    color: var(--brand-green);
}

/* Date & Time Selectors */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.option-card {
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.option-content {
    background: #fdfcf9;
    border: 1px solid rgba(96, 134, 80, 0.15);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.option-card input[type="radio"]:checked + .option-content {
    background: rgba(96, 134, 80, 0.08);
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(96, 134, 80, 0.1);
}

.option-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-green);
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Slot Card styling */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.slot-card {
    position: relative;
}

.slot-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.slot-card input[type="radio"]:disabled {
    cursor: not-allowed;
}

.slot-content {
    background: #fdfcf9;
    border: 1px solid rgba(96, 134, 80, 0.15);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-card input[type="radio"]:checked + .slot-content {
    background: rgba(201, 188, 72, 0.1);
    border-color: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(201, 188, 72, 0.15);
}

.slot-card input[type="radio"]:disabled + .slot-content {
    opacity: 0.4;
    background: #f5f2eb;
    border-color: rgba(96, 134, 80, 0.1);
}

.slot-time {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.slot-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(96, 134, 80, 0.05);
    color: var(--brand-green);
    margin: 0 auto;
}

.slot-card input[type="radio"]:checked + .slot-content .slot-badge {
    background: rgba(201, 188, 72, 0.2);
    color: #8c7e14;
}

.slot-badge.full {
    background: rgba(198, 40, 40, 0.08);
    color: var(--error);
    border: 1px solid rgba(198, 40, 40, 0.15);
}

.slot-badge.available {
    background: rgba(46, 125, 50, 0.08);
    color: var(--success);
    border: 1px solid rgba(46, 125, 50, 0.15);
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #b3a53d 100%);
    color: #1f2c1b; /* Dark text for high contrast */
    border: none;
    border-radius: 12px;
    padding: 16px 30px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(201, 188, 72, 0.25);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 188, 72, 0.45);
    background: linear-gradient(135deg, #decb4e 0%, #c2b240 100%);
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    background: #e6e3da;
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid rgba(96, 134, 80, 0.25);
    box-shadow: none;
    color: var(--brand-green);
}

.btn-secondary:hover {
    background: rgba(96, 134, 80, 0.03);
    border-color: var(--brand-green);
    box-shadow: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #9e1c1c 100%);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.2);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.35);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 59, 38, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border: 1px solid rgba(96, 134, 80, 0.2);
    box-shadow: 0 20px 45px rgba(96, 134, 80, 0.15), 
                0 0 30px rgba(201, 188, 72, 0.1);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    transform: translateY(30px);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.08);
    color: var(--success);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.1);
}

.modal-card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--brand-green);
}

.modal-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Ticket Info */
.ticket-info {
    background: #fdfbf7;
    border: 1px dashed rgba(96, 134, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.ticket-row:last-child {
    margin-bottom: 0;
    border-top: 1px dashed rgba(96, 134, 80, 0.15);
    padding-top: 12px;
}

.ticket-label {
    color: var(--text-secondary);
}

.ticket-value {
    color: var(--text-primary);
    font-weight: 700;
}

.ticket-value.highlight {
    color: var(--brand-green);
}

/* Helper text */
.error-msg {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

/* Admin Dashboard layout */
.admin-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(96, 134, 80, 0.15);
    padding-bottom: 15px;
}

.admin-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-title-group h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--brand-green);
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 8px;
    width: auto;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.blue {
    background: rgba(96, 134, 80, 0.08);
    color: var(--brand-green);
    border: 1px solid rgba(96, 134, 80, 0.15);
}

.stat-icon.purple {
    background: rgba(201, 188, 72, 0.08);
    color: #8c7e14;
    border: 1px solid rgba(201, 188, 72, 0.15);
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-info p {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1.2;
    margin-top: 2px;
    color: var(--text-primary);
}

/* Tabs */
.tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f5f2eb;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(96, 134, 80, 0.15);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--brand-green);
    background: rgba(96, 134, 80, 0.03);
}

.tab-btn.active {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 10px var(--brand-green-glow);
}

/* Tab contents and lists */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--brand-green);
}

.search-box {
    margin-bottom: 20px;
}

.search-box .form-control {
    padding: 10px 12px 10px 40px;
    font-size: 0.95rem;
}

.search-box svg {
    left: 12px;
    width: 18px;
    height: 18px;
}

.duo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 5px;
}

.duo-list-item {
    background: #fdfcf9;
    border: 1px solid rgba(96, 134, 80, 0.15);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.duo-list-item:hover {
    border-color: var(--brand-green);
    background: #ffffff;
}

.duo-list-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 4px;
}

.duo-list-players {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: 15px;
}

.duo-list-players span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.duo-list-players svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.delete-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.delete-btn:hover {
    color: var(--error);
    background: rgba(198, 40, 40, 0.08);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(96, 134, 80, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(96, 134, 80, 0.2);
}

.empty-state svg {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
}

/* Bracket styling */
.bracket-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bracket-container {
    display: grid;
    grid-template-columns: 1fr 12px 1fr 12px 1fr;
    align-items: center;
    background: #fdfbf7;
    border-radius: 16px;
    padding: 30px 15px;
    min-height: 400px;
    position: relative;
    border: 1px solid rgba(96, 134, 80, 0.15);
}

@media (max-width: 580px) {
    .bracket-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 30px;
        padding: 20px;
    }
    .bracket-connector-col {
        display: none;
    }
}

.bracket-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    gap: 40px;
}

.bracket-match {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(96, 134, 80, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.bracket-match-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(96, 134, 80, 0.05);
    padding: 5px 12px;
    border-bottom: 1px solid rgba(96, 134, 80, 0.15);
    color: var(--brand-green);
    display: flex;
    justify-content: space-between;
}

.bracket-team {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(96, 134, 80, 0.05);
    position: relative;
    transition: var(--transition);
    cursor: grab;
    user-select: none;
    background: #ffffff;
}

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

.bracket-team.dragging {
    opacity: 0.5;
    background: rgba(96, 134, 80, 0.08);
    border: 1px dashed var(--brand-green);
}

.bracket-team.drag-over {
    background: rgba(201, 188, 72, 0.08);
    box-shadow: inset 0 0 10px rgba(201, 188, 72, 0.1);
}

.bracket-team-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    color: var(--text-primary);
}

.bracket-team.winner .bracket-team-name {
    color: var(--brand-green);
}

.bracket-team.loser .bracket-team-name {
    color: var(--text-muted);
    text-decoration: line-through;
}

.bracket-team.placeholder {
    color: var(--text-muted);
    font-style: italic;
    cursor: default;
}

.bracket-team.placeholder .bracket-team-name {
    color: var(--text-muted);
    font-weight: 400;
}

.bracket-score-input {
    width: 32px;
    height: 24px;
    background: #fdfcf9;
    border: 1px solid rgba(96, 134, 80, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
}

.bracket-score-input:focus {
    border-color: var(--brand-green);
    background: #ffffff;
}

/* Advance button */
.advance-btn {
    background: #ffffff;
    border: 1px solid rgba(96, 134, 80, 0.25);
    color: var(--brand-green);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.advance-btn:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: white;
}

.bracket-team.winner .advance-btn {
    background: rgba(46, 125, 50, 0.1);
    border-color: var(--success);
    color: var(--success);
}

/* Connectors */
.bracket-connector-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bracket-connector-svg {
    width: 12px;
    height: 100%;
    min-height: 240px;
}

.bracket-connector-line {
    fill: none;
    stroke: rgba(96, 134, 80, 0.15);
    stroke-width: 2;
    transition: var(--transition);
}

.bracket-connector-line.active {
    stroke: var(--brand-green);
    filter: drop-shadow(0 0 2px var(--brand-green-glow));
}

/* Champion styling */
.champion-podium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(201, 188, 72, 0.01) 0%, rgba(201, 188, 72, 0.08) 100%);
    border: 1px solid rgba(201, 188, 72, 0.2);
    border-radius: 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(201, 188, 72, 0.03);
    transition: var(--transition);
}

.champion-podium.active {
    border-color: var(--brand-gold);
    box-shadow: 0 8px 30px var(--brand-gold-glow),
                inset 0 0 20px rgba(201, 188, 72, 0.08);
    transform: scale(1.02);
}

.champion-cup {
    width: 60px;
    height: 60px;
    color: var(--text-muted);
    transition: var(--transition);
}

.champion-podium.active .champion-cup {
    color: var(--brand-gold);
    filter: drop-shadow(0 0 8px var(--brand-gold-glow));
    animation: pulseGold 2s infinite ease-in-out;
}

.champion-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.champion-podium.active .champion-title {
    color: #8c7e14;
}

.champion-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champion-podium.active .champion-name {
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(201, 188, 72, 0.1);
}

@keyframes pulseGold {
    0% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(201, 188, 72, 0.3)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(201, 188, 72, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(201, 188, 72, 0.3)); }
}

/* Password Modal */
.pwd-card {
    max-width: 400px;
}

.pwd-icon {
    width: 60px;
    height: 60px;
    background: rgba(96, 134, 80, 0.08);
    color: var(--brand-green);
    border: 1px solid rgba(96, 134, 80, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 20px rgba(96, 134, 80, 0.1);
}

.pwd-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--brand-green);
}

.pwd-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Bracket Header Controls */
.bracket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bracket-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--brand-green);
    text-transform: uppercase;
}

.bracket-reset-btn {
    background: #ffffff;
    border: 1px solid rgba(96, 134, 80, 0.25);
    color: var(--text-secondary);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.bracket-reset-btn:hover {
    background: rgba(96, 134, 80, 0.03);
    color: var(--brand-green);
    border-color: var(--brand-green);
}

/* File Input Hack */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    font-size: 100px;
    opacity: 0;
    right: 0;
    top: 0;
    cursor: pointer;
}
