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

:root {
    --bg-primary: #080b10;
    --bg-secondary: #0f131a;
    --bg-tertiary: #161c26;
    --bg-glass: rgba(15, 19, 26, 0.85);
    
    --color-red: #ff3344;
    --color-red-glow: rgba(255, 51, 68, 0.45);
    
    --color-cyan: #00f0ff;
    --color-cyan-glow: rgba(0, 240, 255, 0.45);
    
    --color-gold: #f3c242;
    --color-gold-glow: rgba(243, 194, 66, 0.35);
    
    --color-text-main: #f5f7fa;
    --color-text-muted: #8e9cae;
    --color-text-dark: #4b5869;
    
    --border-glow: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 51, 68, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.03) 0%, transparent 40%),
        linear-gradient(rgba(8, 11, 16, 0.95), rgba(8, 11, 16, 0.95)),
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"%3E%3Cpath d="M40 0l40 40-40 40L0 40z" fill="%23ffffff" fill-opacity="0.01"/%3E%3C/svg%3E');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-dark);
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* --- Header / Navigation --- */
header.main-header {
    background: rgba(15, 19, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-red) 30%, #ff7788 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-text::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--color-red);
    clip-path: polygon(50% 0%, 100% 35%, 100% 100%, 0% 100%, 0% 35%);
    box-shadow: 0 0 10px var(--color-red-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active-admin {
    color: var(--color-gold);
    border: 1px solid rgba(243, 194, 66, 0.25);
    background: rgba(243, 194, 66, 0.05);
}

.user-status-card {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.user-status-card .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan-glow);
}

.user-status-card.admin .status-dot {
    background-color: var(--color-gold);
    box-shadow: 0 0 8px var(--color-gold-glow);
}

.btn-logout {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 51, 68, 0.1);
    color: var(--color-red);
    border: 1px solid rgba(255, 51, 68, 0.2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    background: var(--color-red);
    color: var(--color-text-main);
    box-shadow: 0 0 12px var(--color-red-glow);
}

/* --- Buttons --- */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-text-main);
    box-shadow: 0 4px 15px var(--color-red-glow);
}

.btn-primary:hover {
    background: #ff5566;
    box-shadow: 0 6px 20px rgba(255, 51, 68, 0.6);
    transform: translateY(-1px);
}

.btn-cyan {
    background: var(--color-cyan);
    color: #050a12;
    box-shadow: 0 4px 15px var(--color-cyan-glow);
}

.btn-cyan:hover {
    background: #44f5ff;
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.6);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--color-gold);
    color: #050a12;
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-gold:hover {
    background: #f7d268;
    box-shadow: 0 6px 20px rgba(243, 194, 66, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--color-text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- Forms & Controls --- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(255, 51, 68, 0.2);
}

.form-control-cyan:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* --- Auth / Login Page --- */
.auth-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-cyan));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid transparent;
}

.alert-danger {
    background: rgba(255, 51, 68, 0.08);
    border-color: var(--color-red);
    color: #ff6677;
    border-left-width: 3px;
}

.alert-success {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--color-cyan);
    color: #55f5ff;
    border-left-width: 3px;
}

/* --- Dashboards general --- */
.page-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
}

.page-title.admin-style::after {
    background-color: var(--color-gold);
}

.page-title.team-style::after {
    background-color: var(--color-cyan);
}

/* Summary Grid cards */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    padding: 24px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.summary-card-glow-red {
    border-left: 4px solid var(--color-red);
}
.summary-card-glow-cyan {
    border-left: 4px solid var(--color-cyan);
}
.summary-card-glow-gold {
    border-left: 4px solid var(--color-gold);
}

.summary-label {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.summary-value {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 5px;
}

/* Tables style */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 16px 20px;
    border-bottom: 2px solid var(--bg-tertiary);
    background: rgba(255, 255, 255, 0.01);
}

.custom-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.custom-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-red {
    background: rgba(255, 51, 68, 0.15);
    color: var(--color-red);
    border: 1px solid rgba(255, 51, 68, 0.3);
}

.badge-cyan {
    background: rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-gold {
    background: rgba(243, 194, 66, 0.15);
    color: var(--color-gold);
    border: 1px solid rgba(243, 194, 66, 0.3);
}

.badge-muted {
    background: var(--bg-tertiary);
    color: var(--color-text-muted);
    border: 1px solid var(--border-color);
}

/* Log view visualizer */
.log-terminal {
    background: #06090e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
    max-height: 480px;
    overflow-y: auto;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.log-entry {
    margin-bottom: 10px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.log-time {
    color: #4dfa77;
}

.log-ip {
    color: var(--color-cyan);
}

.log-action {
    color: var(--color-gold);
    font-weight: bold;
}

/* --- BAN ARENA PAGE (THE HERO AREA) --- */
.ban-arena-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.match-vs-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(15, 19, 26, 0.95), rgba(22, 28, 38, 0.95));
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.match-vs-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.team-shield-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    text-align: center;
}

.team-shield-large.team1 {
    color: var(--color-red);
}

.team-shield-large.team2 {
    color: var(--color-cyan);
}

.team-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 3px solid var(--color-text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.team-shield-large.team1 .team-icon-placeholder {
    border-color: var(--color-red);
    box-shadow: 0 0 20px rgba(255, 51, 68, 0.2);
}

.team-shield-large.team2 .team-icon-placeholder {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.team-shield-large.team1.active .team-icon-placeholder {
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 30px var(--color-red-glow);
}

.team-shield-large.team2.active .team-icon-placeholder {
    animation: pulse-cyan 2s infinite;
    box-shadow: 0 0 30px var(--color-cyan-glow);
}

.team-banner-name {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-main);
}

.team-banner-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.team-shield-large.team1 .team-banner-tag {
    background: rgba(255, 51, 68, 0.15);
    color: var(--color-red);
}

.team-shield-large.team2 .team-banner-tag {
    background: rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
}

.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 30px;
}

.vs-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--color-text-muted);
}

.vs-format-badge {
    font-size: 11px;
    background: var(--color-gold);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 2px 8px var(--color-gold-glow);
}

/* Ban Phase Timeline Progress bar */
.ban-timeline-card {
    padding: 20px 30px;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 20px 0;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background-color: var(--bg-tertiary);
    z-index: 1;
}

.timeline-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-cyan));
    z-index: 2;
    transition: width 0.5s ease;
    width: 0%;
}

.timeline-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--bg-tertiary);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition-smooth);
    color: var(--color-text-muted);
}

.timeline-node.active {
    background: var(--bg-primary);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold-glow);
    color: var(--color-gold);
    transform: scale(1.15);
}

.timeline-node.completed {
    background: var(--bg-primary);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan-glow);
}

.timeline-node.completed.t1-ban {
    border-color: var(--color-red);
    color: var(--color-red);
    box-shadow: 0 0 10px var(--color-red-glow);
}

.timeline-node-desc {
    position: absolute;
    top: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.timeline-node.active .timeline-node-desc {
    color: var(--color-gold);
    font-weight: 700;
}

/* Turn Alert Box */
.turn-alert-box {
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.turn-alert-box.team1-turn {
    background: rgba(255, 51, 68, 0.08);
    border: 1px solid rgba(255, 51, 68, 0.3);
    color: var(--color-red);
    animation: alert-pulse-red 2s infinite;
}

.turn-alert-box.team2-turn {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--color-cyan);
    animation: alert-pulse-cyan 2s infinite;
}

.turn-alert-box.finished-turn {
    background: rgba(243, 194, 66, 0.08);
    border: 1px solid rgba(243, 194, 66, 0.3);
    color: var(--color-gold);
}

/* Maps Grid */
.maps-arena-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.map-arena-card {
    height: 200px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Beautiful dynamic card gradients if no direct images loaded */
.map-arena-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 11, 16, 0.95) 10%, rgba(8, 11, 16, 0.3) 60%, rgba(8, 11, 16, 0.1) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.map-arena-card-overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
}

.map-card-content {
    position: relative;
    z-index: 3;
    transition: var(--transition-smooth);
}

.map-card-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.map-card-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
}

.map-arena-card.available:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.map-arena-card.available:hover::before {
    background: linear-gradient(to top, rgba(8, 11, 16, 0.9) 20%, rgba(8, 11, 16, 0.1) 80%);
}

/* Ban action button on card */
.ban-action-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.map-arena-card.can-ban:hover .ban-action-container {
    opacity: 1;
}

.btn-ban-action {
    background: var(--color-red);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px var(--color-red-glow);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.btn-ban-action:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 51, 68, 0.8);
    background: #ff5566;
}

/* Banned Map Styling */
.map-arena-card.banned {
    border-color: var(--color-red);
    box-shadow: 0 0 15px rgba(255, 51, 68, 0.15);
}

.map-arena-card.banned::before {
    background: linear-gradient(to top, rgba(20, 10, 12, 0.95) 15%, rgba(20, 10, 12, 0.7) 100%);
}

.map-arena-card.banned .map-card-name {
    color: var(--color-red);
    text-decoration: line-through;
    opacity: 0.6;
}

.banned-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    border: 3px double var(--color-red);
    color: var(--color-red);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 28px;
    padding: 6px 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 4;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 51, 68, 0.15);
    background: rgba(8, 11, 16, 0.7);
    pointer-events: none;
    text-align: center;
}

.banned-by-text {
    font-size: 9px;
    display: block;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Played Map (Remaining) highlight */
.map-arena-card.played-map {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.map-arena-card.played-map .map-card-status-badge {
    background: rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
    border-color: rgba(0, 240, 255, 0.3);
}

.map-arena-card.played-map::before {
    background: linear-gradient(to top, rgba(8, 18, 25, 0.95) 10%, rgba(8, 11, 16, 0.3) 100%);
}

.played-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    border: 3px double var(--color-cyan);
    color: var(--color-cyan);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 24px;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 4;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    background: rgba(8, 11, 16, 0.7);
    pointer-events: none;
    text-align: center;
}

/* --- FOOTER --- */
footer.main-footer {
    margin-top: auto;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 13, 20, 0.9);
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

footer.main-footer .dev-brand {
    font-weight: 700;
    color: var(--color-text-main);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- Animations --- */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 10px rgba(255, 51, 68, 0.2);
        border-color: rgba(255, 51, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 51, 68, 0.7);
        border-color: rgba(255, 51, 68, 1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 51, 68, 0.2);
        border-color: rgba(255, 51, 68, 0.5);
    }
}

@keyframes pulse-cyan {
    0% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
        border-color: rgba(0, 240, 255, 1);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.5);
    }
}

@keyframes alert-pulse-red {
    0% {
        box-shadow: 0 0 10px rgba(255, 51, 68, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 51, 68, 0.2);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 51, 68, 0.05);
    }
}

@keyframes alert-pulse-cyan {
    0% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
    }
}

/* Responsive elements */
@media (max-width: 768px) {
    header .navbar {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .match-vs-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .vs-divider {
        padding: 10px 0;
    }
    
    .vs-circle {
        transform: rotate(90deg);
    }
    
    .page-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
