:root {
      /* COLORES BANDERA APURE */
      --apure-yellow: #FFCC00;
      --apure-blue: #003399;
      --apure-green: #009933;
      --bg-light: #f4f6f8;
      --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }

    body {
      font-family: 'Roboto', sans-serif;
      background-color: var(--bg-light);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    .btn,
    th {
      font-family: 'Montserrat', sans-serif;
    }

    /* --- NAVBAR --- */
    .navbar-apure {
      background: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      padding: 0.8rem 0;
    }

    .flag-line {
      height: 4px;
      width: 100%;
      background: linear-gradient(to right, var(--apure-yellow) 33%, var(--apure-blue) 33%, var(--apure-blue) 66%, var(--apure-green) 66%);
    }

    /* --- HERO SECTION --- */
    .hero-section {
      position: relative;
      background: url('./../../img/fondoColeo.jpg') no-repeat center center/cover;
      height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(rgba(0, 51, 153, 0.6), rgba(0, 0, 0, 0.8));
    }

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

    .hero-title {
      font-size: 2.5rem;
      text-transform: uppercase;
      font-weight: 900;
      text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
      margin-bottom: 15px;
    }

    /* --- TARJETAS EVENTOS (COMPACTAS) --- */
    .event-card {
      background: #fff;
      border: none;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .event-card:hover {
      transform: translateY(-5px);
    }

    .card-img-wrapper {
      position: relative;
      width: 100%;
      padding-top: 100%;
      /* Cuadrado 1:1 */
      background: #eee;
    }

    .card-img-top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-badges {
      position: absolute;
      top: 10px;
      right: 10px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .badge-apure {
      background: var(--apure-yellow);
      color: var(--apure-blue);
      font-weight: 800;
      font-size: 0.7rem;
      padding: 4px 8px;
      border-radius: 4px;
    }

    .card-body {
      padding: 12px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .event-title {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--apure-blue);
      margin-bottom: 5px;
      text-transform: uppercase;
    }

    .detail-row {
      font-size: 0.8rem;
      color: #555;
      margin-bottom: 3px;
      display: flex;
      align-items: center;
    }

    .detail-row i {
      color: var(--apure-green);
      width: 18px;
      margin-right: 2px;
    }

    .card-actions {
      margin-top: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5px;
      padding-top: 10px;
    }

    .btn-outline-custom {
      border: 1px solid var(--apure-blue);
      color: var(--apure-blue);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 5px;
      border-radius: 6px;
    }

    .btn-fill-custom {
      background: var(--apure-blue);
      color: white;
      border: none;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 5px;
      border-radius: 6px;
    }

    /* --- TABLA DE POSICIONES --- */
    .ranking-section {
      background: white;
      border-radius: 15px;
      padding: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      margin-bottom: 50px;
    }

    .table-custom thead {
      background-color: var(--apure-blue);
      color: white;
    }

    .table-custom th {
      border: none;
      text-transform: uppercase;
      font-size: 0.85rem;
      padding: 12px;
    }

    .table-custom td {
      vertical-align: middle;
      font-size: 0.9rem;
      border-bottom: 1px solid #eee;
    }

    .pos-circle {
      width: 30px;
      height: 30px;
      background: var(--apure-yellow);
      color: var(--apure-blue);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      margin: 0 auto;
    }

    /* --- MARQUEE --- */
    .marquee-container {
      background: white;
      border-bottom: 1px solid #eee;
      padding: 15px 0;
    }

    .marquee-content img {
      height: 50px;
      margin: 0 20px;
    }

    /* --- FOOTER NUEVO --- */
    .footer-section {
      background-color: #111;
      color: white;
    }

    .footer-top {
      background-color: var(--apure-blue);
      /* Fondo Azul Institucional */
      padding: 40px 0;
      position: relative;
    }

    .footer-brand h4 {
      font-weight: 900;
      letter-spacing: -1px;
    }

    /* Botón Instagram Flotante */
    .btn-insta-footer {
      background: white;
      color: #333;
      font-weight: bold;
      border-radius: 50px;
      padding: 10px 25px;
      transition: 0.3s;
      display: inline-flex;
      align-items: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .btn-insta-footer i {
      background: var(--instagram-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 1.5rem;
      margin-right: 10px;
    }

    .btn-insta-footer:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      background: #f8f9fa;
      color: #000;
    }

    .footer-bottom {
      background-color: #050505;
      padding: 20px 0;
      font-size: 0.8rem;
      color: #777;
    }

    .dev-credit {
      color: var(--apure-yellow);
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 1px;
    }