/* LVTM Frontend Styles */
:root {
      --orange: #ef7f2d;
      --orange-dark: #d06920;
      --bg: #4c4c4c;
      --bg-dark: #333333;
      --bg-darker: #222222;
      --bg-card: #3a3a3a;
      --white: #ffffff;
      --light: #e0e0e0;
      --muted: #aaaaaa;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Barlow', sans-serif;
      background: var(--bg);
      color: var(--white);
      overflow-x: hidden;
    }

    /* ─── NAVBAR ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(26,26,26,0.97);
      backdrop-filter: blur(8px);
      border-bottom: 2px solid var(--orange);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 68px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 12px; text-decoration: none;
    }
    .nav-logo img {
      height: 46px; width: auto;
    }
    .nav-logo-text {
      display: flex; flex-direction: column; line-height: 1.1;
    }
    .nav-logo-text .liga { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; }
    .nav-logo-text .nome { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; color: var(--white); text-transform: uppercase; }
    .nav-links { display: flex; gap: 4px; list-style: none; }
    .nav-links a {
      font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      color: var(--light); text-decoration: none;
      padding: 8px 16px; border-radius: 4px;
      transition: all 0.2s;
    }
    .nav-links a:hover { color: var(--orange); background: rgba(239,127,45,0.1); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

    /* ─── HERO ─── */
    #inicio {
      min-height: 100vh;
      background: #1a1a1a;
      display: flex; align-items: center; justify-content: center;
      text-align: center; padding: 100px 20px 60px;
      position: relative; overflow: hidden;
    }
    /* Slideshow de fundo */
    .hero-slideshow {
      position: absolute; inset: 0; z-index: 0;
    }
    .hero-slide {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      opacity: 0; transition: opacity 1.2s ease-in-out;
    }
    .hero-slide.active { opacity: 1; }
    /* Overlay escuro sobre as fotos para manter legibilidade do texto */
    .hero-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.40) 50%,
        rgba(0,0,0,0.70) 100%
      );
    }
    /* Indicadores do slideshow */
    .hero-dots {
      position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 8px; z-index: 3;
    }
    .hero-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,0.3); border: none; cursor: pointer;
      transition: background 0.3s, transform 0.3s; padding: 0;
    }
    .hero-dot.active { background: var(--orange); transform: scale(1.3); }
    #inicio::before {
      content: '';
      position: absolute; inset: 0; z-index: 2;
      background: radial-gradient(ellipse at center, rgba(239,127,45,0.10) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-ping {
      position: absolute; font-size: 300px; opacity: 0.04; z-index: 2;
      font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
      color: var(--orange); user-select: none; letter-spacing: -10px;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
    }
    .hero-content { position: relative; z-index: 3; max-width: 800px; }
    .hero-badge {
      display: inline-block;
      background: var(--orange); color: #fff;
      font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
      letter-spacing: 3px; text-transform: uppercase;
      padding: 6px 18px; border-radius: 2px; margin-bottom: 24px;
    }
    .hero-logo { display: block; height: 110px; width: auto; margin: 0 auto 24px; filter: drop-shadow(0 4px 24px rgba(239,127,45,0.4)); }
    .hero-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(36px, 7vw, 72px); font-weight: 900;
      line-height: 1; text-transform: uppercase; color: var(--white);
      margin-bottom: 12px;
    }
    .hero-title span { color: var(--orange); }
    .hero-sub {
      font-size: 17px; color: var(--muted); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto;
    }
    .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-primary {
      background: var(--orange); color: #fff;
      font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase;
      padding: 14px 32px; border-radius: 4px; border: none;
      text-decoration: none; cursor: pointer; transition: all 0.2s;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
    .btn-secondary {
      background: transparent; color: var(--white);
      font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase;
      padding: 14px 32px; border-radius: 4px; border: 2px solid rgba(255,255,255,0.3);
      text-decoration: none; cursor: pointer; transition: all 0.2s;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
    .hero-stats {
      display: flex; gap: 40px; justify-content: center; margin-top: 56px;
      flex-wrap: wrap;
    }
    .stat-item { text-align: center; }
    .stat-num {
      font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 900;
      color: var(--orange); line-height: 1;
    }
    .stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

    /* ─── SECTION SHARED ─── */
    section { padding: 80px 20px; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-header { margin-bottom: 48px; }
    .section-tag {
      font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
      letter-spacing: 3px; text-transform: uppercase; color: var(--orange);
      display: block; margin-bottom: 8px;
    }
    .section-title {
      font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 5vw, 46px);
      font-weight: 900; text-transform: uppercase; color: var(--white);
      line-height: 1;
    }
    .section-title span { color: var(--orange); }
    .section-divider {
      width: 50px; height: 4px; background: var(--orange);
      border-radius: 2px; margin-top: 14px;
    }

    /* ─── HISTÓRICO ─── */
    #historico { background: var(--bg-darker); }
    .historico-intro {
      font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.7;
      max-width: 680px;
      padding: 14px 18px; border-left: 3px solid var(--orange);
      background: rgba(239,127,45,0.06); border-radius: 0 6px 6px 0;
    }
    .hist-cards-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px;
    }
    .hist-card {
      background: var(--bg-card); border-radius: 10px; padding: 20px 18px;
      border: 1px solid rgba(255,255,255,0.07);
      display: flex; flex-direction: column; align-items: center; text-align: center;
      transition: transform 0.2s, border-color 0.2s;
      position: relative; overflow: hidden;
    }
    .hist-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--orange);
    }
    .hist-card:hover { transform: translateY(-4px); border-color: rgba(239,127,45,0.4); }
    .hist-card-icon { font-size: 28px; margin-bottom: 10px; }
    .hist-card-label {
      font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 8px;
    }
    .hist-card-name {
      font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900;
      color: var(--white); margin-bottom: 4px; line-height: 1.1;
    }
    .hist-card-value {
      font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 900;
      color: var(--orange); line-height: 1;
    }
    .hist-card-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
    .hist-table-title {
      font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800;
      text-transform: uppercase; color: var(--white); margin-bottom: 14px; margin-top: 32px;
      display: flex; align-items: center; gap: 10px;
    }
    .hist-table-title::after {
      content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
    }
    .hist-table-wrap { overflow-x: auto; border-radius: 8px; margin-bottom: 8px; }
    .hist-table { width: 100%; border-collapse: collapse; }
    .hist-table thead tr { background: linear-gradient(90deg, #2a2a2a, #3a3a3a); }
    .hist-table thead th {
      font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px; color: var(--orange);
      padding: 12px 14px; text-align: left; border-bottom: 2px solid var(--orange);
    }
    .hist-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; }
    .hist-table tbody tr:hover { background: rgba(239,127,45,0.05); }
    .hist-table tbody td { padding: 11px 14px; font-size: 13px; color: var(--light); }
    .hist-pos { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 900; color: var(--muted); }
    .hist-pos.g { color: #ffd700; } .hist-pos.s { color: #c0c0c0; } .hist-pos.b { color: #cd7f32; }
    .hist-bar-wrap { display: flex; align-items: center; gap: 8px; }
    .hist-bar {
      height: 6px; border-radius: 3px; background: var(--orange); opacity: 0.8;
      min-width: 4px; transition: width 0.5s;
    }
    .hist-num { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; color: var(--orange); min-width: 32px; }
    .hist-pct-win { font-size: 12px; color: var(--muted); }
    .hist-notice {
      margin-top: 24px; padding: 14px 18px;
      background: rgba(239,127,45,0.06); border-left: 3px solid var(--orange);
      border-radius: 0 6px 6px 0; font-size: 13px; color: var(--muted);
      display: flex; align-items: center; gap: 10px;
    }

    /* ─── RANKING ─── */
    #ranking { background: var(--bg-dark); }
    .ranking-tabs {
      display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
    }
    .tab-btn {
      font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase;
      padding: 10px 22px; border-radius: 4px; cursor: pointer;
      background: var(--bg-card); color: var(--muted); border: 1px solid #555;
      transition: all 0.2s;
    }
    .tab-btn.active, .tab-btn:hover {
      background: var(--orange); color: #fff; border-color: var(--orange);
    }
    .ranking-table-wrap { overflow-x: auto; border-radius: 8px; }
    table { width: 100%; border-collapse: collapse; }
    thead tr { background: var(--orange); }
    thead th {
      font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px; color: #fff;
      padding: 14px 16px; text-align: left;
    }
    tbody tr { border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.2s; }
    tbody tr:hover { background: rgba(239,127,45,0.07); }
    tbody td { padding: 13px 16px; font-size: 14px; color: var(--light); }
    .rank-pos {
      font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900;
      color: var(--muted); min-width: 36px; display: inline-block; text-align: center;
    }
    .rank-pos.gold { color: #ffd700; }
    .rank-pos.silver { color: #c0c0c0; }
    .rank-pos.bronze { color: #cd7f32; }
    .player-name { font-weight: 600; color: var(--white); font-size: 15px; }
    .player-club { font-size: 12px; color: var(--muted); }
    .rank-pts {
      font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800;
      color: var(--orange);
    }
    .rank-notice {
      margin-top: 20px; padding: 14px 18px;
      background: rgba(239,127,45,0.08); border-left: 3px solid var(--orange);
      border-radius: 0 6px 6px 0; font-size: 13px; color: var(--muted);
      display: flex; align-items: center; gap: 10px;
    }
    .rank-tab-content { display: none; }
    .rank-tab-content.active { display: block; }

    /* ─── CALENDARIO ─── */
    #calendario { background: var(--bg); }
    .cal-year-badge {
      display: inline-block; background: rgba(239,127,45,0.15);
      border: 1px solid var(--orange); color: var(--orange);
      font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 4px;
      margin-bottom: 28px;
    }
    .cal-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
    }
    .cal-card {
      background: var(--bg-card); border-radius: 10px; overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08); transition: transform 0.2s, border-color 0.2s;
      position: relative;
    }
    .cal-card:hover { transform: translateY(-4px); border-color: var(--orange); }
    .cal-card-top {
      background: var(--bg-darker); padding: 14px 18px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .cal-etapa {
      font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 2px; color: var(--orange);
    }
    .cal-status {
      font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 12px;
      text-transform: uppercase; letter-spacing: 1px;
    }
    .status-done { background: rgba(80,200,120,0.15); color: #50c878; border: 1px solid rgba(80,200,120,0.3); }
    .status-next { background: rgba(239,127,45,0.2); color: var(--orange); border: 1px solid rgba(239,127,45,0.4); }
    .status-soon { background: rgba(150,150,150,0.1); color: var(--muted); border: 1px solid rgba(150,150,150,0.2); }
    .cal-card-body { padding: 18px; }
    .cal-title { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; text-transform: uppercase; }
    .cal-info { display: flex; flex-direction: column; gap: 7px; }
    .cal-info-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
    .cal-info-row i { color: var(--orange); width: 16px; text-align: center; }
    .cal-info-row span { color: var(--light); }

    /* ─── GALLERY ─── */
    #galeria { background: var(--bg-dark); }
    .gallery-topbar {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
    }
    .gallery-select-wrap {
      position: relative; display: inline-flex; align-items: center;
    }
    .gallery-select-wrap i {
      position: absolute; left: 14px; color: var(--orange); font-size: 16px; pointer-events: none;
    }
    .gallery-select {
      font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      padding: 11px 44px 11px 40px; border-radius: 6px; cursor: pointer;
      background: var(--bg-card); color: var(--white); border: 1px solid #666;
      appearance: none; -webkit-appearance: none; min-width: 260px;
      transition: border-color 0.2s;
    }
    .gallery-select:hover, .gallery-select:focus { border-color: var(--orange); outline: none; }
    .gallery-select-arrow {
      position: absolute; right: 14px; color: var(--muted); pointer-events: none; font-size: 12px;
    }
    .gallery-count {
      font-size: 13px; color: var(--muted);
    }
    .gallery-count span { color: var(--orange); font-weight: 700; }
    .gallery-loader {
      text-align: center; padding: 60px 0; color: var(--muted);
    }
    .gallery-loader i { font-size: 36px; color: var(--orange); animation: spin 1s linear infinite; display: block; margin-bottom: 12px; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 8px;
    }
    .gallery-item {
      position: relative; overflow: hidden; border-radius: 6px;
      aspect-ratio: 4/3; cursor: pointer; background: var(--bg-card);
      border: 1px solid rgba(255,255,255,0.06);
    }
    .gallery-item img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.3s;
    }
    .gallery-item:hover img { transform: scale(1.1); }
    .gallery-item-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
      opacity: 0; transition: opacity 0.3s;
      display: flex; align-items: flex-end; padding: 8px;
    }
    .gallery-item:hover .gallery-item-overlay { opacity: 1; }
    .gallery-item-title { font-size: 11px; color: #fff; font-weight: 600; line-height: 1.2; }
    .gallery-zoom-icon {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
      background: rgba(239,127,45,0.85); color: #fff;
      width: 36px; height: 36px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; font-size: 14px;
      transition: transform 0.25s;
    }
    .gallery-item:hover .gallery-zoom-icon { transform: translate(-50%,-50%) scale(1); }
    .gallery-error {
      text-align: center; padding: 40px; color: var(--muted); font-size: 14px;
    }
    .gallery-error a { color: var(--orange); }
    .flickr-credit {
      margin-top: 20px; text-align: right; font-size: 12px; color: var(--muted);
    }
    .flickr-credit a { color: var(--orange); text-decoration: none; }
    .flickr-credit a:hover { text-decoration: underline; }

    /* ─── PAGINAÇÃO GALERIA ─── */
    .gallery-pagination {
      display: flex; align-items: center; justify-content: center;
      gap: 6px; flex-wrap: wrap; margin-top: 28px;
    }
    .gallery-page-btn {
      font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
      min-width: 38px; height: 38px; border-radius: 6px; border: 2px solid #444;
      background: var(--bg-card); color: var(--muted); cursor: pointer;
      transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
    }
    .gallery-page-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--white); }
    .gallery-page-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
    .gallery-page-btn.disabled, .gallery-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
    .gallery-page-dots { color: var(--muted); font-size: 16px; padding: 0 4px; }

    /* ─── LIGHTBOX ─── */
    .lightbox {
      display: none; position: fixed; inset: 0; z-index: 9999;
      background: rgba(0,0,0,0.92); backdrop-filter: blur(4px);
      align-items: center; justify-content: center;
    }
    .lightbox.open { display: flex; }
    .lightbox-inner {
      position: relative; max-width: 90vw; max-height: 90vh;
      display: flex; flex-direction: column; align-items: center;
    }
    .lightbox-inner img {
      max-width: 90vw; max-height: 80vh; border-radius: 8px;
      object-fit: contain; box-shadow: 0 8px 60px rgba(0,0,0,0.8);
    }
    .lightbox-caption {
      margin-top: 12px; font-size: 14px; color: var(--light); text-align: center;
    }
    .lightbox-close {
      position: absolute; top: -40px; right: 0;
      background: none; border: none; color: var(--white); font-size: 28px;
      cursor: pointer; transition: color 0.2s;
    }
    .lightbox-close:hover { color: var(--orange); }
    .lightbox-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(239,127,45,0.8); border: none; color: #fff;
      width: 44px; height: 44px; border-radius: 50%; font-size: 18px;
      cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center;
    }
    .lightbox-nav:hover { background: var(--orange); }
    .lightbox-prev { left: -56px; }
    .lightbox-next { right: -56px; }

    /* ─── SOBRE ─── */
    #sobre { background: var(--bg); }
    .sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .sobre-text p { color: var(--light); line-height: 1.8; margin-bottom: 16px; }
    .sobre-features { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
    .sobre-feature {
      display: flex; align-items: center; gap: 14px;
      background: var(--bg-card); padding: 14px 18px; border-radius: 8px;
      border-left: 3px solid var(--orange);
    }
    .sobre-feature i { font-size: 22px; color: var(--orange); width: 28px; text-align: center; }
    .sobre-feature-text strong { display: block; font-size: 14px; color: var(--white); }
    .sobre-feature-text span { font-size: 12px; color: var(--muted); }
    .sobre-img-wrap {
      display: flex; flex-direction: column; align-items: center; gap: 20px;
    }
    .sobre-logo-big { height: 150px; width: auto; filter: drop-shadow(0 4px 32px rgba(239,127,45,0.35)); }
    .sobre-founded {
      text-align: center;
      background: var(--bg-card); padding: 20px 32px; border-radius: 8px;
      border: 1px solid rgba(239,127,45,0.3);
    }
    .sobre-founded .year { font-family: 'Barlow Condensed', sans-serif; font-size: 52px; font-weight: 900; color: var(--orange); }
    .sobre-founded .year-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--bg-darker); border-top: 2px solid var(--orange);
      padding: 40px 20px 24px;
    }
    .footer-inner { max-width: 1100px; margin: 0 auto; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
    .footer-brand { display: flex; align-items: flex-start; gap: 14px; }
    .footer-brand img { height: 54px; }
    .footer-brand-text .name { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--white); }
    .footer-brand-text .sub { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
    .footer-col h4 {
      font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 14px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-col ul a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-col ul a:hover { color: var(--orange); }
    .footer-social { display: flex; gap: 10px; margin-top: 8px; }
    .social-btn {
      width: 38px; height: 38px; border-radius: 6px; background: var(--bg-card);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 16px; text-decoration: none;
      border: 1px solid #555; transition: all 0.2s;
    }
    .social-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    }
    .footer-bottom p { font-size: 12px; color: var(--muted); }
    .footer-bottom a { color: var(--orange); text-decoration: none; }

    /* ─── SCROLL TO TOP ─── */
    .scroll-top {
      position: fixed; bottom: 28px; right: 28px; z-index: 999;
      width: 44px; height: 44px; border-radius: 8px;
      background: var(--orange); color: #fff; border: none; cursor: pointer;
      font-size: 18px; display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity 0.3s, transform 0.3s;
      transform: translateY(20px);
    }
    .scroll-top.visible { opacity: 1; transform: translateY(0); }
    .scroll-top:hover { background: var(--orange-dark); }

    /* ─── INTRO / SPLASH SCREEN ─── */
    #lvtmIntro {
      position: fixed; inset: 0; z-index: 99999;
      background: #0d0d0d;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      overflow: hidden;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    #lvtmIntro.intro-hide {
      opacity: 0;
      pointer-events: none;
    }
    #lvtmIntro.intro-done { display: none; }

    /* Linhas de fundo animadas */
    .intro-bg-lines {
      position: absolute; inset: 0;
      background:
        repeating-linear-gradient(
          90deg,
          transparent,
          transparent 80px,
          rgba(239,127,45,0.03) 80px,
          rgba(239,127,45,0.03) 81px
        ),
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 80px,
          rgba(239,127,45,0.03) 80px,
          rgba(239,127,45,0.03) 81px
        );
      animation: introGridPulse 3s ease-in-out infinite alternate;
    }
    @keyframes introGridPulse {
      from { opacity: 0.4; }
      to   { opacity: 1; }
    }

    /* Brilho central radial */
    #lvtmIntro::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 50%,
        rgba(239,127,45,0.12) 0%,
        transparent 70%
      );
      animation: introPulse 2.5s ease-in-out infinite alternate;
    }
    @keyframes introPulse {
      from { opacity: 0.5; transform: scale(0.95); }
      to   { opacity: 1;   transform: scale(1.05); }
    }

    /* Container central */
    .intro-content {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 36px; position: relative; z-index: 2;
    }

    /* Logo */
    .intro-logo-wrap {
      opacity: 0;
      transform: scale(0.6) translateY(20px);
      animation: introLogoIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.3s forwards;
    }
    .intro-logo {
      height: 120px; width: auto;
      filter: drop-shadow(0 0 40px rgba(239,127,45,0.6))
              drop-shadow(0 0 80px rgba(239,127,45,0.25));
    }
    .intro-logo-fallback {
      font-size: 80px;
      filter: drop-shadow(0 0 30px rgba(239,127,45,0.5));
    }
    @keyframes introLogoIn {
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    /* Texto */
    .intro-text-wrap {
      text-align: center;
      opacity: 0;
      transform: translateY(24px);
      animation: introTextIn 0.7s ease 0.9s forwards;
    }
    @keyframes introTextIn {
      to { opacity: 1; transform: translateY(0); }
    }
    .intro-league {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(28px, 6vw, 56px);
      font-weight: 900; text-transform: uppercase;
      color: #fff; letter-spacing: 4px;
      line-height: 1;
    }
    .intro-sport {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(20px, 4vw, 38px);
      font-weight: 600; text-transform: uppercase;
      color: var(--orange); letter-spacing: 6px;
      margin-top: 6px; line-height: 1;
    }
    .intro-bar {
      width: 0px; height: 3px;
      background: var(--orange);
      margin: 20px auto;
      animation: introBarExpand 0.6s ease 1.4s forwards;
    }
    @keyframes introBarExpand {
      to { width: 180px; }
    }
    .intro-season {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px; font-weight: 700;
      letter-spacing: 6px; text-transform: uppercase;
      color: var(--muted);
      opacity: 0;
      animation: introFadeIn 0.5s ease 1.8s forwards;
    }
    @keyframes introFadeIn {
      to { opacity: 1; }
    }

    /* Barra de progresso */
    .intro-progress {
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 3px; background: rgba(255,255,255,0.06);
    }
    .intro-progress-fill {
      height: 100%; width: 0%;
      background: linear-gradient(90deg, var(--orange-dark), var(--orange));
      animation: introProgressFill 2.8s ease 0.2s forwards;
    }
    @keyframes introProgressFill {
      to { width: 100%; }
    }

    /* Faixas que fecham a tela ao sair (cortina estilo cinema) */
    #lvtmIntro::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(239,127,45,0.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(239,127,45,0.06) 100%
      );
      pointer-events: none;
    }

    /* ─── RANKING ETAPAS SELETOR ─── */
    .rank-etapas-wrap {
      display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px;
    }
    .rank-etapa-btn {
      font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      padding: 10px 20px; border-radius: 6px; border: 2px solid #444;
      background: #2a2a2a; color: #ccc; cursor: pointer; transition: all 0.2s;
    }
    .rank-etapa-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--white); }
    .rank-etapa-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
    .rank-etapa-btn.locked {
      background: #1e1e1e; border-color: #333; color: #555; cursor: not-allowed;
      filter: none;
    }
    .rank-etapa-btn.locked:hover { border-color: #333; color: #555; }

    /* ─── TROFÉU EFICIÊNCIA ─── */
    #trofeu { background: var(--bg-darker); }
    .rank-table { width: 100%; border-collapse: collapse; }
    .rank-table-wrap { overflow-x: auto; border-radius: 8px; margin-bottom: 8px; }
    .trofeu-etapa-block { margin-bottom: 40px; }
    .trofeu-etapa-title {
      font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800;
      text-transform: uppercase; color: var(--white); margin-bottom: 14px;
      display: flex; align-items: center; gap: 10px; letter-spacing: 1px;
    }
    .trofeu-etapa-title::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }


    /* ─────────────────────────────────────────────
       PWA – BANNER GUIA DE INSTALAÇÃO (Android + iOS)
    ───────────────────────────────────────────── */
    .pwa-guide-banner {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      z-index: 99999;
      transform: translateY(110%);
      opacity: 0;
      transition: transform 0.45s cubic-bezier(0.34,1.2,0.64,1), opacity 0.3s ease;
      pointer-events: none;
    }
    .pwa-guide-banner.pwa-visible {
      transform: translateY(0);
      opacity: 1;
      pointer-events: all;
    }
    .pwa-guide-banner.pwa-hiding {
      transform: translateY(110%);
      opacity: 0;
      pointer-events: none;
    }
    .pwa-guide-inner {
      background: linear-gradient(160deg, #1a1a1e 0%, #222226 100%);
      border-top: 2px solid rgba(239,127,45,0.45);
      border-radius: 22px 22px 0 0;
      padding: 10px 20px 32px;
      box-shadow: 0 -10px 50px rgba(0,0,0,0.75);
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
    }
    /* Handle bar */
    .pwa-guide-inner::before {
      content: '';
      display: block;
      width: 44px; height: 4px;
      background: rgba(255,255,255,0.18);
      border-radius: 2px;
      margin: 6px auto 16px;
    }
    .pwa-guide-close {
      position: absolute; top: 16px; right: 16px;
      background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55);
      border: none; border-radius: 50%;
      width: 30px; height: 30px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; font-size: 13px;
      transition: background 0.2s;
    }
    .pwa-guide-close:hover { background: rgba(255,255,255,0.2); }
    .pwa-guide-header {
      display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
    }
    .pwa-guide-logo {
      width: 54px; height: 54px; object-fit: contain; flex-shrink: 0;
      border-radius: 14px;
      background: rgba(239,127,45,0.1);
      padding: 6px;
    }
    .pwa-guide-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 20px; font-weight: 800;
      text-transform: uppercase; color: #fff; letter-spacing: 0.5px;
    }
    .pwa-guide-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

    /* Passos */
    .pwa-guide-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
    .pwa-guide-step { display: flex; align-items: flex-start; gap: 12px; }
    .pwa-guide-num {
      width: 28px; height: 28px; flex-shrink: 0;
      background: var(--orange); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 14px; font-weight: 800; color: #fff;
    }
    .pwa-guide-text {
      font-size: 14px; color: rgba(255,255,255,0.82);
      line-height: 1.55; padding-top: 4px;
    }
    .pwa-guide-text strong { color: #fff; }

    /* Pills de ícone */
    .pwa-share-pill {
      display: inline-flex; align-items: center; justify-content: center;
      background: rgba(239,127,45,0.18); border: 1px solid rgba(239,127,45,0.45);
      border-radius: 7px; padding: 3px 7px;
      margin: 0 3px; vertical-align: middle;
      color: var(--orange);
    }
    .pwa-android-dots { background: rgba(100,160,255,0.15); border-color: rgba(100,160,255,0.4); color: #7ab4ff; }
    .pwa-tag-pill {
      display: inline-flex; align-items: center; gap: 4px;
      background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.22);
      border-radius: 8px; padding: 4px 10px;
      font-size: 13px; color: #fff; font-weight: 600;
      margin: 2px 2px; vertical-align: middle;
    }

    /* Seta inferior (iOS) */
    .pwa-bottom-arrow {
      display: flex; flex-direction: column; align-items: center; gap: 0;
      margin-top: 4px; margin-bottom: 4px;
      animation: pwaBounce 1.6s ease-in-out infinite;
    }
    .pwa-arrow-line {
      width: 2px; height: 28px;
      background: linear-gradient(to bottom, transparent, var(--orange));
    }
    .pwa-arrow-tip {
      width: 0; height: 0;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 10px solid var(--orange);
    }
    .pwa-arrow-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px; font-weight: 700;
      color: var(--orange); text-transform: uppercase; letter-spacing: 1px;
      margin-top: 6px;
    }

    /* Seta superior direita (Android) */
    .pwa-top-arrow {
      display: flex; flex-direction: column; align-items: flex-end;
      padding-right: 8px; margin-bottom: 6px;
      animation: pwaBounce 1.6s ease-in-out infinite;
    }
    .pwa-top-arrow-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px; font-weight: 700;
      color: var(--orange); text-transform: uppercase; letter-spacing: 1px;
      margin-bottom: 4px;
    }
    .pwa-top-arrow-tip {
      width: 0; height: 0;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-bottom: 10px solid var(--orange);
    }
    .pwa-top-arrow-line {
      width: 2px; height: 24px;
      background: linear-gradient(to top, transparent, var(--orange));
    }

    @keyframes pwaBounce {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(5px); }
    }

    /* Botões de ação */
    .pwa-guide-actions {
      display: flex; gap: 10px; margin-top: 16px;
    }
    .pwa-btn-installed {
      flex: 1;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 15px; font-weight: 700; text-transform: uppercase;
      background: var(--orange); color: #fff;
      border: none; border-radius: 12px;
      padding: 13px 10px; cursor: pointer;
      transition: background 0.2s, transform 0.1s;
    }
    .pwa-btn-installed:active { transform: scale(0.97); }
    .pwa-btn-installed:hover { background: #d4691a; }
    .pwa-btn-later {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 14px; font-weight: 600;
      background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5);
      border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
      padding: 13px 16px; cursor: pointer;
      transition: background 0.2s;
    }
    .pwa-btn-later:hover { background: rgba(255,255,255,0.12); }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #1a1a1a; padding: 16px; gap: 4px; border-bottom: 2px solid var(--orange); }
      .nav-links.open { display: flex; }
      .hamburger { display: flex; }
      .sobre-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; }
      .lightbox-prev { left: -16px; }
      .lightbox-next { right: -16px; }
    }