/* css/global.css */

:root {
    --glow-blue: rgba(0, 153, 255, 0.35);
    --glow-red: rgba(255, 31, 55, 0.35);
    --glow-amber: rgba(255, 170, 0, 0.35);
    --bg-deep: #0a0c12;
    --bg-card: #11161f;
    --border-muted: rgba(255, 255, 255, 0.06);
    --accent-blue: #0099FF;
    --accent-red: #ff1f37;
}

/* Odaklanma çerçevesi ve tıklama/dokunma parlamalarını kaldırma */
button:focus, 
button:active, 
button:focus-visible,
a:focus,
a:active,
a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

body {
    position: relative;
    font-family: 'Inter', sans-serif;
    background: #06080d;
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
    opacity: 0;
    animation: bodyFadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Dinamik ve Akıcı Arka Plan Glow Efektleri (GPU Hızlandırmalı) */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 65vw;
    height: 65vw;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(130px);
    opacity: 0.12;
    mix-blend-mode: screen;
    will-change: transform;
}

body::before {
    top: -15vw;
    left: -15vw;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.4) 0%, rgba(0, 153, 255, 0) 70%);
    animation: blueGlowMove 28s infinite alternate ease-in-out;
}

body::after {
    bottom: -15vw;
    right: -15vw;
    background: radial-gradient(circle, rgba(255, 31, 55, 0.3) 0%, rgba(255, 31, 55, 0) 70%);
    animation: redGlowMove 32s infinite alternate ease-in-out;
}

@keyframes blueGlowMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10vw, 8vw) scale(1.1);
    }
    100% {
        transform: translate(-5vw, 12vw) scale(0.9);
    }
}

@keyframes redGlowMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-12vw, -10vw) scale(0.9);
    }
    100% {
        transform: translate(6vw, -5vw) scale(1.15);
    }
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

main {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

body.loaded main {
    opacity: 1;
    transform: translateY(0);
}

.badge-tooltip {
    position: relative;
    overflow: visible;
    z-index: 99999;
}

.badge-tooltip .badge-tooltip-text {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translate(-50%, 8px);
    white-space: nowrap;
    background: #ffffff;
    color: #0f172a;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: normal !important;
    text-transform: none !important;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
    pointer-events: none;
}

.badge-tooltip .badge-tooltip-text::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 50;
}

.badge-tooltip:hover .badge-tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -8px);
}

.badge-tooltip:hover .badge-tooltip-text::before {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInPage 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Arka Plan Izgarası */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* Atmosferik Parlamalar */
.ambient-glow-1 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.06) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
    pointer-events: none;
    animation: ambientFloat1 20s ease-in-out infinite;
}

.ambient-glow-2 {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 31, 55, 0.05) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    z-index: 0;
    pointer-events: none;
    animation: ambientFloat2 25s ease-in-out infinite;
}

@keyframes ambientFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translate(80px, 60px) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translate(-40px, 100px) scale(0.9);
        opacity: 0.5;
    }
}

@keyframes ambientFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(-60px, -80px) scale(1.15);
        opacity: 0.7;
    }

    66% {
        transform: translate(50px, -30px) scale(0.85);
        opacity: 0.4;
    }
}

/* Tipografi ve Fontlar */
h1,
h2,
h3,
h4,
.esport-font {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.esport-light {
    font-weight: 500;
}

.esport-bold {
    font-weight: 800;
}

.esport-black {
    font-weight: 900;
}

/* Glow Efektleri */
.glow-blue {
    text-shadow: 0 0 20px rgba(0, 153, 255, 0.4), 0 0 40px rgba(0, 153, 255, 0.15);
}

.glow-red {
    text-shadow: 0 0 20px rgba(255, 31, 55, 0.4), 0 0 40px rgba(255, 31, 55, 0.15);
}

/* Glassmorphism Kartları */
.glass-card {
    background: linear-gradient(165deg, rgba(17, 22, 31, 0.85) 0%, rgba(10, 12, 18, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    border-color: rgba(0, 153, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 153, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2), transparent 40%, transparent 60%, rgba(255, 31, 55, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Navigasyon Linkleri - Responsive Tasarım */
.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.7rem !important;
    letter-spacing: 0.03em;
    color: #64748b;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 6px !important;
}

.nav-link i {
    display: inline-block !important;
    margin-right: 2px !important;
}

nav.max-w-6xl {
    justify-content: flex-start !important;
    gap: 4px !important;
    overflow-x: auto !important;
    z-index: 30 !important;
}

#more-dropdown {
    z-index: 99999 !important;
}

#more-menu-btn i {
    color: #de0018 !important; /* Brand red */
    transition: color 0.3s ease;
}

#more-menu-btn:hover i {
    color: #ffffff !important; /* Hover state: White */
}

@media (min-width: 640px) {
    .nav-link {
        font-size: 0.72rem !important;
        padding: 6px 8px !important;
    }
    nav.max-w-6xl {
        gap: 6px !important;
    }
}

@media (min-width: 768px) {
    .nav-link {
        font-size: 0.75rem !important;
        padding: 6px 8px !important;
    }
    .nav-link i {
        display: none !important;
    }
    nav.max-w-6xl {
        justify-content: center !important;
        gap: 8px !important;
        overflow: visible !important;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
    nav.max-w-6xl {
        justify-content: center !important;
        gap: 12px !important;
        overflow: visible !important;
    }
}

@media (min-width: 1280px) {
    .nav-link {
        font-size: 0.85rem !important;
        padding: 8px 12px !important;
    }
    .nav-link i {
        display: inline-block !important;
        margin-right: 4px !important;
    }
    nav.max-w-6xl {
        justify-content: center !important;
        gap: 16px !important;
        overflow: visible !important;
    }
}

@media (min-width: 1536px) {
    .nav-link {
        font-size: 0.95rem !important;
        padding: 8px 16px !important;
    }
    .nav-link i {
        display: inline-block !important;
        margin-right: 6px !important;
    }
    nav.max-w-6xl {
        justify-content: center !important;
        gap: 22px !important;
        overflow: visible !important;
    }
}

/* Hide scrollbar utility class */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0099FF, #ff1f37, transparent);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
}

.nav-link:hover {
    color: #cbd5e1;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    width: 80%;
}

/* Canlı Rozeti */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #e00000, #990000);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

/* Yüklenme Ekranı */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.6s ease;
}

.loading-screen.hidden-loader {
    opacity: 0;
    pointer-events: none;
}

.loader-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(0, 153, 255, 0.1);
    border-top-color: #0099FF;
    animation: spin 1s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.15);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-pulse {
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Diğer Ortak Öğeler */
.stat-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.3rem 0.4rem;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(0, 153, 255, 0.05);
    border-color: rgba(0, 153, 255, 0.1);
}

.cut-line {
    border-top: 2px dashed rgba(239, 68, 68, 0.2) !important;
}

.eliminated-row {
    opacity: 0.45;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    /* İçerik taşarsa yatay scroll bar çıkarır */
    -webkit-overflow-scrolling: touch;
    /* Mobilde daha akıcı kaydırma sağlar */
}

/* Tablonun genel stilini koruması için */
.standings-table {
    width: 100%;
    min-width: 600px;
    /* Tablonun çok fazla sıkışmasını engeller */
    border-collapse: collapse;
}

/* Masaüstü görünümü (yan yana 3'lü veya 4'lü kartlar) */
.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.team-card {
    width: calc(33.333% - 20px);
    /* 3 sütunlu yapı */
}

/* Telefonlar ve Tabletler için Mobil Görünüm (768px ve altı) */
@media screen and (max-width: 768px) {
    .team-card {
        width: 100%;
        /* Kartlar mobilde ekranı tam kaplar ve alt alta dizilir */
    }
}

/* Header Z-Index Düzeltmesi (Dropdown menünün diğer elemanların arkasında kalmasını engeller) */
header.relative {
    z-index: 50 !important;
}

/* --- Canlı Sohbet (Birebir DM) Sistemi Stilleri --- */

/* Sohbet Floating Butonu - Başlangıçta Gizli */
.chat-toggle-btn {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099FF 0%, #0055aa 100%);
    border: 1px solid rgba(0, 153, 255, 0.4);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 80;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 153, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: none;
    /* JS ile giriş yapıldığında flex olarak açılır */
}

.chat-toggle-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 153, 255, 0.5), 0 0 15px rgba(0, 153, 255, 0.3);
    border-color: rgba(0, 153, 255, 0.7);
}

/* Sohbet Çekmecesi (Drawer) */
.chat-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    z-index: 90;
    background: linear-gradient(165deg, rgba(10, 12, 18, 0.98) 0%, rgba(5, 7, 10, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.chat-drawer.open {
    transform: translateX(0);
}

/* Gelen Kutusu (Inbox) Elemanları */
.chat-inbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-inbox-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.chat-inbox-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0f172a;
    flex-shrink: 0;
}

.chat-inbox-info {
    flex-grow: 1;
    min-width: 0;
}

.chat-inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.chat-inbox-username {
    font-weight: 700;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.chat-inbox-time {
    font-size: 0.7rem;
    color: #64748b;
}

.chat-inbox-lastmsg {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mesaj Balonları */
.chat-messages-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.chat-messages-container::-webkit-scrollbar {
    width: 5px;
}

.chat-messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 153, 255, 0.4);
}

.dm-bubble-sent {
    background: linear-gradient(135deg, #0099FF 0%, #0066cc 100%);
    color: white;
    border-radius: 16px 16px 0px 16px;
    padding: 8px 12px;
    font-size: 0.85rem;
    max-w: 80%;
    box-shadow: 0 2px 10px rgba(0, 153, 255, 0.15);
    position: relative;
    word-break: break-word;
}

.dm-bubble-received {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-radius: 16px 16px 16px 0px;
    padding: 8px 12px;
    font-size: 0.85rem;
    max-w: 80%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    word-break: break-word;
}

/* Arama çubuğu */
.chat-search-bar {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.1);
}

.chat-search-input {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    outline: none;
    transition: all 0.2s ease;
}

.chat-search-input:focus {
    border-color: #0099FF;
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.2);
}

/* Mesaj Silme Butonu (Balon İçinde) */
.dm-delete-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 2px;
}

.dm-row-sent:hover .dm-delete-btn,
.dm-row-received:hover .dm-delete-btn {
    opacity: 1;
}

.dm-delete-btn:hover {
    color: #ef4444;
}

/* Toast Bildirim Düzeltmesi */
.chat-toast {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 100;
    animation: slideUpFade 0.2s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sohbet Rozeti (Badge) */
.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff1f37;
    /* Kırmızı */
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #0a0c12;
    /* Temel koyu renk arka plan rengiyle uyumlu */
    box-shadow: 0 0 10px rgba(255, 31, 55, 0.6);
    font-family: 'Rajdhani', sans-serif;
    animation: badgePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.chat-badge.hidden {
    display: none !important;
}

@keyframes badgePop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Cash Icon Styling */
.cash-icon {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    margin-right: 0.15em;
    margin-top: -0.15em;
    filter: brightness(0) saturate(100%) invert(71%) sepia(50%) saturate(543%) hue-rotate(113deg) brightness(93%) contrast(88%);
}

/* --- Yönetim Kadrosu (Admin Team) Rozet ve İsim Stilleri --- */

/* FontAwesome Free kitlerinde fa-badge-check Pro olduğundan, eğer yüklenmezse
   custom SVG mask kullanarak garanti şekilde premium rozet gösteriyoruz. */
.fa-badge-check {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.36 10.27a2 2 0 0 0-.25-1.92l-.9-1.22a1 1 0 0 1-.22-.64l-.06-1.52a2 2 0 0 0-1.28-1.83l-1.42-.52a1 1 0 0 1-.58-.45L17.8 0.91a2 2 0 0 0-2.1-.88l-1.48.35a1 1 0 0 1-.72 0L12 0.03a2 2 0 0 0-2.22 0l-1.5.35a1 1 0 0 1-.72 0L6.08 0.03a2 2 0 0 0-2.1.88l-.85 1.26a1 1 0 0 1-.58.45L3.13 3.14a2 2 0 0 0-1.28 1.83l-.06 1.52a1 1 0 0 1-.22.64l-.9 1.22a2 2 0 0 0-.25 1.92l.6 1.4a1 1 0 0 1 0 .73l-.6 1.4a2 2 0 0 0 .25 1.92l.9 1.22c.1.13.17.29.22.46l.06 1.52a2 2 0 0 0 1.28 1.83l1.42.52c.17.06.32.17.43.32l.85 1.26a2 2 0 0 0 2.1.88l1.48-.35c.18-.04.36-.04.54 0l1.5.35a2 2 0 0 0 2.22 0l1.5-.35c.18-.04.36-.04.54 0l1.48.35a2 2 0 0 0 2.1-.88l.85-1.26c.11-.15.26-.26.43-.32l1.42-.52a2 2 0 0 0 1.28-1.83l.06-1.52c.05-.17.12-.33.22-.46l.9-1.22a2 2 0 0 0 .25-1.92l-.6-1.4a1 1 0 0 1 0-.73l.6-1.4zM9.5 16.5l-4-4 1.41-1.41L9.5 13.67l7.59-7.59L18.5 7.5l-9 9z'/></svg>") no-repeat 50% 50%;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.36 10.27a2 2 0 0 0-.25-1.92l-.9-1.22a1 1 0 0 1-.22-.64l-.06-1.52a2 2 0 0 0-1.28-1.83l-1.42-.52a1 1 0 0 1-.58-.45L17.8 0.91a2 2 0 0 0-2.1-.88l-1.48.35a1 1 0 0 1-.72 0L12 0.03a2 2 0 0 0-2.22 0l-1.5.35a1 1 0 0 1-.72 0L6.08 0.03a2 2 0 0 0-2.1.88l-.85 1.26a1 1 0 0 1-.58.45L3.13 3.14a2 2 0 0 0-1.28 1.83l-.06 1.52a1 1 0 0 1-.22.64l-.9 1.22a2 2 0 0 0-.25 1.92l.6 1.4a1 1 0 0 1 0 .73l-.6 1.4a2 2 0 0 0 .25 1.92l.9 1.22c.1.13.17.29.22.46l.06 1.52a2 2 0 0 0 1.28 1.83l1.42.52c.17.06.32.17.43.32l.85 1.26a2 2 0 0 0 2.1.88l1.48-.35c.18-.04.36-.04.54 0l1.5.35a2 2 0 0 0 2.22 0l1.5-.35c.18-.04.36-.04.54 0l1.48.35a2 2 0 0 0 2.1-.88l.85-1.26c.11-.15.26-.26.43-.32l1.42-.52a2 2 0 0 0 1.28-1.83l.06-1.52c.05-.17.12-.33.22-.46l.9-1.22a2 2 0 0 0 .25-1.92l-.6-1.4a1 1 0 0 1 0-.73l.6-1.4zM9.5 16.5l-4-4 1.41-1.41L9.5 13.67l7.59-7.59L18.5 7.5l-9 9z'/></svg>") no-repeat 50% 50%;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}

/* Kırmızı/Amber Teması (Co-Founder & Admin) */
.admin-name-red {
    background: linear-gradient(135deg, #ff1414 0%, #ff0000 50%, #c50000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(255, 61, 90, 0.3));
    transition: filter 0.3s ease;
}

.admin-card:hover .admin-name-red {
    filter: drop-shadow(0 0 12px rgba(255, 61, 90, 0.7));
}

.admin-badge-red {
    color: #ff0000;
    filter: drop-shadow(0 0 4px rgba(255, 34, 34, 0.6));
    animation: glowRedPulse 2s infinite alternate;
}

/* Mavi/Indigo Teması (Moderatör & Admin) */
.admin-name-blue {
    background: linear-gradient(135deg, #00d2ff 0%, #0099ff 50%, #6f00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.3));
    transition: filter 0.3s ease;
}

.admin-card:hover .admin-name-blue {
    filter: drop-shadow(0 0 12px rgba(0, 153, 255, 0.7));
}

.admin-badge-blue {
    color: #00b0ff;
    filter: drop-shadow(0 0 4px rgba(0, 176, 255, 0.6));
    animation: glowBluePulse 2s infinite alternate;
}

/* Mor/Pembe Teması (Topluluk / Caster) */
.admin-name-purple {
    background: linear-gradient(135deg, #d500f9 0%, #8a2be2 50%, #ff007f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.3));
    transition: filter 0.3s ease;
}

.admin-card:hover .admin-name-purple {
    filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.7));
}

.admin-badge-purple {
    color: #e040fb;
    filter: drop-shadow(0 0 4px rgba(224, 64, 251, 0.6));
    animation: glowPurplePulse 2s infinite alternate;
}

/* Turuncu/Amber Teması */
.admin-name-amber {
    background: linear-gradient(135deg, #ffab00 0%, #ff6d00 50%, #ff3d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(255, 171, 0, 0.3));
    transition: filter 0.3s ease;
}

.admin-card:hover .admin-name-amber {
    filter: drop-shadow(0 0 12px rgba(255, 171, 0, 0.7));
}

.admin-badge-amber {
    color: #ffab00;
    filter: drop-shadow(0 0 4px rgba(255, 171, 0, 0.6));
    animation: glowAmberPulse 2s infinite alternate;
}

@keyframes glowAmberPulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 171, 0, 0.4));
        opacity: 0.85;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(255, 109, 0, 0.9));
        opacity: 1;
    }
}

/* Yeşil/Emerald Teması */
.admin-name-emerald {
    background: linear-gradient(135deg, #00e676 0%, #00c853 50%, #00b0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.3));
    transition: filter 0.3s ease;
}

.admin-card:hover .admin-name-emerald {
    filter: drop-shadow(0 0 12px rgba(0, 230, 118, 0.7));
}

.admin-badge-emerald {
    color: #00e676;
    filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.6));
    animation: glowEmeraldPulse 2s infinite alternate;
}

@keyframes glowEmeraldPulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 230, 118, 0.4));
        opacity: 0.85;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.9));
        opacity: 1;
    }
}

@keyframes glowRedPulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 87, 34, 0.4));
        opacity: 0.85;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(255, 61, 90, 0.9));
        opacity: 1;
    }
}

@keyframes glowBluePulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 176, 255, 0.4));
        opacity: 0.85;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.9));
        opacity: 1;
    }
}

@keyframes glowPurplePulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(224, 64, 251, 0.4));
        opacity: 0.85;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.9));
        opacity: 1;
    }
}

/* Custom verified badge styling to support fa-badge-check */
.fa-badge-check {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-color: currentColor;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0c-16.5 0-32.3 6.5-44 18L189.3 40.7c-7.6 7.6-18 11.9-28.7 11.9H125.3c-33 0-59.7 26.7-59.7 59.7V147c0 10.7-4.3 21-11.9 28.7L30 198.3c-23 23-23 60.3 0 83.3l23.7 22.7c7.6 7.6 11.9 18 11.9 28.7v34.7c0 33 26.7 59.7 59.7 59.7H160.7c10.7 0 21 4.3 28.7 11.9l22.7 23.7c23 23 60.3 23 83.3 0l22.7-23.7c7.6-7.6 18-11.9 28.7-11.9h34.7c33 0 59.7-26.7 59.7-59.7V363.3c0-10.7 4.3-21 11.9-28.7l23.7-22.7c23-23 23-60.3 0-83.3l-23.7-22.7c-7.6-7.6-11.9-18-11.9-28.7V112.3c0-33-26.7-59.7-59.7-59.7H351.3c-10.7 0-21-4.3-28.7-11.9L300 18C288.3 6.5 272.5 0 256 0zm97 225L225 353c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L319.1 191c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/></svg>") no-repeat 50% 50%;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0c-16.5 0-32.3 6.5-44 18L189.3 40.7c-7.6 7.6-18 11.9-28.7 11.9H125.3c-33 0-59.7 26.7-59.7 59.7V147c0 10.7-4.3 21-11.9 28.7L30 198.3c-23 23-23 60.3 0 83.3l23.7 22.7c7.6 7.6 11.9 18 11.9 28.7v34.7c0 33 26.7 59.7 59.7 59.7H160.7c10.7 0 21 4.3 28.7 11.9l22.7 23.7c23 23 60.3 23 83.3 0l22.7-23.7c7.6-7.6 18-11.9 28.7-11.9h34.7c33 0 59.7-26.7 59.7-59.7V363.3c0-10.7 4.3-21 11.9-28.7l23.7-22.7c23-23 23-60.3 0-83.3l-23.7-22.7c-7.6-7.6-11.9-18-11.9-28.7V112.3c0-33-26.7-59.7-59.7-59.7H351.3c-10.7 0-21-4.3-28.7-11.9L300 18C288.3 6.5 272.5 0 256 0zm97 225L225 353c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L319.1 191c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/></svg>") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    vertical-align: middle;
}

/* --- RLST Profil Özelleştirme & Mağaza Stilleri --- */

/* Çerçeve Konteyner ve Genel Avatar Yapısı */
.avatar-frame-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.avatar-frame-container.active-frame {
    padding: 2.5px;
}

.avatar-frame-container img {
    display: block;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #0f172a;
}

.avatar-frame-container.active-frame img {
    border: 2px solid #0a0c12;
    /* Çerçevenin altındaki arka planı gizler */
}

/* Neon Mavi Çerçeve */
.avatar-frame-neon-blue {
    background: #0099FF;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.6);
    animation: frameNeonBluePulse 5s ease-in-out infinite alternate;
}

@keyframes frameNeonBluePulse {
    0% {
        box-shadow: 0 0 8px rgba(0, 153, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 25px rgba(0, 153, 255, 0.85);
    }
}

/* Neon Kırmızı Çerçeve */
.avatar-frame-neon-red {
    background: #ff1f37;
    box-shadow: 0 0 15px rgba(255, 31, 55, 0.6);
    animation: frameNeonRedPulse 5s ease-in-out infinite alternate;
}

@keyframes frameNeonRedPulse {
    0% {
        box-shadow: 0 0 8px rgba(255, 31, 55, 0.3);
    }

    100% {
        box-shadow: 0 0 25px rgba(255, 31, 55, 0.85);
    }
}

/* RGB Rainbow Dönüşlü Çerçeve */
.avatar-frame-rainbow {
    background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
    background-size: 300% 300%;
    animation: frameRgbShift 10s linear infinite;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.4);
}

@keyframes frameRgbShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Cyberpunk Titreyen Çerçeve */
.avatar-frame-cyberpunk {
    background: repeating-linear-gradient(45deg, #ff007f, #ff007f 10px, #00f0ff 10px, #00f0ff 20px);
    animation: frameCyberpunkShift 5s linear infinite;
    box-shadow: 0 0 18px rgba(255, 0, 127, 0.5);
}

@keyframes frameCyberpunkShift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}

/* Şampiyon Altın Çerçeve */
.avatar-frame-gold {
    background: linear-gradient(135deg, #ffe066, #f5b041, #d4ac0d, #ffe066);
    background-size: 200% 200%;
    animation: frameGoldShift 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(245, 176, 65, 0.5);
}

@keyframes frameGoldShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Zümrüt Yeşil Çerçeve */
.avatar-frame-emerald {
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    animation: frameEmeraldPulse 5s ease-in-out infinite alternate;
}

@keyframes frameEmeraldPulse {
    0% {
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    }

    100% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.85);
    }
}

/* Karanlık Madde Çerçevesi */
.avatar-frame-dark-matter {
    background: linear-gradient(135deg, #4c1d95, #7e22ce, #c084fc, #4c1d95);
    background-size: 200% 200%;
    animation: frameDarkMatterShift 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(126, 34, 206, 0.7);
}

@keyframes frameDarkMatterShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Platin Yıldız Çerçevesi */
.avatar-frame-platinum {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1, #ffffff, #e2e8f0);
    background-size: 200% 200%;
    animation: framePlatinumShift 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

@keyframes framePlatinumShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Alevli Lav Çerçevesi */
.avatar-frame-fire {
    background: linear-gradient(90deg, #ea580c, #f97316, #ef4444, #ea580c);
    background-size: 250% 250%;
    animation: frameFireShift 6s ease-in-out infinite alternate;
    box-shadow: 0 0 18px rgba(234, 88, 12, 0.7);
}

@keyframes frameFireShift {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 12px rgba(234, 88, 12, 0.5);
    }

    100% {
        background-position: 100% 50%;
        box-shadow: 0 0 28px rgba(239, 68, 68, 0.9);
    }
}

/* Ultrasonik Dalga Çerçevesi */
.avatar-frame-ultra-wave {
    background: linear-gradient(135deg, #00c6ff, #3a7bd5, #00f5a0);
    background-size: 300% 300%;
    animation: frameUltraWave 8s ease-in-out infinite;
    box-shadow: 0 0 24px rgba(0, 198, 255, 0.35);
}

@keyframes frameUltraWave {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 18px rgba(0, 198, 255, 0.3);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 30px rgba(0, 245, 160, 0.7);
    }

    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 18px rgba(0, 198, 255, 0.3);
    }
}

/* Tekno Parıltı Çerçevesi */
.avatar-frame-techno {
    background: radial-gradient(circle at top left, rgba(0, 255, 255, 0.8), transparent 25%),
        radial-gradient(circle at bottom right, rgba(255, 0, 255, 0.8), transparent 25%),
        linear-gradient(135deg, #0f172a, #1e293b);
    background-blend-mode: screen;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.25), 0 0 28px rgba(255, 0, 255, 0.25);
    animation: frameTechnoPulse 5s ease-in-out infinite alternate;
}

@keyframes frameTechnoPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 16px rgba(0, 255, 255, 0.2), 0 0 24px rgba(255, 0, 255, 0.2);
    }

    100% {
        transform: scale(1.03);
        box-shadow: 0 0 22px rgba(0, 255, 255, 0.35), 0 0 34px rgba(255, 0, 255, 0.35);
    }
}

/* Kozmik İz Çerçevesi */
.avatar-frame-cosmic {
    background: linear-gradient(135deg, #2e026d, #5a189a, #7c3aed, #0ea5e9);
    background-size: 250% 250%;
    animation: frameCosmicGlare 7s ease-in-out infinite;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes frameCosmicGlare {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 28px rgba(124, 58, 237, 0.55);
    }

    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
    }
}

/* --- İsim Işıltıları (Name Glows) --- */

.name-glow-rainbow {
    background: linear-gradient(to right, #ff007f, #7f00ff, #00f0ff, #ff007f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textRgbShift 6s linear infinite;
    font-weight: 800;
    filter: drop-shadow(0 0 2px rgba(127, 0, 255, 0.3));
}

@keyframes textRgbShift {
    to {
        background-position: 200% center;
    }
}

.name-glow-fire {
    color: #ff6600 !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.3);
    animation: nameFirePulse 3.5s infinite alternate;
}

@keyframes nameFirePulse {
    0% {
        text-shadow: 0 0 6px rgba(255, 102, 0, 0.5), 0 0 15px rgba(255, 0, 0, 0.2);
    }

    100% {
        text-shadow: 0 0 14px rgba(255, 102, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.5);
    }
}

.name-glow-emerald {
    color: #10b981 !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: nameEmeraldPulse 3.5s infinite alternate;
}

@keyframes nameEmeraldPulse {
    0% {
        text-shadow: 0 0 5px rgba(16, 185, 129, 0.4), 0 0 10px rgba(16, 185, 129, 0.2);
    }

    100% {
        text-shadow: 0 0 15px rgba(16, 185, 129, 0.8), 0 0 25px rgba(16, 185, 129, 0.5);
    }
}

.name-glow-purple {
    color: #c084fc !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.6);
    animation: namePurplePulse 3.5s infinite alternate;
}

@keyframes namePurplePulse {
    0% {
        text-shadow: 0 0 5px rgba(192, 132, 252, 0.4), 0 0 10px rgba(192, 132, 252, 0.2);
    }

    100% {
        text-shadow: 0 0 15px rgba(192, 132, 252, 0.8), 0 0 25px rgba(192, 132, 252, 0.5);
    }
}

.name-glow-cyber {
    background: linear-gradient(to right, #00f0ff, #ff007f, #00f0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textRgbShift 5s linear infinite;
    font-weight: 800;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.5));
}

.name-glow-wave {
    background: linear-gradient(to right, #0099ff, #00f0ff, #0055ff, #0099ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textRgbShift 5.5s linear infinite;
    font-weight: 800;
    filter: drop-shadow(0 0 3px rgba(0, 153, 255, 0.4));
}

.name-glow-gold {
    background: linear-gradient(to right, #ffe066, #f5b041, #ffe066);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textRgbShift 5s linear infinite;
    font-weight: 800;
    filter: drop-shadow(0 0 4px rgba(245, 176, 65, 0.6));
}

/* --- Özel Unvanlar (Titles) --- */

.user-custom-title {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 900;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Özel Unvan Tasarımları */
.title-legend {
    background: linear-gradient(135deg, rgba(245, 176, 65, 0.15) 0%, rgba(245, 176, 65, 0.05) 100%);
    border-color: rgba(245, 176, 65, 0.3);
    color: #f5b041;
    text-shadow: 0 0 5px rgba(245, 176, 65, 0.3);
}

.title-champion {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
    text-shadow: 0 0 5px rgba(168, 85, 247, 0.3);
}

.title-joker {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.3);
}

/* --- Coin Göstergesi (Coin Badge) --- */

.coin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.coin-badge:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.18);
    transform: translateY(-1px);
}

.coin-badge i {
    animation: coinSpin 4s linear infinite;
}

@keyframes coinSpin {

    0%,
    90% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* Mağaza Sayfası Kartları İçin Glow Efektleri */
.shop-card-hover:hover {
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.15);
}

/* --- Ana Sayfa Video Hero Slider --- */
.hero-slide {
    position: absolute;
    left: 24px;
    right: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .hero-slide {
        left: 64px;
        right: 64px;
    }
}

.hero-slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* --- Para ve Bakiye Sistemi (Currency & Payout System) --- */
.balance-badge-tl,
.money-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.08);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.balance-badge-tl:hover,
.money-badge:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
}



/* Para Çekme Talebi Durum Rozetleri */
.payout-status-badge {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.payout-status-badge.pending {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.payout-status-badge.approved {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.payout-status-badge.rejected {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Logo Renk Uyumu ve Efekti */
.logo-harmony {
    filter: brightness(0) saturate(100%) invert(15%) sepia(93%) saturate(7460%) hue-rotate(354deg) brightness(96%) contrast(114%) opacity(0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .logo-harmony {
    filter: brightness(0) saturate(100%) invert(15%) sepia(93%) saturate(7460%) hue-rotate(354deg) brightness(110%) contrast(114%);
    opacity: 1;
    transform: scale(1.05);
}

/* Hide number input spinner arrows */
input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input.no-spinner[type=number] {
    -moz-appearance: textfield;
}

/* --- RLST Premium Conversion Optimization --- */
@keyframes premiumGlowPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.15), 0 0 50px rgba(168, 85, 247, 0.1);
        border-color: rgba(236, 72, 153, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(236, 72, 153, 0.3), 0 0 70px rgba(168, 85, 247, 0.25);
        border-color: rgba(236, 72, 153, 0.55);
    }
}

.premium-card-glow-pulse {
    animation: premiumGlowPulse 4s infinite ease-in-out;
}

@keyframes premiumIconShimmer {
    0% {
        text-shadow: 0 0 15px rgba(236, 72, 153, 0.5), 0 0 30px rgba(236, 72, 153, 0.2);
        transform: scale(1) rotate(0deg);
    }
    50% {
        text-shadow: 0 0 25px rgba(236, 72, 153, 0.9), 0 0 50px rgba(236, 72, 153, 0.6), 0 0 15px rgba(255, 255, 255, 0.8);
        transform: scale(1.08) rotate(5deg);
    }
    100% {
        text-shadow: 0 0 15px rgba(236, 72, 153, 0.5), 0 0 30px rgba(236, 72, 153, 0.2);
        transform: scale(1) rotate(0deg);
    }
}

.premium-icon-shimmer {
    animation: premiumIconShimmer 3s infinite ease-in-out;
}

.premium-btn-optimized {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 40%, #6366f1 80%, #ec4899 100%) !important;
    background-size: 200% auto !important;
    background-position: 0% center !important;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.premium-btn-optimized:hover:not(:disabled) {
    transform: scale(1.06) translateY(-2px);
    background-position: 100% center !important;
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.8), 0 0 20px rgba(168, 85, 247, 0.55), 0 0 8px rgba(99, 102, 241, 0.45) !important;
    filter: brightness(1.15);
}

.premium-btn-optimized:active:not(:disabled) {
    transform: scale(0.98) translateY(0);
}

/* Mobile Header Badge and Profile Improvements */
@media (max-width: 640px) {
    .money-badge,
    .coin-badge,
    .balance-badge-tl {
        padding: 2.5px 5px !important;
        font-size: 0.68rem !important;
        gap: 3px !important;
    }
}

#user-profile-menu-btn img {
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Team rank icon styling - standardize messy assets */
.team-rank-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.45);
    display: inline-block;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
}

.team-rank-icon-wrapper {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.08));
    border: 1px solid rgba(255,255,255,0.03);
}

.team-rank-label {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e6eef8;
    font-size: 13px;
    display: inline-block;
    max-width: 180px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.rank-tier-bronze { color: #cd7f32; }
.rank-tier-silver { color: #c0c0c0; }
.rank-tier-gold { color: #f5c542; }
.rank-tier-platinum { color: #4fd1c5; }
.rank-tier-diamond { color: #7dd3fc; }
.rank-tier-champion { color: #ff9f1c; }
.rank-tier-grand { color: #d77fff; }
.rank-tier-legend { color: #a78bfa; }
.rank-tier-default { color: #cbd5e1; }
