  .ranking-container {
      background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
      min-height: 100vh;
  }

  .ranking-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 193, 7, 0.3);
      border-radius: 15px;
      padding: 1rem;
      margin-bottom: 1rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(10px);
      position: relative;
      overflow: hidden;
  }

  .ranking-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
      border-color: rgba(255, 193, 7, 0.6);
  }

  .ranking-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transition: left 0.5s;
  }

  .ranking-item:hover::before {
      left: 100%;
  }

  .ranking-position {
      background: linear-gradient(45deg, #ffc107, #ff8f00);
      color: #000;
      font-weight: bold;
      font-size: 1.2rem;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }

  .ranking-position.top-3 {
      background: linear-gradient(45deg, #gold, #ffdf00);
      animation: pulse-gold 2s infinite;
  }

  @keyframes pulse-gold {

      0%,
      100% {
          transform: scale(1);
          box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
      }

      50% {
          transform: scale(1.05);
          box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
      }
  }

  .anuncio-imagen {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 10px;
      border: 2px solid rgba(255, 193, 7, 0.3);
      transition: all 0.3s ease;
  }

  .anuncio-imagen:hover {
      border-color: rgba(255, 193, 7, 0.8);
      transform: scale(1.05);
  }

  .vote-buttons {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }

  .vote-btn {
      width: 45px;
      height: 45px;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
  }

  .vote-btn-up {
      background: linear-gradient(45deg, #28a745, #20c997);
      color: white;
      box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }

  .vote-btn-up:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  }

  .vote-btn-down {
      background: linear-gradient(45deg, #dc3545, #e74c3c);
      color: white;
      box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  }

  .vote-btn-down:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
  }

  .vote-btn:active {
      transform: scale(0.95);
  }

  .vote-btn.voting {
      animation: voting-pulse 0.6s ease-in-out;
  }

  @keyframes voting-pulse {

      0%,
      100% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.2);
      }
  }

  .puntuacion {
      font-size: 1.1rem;
      font-weight: bold;
      color: #ffc107;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .anuncio-info h3 {
      color: #ffc107;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
  }

  .anuncio-info h3 a {
      cursor: pointer;
      transition: color 0.3s ease;
  }

  .anuncio-info h3 a:hover {
      color: #ff8f00 !important;
      text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  }

  .anuncio-info .badge {
      font-size: 0.8rem;
      margin-right: 0.5rem;
  }

  .loading-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 9999;
  }

  .loading-spinner {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #ffc107;
      font-size: 2rem;
  }

  .ranking-header {
      text-align: center;
      margin-bottom: 3rem;
      padding: 2rem 0;
      background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
      border-radius: 20px;
      border: 1px solid rgba(255, 193, 7, 0.2);
  }

  .ranking-header h1 {
      background: linear-gradient(45deg, #ffc107, #ff8f00);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
  }

  .ranking-stats {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-top: 1rem;
  }

  .stat-item {
      text-align: center;
      color: #fff;
  }

  .stat-number {
      font-size: 1.5rem;
      font-weight: bold;
      color: #ffc107;
  }

  /* Estilos del Modal */
  .modal-content {
      background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
      border: 1px solid rgba(255, 193, 7, 0.3);
      border-radius: 15px;
  }

  .modal-header {
      border-bottom: 1px solid rgba(255, 193, 7, 0.3);
      background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
  }

  .modal-title {
      color: #ffc107;
  }

  .modal-body {
      color: #fff;
  }

  .modal-footer {
      border-top: 1px solid rgba(255, 193, 7, 0.3);
  }

  .anuncio-gallery {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 10px 0;
  }

  .anuncio-gallery img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid rgba(255, 193, 7, 0.3);
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .anuncio-gallery img:hover,
  .anuncio-gallery img.active {
      border-color: #ffc107;
      transform: scale(1.05);
  }

  .main-image {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 10px;
      border: 2px solid rgba(255, 193, 7, 0.3);
      margin-bottom: 15px;
  }

  .detail-section {
      background: rgba(255, 255, 255, 0.05);
      padding: 15px;
      border-radius: 10px;
      margin-bottom: 15px;
      border: 1px solid rgba(255, 193, 7, 0.2);
  }

  .detail-section h5 {
      color: #ffc107;
      margin-bottom: 10px;
  }

  .rating-explanation {
      background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
      border: 1px solid rgba(40, 167, 69, 0.3);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
  }

  .rating-criteria {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-top: 15px;
  }

  .criteria-item {
      background: rgba(255, 255, 255, 0.05);
      padding: 10px;
      border-radius: 8px;
      border-left: 3px solid #ffc107;
  }

  .criteria-item strong {
      color: #ffc107;
  }

  .close-btn {
      background: none;
      border: none;
      color: #ffc107;
      font-size: 1.5rem;
  }

  @media (max-width: 768px) {
      .ranking-item {
          padding: 0.8rem;
      }

      .anuncio-imagen {
          width: 60px;
          height: 60px;
      }

      .vote-btn {
          width: 40px;
          height: 40px;
          font-size: 1rem;
      }

      .ranking-header h1 {
          font-size: 2rem;
      }

      .ranking-stats {
          flex-direction: column;
          gap: 1rem;
      }

      .rating-criteria {
          grid-template-columns: 1fr;
      }
  }

  .success-animation {
      animation: success-bounce 0.6s ease-in-out;
  }

  @keyframes success-bounce {

      0%,
      100% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.1);
      }
  }

  .nacionalidad-flag {
      width: 25px;
      height: 18px;
      border-radius: 3px;
      margin-left: 0.5rem;
  }