@font-face {
    font-family: 'Minecraft';
    src: url('Minecraft.ttf') format('truetype'),
         url('./Minecraft.ttf') format('truetype'),
         url('/Minecraft.ttf') format('truetype'),
         url('minecraft/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #7C3AED;
    --grad-1: linear-gradient(135deg, #8B5CF6, #A78BFA);
    --grad-2: linear-gradient(135deg, #7C3AED, #8B5CF6);
    --grad-4: linear-gradient(135deg, #8B5CF6, #C4B5FD);
    --grad-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --text-main: #e8e8f0;
    --text-soft: #a0a0b8;
    --text-dim: #6b6b85;
    --radius: 14px;
    --radius-lg: 20px;
    --font-body: 'Chakra Petch', sans-serif;
    --bg-card: linear-gradient(145deg, rgba(20, 20, 30, 0.95), rgba(10, 10, 15, 0.97));
}

body, p, h1, h2, h3, h4, h5, span, a, button, input, select, textarea, div, li, label {
    font-family: var(--font-body);
}

i.fas, i.fab, i.far, i.fal, i.fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

html {
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #0a0a0f;
}

body {
    font-size: 18px;
    background: transparent;
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0) 50%),
                radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

::selection {
    background: var(--purple);
    color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb {
    background: var(--purple-dark);
    border-radius: 5px;
    border: 2px solid #0a0a0f;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

a {
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--purple);
    text-decoration: underline;
}

ul {
    padding-left: 20px;
    list-style: none;
}
li { margin-bottom: 8px; }

button, input, select, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

header {
    background: rgba(10, 10, 15, 0.98);
    min-height: 110px;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-left img {
    height: 105px;
    width: auto;
    border: none;
    box-shadow: none;
    background: none;
    pointer-events: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transition: all 0.3s;
    cursor: pointer;
}

.header-left img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 0;
}

.nav-auth-group { display: flex; align-items: center; gap: 6px; }
.nav-top { display: flex; align-items: center; gap: 3px; }
.nav-bottom { display: flex; align-items: center; gap: 6px; }

.nav-link {
    color: var(--text-soft);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(139, 92, 246, 0.1);
    text-decoration: none;
}

.nav-link.active {
    color: var(--purple-light);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.nav-link i.fa-chevron-down {
    font-size: 0.6rem;
    margin-left: 5px;
    transition: transform 0.2s;
}
.dropdown-wrap.open .nav-link i.fa-chevron-down { transform: rotate(180deg); }

.nav-divider { width: 1px; height: 22px; background: rgba(139, 92, 246, 0.15); margin: 0 5px; flex-shrink: 0; }
.nav-divider-auth { width: 1px; height: 22px; background: rgba(139, 92, 246, 0.15); margin: 0 5px; flex-shrink: 0; }

.discord-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7289da;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
    cursor: pointer;
}
.discord-nav-btn i { font-size: 1rem; }
.discord-nav-btn:hover {
    background: rgba(88, 101, 42, 0.12);
    color: #8fa4f0;
    text-decoration: none;
}

.nav-auth-btn {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    min-height: 36px;
    min-width: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.nav-auth-btn.signup {
    background: var(--grad-1);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}
.nav-auth-btn.signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    text-decoration: none;
}

.nav-auth-btn.signin {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-soft);
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.nav-auth-btn.signin:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-main);
    text-decoration: none;
}

.nav-user-wrap { position: relative; }
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 4px 4px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}
.nav-user:hover { background: rgba(139, 92, 246, 0.1); }

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}
.nav-user i.fa-chevron-down {
    font-size: 0.5rem;
    color: var(--text-dim);
    transition: transform 0.2s;
}
.nav-user-wrap.open .nav-user i.fa-chevron-down { transform: rotate(180deg); }

.nav-user-dropdown, .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(16, 16, 28, 0.98);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 12px;
    padding: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    z-index: 200;
}

.nav-user-wrap.open .nav-user-dropdown,
.dropdown-wrap.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-wrap { position: relative; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.12);
    color: var(--text-main);
    text-decoration: none;
}
.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--purple-light);
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 1.05rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.hamburger:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-main);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.98);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.mobile-overlay.open { display: flex; }

.mobile-overlay .mob-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-soft);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mobile-overlay .mob-close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.mobile-overlay .mob-auth-btn, .mobile-overlay a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-soft);
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 80%;
    justify-content: center;
}
.mobile-overlay .mob-auth-btn:hover, .mobile-overlay a:hover {
    color: var(--text-main);
    background: rgba(139, 92, 246, 0.1);
    text-decoration: none;
}

.mobile-overlay .mob-sep {
    width: 60%;
    height: 1px;
    background: rgba(139, 92, 246, 0.15);
    margin: 12px 0;
}

.mobile-overlay .mob-user-info { text-align: center; margin-bottom: 8px; }
.mobile-overlay .mob-user-info .mob-uname {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}
.mobile-overlay .mob-user-info .mob-ucoins {
    font-size: 1rem;
    color: #fbbf24;
    margin-top: 4px;
}

section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    margin: 32px auto;
    max-width: 1200px;
    border: 1px solid rgba(139, 92, 246, 0.12);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    text-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}
h2::before {
    content: "";
    width: 5px;
    height: 32px;
    background: var(--grad-1);
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
h3 i { color: var(--purple-light); }

h4 {
    font-size: 1.1rem;
    margin-top: 24px;
    color: var(--purple-light);
}

li, p {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.home-section {
    padding: 64px 36px;
    text-align: center;
    border-color: rgba(139, 92, 246, 0.15);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(10, 10, 15, 0.95), rgba(139, 92, 246, 0.03));
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    letter-spacing: 2px;
    text-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.feature-card {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.9));
    border-radius: var(--radius);
    padding: 26px;
    transition: all 0.3s;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.feature-card:hover::before { opacity: 1; }

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.feature-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}
.feature-card li {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}
.feature-card li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--purple);
    position: absolute;
    left: 0;
    top: 1px;
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.kit-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.8));
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.12);
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
}
.kit-grid li:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.06));
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}
.kit-grid img {
    width: 24px;
    height: 24px;
    pointer-events: none;
    object-fit: contain;
}

.top5-section { display: block; }
.top5-section.hidden { display: none; }

.podium-wrap {
    position: relative;
    padding: 40px 40px 20px;
    margin-bottom: 32px;
    overflow: visible;
}

.podium-ambience {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    background: radial-gradient(ellipse 55% 50% at 50% 45%, rgba(75, 0, 130, 0.55) 0%, rgba(55, 30, 120, 0.35) 25%, rgba(25, 25, 75, 0.2) 50%, rgba(10, 10, 15, 0) 70%),
                radial-gradient(circle 30% at 50% 35%, rgba(139, 92, 246, 0.25) 0%, rgba(10, 10, 15, 0) 45%),
                radial-gradient(circle 20% at 50% 55%, rgba(196, 181, 253, 0.18) 0%, rgba(10, 10, 15, 0) 40%),
                linear-gradient(to bottom, transparent 0%, transparent 55%, rgba(75, 0, 130, 0.2) 65%, rgba(139, 92, 246, 0.3) 75%, rgba(75, 0, 130, 0.2) 85%, transparent 100%),
                radial-gradient(ellipse 95% 75% at 50% 50%, rgba(20, 20, 50, 0.25) 0%, rgba(10, 10, 15, 0) 80%);
}

.podium-laurel {
    position: absolute;
    bottom: -12px;
    width: 400px;
    height: 800px;
    z-index: 4;
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.45)) drop-shadow(0 0 28px rgba(196, 181, 253, 0.25)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.podium-laurel--left { left: -90px; bottom: -200px; }
.podium-laurel--right { right: -80px; bottom: -190px; }
.podium-laurel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: bottom center;
}
.podium-laurel--left img { transform: scaleX(-1); }

.podium-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: floatParticle 5s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    25% { transform: translate(10px, -15px) scale(1); opacity: 0.5; }
    50% { transform: translate(-10px, -25px) scale(0.8); opacity: 0.7; }
    75% { transform: translate(-15px, -10px) scale(1); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(0.5); opacity: 0; }
}

.podium {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: end;
    justify-items: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.podium-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    border-radius: 16px;
    cursor: pointer;
    transition: filter 0.4s, box-shadow 0.4s;
    text-decoration: none;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.podium-card.first {
    max-width: 250px;
    height: 380px;
    z-index: 3;
    background: linear-gradient(to top, #FFD700 0%, #DAA520 15%, #8B6914 30%, #0a0a0f 90%);
    border-color: #FFD700;
    justify-self: center;
}

.podium-card.second {
    max-width: 220px;
    height: 340px;
    z-index: 2;
    background: linear-gradient(to top, #E0E0E0 0%, #C0C0C0 15%, #808080 30%, #0a0a0f 90%);
    border-color: #C0C0C0;
    justify-self: end;
}

.podium-card.third {
    max-width: 200px;
    height: 320px;
    z-index: 1;
    background: linear-gradient(to top, #cd7f32 0%, #a0522d 15%, #5a2510 30%, #0a0a0f 90%);
    border-color: #cd7f32;
    justify-self: start;
}

.podium-card:hover {
    filter: brightness(1.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.podium-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28%;
    pointer-events: none;
    z-index: 3;
}
.podium-card.first::after { background: linear-gradient(to bottom, #5C4A14 0%, #3d2e0a 40%, #1a1408 70%, #050505 100%); }
.podium-card.second::after { background: linear-gradient(to bottom, #404040 0%, #2a2a2a 40%, #1a1a1a 70%, #050505 100%); }
.podium-card.third::after { background: linear-gradient(to bottom, #3a1a08 0%, #251004 40%, #150a04 70%, #050505 100%); }

.podium-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -200%;
    width: 5px;
    height: 300%;
    transform: rotate(20deg);
    animation: laserSweep 7s infinite ease-in-out;
    pointer-events: none;
    z-index: 4;
}
.podium-card.first::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 215, 0, 1) 50%, transparent 100%);
    box-shadow: 0 0 15px 3px rgba(255, 215, 0, 0.7), 0 0 30px 6px rgba(255, 215, 0, 0.35);
    animation-delay: 0s;
}
.podium-card.second::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(192, 192, 192, 1) 50%, transparent 100%);
    box-shadow: 0 0 15px 3px rgba(192, 192, 192, 0.7), 0 0 30px 6px rgba(192, 192, 192, 0.35);
    animation-delay: 2.3s;
}
.podium-card.third::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(205, 127, 50, 1) 50%, transparent 100%);
    box-shadow: 0 0 15px 3px rgba(205, 127, 50, 0.7), 0 0 30px 6px rgba(205, 127, 50, 0.35);
    animation-delay: 4.7s;
}

@keyframes laserSweep {
    0% { left: -200%; opacity: 0; }
    3% { opacity: 0.5; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    97% { opacity: 0.3; }
    100% { left: 200%; opacity: 0; }
}

.podium-name {
    position: absolute;
    top: 12px;
    left: 6px;
    right: 6px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.7);
    padding: 0 4px;
}
.podium-card.first .podium-name { font-size: 1.2rem; }
.podium-card.second .podium-name { font-size: 0.95rem; }
.podium-card.third .podium-name { font-size: 0.85rem; }

.podium-avatar {
    height: 180px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease-out;
    position: relative;
    z-index: 2;
    margin: 0 auto 110px;
    display: block;
}
.podium-card.first .podium-avatar {
    height: 210px !important;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.podium-card.second .podium-avatar {
    filter: drop-shadow(0 0 6px rgba(192, 192, 192, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.podium-card.third .podium-avatar {
    height: 165px !important;
    filter: drop-shadow(0 0 6px rgba(205, 127, 50, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.podium-card:hover .podium-avatar { transform: scale(1.1); }
.podium-avatar.cracked-skin { transform: scale(0.95); }
.podium-card:hover .podium-avatar.cracked-skin { transform: scale(1.05); }

.podium-place {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}
.podium-card.first .podium-place {
    font-size: 4.2rem;
    color: #FFD700;
    -webkit-text-fill-color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.podium-card.second .podium-place {
    font-size: 3.4rem;
    color: #E8E8E8;
    -webkit-text-fill-color: #E8E8E8;
    text-shadow: 0 0 15px rgba(232, 232, 232, 1), 0 0 30px rgba(232, 232, 232, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.podium-card.third .podium-place {
    font-size: 2.8rem;
    color: #cd7f32;
    -webkit-text-fill-color: #cd7f32;
    text-shadow: 0 0 15px rgba(205, 127, 50, 1), 0 0 30px rgba(205, 127, 50, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.trophy-icon {
    font-size: 1.8rem;
    animation: trophyShine 2.5s infinite ease-in-out;
    -webkit-text-fill-color: initial !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
}
.trophy-icon.gold { color: #FFD700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.35); }
.trophy-icon.silver { color: #E8E8E8; text-shadow: 0 0 10px rgba(232, 232, 232, 0.7), 0 0 20px rgba(232, 232, 232, 0.35); }
.trophy-icon.bronze { color: #B87333; text-shadow: 0 0 10px rgba(184, 115, 51, 0.7), 0 0 20px rgba(184, 115, 51, 0.35); }

@keyframes trophyShine {
    0%, 100% { filter: drop-shadow(0 0 2px currentColor) brightness(1); }
    50% { filter: drop-shadow(0 0 8px currentColor) brightness(1.3); }
}

.best-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fbbf24;
}

.top-list {
    list-style: none;
    padding: 0;
    margin: 32px auto 0;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.top-list-item {
    display: grid;
    grid-template-columns: 40px 50px 1.5fr 100px 100px 2fr;
    gap: 25px;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(10, 10, 15, 0.8));
    border: 1px solid rgba(139, 92, 246, 0.08);
    margin-bottom: 8px;
    transition: border-color 0.3s, background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.top-list-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04));
    border-color: rgba(139, 92, 246, 0.25);
}
.top-list-item::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -200%;
    width: 3px;
    height: 300%;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 92, 246, 0.9) 50%, transparent 100%);
    box-shadow: 0 0 12px 2px rgba(139, 92, 246, 0.5), 0 0 24px 4px rgba(139, 92, 246, 0.2);
    transform: rotate(20deg);
    animation: laserSweep 7s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}
.top-list .top-list-item:nth-child(1)::before { animation-delay: 0.9s; }
.top-list .top-list-item:nth-child(2)::before { animation-delay: 3.5s; }
.top-list .top-list-item:nth-child(1) { border-color: rgba(139, 92, 246, 0.2) !important; background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.85)) !important; }
.top-list .top-list-item:nth-child(1):hover { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(139, 92, 246, 0.35) !important; }
.top-list .top-list-item:nth-child(2) { border-color: rgba(139, 92, 246, 0.2) !important; background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.85)) !important; }
.top-list .top-list-item:nth-child(2):hover { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(139, 92, 246, 0.35) !important; }
.top-list-item > * { position: relative; z-index: 1; }
.top-list-item .rank-num {
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--grad-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}
.top-list-item .player-cell { display: flex; align-items: center; gap: 14px; }
.top-list-item .player-cell div { display: flex; flex-direction: column; }
.top-list-item .player-cell img {
    width: 40px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.15)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
}
.top-list-item:hover .player-cell img { transform: scale(1.1); }
.top-list-item:hover .player-cell img.cracked-skin { transform: scale(1.05); }
.top-list-item > img { transition: transform 0.3s; }
.top-list-item:hover > img { transform: scale(1.1); }
.top-list-item:hover > img.cracked-skin { transform: scale(1.05); }
.top-list-item .player-cell img.cracked-skin { width: 38px !important; height: 76px !important; margin: 0 1px; }
.top-list-item .p-name { color: var(--text-main); font-weight: 600; font-size: 1rem; }
.top-list-item .p-rank { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; margin-top: 2px; }
.top-list-item .p-tier { font-size: 0.75rem; color: var(--purple-light); font-weight: 600; margin-top: 1px; text-transform: uppercase; }
.top-list-item .region-tag {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.06));
    color: var(--purple-light);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
    justify-self: center;
}
.top-list-item .lb-pts {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--grad-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    justify-self: center;
}
.top-list-item .lb-pts img { width: 20px; height: 20px; object-fit: contain; }
.top-list-item .tiers-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.top-list-item .tier-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.02));
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}
.top-list-item .tier-badge img { width: 22px; height: 22px; pointer-events: none; object-fit: contain; }
.top-list-item .tier-badge .t-text { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }

.lb-empty { color: var(--text-dim); text-align: center; padding: 32px; font-size: 1rem; }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.staff-card {
    position: relative;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.06), rgba(10, 10, 15, 0.9));
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.12);
    transition: all 0.3s;
    cursor: pointer;
    overflow: hidden;
}
.staff-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-1);
    opacity: 0;
    transition: opacity 0.3s;
}
.staff-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -200%;
    width: 3px;
    height: 300%;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 92, 246, 0.9) 50%, transparent 100%);
    box-shadow: 0 0 12px 2px rgba(139, 92, 246, 0.5);
    transform: rotate(20deg);
    animation: laserSweep 7s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}
.staff-card > * { position: relative; z-index: 1; }
.staff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.staff-card:hover::before { opacity: 1; }
.staff-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    object-fit: cover;
    display: block;
    transition: all 0.3s;
}
.staff-card:hover .staff-avatar {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.staff-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}
.staff-rank {
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.lb-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 14px 36px;
    background: var(--grad-1);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 50px;
    min-width: 240px;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}
.lb-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    text-decoration: none;
}
.lb-toggle-center { text-align: center; }
#top5-section .lb-toggle-center { margin-top: 60px; margin-bottom: 20px; }
.full-lb { display: none; }
.full-lb.active { display: block; }

.kit-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
#sub-kit-filter { margin-bottom: 28px; }
.kit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.8));
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 110px;
    min-height: 42px;
    letter-spacing: 0.5px;
}
.kit-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    color: var(--text-main);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}
.kit-btn.active {
    background: var(--grad-1);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}
.kit-btn img { width: 18px; height: 18px; pointer-events: none; object-fit: contain; }

.lb-table-head, .lb-table-row {
    display: grid;
    grid-template-columns: 40px 1.5fr 100px 100px 2fr;
    gap: 25px;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(10, 10, 15, 0.8));
    border: 1px solid rgba(139, 92, 246, 0.08);
    margin-bottom: 8px;
    transition: border-color 0.3s, background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.lb-table-head {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.03));
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: default;
}
.lb-table-head > * { z-index: 1; position: relative; }
.lb-table-head span:nth-child(3), .lb-table-head span:nth-child(4), .lb-table-head span:nth-child(5) { text-align: center; }

.lb-table-row > * { position: relative; z-index: 1; }
#lb-full-list .lb-table-row:nth-child(-n+5)::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -200%;
    width: 3px;
    height: 300%;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 92, 246, 0.9) 50%, transparent 100%);
    box-shadow: 0 0 12px 2px rgba(139, 92, 246, 0.5), 0 0 24px 4px rgba(139, 92, 246, 0.2);
    transform: rotate(20deg);
    animation: laserSweep 7s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}
#lb-full-list .lb-table-row:nth-child(1) { border-color: rgba(255, 215, 0, 0.3) !important; background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(10, 10, 15, 0.85)) !important; }
#lb-full-list .lb-table-row:nth-child(1):hover { background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(255, 215, 0, 0.45) !important; }
#lb-full-list .lb-table-row:nth-child(1)::before { background: linear-gradient(to bottom, transparent 0%, rgba(255, 215, 0, 1) 50%, transparent 100%); box-shadow: 0 0 12px 2px rgba(255, 215, 0, 0.6), 0 0 24px 4px rgba(255, 215, 0, 0.25); animation-delay: 0s; }
#lb-full-list .lb-table-row:nth-child(2) { border-color: rgba(232, 232, 232, 0.3) !important; background: linear-gradient(135deg, rgba(232, 232, 232, 0.06), rgba(10, 10, 15, 0.85)) !important; }
#lb-full-list .lb-table-row:nth-child(2):hover { background: linear-gradient(135deg, rgba(232, 232, 232, 0.12), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(232, 232, 232, 0.45) !important; }
#lb-full-list .lb-table-row:nth-child(2)::before { background: linear-gradient(to bottom, transparent 0%, rgba(232, 232, 232, 1) 50%, transparent 100%); box-shadow: 0 0 12px 2px rgba(232, 232, 232, 0.6), 0 0 24px 4px rgba(232, 232, 232, 0.25); animation-delay: 1.9s; }
#lb-full-list .lb-table-row:nth-child(3) { border-color: rgba(184, 115, 51, 0.3) !important; background: linear-gradient(135deg, rgba(184, 115, 51, 0.06), rgba(10, 10, 15, 0.85)) !important; }
#lb-full-list .lb-table-row:nth-child(3):hover { background: linear-gradient(135deg, rgba(184, 115, 51, 0.12), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(184, 115, 51, 0.45) !important; }
#lb-full-list .lb-table-row:nth-child(3)::before { background: linear-gradient(to bottom, transparent 0%, rgba(184, 115, 51, 1) 50%, transparent 100%); box-shadow: 0 0 12px 2px rgba(184, 115, 51, 0.6), 0 0 24px 4px rgba(184, 115, 51, 0.25); animation-delay: 4.1s; }
#lb-full-list .lb-table-row:nth-child(4) { border-color: rgba(139, 92, 246, 0.2) !important; background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.85)) !important; }
#lb-full-list .lb-table-row:nth-child(4):hover { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(139, 92, 246, 0.35) !important; }
#lb-full-list .lb-table-row:nth-child(4)::before { animation-delay: 0.5s; }
#lb-full-list .lb-table-row:nth-child(5) { border-color: rgba(139, 92, 246, 0.2) !important; background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.85)) !important; }
#lb-full-list .lb-table-row:nth-child(5):hover { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04)) !important; border-color: rgba(139, 92, 246, 0.35) !important; }
#lb-full-list .lb-table-row:nth-child(5)::before { animation-delay: 3.3s; }
.lb-table-row:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.04));
    border-color: rgba(139, 92, 246, 0.25);
}
#lb-full-list .lb-table-row:nth-child(1) .player-cell img { filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
#lb-full-list .lb-table-row:nth-child(2) .player-cell img { filter: drop-shadow(0 0 6px rgba(192, 192, 192, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
#lb-full-list .lb-table-row:nth-child(3) .player-cell img { filter: drop-shadow(0 0 6px rgba(205, 127, 50, 0.35)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }

.lb-pts {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--grad-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    justify-self: center;
}
.lb-pts img { width: 20px; height: 20px; object-fit: contain; }

.search-box {
    margin-bottom: 28px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.search-box input {
    width: 100%;
    padding: 14px 50px 14px 22px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.8));
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s;
}
.search-box input:focus {
    outline: 0;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.1rem;
}

.rank-num {
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--grad-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.player-cell { display: flex; align-items: center; gap: 14px; }
.player-cell div { display: flex; flex-direction: column; }
.player-cell img {
    width: 40px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    pointer-events: none;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.15)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.player-cell img.cracked-skin { width: 38px !important; height: 76px !important; margin: 0 1px; }
.lb-table-row:hover .player-cell img { transform: scale(1.1); }
.lb-table-row:hover .player-cell img.cracked-skin { transform: scale(1.05); }

.p-name { color: var(--text-main); font-weight: 600; font-size: 1rem; }
.p-rank { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; margin-top: 2px; }
.p-tier { font-size: 0.75rem; color: var(--purple-light); font-weight: 600; margin-top: 1px; text-transform: uppercase; }

.region-tag {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.06));
    color: var(--purple-light);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
    justify-self: center;
}

.tiers-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tier-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.02));
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.tier-badge:hover { border-color: rgba(139, 92, 246, 0.25); }
.tier-badge img { width: 22px; height: 22px; pointer-events: none; object-fit: contain; }
.tier-badge .t-text { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }
.tier-badge.hot { background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(251, 146, 60, 0.06)); border: 1px solid rgba(251, 146, 60, 0.18); }
.tier-badge.hot .t-text { color: #fb923c; }
.tier-badge.retired { background: linear-gradient(135deg, rgba(156, 163, 175, 0.18), rgba(156, 163, 175, 0.07)); border: 1px solid rgba(156, 163, 175, 0.22); }
.tier-badge.retired .t-text { color: #9ca3af; }

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.98), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    z-index: 9999;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    color: var(--text-main);
    text-align: center;
    animation: modalZoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal.closing { animation: modalZoomOut 0.2s ease forwards; }

.player-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.98), rgba(10, 10, 15, 0.99));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
    z-index: 9999;
    width: 94%;
    max-width: 950px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    color: var(--text-main);
    text-align: left;
    animation: modalZoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.player-modal.closing { animation: modalZoomOut 0.2s ease forwards; }

@keyframes modalZoomIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes modalZoomOut {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 10;
}
.modal-x:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

.pm-header { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; margin-bottom: 20px; }
.pm-skin-wrap { text-align: center; position: relative; }
.pm-skin-wrap img { width: 140px; height: 280px; object-fit: contain; pointer-events: none; border: none; box-shadow: none; background: none; }
.pm-skin-wrap img.cracked-skin { width: 133px; height: 266px; }
.pm-info { display: flex; flex-direction: column; gap: 14px; }
.pm-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pm-name-row h2 { font-size: 1.5rem; margin: 0; justify-content: flex-start; }
.pm-name-row h2::before { display: none; }

.pm-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pm-status.premium {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.pm-status.cracked {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.08));
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}
.pm-status.loading {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-dim);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.pm-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-detail {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.8));
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}
.pm-detail label { display: block; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.pm-detail span { display: block; font-size: 0.95rem; color: var(--text-main); font-weight: 600; }

.pm-points-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(10, 10, 15, 0.8));
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}
.pm-points label, .pm-progress label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.pm-pts-value {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--grad-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pm-pts-sub { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }
.pm-progress-bar { width: 100%; height: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.pm-progress-fill { height: 100%; background: var(--grad-1); border-radius: 5px; transition: width 0.5s ease; box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
.pm-progress-text { font-size: 0.85rem; color: var(--text-soft); margin-top: 4px; }

.pm-tiers-section h3 { font-size: 0.95rem; justify-content: flex-start; margin-top: 16px; margin-bottom: 8px; }
.pm-tiers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin-bottom: 16px; }
.pm-tier {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.02));
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}
.pm-tier img { width: 24px; height: 24px; pointer-events: none; object-fit: contain; }
.pm-tier .pm-t-label { font-size: 0.9rem; font-weight: 500; color: var(--text-soft); }
.pm-tier.hot { background: linear-gradient(135deg, rgba(251, 146, 60, 0.12), rgba(251, 146, 60, 0.06)); border-color: rgba(251, 146, 60, 0.18); }
.pm-tier.hot .pm-t-label { color: #fb923c; }
.pm-tier.retired { background: linear-gradient(135deg, rgba(156, 163, 175, 0.14), rgba(156, 163, 175, 0.06)); border-color: rgba(156, 163, 175, 0.22); }
.pm-tier.retired .pm-t-label { color: #9ca3af; }

.modal h2 { font-size: 1.4rem; margin: 0 0 20px 0; justify-content: center; }
.modal h2::before { display: none; }
.modal-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.modal-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.modal input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.8));
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s;
    min-height: 50px;
}
.modal input:focus {
    outline: 0;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.modal button {
    width: 100%;
    padding: 14px;
    background: var(--grad-1);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 50px;
    letter-spacing: 1px;
}
.modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}
.ghost-btn { background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; }
.ghost-btn:hover { background: rgba(255, 255, 255, 0.1) !important; box-shadow: none !important; transform: none !important; }

.admin-panel {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.04), rgba(10, 10, 15, 0.8));
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 28px;
    border: 1px solid rgba(139, 92, 246, 0.12);
    display: none;
}
.admin-panel h3 { margin-top: 0; font-size: 1.1rem; }
.admin-panel h3::before { display: none; }
.admin-panel input:not([type=checkbox]):not([type=range]), .admin-panel select, .admin-panel textarea {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.15);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.8));
    color: var(--text-main);
    font-size: 1rem;
    display: block;
    transition: all 0.3s;
    min-height: 50px;
}
.admin-panel input:not([type=checkbox]):not([type=range]):focus, .admin-panel select:focus, .admin-panel textarea:focus {
    outline: 0;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.admin-panel textarea { height: 80px; resize: vertical; }
.admin-panel .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.admin-panel .btn-row button { margin: 0 !important; }
.admin-panel button:not(.danger-btn):not(.warning-btn) {
    padding: 14px 32px;
    background: var(--grad-1);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 18px auto;
    min-height: 50px;
    min-width: 200px;
    letter-spacing: 1px;
}
.admin-panel button:not(.danger-btn):not(.warning-btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}
.admin-panel hr { margin: 16px 0; border: none; border-top: 1px solid rgba(139, 92, 246, 0.12); }

.danger-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border-radius: 10px !important;
    padding: 14px 26px !important;
    display: block !important;
    margin: 0 !important;
    min-height: 50px !important;
    min-width: 180px !important;
    letter-spacing: 1px;
}
.danger-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35) !important;
}

.warning-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border-radius: 10px !important;
    padding: 14px 26px !important;
    display: block !important;
    margin: 0 !important;
    min-height: 50px !important;
    min-width: 180px !important;
    letter-spacing: 1px;
}
.warning-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35) !important;
}

.gpt-section {
    padding: 80px 36px 60px;
    text-align: center;
    border-color: rgba(139, 92, 246, 0.15);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(10, 10, 15, 0.95), rgba(139, 92, 246, 0.03));
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.gpt-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.gpt-label .gpt-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: gptPulse 2s ease-in-out infinite;
}
@keyframes gptPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.gpt-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}
.gpt-desc {
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 48px auto;
    line-height: 1.8;
}
.gpt-input-wrap { width: 100%; max-width: 640px; position: relative; margin: 0 auto; }
.gpt-input {
    width: 100%;
    padding: 18px 64px 18px 24px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.07), rgba(10, 10, 15, 0.9));
    color: var(--text-main);
    font-size: 1.1rem;
    outline: 0;
    transition: all 0.3s;
}
.gpt-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 8px 32px rgba(0, 0, 0, 0.2);
}
.gpt-input::placeholder { color: var(--text-dim); }
.gpt-send {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--grad-1);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.gpt-send:hover {
    background: var(--grad-2);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
    transform: translateY(-50%) scale(1.05);
}
.gpt-hint { margin-top: 20px; font-size: 0.95rem; color: var(--text-dim); }

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px 32px;
    border-radius: 12px;
    z-index: 10000;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    animation: toastPop 3s ease forwards;
    pointer-events: none;
    text-align: center;
    max-width: 90%;
    letter-spacing: 1px;
}
.toast-error { background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95)); color: #fff; }
.toast-success { background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95)); color: #fff; }
@keyframes toastPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}

footer {
    text-align: center;
    padding: 32px;
    margin-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    background: rgba(10, 10, 15, 0.6);
}
footer p { margin: 0; color: var(--text-dim); font-size: 0.95rem; letter-spacing: 0.5px; }

.ip-box {
    background: rgba(139, 92, 246, 0.08);
    border: 2px dashed rgba(139, 92, 246, 0.35);
    padding: 14px 26px;
    border-radius: 12px;
    display: inline-block;
    margin: 20px auto;
    font-size: 1.3rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
    color: var(--purple-light);
}
.ip-box:hover {
    background: rgba(139, 92, 246, 0.14);
    border-color: var(--purple);
    transform: scale(1.02);
}
.ip-note { color: var(--text-dim); font-size: 0.95rem; margin-top: -10px; margin-bottom: 20px; }

.connect-card { grid-column: 1 / -1 !important; }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.connect-info { text-align: left; }
.connect-info .server-label { font-size: 1.3rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.connect-info .server-desc { font-size: 1rem; color: var(--text-soft); margin-bottom: 16px; line-height: 1.6; }
.connect-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.connect-actions img { width: 100%; max-width: 540px; height: auto; border-radius: 8px; border: 1px solid rgba(139, 92, 246, 0.15); }
.discord-btn-card {
    display: inline-block;
    padding: 14px 36px;
    background: var(--grad-1);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    font-size: 0.95rem;
    transition: all 0.3s;
}
.discord-btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    text-decoration: none;
}

.tierlist-btns { margin-top: 14px; text-align: center; }
.tierlist-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--grad-1);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 4px;
    transition: all 0.3s;
}
.tierlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    text-decoration: none;
}

@media (min-width: 768px) {
    .hero-title { font-size: 3rem; }
    .gpt-title { font-size: 3.6rem; }
    .gpt-section, .home-section, section { padding: 56px 48px; margin: 40px auto; }
    h2 { font-size: 2rem; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    section { padding: 40px 28px; margin: 28px auto; }
    .header-left img { height: 90px; }
    .features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .podium { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .podium-card.first { height: 350px; }
    .podium-card.second { height: 310px; }
    .podium-card.third { height: 290px; }
    .lb-table-head, .lb-table-row, .top-list-item { gap: 20px; }
    .connect-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    header { padding: 0 16px; min-height: 90px; }
    .header-left img { height: 60px; }
    .hamburger { display: flex; }
    .nav-right { display: none; }
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    .gpt-title { font-size: 2rem; }
    .gpt-desc { font-size: 1rem; }
    .gpt-input-wrap { max-width: 100%; }
    .gpt-input { padding: 16px 58px 16px 20px; font-size: 1rem; }
    .gpt-section, .home-section, section { padding: 28px 18px; margin: 20px 12px; border-radius: var(--radius); }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1rem; }
    .features { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 20px; }
    .podium { grid-template-columns: 1fr; gap: 18px; }
    .podium-card { max-width: 240px !important; height: 280px !important; }
    .podium-card.first { height: 320px !important; }
    .podium-laurel { display: none; }
    .podium-wrap { padding: 30px 10px 20px; }
    .podium-avatar { height: 160px !important; }
    .podium-card.first .podium-avatar { height: 190px !important; }
    .podium-name { top: 8px; font-size: 0.95rem; }
    .podium-place { font-size: 2.5rem; }
    .top-list-item { grid-template-columns: 30px 40px 1.5fr 60px 70px 2fr; gap: 12px; padding: 10px 12px; overflow-x: auto; }
    .top-list-item .rank-num { font-size: 0.85rem; }
    .top-list-item .player-cell img { width: 30px; height: 60px; }
    .top-list-item .player-cell img.cracked-skin { width: 28px !important; height: 56px !important; }
    .top-list-item .p-name { font-size: 0.85rem; }
    .top-list-item .lb-pts { font-size: 0.85rem; }
    .top-list-item .lb-pts img { width: 16px; height: 16px; }
    .lb-table-head, .lb-table-row { grid-template-columns: 30px 1.5fr 60px 70px 2fr; gap: 12px; padding: 10px 12px; overflow-x: auto; }
    .lb-pts, .lb-table-head span:nth-child(4) { font-size: 0.85rem; }
    .player-cell img { width: 30px; height: 60px; }
    .player-cell img.cracked-skin { width: 28px !important; height: 56px !important; }
    .kit-btn { padding: 8px 14px; font-size: 0.85rem; min-width: 90px; min-height: 38px; }
    .kit-btn img { width: 16px; height: 16px; }
    .kit-grid { grid-template-columns: repeat(2, 1fr); }
    .modal { padding: 28px 20px; width: 94%; }
    .player-modal { padding: 20px 16px; width: 96%; max-width: 96%; }
    .pm-header { grid-template-columns: 1fr; text-align: center; gap: 14px; }
    .pm-skin-wrap img { width: 110px; height: 220px; }
    .pm-skin-wrap img.cracked-skin { width: 105px; height: 210px; }
    .pm-points-section { grid-template-columns: 1fr; }
    .pm-details { grid-template-columns: 1fr 1fr; }
    .connect-grid { grid-template-columns: 1fr; }
    .admin-panel { padding: 20px; }
    .admin-panel .btn-row { flex-direction: column; }
    .lb-toggle-btn { min-width: auto; width: 90%; }
}