/* 
  =========================================
  ESTILOS ESPECÍFICOS DE INDEX.HTML 
  ========================================= 
*/

/* 1. Shimmer effect for text */
@keyframes text-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-text-shimmer {
    background-size: 200% auto;
    animation: text-shimmer 5s ease-in-out infinite;
}

/* 2. Modal Scale animation */
@keyframes modalScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 3. Ranking Dinámico: Ases del Blindaje */
@keyframes medalFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-6px) rotate(2deg); }
}
@keyframes premiumShine {
    0%   { transform: translate(-100px, -200px) rotate(30deg); }
    20%  { transform: translate(500px, 400px) rotate(30deg); }
    100% { transform: translate(500px, 400px) rotate(30deg); }
}
.medal-anim-gold   { animation: medalFloat 3s ease-in-out infinite; }
.medal-anim-silver { animation: medalFloat 3.4s ease-in-out infinite 0.2s; }
.medal-anim-bronze { animation: medalFloat 3.8s ease-in-out infinite 0.4s; }
.rank-entry        { animation: rankSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Premium Shine Effect for injected SVGs */
.premium-shine {
    animation: premiumShine 4s infinite ease-in-out;
    mix-blend-mode: overlay;
}

/* Infinite Ribbon Scroll */
@keyframes scrollRibbon {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ribbon-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Gradient Mask for faded edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ribbon-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    animation: scrollRibbon 40s linear infinite;
    padding: 20px 0;
}
.ribbon-track:hover {
    animation-play-state: paused;
}
.sponsor-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 9999px; /* Force Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.2); /* slate-300/20 */
    background: rgba(248, 250, 252, 0.8); /* slate-50/80 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.dark .sponsor-circle {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.sponsor-circle:hover {
    transform: scale(1.1) translateY(-5px);
    background: white;
    border-color: #3b82f6; /* primary */
    box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.3);
}
.dark .sponsor-circle:hover {
    background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
    .sponsor-circle {
        width: 65px;
        height: 65px;
    }
    .ribbon-track {
        gap: 1.5rem;
        animation-duration: 25s;
    }
}
