.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

@keyframes slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slide-down {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}
/* Desktop modal: fade + scale */
@keyframes modal-zoom-in {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}
@keyframes modal-zoom-out {
    from { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
    to   { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
}

/* Mobil: bottom sheet */
.modal-enter-mobile { animation: slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.modal-exit-mobile  { animation: slide-down 0.25s ease-in forwards; }

/* Desktop: center zoom */
.modal-enter-desktop { animation: modal-zoom-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.modal-exit-desktop  { animation: modal-zoom-out 0.2s ease-in forwards; }

@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
.backdrop-enter { animation: fade-in  0.25s ease forwards; }
.backdrop-exit  { animation: fade-out 0.2s  ease forwards; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }

.match-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.match-card:active { transform: scale(0.97); }

.flag-icon {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    box-shadow: none;
    filter: none;
    padding: 0;
}

.league-tab {
    background: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    padding: 0.55rem;
    border-radius: 1rem;
    width: 4.8rem;
    height: 4.8rem;
    transition: all 0.2s ease;
}

.league-tab:hover {
    border-color: rgba(255, 255, 255, 0.70) !important;
    transform: translateY(-2px);
}

/* Desktop hover efekti */
@media (min-width: 768px) {
    .match-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    }
}

/* Arka plan deseni (desktop) */
.bg-grid {
    background-color: #07080a;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
}

.gold-glow {
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}
.emerald-glow {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

/* Toast Bildirim Sistemi */
@keyframes toast-slide-in {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
@keyframes toast-slide-out {
    from { transform: translateY(0);     opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; }
}
.toast-enter { animation: toast-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.toast-exit  { animation: toast-slide-out 0.25s ease-in forwards; }

/* Login.html eklentileri */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.08);
        border-color: rgba(245, 158, 11, 0.35);
    }
    50% { 
        box-shadow: 0 0 50px rgba(245, 158, 11, 0.45), 0 0 100px rgba(245, 158, 11, 0.2);
        border-color: rgba(245, 158, 11, 0.7);
    }
}
.glow-box { animation: pulse-glow 3s ease-in-out infinite; }

@keyframes float-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.float-in { animation: float-in 0.6s ease-out forwards; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}
.shake { animation: shake 0.4s ease-in-out; }
