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

  :root {
    --green: #00ff41;
    --green-dim: #00c832;
    --green-glow: rgba(0,255,65,0.4);
    --dark: #0a0c0a;
    --dark2: #111411;
    --topbar-h: 56px;
  }

  body {
    background: transparent;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }


  /* BRACKET ARROWS */
  .bracket-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    position: relative;
    flex-shrink: 0;
  }
  .bracket-connector svg {
    width: 40px;
    height: 100%;
    overflow: visible;
  }
  .bracket-arrow {
    stroke: rgba(0,255,65,0.5);
    stroke-width: 1.5;
    fill: none;
    marker-end: url(#arrowhead);
  }

  /* ── TOP NAV ── */




  .logo-icon { width: 32px; height: 32px; fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); }









  .nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

  .btn-register {
    display: flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid #3a4a3a;
    color: #ccc; font-family: 'Exo 2', sans-serif;
    font-size: 13px; font-weight: 600; padding: 7px 18px;
    border-radius: 6px; cursor: pointer; transition: border-color .2s, color .2s, background .2s;
  }

  .btn-register:hover { border-color: var(--green); color: var(--green); background: rgba(0,255,65,0.05); }
  .btn-register svg { width: 14px; height: 14px; }

  .icon-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: #1a221a; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #aaa; transition: background .2s; position: relative;
  }

  .icon-btn:hover { background: #243024; color: #fff; }

  .icon-btn .badge {
    position: absolute; top: 5px; right: 5px;
    width: 8px; height: 8px; background: #ff3c3c;
    border-radius: 50%; border: 1.5px solid var(--dark);
  }

  .avatar-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: #2a3a2a; border: 1px solid #3a4a3a;
    cursor: pointer; overflow: hidden;
    display: flex; align-items: center; justify-content: center; color: #888;
    transition: border-color .2s;
  }
  .avatar-btn:hover { border-color: var(--green); }

  /* ── LAYOUT ── */
  .layout { display: flex; flex: 1; overflow: hidden; }

  /* ── SIDEBAR removed ── */
  .sidebar-hidden {
    width: var(--sidebar-w); background: rgba(8,13,8,0.85);
    border-right: 1px solid #1a2a1a;
    display: flex; flex-direction: column;
    align-items: center; padding: 16px 0; gap: 4px; z-index: 10;
  }

  .sidebar-item {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #556055; transition: background .2s, color .2s;
    position: relative;
  }

  .sidebar-item:hover { background: #1a2a1a; color: #aaa; }
  .sidebar-item.active { background: #162216; color: var(--green); }

  .sidebar-item.active::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
    width: 3px; background: var(--green); border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px var(--green);
  }

  .sidebar-item svg { width: 20px; height: 20px; }
  .sidebar-spacer { flex: 1; }

  .sidebar-logout {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #556055; transition: color .2s;
  }

  .sidebar-logout:hover { color: #ff5555; }

  /* ── MAIN ── */
  .main { flex: 1; position: relative; overflow: hidden; display: flex; }

  /* BG */
  .bg-base {
    position: absolute; inset: 0;
    background: transparent;
  }

  .bg-glow-left {
    position: absolute; left: -100px; bottom: -50px;
    width: 600px; height: 500px;
    background: radial-gradient(ellipse at center, rgba(0,200,50,0.25) 0%, transparent 70%);
    pointer-events: none;
  }

  .bg-glow-right {
    position: absolute; right: 280px; bottom: 0;
    width: 400px; height: 300px;
    background: radial-gradient(ellipse at center, rgba(0,150,50,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  /* hex grid bg */
  .bg-hex { display:none; }

  /* scan line */
  .scan { display:none; }

  /* circuit */
  .circuit {
    position: absolute; top: -20px; right: 20px;
    width: 200px; height: 200px; opacity: .35;
  }

  /* sparkle */
  .sparkle {
    position: absolute; bottom: 24px; left: 24px;
    width: 24px; height: 24px; opacity: .6;
    animation: spin 8s linear infinite;
  }

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

  /* particles */
  .particle {
    position: absolute; border-radius: 50%;
    background: var(--green); pointer-events: none;
    animation: float 6s ease-in-out infinite;
  }

  .p1 { width:4px; height:4px; left:15%; top:25%; opacity:.4; animation-delay:0s; }
  .p2 { width:3px; height:3px; left:45%; top:65%; opacity:.3; animation-delay:-1.5s; }
  .p3 { width:5px; height:5px; left:70%; top:20%; opacity:.25; animation-delay:-3s; }
  .p4 { width:2px; height:2px; left:30%; top:80%; opacity:.5; animation-delay:-4s; }
  .p5 { width:4px; height:4px; left:80%; top:55%; opacity:.3; animation-delay:-2s; }

  @keyframes float {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* ── PAGES ── */
  .page { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s; display: flex; flex-direction: column; z-index: 1; overflow: hidden; }
  #page-inicio.active { overflow-y: auto; }
  .page.active { opacity: 1; pointer-events: all; }
  #page-bracket.active { position: absolute; inset: 0; overflow-x: auto; overflow-y: auto; display: block; }
  #page-tabla { overflow-y: auto; }
  #page-tabla .pk-wrap { min-height: unset; height: auto; overflow: visible; }

  /* ── INICIO ── */
  .content {
    position: relative; z-index: 2; display: flex;
    align-items: center; justify-content: center; gap: 60px;
    padding: 0 40px; width: 100%; height: 100%;
  }

  .hero-left { display: flex; flex-direction: column; align-items: center; gap: 20px; }

  .logo-badge { position: relative; width: 300px; height: 240px; background: transparent; }

  .badge-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(ellipse, rgba(0,255,65,0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
  }

  @keyframes pulse { 0%,100%{opacity:.6} 50%{opacity:1} }

  .shield-wrap { position: relative; width: 300px; height: 240px; background: transparent; }
  .shield-shape { position: absolute; inset: 0; }
  .shield-shape svg { width: 100%; height: 100%; }

  .shield-text {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px;
  }

  .shield-torneo {
    font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
    letter-spacing: 4px; color: rgba(180,220,180,0.7); margin-top: 10px;
  }

  .shield-pan {
    font-family: 'Rajdhani', sans-serif; font-size: 36px; font-weight: 700;
    color: var(--green); line-height: 1;
    text-shadow: 0 0 20px rgba(0,255,65,0.8);
  }

  .shield-paw { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(0,255,65,0.6)); }

  .shield-lamer {
    font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700;
    color: var(--green); letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0,255,65,0.6);
  }

  .shield-bottom-band {
    background: rgba(0,255,65,0.12); border: 1px solid rgba(0,255,65,0.3);
    padding: 3px 14px; border-radius: 3px; margin-top: 2px;
  }

  .shield-patuna {
    font-size: 9px; font-weight: 700; letter-spacing: 2px;
    color: rgba(180,220,180,0.8); text-transform: uppercase;
  }

  .inscripciones {
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    color: var(--green); text-transform: uppercase;
    border: 1px solid rgba(0,255,65,0.4); padding: 6px 16px;
    border-radius: 4px; background: rgba(0,255,65,0.05);
    animation: blink 2s ease-in-out infinite;
  }

  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.5} }

  /* ── COUNTDOWN ── */
  .countdown-wrap {
    display: flex; gap: 12px; margin-top: 8px;
  }

  .countdown-box {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(0,255,65,0.05); border: 1px solid rgba(0,255,65,0.2);
    border-radius: 8px; padding: 8px 14px; min-width: 54px;
  }

  .countdown-num {
    font-family: 'Rajdhani', sans-serif; font-size: 28px; font-weight: 700;
    color: var(--green); line-height: 1;
    text-shadow: 0 0 10px rgba(0,255,65,0.5);
  }

  .countdown-label {
    font-size: 9px; font-weight: 600; letter-spacing: 1px;
    color: #556055; text-transform: uppercase; margin-top: 2px;
  }

  /* ── PANEL PARTIDOS ── */
  .panel {
    background: rgba(10,14,10,0.85);
    border: 1px solid #1e2e1e; border-radius: 12px;
    padding: 20px; min-width: 320px; max-width: 360px;
    backdrop-filter: blur(8px); flex-shrink: 0;
  }

  .panel-title {
    font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 3px; color: #556055; text-transform: uppercase;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid #1e2e1e;
  }

  .match-list { display: flex; flex-direction: column; gap: 8px; }

  .match-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.02); border: 1px solid #1a2a1a;
    transition: border-color .2s, background .2s; cursor: pointer;
  }

  .match-item:hover { border-color: #2a4a2a; background: rgba(0,255,65,0.03); }
  .match-item.highlight { border-color: rgba(0,255,65,0.3); background: rgba(0,255,65,0.05); }

  .match-time { display: flex; flex-direction: column; min-width: 60px; }
  .match-date { font-size: 10px; color: #556055; font-weight: 600; letter-spacing: .5px; }
  .match-hour { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: var(--green); }

  .match-teams { display: flex; align-items: center; gap: 6px; flex: 1; }

  .team-icon {
    width: 26px; height: 26px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
  }

  .ti-purple { background: rgba(120,60,220,0.3); border: 1px solid rgba(120,60,220,0.4); }
  .ti-orange  { background: rgba(220,120,40,0.3);  border: 1px solid rgba(220,120,40,0.4); }
  .ti-red     { background: rgba(220,50,50,0.3);   border: 1px solid rgba(220,50,50,0.4); }
  .ti-blue    { background: rgba(40,120,220,0.3);  border: 1px solid rgba(40,120,220,0.4); }
  .ti-navy    { background: rgba(30,60,180,0.3);   border: 1px solid rgba(30,60,180,0.4); }
  .ti-teal    { background: rgba(30,180,140,0.3);  border: 1px solid rgba(30,180,140,0.4); }
  .ti-gold    { background: rgba(200,160,30,0.3);  border: 1px solid rgba(200,160,30,0.4); }

  .team-name { font-size: 13px; font-weight: 700; color: #ccc; flex: 1; text-align: center; }

  .vs-badge {
    font-size: 10px; font-weight: 800; color: #3a4a3a;
    letter-spacing: 1px; padding: 0 4px;
  }

  /* ── EQUIPOS PAGE ── */
  .teams-grid {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px; padding: 30px 40px; overflow-y: auto; width: 100%; align-content: start;
    flex: 1; min-height: 0;
  }

  .team-card {
    background: rgba(10,14,10,0.9); border: 1px solid #1e2e1e;
    border-radius: 12px; padding: 28px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    cursor: pointer; transition: border-color .2s, transform .2s, background .2s;
  }

  .team-card:hover { border-color: rgba(0,255,65,0.4); transform: translateY(-2px); background: rgba(0,255,65,0.04); }

  .team-emoji { font-size: 36px; }

  .team-card-name {
    font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    color: #ddd; letter-spacing: 1px;
  }

  .team-card-members { font-size: 11px; color: #556055; font-weight: 600; }

  .team-card-rank {
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 20px;
    background: rgba(0,255,65,0.08); border: 1px solid rgba(0,255,65,0.2);
    color: var(--green);
  }

  /* ── BRACKET PAGE ── */
  .bracket-wrap {
    position: relative; z-index: 2; padding: 30px 40px;
    overflow-x: auto; overflow-y: auto;
    min-width: 100%; width: max-content;
    display: flex; flex-direction: column;
    box-sizing: border-box;
  }

  .bracket-title {
    font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 3px; color: #556055; text-transform: uppercase;
    margin-bottom: 24px;
  }

  .bracket {
    display: flex; gap: 40px; align-items: center; min-width: 700px;
    flex: 1;
  }

  .bracket-round { display: flex; flex-direction: column; gap: 0; justify-content: space-around; flex: 1; }

  .round-label {
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    color: #3a5a3a; text-transform: uppercase; text-align: center;
    margin-bottom: 12px;
  }

  .bracket-match {
    background: rgba(10,14,10,0.9); border: 1px solid #1e2e1e;
    border-radius: 8px; overflow: hidden; width: 190px;
    transition: border-color .2s;
  }

  .bracket-match:hover { border-color: rgba(0,255,65,0.3); }

  

  
  
  
  

  

  

  .connector {
    display: flex; align-items: center; justify-content: center;
    padding: 0 2px; gap: 0;
  }
  .connector::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,255,65,0.2), rgba(0,255,65,0.8));
  }
  .connector::after {
    content: '';
    display: block;
    width: 0; height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid rgba(0,255,65,0.8);
  }

  .bracket-spacer { height: 20px; }

  /* ── TABLA PAGE ── */
  .table-wrap {
    position: relative; z-index: 2; padding: 30px 40px;
    overflow: auto; width: 100%;
    flex: 1; min-height: 0;
  }

  .standings-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
  }

  .standings-table th {
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    color: #3a5a3a; text-transform: uppercase;
    padding: 0 16px 12px; text-align: left; border-bottom: 1px solid #1a2a1a;
  }

  .standings-table th:not(:first-child):not(:nth-child(2)) { text-align: center; }

  .standings-table td {
    padding: 12px 16px; border-bottom: 1px solid #111811;
    color: #bbb; transition: background .15s;
  }

  .standings-table tr:hover td { background: rgba(0,255,65,0.03); }

  .standings-table td:not(:first-child):not(:nth-child(2)) { text-align: center; }

  .rank-num {
    font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    color: #3a5a3a; width: 30px; display: inline-block;
  }

  .rank-num.top { color: var(--green); }

  .team-row-name { font-weight: 700; color: #ddd; }
  .team-row-emoji { margin-right: 8px; }

  .stat-w { color: var(--green); font-weight: 700; }
  .stat-l { color: #ff5555; font-weight: 600; }

  .pts-badge {
    display: inline-block; background: rgba(0,255,65,0.1);
    border: 1px solid rgba(0,255,65,0.25); border-radius: 4px;
    padding: 2px 8px; font-family: 'Rajdhani', sans-serif;
    font-size: 14px; font-weight: 700; color: var(--green);
  }

  /* ── INSCRIBIRSE PAGE ── */
  .insc-wrap {
    position: relative; z-index: 2;
    display: flex; flex-direction: row;
    gap: 24px; padding: 32px 40px;
    width: 100%; height: 100%;
    align-items: stretch; box-sizing: border-box;
    overflow-y: auto;
  }

  .insc-box {
    background: rgba(4,12,4,0.88);
    border: 1px solid rgba(0,255,65,0.18);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 16px rgba(0,255,65,0.05);
    padding: 28px 32px;
    display: flex; flex-direction: column; gap: 16px;
  }

  .insc-box--guide { flex: 1.2; overflow-y: auto; }
  .insc-box--video { flex: 0.8; padding: 20px 16px; }

  .insc-box-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--green);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,255,65,0.15);
    padding-bottom: 12px;
  }

  .insc-box-title--video { color: #ffd700; border-bottom-color: rgba(255,215,0,0.2); }

  .insc-box-text { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }

  .insc-box-text p { font-size: 13px; line-height: 1.7; color: #a0c0a0; font-family: 'Exo 2', sans-serif; }

  .insc-box-text strong { color: #d0f0d0; font-weight: 700; }

  .insc-highlight { color: var(--green); font-weight: 700; text-shadow: 0 0 8px rgba(0,255,65,0.4); }

  .insc-footer-text { color: #7a9a7a !important; font-style: italic; border-top: 1px solid rgba(0,255,65,0.1); padding-top: 12px !important; }

  .insc-video-placeholder {
    flex: 1; background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,255,65,0.1); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; min-height: 200px;
  }

  .insc-play-icon { font-size: 48px; color: rgba(0,255,65,0.3); }

  /* Miniatura clickable de YouTube Short */
  .video-fake-player {
    position: relative;
    width: 280px;
    height: 420px;
    background: url('https://i.ytimg.com/vi/L4Rs0LstQw0/maxresdefault.jpg') center/cover no-repeat;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(0,255,65,0.2);
    box-shadow: 0 0 24px rgba(0,0,0,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
  }
  .video-fake-player::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    transition: background 0.2s ease;
  }
  .video-fake-player:hover {
    transform: scale(1.03);
    box-shadow: 0 0 36px rgba(0,255,65,0.25);
  }
  .video-fake-player:hover::before {
    background: rgba(0,0,0,0.15);
  }
  .video-fake-play-btn {
    position: relative; z-index: 2;
    width: 72px; height: 72px;
    background: rgba(0,230,50,0.92);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 24px rgba(0,255,65,0.7), 0 0 8px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .video-fake-player:hover .video-fake-play-btn {
    transform: scale(1.12);
    box-shadow: 0 0 36px rgba(0,255,65,1), 0 0 8px rgba(0,0,0,0.5);
  }
  .video-fake-triangle {
    width: 0; height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 24px solid #fff;
    margin-left: 6px;
  }

  .form-wrap {
    position: relative; z-index: 2; display: flex;
    align-items: center; justify-content: center; width: 100%; padding: 30px;
    overflow-y: auto; flex: 1; min-height: 0;
  }

  .form-card {
    background: rgba(10,14,10,0.92); border: 1px solid #1e2e1e;
    border-radius: 16px; padding: 40px 48px; width: 100%; max-width: 560px;
    backdrop-filter: blur(10px);
  }

  .form-card-title {
    font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700;
    color: var(--green); letter-spacing: 2px; margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(0,255,65,0.4);
  }

  .form-card-sub { font-size: 12px; color: #556055; font-weight: 600; margin-bottom: 28px; }

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

  .form-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #3a5a3a; text-transform: uppercase; }

  .form-input {
    background: rgba(0,255,65,0.03); border: 1px solid #1e3a1e;
    border-radius: 8px; padding: 10px 14px; color: #ddd;
    font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 600;
    outline: none; transition: border-color .2s, background .2s;
  }

  .form-input:focus { border-color: rgba(0,255,65,0.4); background: rgba(0,255,65,0.06); }
  .form-input::placeholder { color: #2a4a2a; }

  .form-select {
    background: rgba(0,255,65,0.03); border: 1px solid #1e3a1e;
    border-radius: 8px; padding: 10px 14px; color: #ddd;
    font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 600;
    outline: none; transition: border-color .2s; cursor: pointer;
    appearance: none;
  }

  .form-select:focus { border-color: rgba(0,255,65,0.4); }
  .form-select option { background: rgba(8,13,8,0.85); }

  .form-row { display: flex; gap: 12px; }
  .form-row .form-group { flex: 1; }

  .btn-submit {
    width: 100%; padding: 12px; margin-top: 8px;
    background: rgba(0,255,65,0.12); border: 1px solid rgba(0,255,65,0.4);
    border-radius: 8px; color: var(--green);
    font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    letter-spacing: 2px; cursor: pointer; transition: all .2s;
    text-transform: uppercase;
  }

  .btn-submit:hover {
    background: rgba(0,255,65,0.2); border-color: var(--green);
    box-shadow: 0 0 20px rgba(0,255,65,0.2);
  }

  .form-success {
    display: none; text-align: center; padding: 20px 0;
  }

  .form-success.show { display: block; }
  .form-success-icon { font-size: 48px; margin-bottom: 12px; }

  .form-success-title {
    font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700;
    color: var(--green); letter-spacing: 2px; margin-bottom: 8px;
  }

  .form-success-sub { font-size: 13px; color: #556055; }

  /* ── MODAL ── */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 100; opacity: 0; pointer-events: none; transition: opacity .2s;
    backdrop-filter: blur(4px);
  }

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

  .modal {
    background: rgba(8,13,8,0.85); border: 1px solid #2a4a2a;
    border-radius: 14px; padding: 28px 32px; max-width: 360px; width: 90%;
    transform: translateY(10px); transition: transform .2s;
  }

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

  .modal-title {
    font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700;
    color: var(--green); letter-spacing: 2px; margin-bottom: 6px;
  }

  .modal-sub { font-size: 12px; color: #556055; margin-bottom: 20px; }

  .notif-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #111811;
  }

  .notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 3px; flex-shrink: 0; }
  .notif-dot.read { background: #2a4a2a; }
  .notif-text { font-size: 12px; color: #aaa; line-height: 1.5; }
  .notif-time { font-size: 10px; color: #3a5a3a; margin-top: 2px; }

  .modal-close {
    margin-top: 20px; width: 100%; padding: 9px;
    background: transparent; border: 1px solid #2a4a2a;
    border-radius: 8px; color: #aaa; font-family: 'Exo 2', sans-serif;
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: border-color .2s, color .2s;
  }

  .modal-close:hover { border-color: var(--green); color: var(--green); }


  .team-logo-img {
    width: 110px; height: 110px; object-fit: contain; border-radius: 10px;
  }

  .team-card.classified {
    position: relative; padding-top: 32px;
  }

  .classified-badge {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    white-space: nowrap; padding: 2px 10px; border-radius: 20px;
  }

  .gold-badge {
    background: rgba(200,160,20,0.15); border: 1px solid rgba(200,160,20,0.4);
    color: #ffd700;
  }

  .silver-badge {
    background: rgba(160,160,180,0.15); border: 1px solid rgba(160,160,180,0.4);
    color: #c0c0c0;
  }

  .team-card.gold { border-color: rgba(200,160,20,0.3); }
  .team-card.gold:hover { border-color: rgba(200,160,20,0.6); }
  .team-card.silver { border-color: rgba(160,160,180,0.25); }
  .team-card.silver:hover { border-color: rgba(160,160,180,0.5); }

  .classified-rank {
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    background: rgba(0,255,65,0.1); border: 1px solid rgba(0,255,65,0.3);
    color: var(--green); padding: 3px 10px; border-radius: 20px;
  }

  .teams-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    justify-content: stretch;
  }


  

  .bracket-fecha { animation: fadeIn .3s ease; overflow-x:auto; display:block; }
   }

  

  

  


  /* ── BRACKET ── */
  .bk { display:table !important; width:max-content; min-width:600px; border-collapse:separate; border-spacing:0; }
  .bk-col { display:table-cell !important; vertical-align:middle; width:190px; padding:0; }
  .bk-col-sf { width:200px; vertical-align:middle; }
  .bk-col-final { width:230px; vertical-align:middle; }
  .bk-round-label { font-size:10px; font-weight:700; letter-spacing:2px; color:#3a5a3a; text-transform:uppercase; text-align:center; margin-bottom:10px; display:block; }
  .bk-matches { display:flex; flex-direction:column; justify-content:space-around; height:380px; }
  .bk-match { background:rgba(10,14,10,0.92); border:1px solid #1e2e1e; border-radius:8px; overflow:hidden; transition:border-color .2s; width:100%; margin-bottom:8px; }
  .bk-match:hover { border-color:rgba(0,255,65,0.3); }
  .bk-final { border-color:rgba(0,255,65,0.45) !important; background:rgba(0,255,65,0.05) !important; }
  .bk-team { display:flex; align-items:center; gap:7px; padding:7px 9px; border-bottom:1px solid #1a2a1a; font-size:11px; font-weight:600; color:#888; }
  .bk-team:last-of-type { border-bottom:none; }
  .bk-team.winner { color:var(--green); font-weight:700; }
  .bk-team span { flex:1; line-height:1.2; }
  .bk-score { font-family:'Rajdhani',sans-serif; font-size:15px; font-weight:700; color:#3a5a3a; flex-shrink:0; }
  .bk-score.win { color:var(--green); }
  .bt-logo { width:22px; height:22px; border-radius:4px; object-fit:contain; flex-shrink:0; }
  .bk-connector { display:table-cell !important; width:70px; position:relative; vertical-align:middle; overflow:visible; }
  .bk-svg { position:absolute; top:0; left:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
  .bk-champ { margin-top:10px; display:flex; align-items:center; gap:8px; background:rgba(255,215,0,0.08); border:1px solid rgba(255,215,0,0.3); border-radius:8px; padding:6px 12px; }
  .bk-champ span { font-family:'Rajdhani',sans-serif; font-size:11px; font-weight:700; color:#ffd700; letter-spacing:1px; }
  .fecha-tab { background:rgba(0,255,65,0.04); border:1px solid #1e3a1e; color:#556055; font-family:'Exo 2',sans-serif; font-size:12px; font-weight:700; padding:6px 18px; border-radius:6px; cursor:pointer; transition:all .2s; letter-spacing:.5px; }
  .fecha-tab:hover { border-color:rgba(0,255,65,0.3); color:#aaa; }
  .fecha-tab.active { border-color:rgba(0,255,65,0.5); color:var(--green); background:rgba(0,255,65,0.08); }
  .bracket-fecha { animation:fadeIn .3s ease; }
  @keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }















  /* ── TOPNAV ── */
  .topnav {
    height: auto;
    background: transparent;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    position: static;
    z-index: 1;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(4,12,4,0.88);
    border: 1px solid rgba(0,255,65,0.2);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 12px rgba(0,255,65,0.06);
    padding: 4px 6px;
  }

  .nav-tab {
    color: #6a8f6a;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 5px;
    transition: all .2s;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    background: transparent;
    border: 1px solid transparent;
    user-select: none;
  }

  .nav-tab:hover {
    color: #b0d0b0;
    background: rgba(0,255,65,0.05);
  }

  .nav-tab.active {
    color: var(--green);
    background: rgba(0,255,65,0.08);
    border: 1px solid rgba(0,255,65,0.5);
    box-shadow: 0 0 10px rgba(0,255,65,0.15), inset 0 0 6px rgba(0,255,65,0.04);
    text-shadow: 0 0 8px rgba(0,255,65,0.5);
  }

  .nav-logo-right { display: none; }

  .nav-logo-inside {
    display: flex;
    align-items: center;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(0,255,65,0.2);
  }




  /* ── HERO INICIO ── */
  .hi-outer {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    padding: 14px 20px; gap: 14px;
    width: 100%; min-height: 100vh; flex-shrink: 0;
  }

  /* TOP ROW */
  .hi-top-row {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 16px; align-items: stretch;
    flex-shrink: 0;
  }

  .hi-center-col {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px; justify-content: center;
  }

  .hi-logo-wrap { display: flex; justify-content: center; }
  .hi-logo-img { width: 260px; height: auto; object-fit: contain; filter: drop-shadow(0 0 24px rgba(0,255,65,0.25)); }

  .hi-countdown {
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,8,0,0.85); border: 1px solid rgba(0,255,65,0.2);
    border-radius: 10px; padding: 10px 24px;
  }
  .hi-cd-block { display: flex; flex-direction: column; align-items: center; min-width: 46px; }
  .hi-cd-num { font-family:'Rajdhani',sans-serif; font-size: 38px; font-weight: 700; color: var(--green); line-height: 1; text-shadow: 0 0 14px rgba(0,255,65,0.6); }
  .hi-cd-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #3a6a3a; text-transform: uppercase; }
  .hi-cd-sep { font-family:'Rajdhani',sans-serif; font-size: 28px; color: rgba(0,255,65,0.2); margin-bottom: 14px; }

  .hi-inscribe {
    background: rgba(0,255,65,0.07); border: 1px solid rgba(0,255,65,0.5);
    border-radius: 8px; padding: 11px 50px; text-align: center; cursor: pointer;
    transition: all .2s; box-shadow: 0 0 18px rgba(0,255,65,0.1);
  }
  .hi-inscribe:hover { background: rgba(0,255,65,0.14); }
  .hi-inscribe-main { font-family:'Rajdhani',sans-serif; font-size: 18px; font-weight: 700; color: var(--green); letter-spacing: 2px; }
  .hi-inscribe-sub { font-size: 10px; color: #3a6a3a; margin-top: 2px; }

  /* RIGHT RESULTS */
  .hi-right-wrap {
    background: rgba(0,255,65,0.18);
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    padding: 1px;
  }
  .hi-right-col {
    background: rgba(0,8,0,0.92);
    clip-path: polygon(27px 0, 100% 0, 100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 27px);
    padding: 14px; display: flex; flex-direction: column; gap: 2px;
    overflow-y: auto;
  }

  .hi-section-title {
    font-family:'Rajdhani',sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; color: #8aaa8a; text-transform: uppercase; margin-bottom: 10px;
  }

  .hi-res-card {
    background: rgba(0,20,0,0.5); border: 1px solid #0e1e0e;
    border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
  }
  .hi-res-card:last-child { margin-bottom: 0; }
  .hi-res-final { border-color: rgba(0,255,65,0.25); background: rgba(0,255,65,0.04); }
  .hi-res-match { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #3a6a3a; text-transform: uppercase; margin-bottom: 6px; }

  .hi-res-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
  .hi-res-team { display: flex; align-items: center; gap: 5px; flex: 1; }
  .hi-res-team-r { justify-content: flex-end; }
  .hi-res-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; flex-shrink: 0; }
  .hi-res-team span { font-size: 11px; font-weight: 600; color: #aaa; }

  .hi-res-score { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
  .hi-sc { font-family:'Rajdhani',sans-serif; font-size: 22px; font-weight: 700; }
  .hi-sc.win { color: var(--green); }
  .hi-sc.lose { color: #ff4444; }
  .hi-sc-mid { font-size: 12px; color: #3a5a3a; }

  /* BOTTOM ROW */
  .hi-bottom-row {
    display: flex;
    flex-direction: row;
    gap: 14px; align-items: start;
    flex: 1; min-height: 0;
  }

  .hi-prize-wrap {
    background: rgba(0,255,65,0.18);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    padding: 1px;
    width: 420px;
  }
  .hi-prize-box, .hi-mrt-box {
    background: rgba(0,8,0,0.92);
    padding: 16px 18px;
    display: flex; flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%);
  }

  .hi-champ-wrap {
    position: relative;
    width: 340px;
    align-self: start;
    background: rgba(0,255,65,0.18);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    padding: 1px;
  }
  .hi-champ-box {
    background: rgba(0,8,0,0.92);
    padding: 12px 14px;
    display: flex; flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%);
  }

  .hi-prize-inner { display: flex; align-items: flex-start; gap: 12px; }
  .hi-trophy-icon { font-size: 44px; line-height: 1; flex-shrink: 0; }
  .hi-prize-sub { font-size: 10px; color: #556055; }
  .hi-prize-amount { font-family:'Rajdhani',sans-serif; font-size: 24px; font-weight: 700; color: var(--green); text-shadow: 0 0 12px rgba(0,255,65,0.5); }
  .hi-prize-note { font-size: 9px; color: #3a5a3a; margin: 2px 0 8px; }
  .hi-prize-places { font-size: 11px; color: #7a9a7a; line-height: 2; }

  .hi-champ-inner { display: flex; align-items: center; gap: 16px; margin: 8px 0; }
  .hi-champ-logo { width: 80px; height: 80px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
  .hi-champ-label { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
  .hi-champ-name { font-family:'Rajdhani',sans-serif; font-size: 28px; font-weight: 800; color: var(--green); letter-spacing: 1px; white-space: nowrap; text-shadow: 0 0 14px rgba(0,255,65,0.5); line-height: 1.1; }
  .hi-champ-footer { font-size: 10px; color: #7a9a7a; margin-top: 8px; padding-top: 8px; border-top: 1px solid #0e1e0e; }

  .hi-mrt-header { display: grid; grid-template-columns: 28px 1fr 24px 1fr 44px; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #2a4a2a; text-transform: uppercase; padding: 0 2px 6px; border-bottom: 1px solid #0e1e0e; gap: 4px; }
  .hi-mrt-row { display: grid; grid-template-columns: 28px 1fr 24px 1fr 44px; align-items: center; padding: 7px 2px; border-bottom: 1px solid #0a140a; font-size: 10px; color: #7a9a7a; gap: 4px; }
  .hi-mrt-team { display: flex; align-items: center; gap: 4px; overflow: hidden; }
  .hi-mrt-logo { width: 14px; height: 14px; object-fit: contain; border-radius: 2px; flex-shrink: 0; }
  .hi-mrt-vs { font-size: 9px; color: #2a4a2a; font-weight: 700; text-align: center; }
  .hi-mrt-win { color: var(--green); font-weight: 700; font-size: 10px; }

  /* scrollbar */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #1e3a1e; border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

  .toast {
    position: fixed; bottom: 24px; right: 24px;
    background: #0d1a0d; border: 1px solid rgba(0,255,65,0.4);
    border-radius: 10px; padding: 12px 20px;
    font-size: 13px; font-weight: 600; color: var(--green);
    z-index: 200; opacity: 0; transform: translateY(8px);
    transition: all .3s; pointer-events: none;
    display: flex; align-items: center; gap: 8px;
  }

  .toast.show { opacity: 1; transform: translateY(0); }
  /* ═══════════════════════════════════════
     PICKS POR ROLES — layout limpio
  ═══════════════════════════════════════ */

  /* Contenedor principal — scroll vertical */
  .pk-wrap {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    padding: 28px 32px; gap: 20px;
    width: 100%; box-sizing: border-box;
  }

  /* --- Header --- */
  .pk-header { flex-shrink: 0; }
  .pk-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 42px; font-weight: 900;
    color: var(--green);
    text-shadow: 0 0 20px rgba(0,255,65,0.35);
    line-height: 1;
    letter-spacing: 1px;
  }
  .pk-sub {
    font-size: 13px; color: #4a7a4a;
    margin-top: 4px; font-weight: 600;
  }

  /* --- Filtros --- */
  .pk-filters {
    display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0;
  }
  .pk-filter {
    padding: 6px 20px; border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(0,255,65,0.25);
    color: rgba(0,255,65,0.6);
    font-family: 'Exo 2', sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px; cursor: pointer;
    transition: all .2s;
  }
  .pk-filter:hover { border-color: var(--green); color: var(--green); }
  .pk-filter.active {
    background: var(--green); color: #030f03;
    border-color: var(--green);
  }

  /* --- 3 Cards --- */
  .pk-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 16px; flex-shrink: 0;
  }
  .pk-card {
    background: rgba(0,0,0,0.52);
    border: 1px solid rgba(0,255,65,0.16);
    border-radius: 16px; padding: 18px 20px;
    backdrop-filter: blur(10px);
  }
  .pk-card-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px; font-weight: 700;
    color: var(--green); letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 6px;
  }
  .pk-card-note { font-size: 11px; color: #3a5a3a; font-family: 'Exo 2', sans-serif; font-weight: 600; }

  /* Heroes en círculos */
  .pk-heroes {
    display: flex; gap: 10px; flex-wrap: nowrap;
    align-items: flex-start;
  }
  .pk-hero { text-align: center; flex: 1; min-width: 0; }
  .pk-circle {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, #006b44 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #021a0a;
    margin: 0 auto; line-height: 1.2; text-align: center; padding: 6px;
    box-shadow: 0 0 14px rgba(0,255,65,0.25);
  }
  .pk-hname {
    margin-top: 7px; color: #ddd;
    font-size: 11px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .pk-hstat { color: rgba(0,255,65,0.7); font-size: 10px; margin-top: 2px; }

  /* Stats card */
  .pk-card-stats { display: flex; flex-direction: column; gap: 0; }
  .pk-card-stats .pk-card-title { margin-bottom: 14px; }
  .pk-stat-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .pk-stat-row:last-child { border-bottom: none; }
  .pk-stat-label { font-size: 13px; color: rgba(0,255,65,0.6); font-weight: 600; }
  .pk-stat-val { font-size: 18px; font-weight: 800; color: #fff; font-family: 'Rajdhani', sans-serif; }
  .pk-stat-green { color: var(--green) !important; font-size: 15px !important; }
  .pk-stat-orange { color: #ffaa55 !important; font-size: 15px !important; }

  /* ── HEROES STATISTICS TABLE ── */
  .hs-wrap {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(0,255,65,0.14);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    flex: 1; min-height: 0;
    display: flex; flex-direction: column;
  }
  .hs-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px; font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    text-align: center;
    padding: 18px 0 14px;
    border-bottom: 2px solid rgba(0,255,65,0.15);
    background: rgba(0,255,65,0.04);
    text-shadow: 0 0 20px rgba(0,255,65,0.2);
  }
  .hs-wrap .pk-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    overflow: visible;
  }
  .hs-table th { text-align: center; padding: 11px 14px; }
  .hs-th-hero { text-align: left !important; padding-left: 20px !important; min-width: 160px; }
  .hs-table td { text-align: center; padding: 9px 14px; font-size: 13px; }
  .hs-td-hero {
    text-align: left !important;
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; color: #e8e8e8;
    padding-left: 20px !important;
    white-space: nowrap;
  }
  /* Colored dot per role */
  .hs-hero-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    display: inline-block;
  }
  .hs-dot-exp    { background: #ff6b35; box-shadow: 0 0 6px rgba(255,107,53,0.6); }
  .hs-dot-gold   { background: #ffd700; box-shadow: 0 0 6px rgba(255,215,0,0.6); }
  .hs-dot-jungla { background: #00cc44; box-shadow: 0 0 6px rgba(0,204,68,0.6); }
  .hs-dot-mid    { background: #5599ff; box-shadow: 0 0 6px rgba(85,153,255,0.6); }
  .hs-dot-roam   { background: #cc44ff; box-shadow: 0 0 6px rgba(204,68,255,0.6); }

  /* Hero images in table */
  .hs-hero-img {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; object-position: center 15%;
    flex-shrink: 0; vertical-align: middle;
    margin-right: 8px;
    border: 2px solid rgba(255,255,255,0.15);
  }
  .hs-hero-img--exp    { border-color: #ff6b35; box-shadow: 0 0 6px rgba(255,107,53,0.5); }
  .hs-hero-img--gold   { border-color: #ffd700; box-shadow: 0 0 6px rgba(255,215,0,0.5); }
  .hs-hero-img--jungla { border-color: #00cc44; box-shadow: 0 0 6px rgba(0,204,68,0.5); }
  .hs-hero-img--mid    { border-color: #5599ff; box-shadow: 0 0 6px rgba(85,153,255,0.5); }
  .hs-hero-img--roam   { border-color: #cc44ff; box-shadow: 0 0 6px rgba(204,68,255,0.5); }

  /* Hero images in Top 5 circles */
  .pk-esports-circle--img {
    overflow: hidden; padding: 0; background: none !important;
  }
  .pk-hero-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 15%;
    border-radius: 50%;
  }
  .pk-hero-img--gold { filter: sepia(0.2) saturate(1.2); }

  /* ── HEROES STATISTICS TABLE ── */
  .pk-esports-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 32px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(0,255,65,0.14);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    flex-shrink: 0;
  }

  /* Row: title + heroes */
  .pk-esports-row { display: flex; flex-direction: column; gap: 18px; }

  /* Label with side lines */
  .pk-esports-label {
    display: flex; align-items: center; gap: 14px;
    justify-content: center;
  }
  .pk-label-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px; font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
    text-transform: uppercase;
  }
  .pk-label-text--gold { color: #ffd700; }
  .pk-label-line {
    flex: 1; height: 2px;
    background: linear-gradient(to right, transparent, rgba(0,255,65,0.5));
  }
  .pk-label-line--right {
    background: linear-gradient(to left, transparent, rgba(0,255,65,0.5));
  }
  .pk-label-line--gold {
    background: linear-gradient(to left, transparent, rgba(255,215,0,0.5));
  }
  .pk-label-line--left.pk-label-line--gold {
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.5));
  }

  /* Heroes row */
  .pk-esports-heroes {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .pk-esports-hero {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    min-width: 80px;
  }

  /* Circle (green) */
  .pk-esports-circle {
    width: 82px; height: 82px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #25ff7a 0%, #00c940 40%, #005820 100%);
    border: 3px solid rgba(0,255,65,0.6);
    box-shadow: 0 0 20px rgba(0,255,65,0.35), inset 0 2px 6px rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
  }
  .pk-esports-circle:hover {
    transform: scale(1.07);
    box-shadow: 0 0 32px rgba(0,255,65,0.55), inset 0 2px 6px rgba(255,255,255,0.2);
  }

  /* Circle gold variant */
  .pk-esports-circle--gold {
    background: radial-gradient(circle at 35% 35%, #ffe566 0%, #ffb800 40%, #7a5000 100%);
    border-color: rgba(255,215,0,0.7);
    box-shadow: 0 0 20px rgba(255,200,0,0.4), inset 0 2px 6px rgba(255,255,255,0.15);
  }
  .pk-esports-circle--gold:hover {
    box-shadow: 0 0 32px rgba(255,200,0,0.6), inset 0 2px 6px rgba(255,255,255,0.2);
  }

  /* Number inside circle */
  .pk-esports-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px; font-weight: 900;
    color: #021a0a;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  }
  .pk-esports-num--gold { color: #3a2000; }

  /* Hero name below circle */
  .pk-esports-hname {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px; font-weight: 700;
    color: #d0efd0;
    text-align: center;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* Stats bar at bottom */
  .pk-esports-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0,255,65,0.1);
    flex-wrap: wrap;
  }
  .pk-esports-stat {
    display: flex; flex-direction: column;
    align-items: center; gap: 3px;
    padding: 10px 28px;
  }
  .pk-esports-stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px; font-weight: 900; color: #fff;
  }
  .pk-esports-stat-num--green { color: var(--green); font-size: 16px; }
  .pk-esports-stat-num--orange { color: #ffaa55; font-size: 16px; }
  .pk-esports-stat-lbl {
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    color: rgba(0,255,65,0.5); text-transform: uppercase;
  }
  .pk-esports-stat-divider {
    width: 1px; height: 40px;
    background: rgba(0,255,65,0.15);
  }

  /* --- Tabla --- */
  .pk-table-wrap {
    background: rgba(0,0,0,0.52);
    border: 1px solid rgba(0,255,65,0.14);
    border-radius: 16px; overflow: hidden;
    backdrop-filter: blur(10px);
    flex: 1; min-height: 0;
  }
  .pk-table {
    width: 100%; border-collapse: collapse;
  }
  .pk-table thead {
    background: rgba(0,255,65,0.06);
    position: sticky; top: 0; z-index: 2;
  }
  .pk-table th {
    padding: 13px 18px; text-align: left;
    color: var(--green); font-size: 11px;
    font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; cursor: pointer;
    user-select: none; white-space: nowrap;
    border-bottom: 1px solid rgba(0,255,65,0.1);
  }
  .pk-table th:hover { color: #fff; }
  .pk-sort { opacity: 0.5; font-size: 10px; }
  .pk-table td {
    padding: 11px 18px; color: #ccc;
    font-size: 13px; font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .pk-table tbody tr:hover td { background: rgba(0,255,65,0.03); }
  .pk-table tr.row-hidden { display: none; }

  /* Role badges */
  .rb {
    padding: 3px 10px; border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
    display: inline-block;
  }
  .rb-exp  { background: rgba(255,120,0,.18); color: #ffaa55; border: 1px solid rgba(255,120,0,.35); }
  .rb-gold { background: rgba(255,200,0,.13); color: #ffd966; border: 1px solid rgba(255,200,0,.3); }
  .rb-mid  { background: rgba(120,80,255,.18); color: #b08fff; border: 1px solid rgba(120,80,255,.35); }
  .rb-jungla { background: rgba(0,200,80,.13); color: #5effa0; border: 1px solid rgba(0,200,80,.28); }
  .rb-roam { background: rgba(0,160,255,.13); color: #6dd4ff; border: 1px solid rgba(0,160,255,.28); }

  /* WR bar */
  .wr-wrap { display: flex; align-items: center; gap: 10px; }
  .wr-bar {
    height: 5px; width: 90px; border-radius: 3px;
    background: rgba(0,255,65,0.12); overflow: hidden; flex-shrink: 0;
  }
  .wr-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #00c860, var(--green)); }
  .wr-pct { font-size: 12px; color: rgba(0,255,65,0.7); min-width: 38px; }

  /* V/D */
  .vic { color: #5effa0; font-weight: 700; }
  .der { color: #ff5555; font-weight: 700; }

  /* ═══════════════════════════════════════════════════════
     HIGHLIGHTS / MEJORES JUGADAS
  ═══════════════════════════════════════════════════════ */
  .hl-section {
    width: 100%;
    padding: 60px 40px 50px;
    background: linear-gradient(180deg, #060d06 0%, #040a04 100%);
    border-top: 2px solid rgba(0,255,65,0.1);
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .hl-section-header {
    text-align: center;
    margin-bottom: 52px;
  }
  .hl-section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--green);
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    margin-bottom: 8px;
  }
  .hl-section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 14px;
    text-shadow: 0 0 30px rgba(0,255,65,0.25);
  }
  .hl-section-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    margin: 0 auto;
  }

  /* ── Zigzag rows ── */
  .hl-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    max-width: 90%;
    width: 100%;
    margin: 0 auto 40px;
    background: rgba(0,255,65,0.02);
    border: 1px solid rgba(0,255,65,0.09);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hl-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,255,65,0.35), transparent);
    z-index: 1;
  }
  /* Fila 2 invertida: video izquierda, foto derecha */
  .hl-row--reverse {
    flex-direction: row-reverse;
  }

  .hl-col {
    flex: 1;
    min-width: 0;
  }
  .hl-col--media {
    flex: 0 0 38%;
    max-width: 38%;
  }
  .hl-col--content {
    flex: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Hero image */
  .hl-hero-img-wrap {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
  }
  .hl-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) saturate(1.2);
    transition: transform .4s ease;
  }
  .hl-row:hover .hl-hero-img {
    transform: scale(1.04);
  }
  .hl-hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(6,13,6,0.9));
    pointer-events: none;
  }
  .hl-row--reverse .hl-hero-glow {
    background: linear-gradient(to left, transparent 60%, rgba(6,13,6,0.9));
  }
  .hl-hero-badge {
    position: absolute;
    bottom: 14px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    border: 1px solid rgba(0,255,65,0.5);
    color: var(--green);
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(0,255,65,0.2);
  }

  /* Content column */
  .hl-clip-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.75;
  }
  .hl-clip-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #e8ffe8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px;
    text-shadow: 0 0 20px rgba(0,255,65,0.15);
    line-height: 1.15;
  }
  .hl-clip-desc {
    font-size: 13px;
    color: #4a6a4a;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  /* Video player */
  .hl-video-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,255,65,0.15);
    background: #020602;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(0,255,65,0.05);
  }
  .hl-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hl-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    gap: 12px;
    pointer-events: none;
  }
  .hl-play-btn {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: var(--green);
    box-shadow: 0 0 24px rgba(0,255,65,0.35);
    padding-left: 5px;
  }
  .hl-video-label {
    font-size: 10px;
    color: rgba(0,255,65,0.5);
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .hl-video-wrap video[src]:not([src="#"]) ~ .hl-video-overlay { display: none; }

  /* ── MVP tags (new) ── */
  .hl-mvp-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.85;
    display: inline-block;
    background: rgba(0,255,65,0.06);
    border: 1px solid rgba(0,255,65,0.25);
    padding: 3px 14px;
    border-radius: 20px;
  }
  .hl-mvp-tag--soon {
    color: rgba(255,200,0,0.7);
    background: rgba(255,200,0,0.05);
    border-color: rgba(255,200,0,0.2);
    opacity: 0.7;
  }
  .hl-mvp-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #e8ffe8;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 14px;
    text-shadow: 0 0 30px rgba(0,255,65,0.3), 0 0 60px rgba(0,255,65,0.1);
    line-height: 1;
  }
  .hl-mvp-name--soon {
    color: rgba(200,200,200,0.3);
    text-shadow: none;
    letter-spacing: 6px;
  }

  /* ── Locked rows ── */
  .hl-row--locked {
    opacity: 0.6;
    filter: brightness(0.75);
  }
  .hl-row--locked:hover {
    opacity: 0.75;
    filter: brightness(0.85);
  }
  .hl-hero-img-wrap--locked {
    background: linear-gradient(135deg, #050d05 0%, #0a120a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .hl-locked-silhouette {
    font-size: 100px;
    color: rgba(0,255,65,0.08);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 40px rgba(0,255,65,0.05);
    user-select: none;
  }

  /* ── Coming soon box ── */
  .hl-coming-soon-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0,0,0,0.4);
    border: 1px dashed rgba(0,255,65,0.15);
    border-radius: 10px;
    padding: 18px 24px;
    margin-top: 4px;
  }
  .hl-cs-icon {
    font-size: 24px;
    opacity: 0.5;
  }
  .hl-cs-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(0,255,65,0.25);
    text-transform: uppercase;
  }

  /* ═══════════════════════════════════════════════════════
     PATROCINADORES
  ═══════════════════════════════════════════════════════ */
  .sp-section {
    width: 100%;
    padding: 50px 0 54px;
    background: #020802;
    border-top: 2px solid rgba(0,255,65,0.08);
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .sp-header {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 36px;
  }
  .sp-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(0,255,65,0.4);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .sp-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,255,65,0.18), transparent);
  }
  .sp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 0;
  }
  .sp-logo-slot {
    width: 200px;
    height: 90px;
    border: 1px dashed rgba(0,255,65,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,255,65,0.015);
    transition: border-color .25s, background .25s, box-shadow .25s;
    cursor: pointer;
  }
  .sp-logo-slot:hover {
    border-color: rgba(0,255,65,0.35);
    background: rgba(0,255,65,0.05);
    box-shadow: 0 0 16px rgba(0,255,65,0.07);
  }
  .sp-logo-slot img {
    max-width: 170px;
    max-height: 70px;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(0.2);
    transition: opacity .2s;
  }
  .sp-logo-slot:hover img { opacity: 1; }
  .sp-logo-placeholder {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(0,255,65,0.35);
    text-align: center;
    text-transform: uppercase;
    line-height: 1.6;
    pointer-events: none;
  }
  .sp-footer-text {
    text-align: center;
    font-size: 11px;
    color: rgba(0,255,65,0.18);
    letter-spacing: 0.5px;
    padding: 0 20px;
  }

  /* ── Responsive ── */
  @media (max-width: 800px) {
    .hl-section { padding: 40px 16px 32px; }
    .hl-row, .hl-row--reverse { flex-direction: column !important; }
    .hl-col--media { flex: 0 0 auto; max-width: 100%; }
    .hl-hero-img-wrap { min-height: 220px; }
    .hl-col--content { padding: 24px 20px; }
    .hl-hero-glow, .hl-row--reverse .hl-hero-glow {
      background: linear-gradient(to top, rgba(6,13,6,0.95) 0%, transparent 60%);
    }
    .sp-logo-slot { width: 140px; height: 72px; }
  }

  /* ── Countdown live badge ── */
  .cd-live-badge {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255,50,50,0.7);
    padding: 2px 12px;
    border: 1px solid rgba(255,50,50,0.4);
    border-radius: 20px;
    background: rgba(255,0,0,0.08);
    animation: livePulse 1.2s ease-in-out infinite;
    margin-left: 10px;
  }
  @keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  /* ── Partners: solo 3 slots más grandes ── */
  .sp-partners-grid {
    max-width: 700px;
  }
  .sp-slot--available {
    width: 220px;
    height: 110px;
    border: 1px solid rgba(0,255,65,0.35);
    border-style: solid;
    position: relative;
    transition: border-color .25s, box-shadow .25s;
    box-shadow: 0 0 14px rgba(0,255,65,0.05), inset 0 0 20px rgba(0,255,65,0.02);
  }
  .sp-slot--available:hover {
    border-color: rgba(0,255,65,0.7);
    box-shadow: 0 0 22px rgba(0,255,65,0.12), inset 0 0 18px rgba(0,255,65,0.04);
  }
  .sp-available-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .sp-available-icon {
    font-size: 26px;
    color: rgba(0,255,65,0.35);
    line-height: 1;
    font-weight: 300;
  }

  /* ── Divisor ── */
  .sp-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 90%;
    max-width: 1200px;
    margin: 44px auto 40px;
  }
  .sp-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,65,0.15), transparent);
  }
  .sp-divider-diamond {
    font-size: 12px;
    color: rgba(0,255,65,0.3);
  }

  /* ── Muro de la Fama ── */
  .sp-fame-subtitle {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
    color: rgba(0,255,65,0.35);
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .sp-fame-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 90%;
    max-width: 900px;
    margin: 0 auto 24px;
  }
  .sp-fame-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,10,0,0.7);
    border: 1px solid rgba(0,255,65,0.3);
    border-radius: 6px;
    padding: 10px 22px;
    box-shadow: 0 0 12px rgba(0,255,65,0.06), inset 0 0 10px rgba(0,255,65,0.02);
    transition: border-color .2s, box-shadow .2s, transform .2s;
    cursor: default;
  }
  .sp-fame-badge:hover {
    border-color: rgba(0,255,65,0.65);
    box-shadow: 0 0 20px rgba(0,255,65,0.12), inset 0 0 14px rgba(0,255,65,0.04);
    transform: translateY(-2px);
  }
  .sp-fame-prefix {
    font-size: 10px;
    color: rgba(0,255,65,0.4);
  }
  .sp-fame-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8ffc8;
    text-shadow: 0 0 10px rgba(0,255,65,0.4), 0 0 20px rgba(0,255,65,0.15);
  }
  .sp-fame-footer {
    text-align: center;
    font-size: 11px;
    color: rgba(0,255,65,0.18);
    letter-spacing: 1px;
    font-style: italic;
    padding-bottom: 10px;
  }

/* ═══════════════════════════════════════════════════
   CLASES EXTRAÍDAS DE ESTILOS INLINE
   ─ Antes había 112 style="" en el HTML.
   ─ Ahora están aquí: un solo lugar para cambiar.
═══════════════════════════════════════════════════ */

/* Canvas de fondo (técnico, no tocar) */
#bg-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none; display: block;
}

/* SVG defs invisible */
.svg-defs-hidden {
  position: absolute; width: 0; height: 0; overflow: hidden;
}

/* Nav logo */
.nav-logo-inside img {
  height: 30px; width: auto; object-fit: contain; opacity: 0.9;
}

/* Win rate en tabla de picks */
.wr-high { color: #00ff65; font-weight: 800; }
.wr-low  { color: #ff5555; font-weight: 800; }

/* Bracket: fechas ocultas por defecto */
.bracket-fecha--hidden { display: none; }

/* Bracket F3: SVG overlay */
#f3-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 10; overflow: visible;
}
/* Bracket F3: wrapper relativo */
.bracket-f3-wrap {
  position: relative; width: max-content;
}

/* Bracket bk-matches centrado (F3 semifinal/final) */
.bk-matches--center { justify-content: center; }

/* Texto placeholder en bracket F3 (ganadores pendientes) */
.bk-pending {
  color: #556055; font-size: 10px;
}

/* Bracket: imagen de campeón */
.bk-champ-logo {
  width: 22px; height: 22px;
  border-radius: 5px; object-fit: contain;
}

/* Bracket header row */
.bracket-header-row {
  display: flex; gap: 10px;
  margin-bottom: 24px; align-items: center;
}
.bracket-header-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: #3a5a3a;
  text-transform: uppercase; margin-right: 10px;
}

/* Teams grid: encabezados de sección */
.teams-section-header { grid-column: 1 / -1; margin-bottom: 16px; }
.teams-section-divider { grid-column: 1 / -1; margin: 12px 0 6px; }
.teams-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: #3a5a3a;
  text-transform: uppercase; margin-bottom: 4px;
}
.teams-section-subtitle { font-size: 12px; color: #556055; }

/* Header de la sección equipos */
.teams-header {
  grid-column: 1 / -1;
  text-align: center;
  padding: 8px 0 4px;
}
.teams-header-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--green); letter-spacing: 3px; text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,255,65,0.4);
}
.teams-header-sub {
  font-size: 11px; color: #556055; font-weight: 600;
  letter-spacing: 1px; margin-top: 4px;
}

/* Badge de fecha — ocupa toda la fila del grid */
.teams-fecha-badge {
  grid-column: 1 / -1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; color: #1e3a1e;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(0,255,65,0.04);
  border: 1px solid #1e2e1e;
  border-radius: 6px; display: inline-block;
}

/* Team cards con posición */
.team-card--1st {
  border-color: rgba(200,160,20,0.3);
  position: relative; padding-top: 32px;
}
.team-card--2nd {
  border-color: rgba(160,160,180,0.25);
  position: relative; padding-top: 32px;
}

/* Badges de posición dentro de team-card */
.team-place-badge {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; font-weight: 700;
  white-space: nowrap;
  padding: 2px 10px; border-radius: 20px;
}
.team-place-badge--gold {
  background: rgba(200,160,20,0.15);
  border: 1px solid rgba(200,160,20,0.4);
  color: #ffd700;
}
.team-place-badge--silver {
  background: rgba(160,160,180,0.15);
  border: 1px solid rgba(160,160,180,0.4);
  color: #c0c0c0;
}

/* Badge CLASIFICADO */
.team-qualified-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(0,255,65,0.1);
  border: 1px solid rgba(0,255,65,0.3);
  color: var(--green);
}

/* Tarjetas placeholder (Fecha 3, Fecha 4) */
.team-card--placeholder {
  border-color: rgba(0,255,65,0.1);
  opacity: 0.55;
  cursor: default;
}
.team-placeholder-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(0,255,65,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900;
  color: rgba(0,255,65,0.35);
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 6px;
}
.team-card-members--soon {
  color: rgba(0,255,65,0.45);
  letter-spacing: 2px;
  font-size: 10px;
}

/* Badge Final F2 (gold text) */
.hi-res-match--final { color: #ffd700; }

/* Premio showcase */
.prize-row {
  display: flex; flex-direction: row;
  align-items: center; gap: 14px; padding: 4px 0;
}
.prize-trophy-img {
  width: 140px; height: 140px;
  object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 0 22px rgba(255,200,50,0.55))
          drop-shadow(0 0 8px rgba(255,200,50,0.3));
}
.prize-text-col {
  display: flex; flex-direction: column; gap: 5px;
}
.prize-label {
  font-size: 10px; color: #556055;
  text-transform: uppercase; letter-spacing: 2px;
}
.prize-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 16px rgba(0,255,65,0.6);
  line-height: 1.1;
}
.prize-diamonds-row {
  display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.prize-diamond-icon { width: 18px; height: 18px; }
.prize-diamonds {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 800;
  color: #c97cf5;
  text-shadow: 0 0 14px rgba(180,80,255,0.5);
  line-height: 1;
}
.prize-game {
  font-size: 9px; color: #3a5a3a;
  margin-top: 1px; letter-spacing: 0.5px;
}
