@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --gold-main: #f2d27c;
    --gold-dark: #8a5a1e;
    --blue-neon: rgba(255, 215, 0, 0.35);
    --bg-transparency: rgba(8, 12, 18, 0.85);

    --cut-corner: polygon(
        20px 0, 100% 0,
        100% calc(100% - 20px), calc(100% - 20px) 100%,
        0 100%, 0 20px
    );

    --cut-small: polygon(
        10px 0, 100% 0,
        100% calc(100% - 10px), calc(100% - 10px) 100%,
        0 100%, 0 10px
    );

    --font-head: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    --bg-deep: #dfdfdf;
    --bg-panel: rgb(255 255 255 / 95%);
    --gold-primary: var(--gold-main);
    --gold-bright: #fff;
    --primary-purple: #f5dc9b;
    --primary-purple-hover: rgba(255, 215, 0, 0.35);
    --border-color: color-mix(in srgb, var(--gold-main) 20%, transparent);
    --text-main: #f0f0f0;
    --text-light: #F9FAFB;
    --text-medium: #9CA3AF;
    --font-title: var(--font-head);
    --font-epic: var(--font-head);

    --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --card-bg: linear-gradient(160deg, #141414 0%, #050505 100%);
    --success-color: #10B981;
    --error-color: #EF4444;
    --discord-bg: #9699b8;
    --mu-name-normal: #E7F0FF;
    --mu-name-exc: #00FF00;
    --mu-name-anc: #FFD700;
    --mu-name-socket: #CC66FF;
    --offset: 6px;
    --complex-clip: var(--cut-corner);
    --simple-clip: var(--cut-small);
    --ice-dark: #05101a;
    --ice-glass: rgb(34 33 33);
    --ice-glow: #3c3815;
    --ice-text: #e0f7fa;
    --gold-accent: var(--gold-main);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#fire-container, #preloader.hidden {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    font-family: var(--font-body);
    
    /* AICI ESTE MODIFICAREA: */
    /* Primul parametru este un strat negru cu transparență 0.6 (60% întunecat) */
    background: linear-gradient(rgb(13 15 20 / 79%), rgb(0 0 0 / 0%)), url(../icon/background.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 3px;
    border: 1px solid #000;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
    box-shadow: 0 0 10px var(--gold-primary);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.section-title span {
    background: linear-gradient(to bottom, #fff 0%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: var(--gold-primary);
    margin: 15px auto 0;
    box-shadow: 0 0 15px var(--gold-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px; 
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-size: 1rem; 
    letter-spacing: 1.8px;
    clip-path: var(--complex-clip);
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: background-color 0.2s;
    clip-path: inherit;
}

.btn-primary {
    color: #1a0f00;
    text-shadow: none;
}

.btn-primary::before {
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
}

.btn-primary:hover {
    color: #1a0f00;
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    background: linear-gradient(180deg, #fff 0%, var(--gold-main) 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
}

.btn-secondary::before {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.55);
    inset: 1px;
}

.btn-secondary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    background: rgba(0, 0, 0, 0.75);
    border-color: var(--gold-main);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}

.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, #77595900 0%, #00000000 95%);
    z-index: 2;
    pointer-events: none;
}

.character-showcase {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-character {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-layout-grid {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1800px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    pointer-events: none;
}

.hero-layout-grid>* {
    pointer-events: auto;
}

.hero-left, .hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 30px;
    padding-bottom: 0;
}

.hero-left { align-items: flex-start; }
.hero-right { align-items: flex-end; }

.DiscordBlock_discord__dUyZV,
.launch-game-widget,
.central-grand-opening-countdown,
.server-status-item {
    clip-path: var(--complex-clip);
}

.DiscordBlock_discord__dUyZV {
    display: block;
    padding: 20px 25px;
    text-align: center;
    text-decoration: none;
    width: 300px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent; 
    border: 1px solid var(--gold-dark);
}

.DiscordBlock_discord__dUyZV::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(33 35 63 / 15%), rgba(5, 5, 5, 0.95));
    border: 1px solid rgb(251 220 79);
    border-left: 4px solid rgba(255, 215, 0, 0.35);
    z-index: -1;
    clip-path: inherit;
    transition: 0.3s;
}

.DiscordBlock_discord__dUyZV:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.3);
}

.DiscordBlock_discord__dUyZV:hover::before {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.25), rgba(20, 20, 20, 0.95));
    border-color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.DiscordBlock_discord__dUyZV p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 12px 0;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.DiscordBlock_discord__dUyZV p span {
    color: var(--success-color);
    font-weight: 700;
    font-family: var(--font-title);
    text-shadow: 0 0 10px rgb(251 220 79);
}

.DiscordBlock_dis-img__oK71b {
    width: 110px;
    height: auto;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 5px rgba(88, 101, 242, 0.6));
    transition: 0.3s;
}

.DiscordBlock_avatars__xCgl_ {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.DiscordBlock_avatar__l1wf_ {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold-dark);
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.DiscordBlock_avatar__l1wf_ + .DiscordBlock_avatar__l1wf_ { margin-left: -12px; }

.launch-game-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgb(182 157 109);
    padding: 20px 30px;
    width: 300px;
    cursor: pointer;
    transition: 0.3s;
}

.launch-game-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(9 11 13), rgba(20, 20, 20, 0.8));
    border-left: 4px solid var(--gold-primary);
    z-index: -1;
    clip-path: inherit;
    transition: 0.3s;
}

.launch-game-widget:hover {
    transform: translateX(5px);
    border-color: #fff;
}

.launch-game-widget:hover::before {
    background: rgba(30, 30, 30, 0.95);
    border-left-color: #fff;
}

.launch-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.launch-text { display: flex; flex-direction: column; }

.launch-title {
    font-family: var(--font-title);
    font-weight: 900;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.launch-sub {
    font-size: 0.8rem;
    color: var(--success-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -40px;
}

.hero-logo {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.2));
    animation: pulse 4s infinite;
    margin-bottom: 20px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.subtitle {
    background: rgb(21 25 37 / 87%);
    padding: 15px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 1rem;
    max-width: 700px;
    margin: 10px 0 40px;
    text-shadow: 0 2px 5px #000;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.central-grand-opening-countdown {
    margin: 0;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--gold-dark);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.central-grand-opening-countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    z-index: -1;
    clip-path: inherit;
}

.central-grand-opening-countdown .go-title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.go-timer-container {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.go-timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.go-timer-item span {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    display: block;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.server-status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #bd9d9d00;
    border: 1px solid var(--gold-dark);
    padding: 15px 25px;
    width: 300px;
    cursor: pointer;
    transition: 0.3s;
}

.server-status-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgb(22 26 35), rgba(20, 20, 20, 0.8));
    border-right: 4px solid var(--gold-primary);
    z-index: -1;
    clip-path: inherit;
    transition: 0.3s;
}

.server-status-item:hover {
    transform: translateX(-5px);
    border-color: #fff;
}

.server-status-item:hover::before {
    background: rgba(30, 30, 30, 0.95);
    border-right-color: #fff;
}

.server-status-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--gold-dark);
}

.server-name {
    font-family: var(--font-title);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.online-count {
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: transparent;
    padding: 50px;
    width: 450px;
    position: relative;
    clip-path: var(--complex-clip);
    box-shadow: 0 0 60px rgba(255, 45, 85, 0.12), 0 0 40px rgba(102, 227, 255, 0.08);
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 20% 15%, rgba(102, 227, 255, 0.10), transparent 60%),
        radial-gradient(800px 420px at 80% 25%, rgba(255, 45, 85, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(7, 11, 18, 0.86), rgba(4, 7, 12, 0.92));
    box-shadow: inset 0 0 40px rgba(255, 45, 85, 0.08);
    z-index: -1;
    clip-path: inherit;
}

.auth-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 45, 85, 0.65), rgba(102, 227, 255, 0.45));
    opacity: 0.22;
    z-index: -2;
    clip-path: inherit;
    transform: scale(1.01);
}

.close-section-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: rgba(245, 248, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s ease;
    z-index: 5;
}

.close-section-btn:hover {
    color: rgba(255, 45, 85, 0.95);
    transform: rotate(90deg);
}

.auth-container h3 {
    font-family: var(--font-title);
    color: rgba(245, 248, 255, 0.92);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 0 18px rgba(255, 45, 85, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    color: rgba(245, 248, 255, 0.55);
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 16px 16px 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(245, 248, 255, 0.92);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: var(--transition);
    clip-path: var(--simple-clip);
    appearance: none;
    color-scheme: dark;
}

.form-group input::placeholder {
    color: rgba(245, 248, 255, 0.38);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold-main);
    outline: none;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1);
}

.social-login-divider {
    text-align: center;
    margin: 30px 0;
    color: rgba(245, 248, 255, 0.75);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.75), transparent);
}

.switch-auth-text {
    text-align: center;
    font-size: 0.85rem; 
    color: rgba(245, 248, 255, 0.55);
    margin-top: 25px;
}

.switch-auth-text a {
    color: rgba(102, 227, 255, 0.95);
    font-weight: 700; 
    font-family: var(--font-title); 
    letter-spacing: 1px;
    text-transform: uppercase;
}

.switch-auth-text a:hover {
    color: rgba(255, 45, 85, 0.95);
    text-shadow: 0 0 12px rgba(255, 45, 85, 0.25);
}

.auth-container .btn-primary::before {
    background: linear-gradient(90deg, rgba(255, 45, 85, 0.65), rgba(102, 227, 255, 0.55));
}

.auth-container .btn-primary:hover::before {
    background: linear-gradient(90deg, rgba(255, 45, 85, 0.9), rgba(102, 227, 255, 0.85));
    box-shadow: 0 0 26px rgba(255, 45, 85, 0.22), 0 0 26px rgba(102, 227, 255, 0.18);
}

.btn-discord {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 18px 20px; 
    margin-bottom: 25px;
    background-color: transparent;
    color: #fff;
    border: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    clip-path: var(--complex-clip);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-discord::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.55);
    z-index: -1;
    transition: background-color 0.2s, border-color 0.2s;
    clip-path: inherit;
}

.btn-discord:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
}

.auth-container .btn-discord:hover::before {
    background: rgba(88, 101, 242, 0.72);
    border-color: rgba(245, 248, 255, 0.75);
    box-shadow: 0 0 28px rgba(88, 101, 242, 0.45);
}

@media (max-width: 520px) {
    .auth-container {
        width: calc(100% - 32px);
        padding: 28px;
    }

    .close-section-btn {
        top: 16px;
        right: 18px;
    }

    .auth-container h3 {
        font-size: 1.6rem;
    }
}

.rankings-section {
    padding: 80px 10%; 
}

.rankings-container {
    clip-path: var(--complex-clip);
    background: rgb(12 44 55);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 5;
    padding: 80px 10%;
}

.rankings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.ranking-tabs {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 21;
    pointer-events: auto;
}

.ranking-tabs button {
    background: none;
    border: none;
    color: #666;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 22;
    pointer-events: auto;
}

.ranking-tabs button:hover,
.ranking-tabs button.active {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 5px;
}

.ranking-search-container {
    clip-path: var(--simple-clip);
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    display: inline-block;
    padding: 0;
}

.ranking-search-container input {
    appearance: none;
    -webkit-appearance: none;
    background: #000b0e !important;
    border: none !important;
    clip-path: none !important;
    padding: 12px 22px;
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    min-width: 250px;
    width: 100%;
    height: 100%;
}

.ranking-search-container input:hover {
    background-color: rgba(212, 175, 55, 0.05) !important;
}

.ranking-search-container input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.ranking-table-container {
    clip-path: none;
    overflow-x: auto;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 5;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px 20px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    vertical-align: middle;
    color: var(--text-light);
}

tr:hover td {
    background-color: rgba(212, 175, 55, 0.1);
    cursor: pointer;
    color: #fff;
}

.rank-status-cell {
    display: flex;
    align-items: center;
    position: relative;
    width: 50px;
    height: 50px;
    justify-content: center;
}

.rank-class-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: #ffffff;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.rank-class-img.online {
    background: #1fbf6a;
}

.rank-class-img.offline {
    background: #e04b4b;
}

.rank-avatar-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
}

.rank-badge {
    position: absolute;
    bottom: -5px;
    right: -8px;
    background-color: #fff;
    color: #000;
    font-weight: 700;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 5px rgba(0,0,0,0.8);
    z-index: 2;
}

tr:nth-child(1) .rank-badge { background: #FFD700; border-color: #FFD700; box-shadow: 0 0 10px #FFD700; }
tr:nth-child(2) .rank-badge { background: #C0C0C0; border-color: #C0C0C0; box-shadow: 0 0 10px #C0C0C0; }
tr:nth-child(3) .rank-badge { background: #CD7F32; border-color: #CD7F32; box-shadow: 0 0 10px #CD7F32; }

.rank-char-name {
    font-weight: 700;
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.guild-mark-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border: 1px solid var(--border-color);
}

.country-cell .country-wrapper img {
    width: 24px;
    border-radius: 2px;
    border: 1px solid #333;
}

.gens-cell img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-medium);
    cursor: pointer;
    border-radius: 0;
    width: 40px;
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px);
}

.page-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.1);
}

.page-btn.active {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
    width: 100%;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#landing-page-content-below-hero {
    clip-path: var(--complex-clip);
    margin-top: -137px;
    position: relative;
}

.features-section {
    padding-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.feature-card {
    background: transparent; 
    border: 1px solid #222;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    clip-path: var(--complex-clip);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0f3c53 0%, #0505050f 100%);
    z-index: -1;
    clip-path: inherit;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(30 105 131);
}

.feature-card:hover::before {
    background: linear-gradient(160deg, #151515 0%, rgba(255, 215, 0, 0.35) 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.main-footer {
    background: #050505;
    border-top: 3px solid var(--gold-primary);
    position: relative;
    padding-top: 80px;
    margin-top: auto;
    background-image: url('../icon/background.png');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center bottom;
}

.footer-top-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1a1622 10%, rgb(9 16 28) 100%);
    z-index: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-family: var(--font-title);
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-column {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.footer-logo span {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.footer-desc {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgb(255 255 255 / 5%);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    margin-left: 0;
}

.social-links a:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i {
    color: var(--gold-dark);
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--gold-primary);
}

.status-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 20px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}
.status-row:last-child { margin-bottom: 0; }

.online-indicator {
    color: #2ecc71;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
    animation: pulse 2s infinite;
}

.btn-footer {
    width: 100%;
    text-align: center;
    padding: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #090f19;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .brand-column {
        grid-column: 1 / -1; 
        padding-right: 0;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h3 {
        justify-content: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .status-row {
        justify-content: center;
        gap: 15px;
    }
}

#notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #111;
    border-left: 4px solid #fff;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: 0.4s ease;
    width: 300px;
    clip-path: var(--simple-clip);
}

.toast.show { transform: translateX(0); }
.toast--success { border-color: var(--success-color); }
.toast--success i { color: var(--success-color); }
.toast--error { border-color: var(--error-color); }
.toast--error i { color: var(--error-color); }

.mobile-menu-toggle {
    display: none;
    color: var(--gold-primary);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--gold-dark);
    z-index: 999;
    transform: translateX(100%);
    transition: 0.4s;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    align-self: flex-end;
    margin-bottom: 20px;
}

.mobile-nav-links a {
    display: block;
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--gold-primary);
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.3s;
    clip-path: var(--simple-clip);
}

.custom-select__trigger:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.custom-select__trigger::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--gold-primary);
    transition: transform 0.3s;
}

.custom-select.open .custom-select__trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    border: 1px solid var(--gold-primary);
    background: #080808;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    clip-path: var(--simple-clip);
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    animation: fadeIn 0.2s ease;
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 0.9rem;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:hover,
.custom-option.selected {
    color: #fff;
    background-color: rgba(212, 175, 55, 0.2);
    padding-left: 20px;
    border-left: 3px solid var(--gold-primary);
}

.custom-option.selected::after {
    content: '✔';
    position: absolute;
    right: 15px;
    color: var(--gold-primary);
}

#streaming-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-body);
}

.streaming-list-wrapper {
    width: 419px;
    max-height: 455px;
    background: var(--bg-panel);
    border: 1px solid var(--gold-dark);
    clip-path: var(--simple-clip);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#streaming-widget-container.expanded .streaming-list-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.streaming-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gold-dark);
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(20,20,20,0.9) 100%);
    flex-shrink: 0;
}

.streaming-list-header span {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.stream-back-btn {
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 1.4rem;
    cursor: pointer;
    margin-right: 10px;
    padding: 0;
    line-height: 1;
    transition: 0.3s;
}

.stream-back-btn:hover {
    color: var(--gold-primary);
    transform: translateX(-3px);
}

.streaming-list {
    overflow-y: auto;
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.4);
}

.streaming-list::-webkit-scrollbar {
    width: 4px;
}
.streaming-list::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
}

.stream-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
}

.stream-item:last-child {
    border-bottom: none;
}

.stream-item:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
    border-left-color: var(--gold-primary);
}

.stream-item:hover .stream-info-name {
    color: #fff;
    text-shadow: 0 0 5px var(--gold-primary);
}

.stream-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%; 
    overflow: hidden;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.stream-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-info {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stream-info-name {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-primary);
    transition: 0.3s;
}

.stream-info-title {
    font-size: 0.75rem;
    color: var(--text-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.stream-live-details {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--error-color);
    font-weight: 700;
    font-family: var(--font-body);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.stream-live-details i {
    font-size: 0.8rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.streaming-player-view {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.streaming-player-view iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.streaming-list-wrapper.is-playing {
   width: 480px;
   max-height: none;
   border-color: var(--gold-primary);
   box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.streaming-list-wrapper.is-playing .streaming-list {
    display: none;
}

.streaming-list-wrapper.is-playing .streaming-player-view {
    display: block;
}

.streaming-toggle-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #050505; 
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 9999;
}

.streaming-toggle-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
    animation: spin 3s linear infinite;
    opacity: 0.5;
}

.stream-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.stream-promo-badge:hover {
    background: var(--success-color);
    color: #000;
}

.stream-promo-badge .promo-label {
    color: var(--success-color);
    font-weight: 600;
    text-transform: uppercase;
}

.stream-promo-badge:hover .promo-label,
.stream-promo-badge:hover .promo-code {
    color: #000;
}

.stream-promo-badge .promo-code {
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.stream-promo-badge i {
    font-size: 0.9rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.streaming-toggle-btn:hover {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.streaming-toggle-btn .icon-close { display: none; }
.streaming-toggle-btn .icon-open { display: block; }

#streaming-widget-container.expanded .streaming-toggle-btn .icon-close { display: block; }
#streaming-widget-container.expanded .streaming-toggle-btn .icon-open { display: none; }

@media (max-width: 768px) {
    #streaming-widget-container {
        bottom: 15px;
        right: 15px;
    }
    .streaming-list-wrapper {
        width: 280px;
    }
    .streaming-list-wrapper.is-playing {
        width: 90vw;
        right: 0;
    }
}

@media (max-width: 1024px) {
    .hero-layout-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
        padding-top: 120px;
    }
    .hero-left, .hero-right {
        justify-content: center;
        height: auto;
        padding: 0;
        width: 100%;
        align-items: center;
    }
    .hero-center { margin-top: 0; order: -1; }
    .main-nav, .header-right { display: none; }
    .mobile-menu-toggle { display: block; }
    .launch-game-widget, .server-status-item, .DiscordBlock_discord__dUyZV {
        width: 90%;
        justify-content: center;
    }
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .rankings-container { padding: 15px; }
    .ranking-table-container thead { display: none; }
    .ranking-table-container tr {
        display: block;
        border: 1px solid #333;
        margin-bottom: 10px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.02);
    }
    .ranking-table-container td {
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 5px 0;
        align-items: center;
    }
    .ranking-table-container td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #666;
        margin-right: auto;
    }
    .ranking-table-container td:first-child {
        justify-content: center;
        padding-bottom: 15px;
        border-bottom: 1px solid #222;
        margin-bottom: 10px;
    }
    .ranking-table-container td:first-child::before { display: none; }
}

#register-section .auth-container {
    width: 800px;
    max-width: 95vw;
}

#register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#register-form .form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

#register-form button[type="submit"] {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 20px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #register-section .auth-container {
        width: 95%;
        padding: 30px 20px;
    }
    #register-form {
        grid-template-columns: 1fr;
    }
}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

#snow-pile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: linear-gradient(to top, #ffffff 40%, rgba(255, 255, 255, 0));
    filter: blur(8px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 101;
    animation: pile-up 30s ease-out forwards;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
    filter: blur(1.5px);
    animation: fall linear infinite, sway ease-in-out infinite alternate;
}

.snow-cap {
    position: relative !important;
}

.hero-logo.snow-cap {
    display: inline-block;
    transition: filter 10s ease-in;
    filter: drop-shadow(0 0 0 white);
}

.hero-logo.snow-cap.settled {
    filter: 
        drop-shadow(0 -2px 1px #ffffff) 
        drop-shadow(0 -4px 3px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

.auth-container.snow-cap::after,
.btn.snow-cap::after, 
.btn-primary.snow-cap::after, 
.btn-discord.snow-cap::after {
    content: "";
    position: absolute;
    background: #ffffff;
    z-index: 100;
    opacity: 0;
    transition: opacity 8s ease-in;
    pointer-events: none;
}

.snow-cap.settled::after {
    opacity: 1 !important;
}

.auth-container.snow-cap::after {
    top: -12px;
    height: 18px;
    left: 2%;
    right: 2%;
    border-radius: 15px 15px 5px 5px;
    filter: blur(1px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.btn.snow-cap::after, 
.btn-primary.snow-cap::after, 
.btn-discord.snow-cap::after {
    top: -6px;
    height: 10px;
    left: 10%;
    right: 10%;
    border-radius: 10px 10px 2px 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 1);
}

.auth-container, .hero-logo, .btn {
    overflow: visible !important;
}

@keyframes pile-up {
    0% { height: 0px; opacity: 0; }
    100% { height: 50px; opacity: 0.8; }
}

@keyframes fall {
    0% { top: -10%; }
    100% { top: 100%; }
}

@keyframes sway {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(15px); }
}

.season21-ice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 2000;
    /* transition: all 0.4s ease; */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    /* background: var(--ice-glass); */
}

.season21-ice::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--ice-glow) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--ice-glow);
    opacity: 0.7;
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    height: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #080c1305;
}

.header-logo img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 0 15px rgb(119 107 74));
    transition: transform 0.3s;
}
.header-logo:hover img { transform: scale(1.05); }

.header-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0; padding: 0;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    color: #e5eaf0;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px #ffffff;
}
.nav-link::before {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--ice-glow); transition: 0.3s;
    box-shadow: 0 0 10px var(--ice-glow);
}
.nav-link:hover::before { width: 100%; }

.dropdown-wrap { position: relative; }
.dropdown-box {
    position: absolute;
    /* top: 273%; */
    /* left: 48%; */
    transform: translateX(-50%) translateY(20px);
    background: rgb(12 13 16);
    border: 1px solid rgb(251 220 79);
    width: 301px;
    padding: -2px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px #000;
    z-index: 99;
}
.dropdown-wrap:hover .dropdown-box { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-box a {
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    transition: 0.2s;
}
.dropdown-box a:hover { background: rgba(0, 210, 255, 0.1); color: var(--ice-glow); padding-left: 25px; }

.header-auth-area {
    display: flex; align-items: center; gap: 15px;
}

.header-login-form { display: flex; gap: 10px; }
.input-group input {
    background: rgba(0,0,0,0.5); border: 1px solid #334;
    color: var(--ice-glow); padding: 8px 12px; font-size: 13px;
    border-radius: 4px; width: 120px; outline: none; transition: 0.3s;
}
.input-group input:focus { border-color: var(--ice-glow); box-shadow: 0 0 10px rgba(0,210,255,0.2); }

.btn-login-ice {
    background: linear-gradient(180deg, #0d47a1, #002171);
    border: 1px solid #d3d6de;
    color: #fff; padding: 0 20px; font-family: 'Cinzel', serif;
    font-weight: bold; cursor: pointer; border-radius: 4px;
    transition: 0.3s;
}
.btn-login-ice:hover { filter: brightness(1.2); box-shadow: 0 0 15px rgba(41, 98, 255, 0.6); }

/* Containerul butonului de nume */
.header-auth-area .btn-secondary {
    /* Resetări de bază */
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(255, 215, 0, 0.35) 20%, 
        rgba(255, 215, 0, 0.35) 80%, 
        rgba(0, 0, 0, 0) 100%
    ) !important;
    border: none !important;
    border-top: 1px solid rgb(255 255 255 / 30%) !important; /* Linie fină aurie sus */
    border-bottom: 1px solid rgb(255 255 255 / 30%) !important; /* Linie fină aurie jos */
    
    /* Tipografie */
    color: #ffffff !important; /* Aur clasic */
    font-family: 'Cinzel', serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Spatiere si Layout */
    padding: 8px 25px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    /* Efecte */
    position: relative;
    clip-path: none !important;
    transition: all 0.4s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Iconita de utilizator (Omulețul) */
.header-auth-area .btn-secondary::after {
    content: '\f406'; /* Iconita User Solid */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #ffd700; /* Cyan Ice */
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
    transition: 0.3s;
}

/* Efect Hover - Când pui mouse-ul pe nume */
.header-auth-area .btn-secondary:hover {
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        rgba(255, 215, 0, 0.35) 50%, 
        rgba(0,0,0,0) 100%
    ) !important;
    border-color: #ffd700 !important; /* Aurul devine mai puternic */
    color: #fff !important; /* Scrisul devine alb */
    text-shadow: 0 0 10px #ffd700, 0 0 20px rgba(255, 215, 0, 0.5);
    cursor: pointer;
    transform: translateY(-1px);
}

/* Animație la iconita pe hover */
.header-auth-area .btn-secondary:hover::after {
    color: #fff;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #fff);
}

/* Linie decorativă stânga/dreapta (Opțional, pentru extra detalii) */
.header-auth-area .btn-secondary::before {
    display: none !important; /* Scoatem stilurile vechi care stricau */
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: rgb(226 200 128);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .header-nav { display: none; }
    .header-right { display: none; }
    .mobile-toggle { display: block; }
    
    .header-container { justify-content: space-between; }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--ice-dark);
    border-left: 1px solid #fbdc4f;
    z-index: 3000;
    transform: translateX(100%);
    transition: 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(0,0,0,0.8);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex; 
    justify-content: flex-end; 
    margin-bottom: 20px; 
}

#mobile-menu-close {
    background: none;
    border: none;
    color: #938358;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-links a:hover {
    color: var(--ice-glow);
    padding-left: 15px;
    background: rgba(0, 210, 255, 0.05);
}

.mobile-nav-links .dropdown-box {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
}

.mobile-nav-links .dropdown-wrap:hover .dropdown-box {
    display: flex;
}

/* ===== Visual refresh overrides (do not remove existing rules) ===== */

body.visual-refresh {
    --bg-deep: #070b12;
    --bg-panel: rgba(10, 18, 28, 0.72);
    --gold-primary: #e8d08a;
    --gold-bright: #ffe39f;
    --gold-dark: rgba(232, 208, 138, 0.55);
    --primary-purple: rgba(255, 215, 0, 0.35);
    --primary-purple-hover: #a9f3ff;
    --border-color: rgba(232, 208, 138, 0.22);
    --text-main: rgba(245, 248, 255, 0.92);
    --text-light: rgba(245, 248, 255, 0.92);
    --text-medium: rgba(245, 248, 255, 0.62);
    --card-bg: linear-gradient(160deg, rgba(10, 18, 28, 0.92) 0%, rgba(5, 10, 18, 0.86) 100%);
}

html {
    text-rendering: geometricPrecision;
}

body {
    color: var(--text-main);
    line-height: 1.5;
}

h1, h2, h3, h4 {
    color: var(--gold-bright);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.section-title {
    text-shadow: 0 12px 45px rgba(0, 0, 0, 0.55);
}

.section-title::after {
    height: 2px;
    opacity: 0.9;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--blue-neon);
    outline-offset: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-main), color-mix(in srgb, var(--blue-neon) 55%, var(--gold-main)));
    border: 1px solid rgba(0, 0, 0, 0.45);
}

/* Cards / panels */
.rankings-container,
.auth-container,
.streaming-list-wrapper,
.feature-card,
.central-grand-opening-countdown,
.server-status-item,
.launch-game-widget,
.DiscordBlock_discord__dUyZV {
    border-color: var(--border-color);
}

.rankings-container {
    background: var(--card-bg);
}

.feature-card::before {
    background: linear-gradient(160deg, rgba(10, 18, 28, 0.78) 0%, rgba(4, 10, 18, 0.55) 100%);
}

.feature-card:hover {
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

/* Buttons */
.btn {
    letter-spacing: 1.4px;
    gap: 10px;
}

.btn-primary::before {
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    border: none;
}

.btn-primary:hover::before {
    background: linear-gradient(180deg, #fff 0%, var(--gold-main) 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

.btn-secondary::before {
    border-color: rgba(255, 215, 0, 0.55);
    background-color: rgba(0, 0, 0, 0.55);
}

.btn-secondary:hover::before {
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}

.btn-discord::before {
    background-color: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.38);
}

.btn-discord:hover::before {
    background-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 18px 55px rgba(88, 101, 242, 0.35);
}

/* Forms */
.form-group label {
    color: rgba(245, 248, 255, 0.65);
}

.form-group input,
.form-group select,
.ranking-search-container input,
.input-group input {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.38);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.form-group input:hover,
.form-group select:hover,
.ranking-search-container input:hover,
.input-group input:hover {
    border-color: rgba(255, 215, 0, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.ranking-search-container input:focus,
.input-group input:focus {
    border-color: var(--gold-main);
    background: rgba(0, 0, 0, 0.8);
    box-shadow:
        inset 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Tables */
th {
    background-color: rgba(0, 0, 0, 0.55);
    color: rgba(245, 248, 255, 0.7);
}

tr:hover td {
    background-color: rgba(255, 215, 0, 0.1);
}

/* Toast */
.toast {
    background: rgba(10, 18, 28, 0.86);
    border-left-color: var(--blue-neon);
}

/* Header / mobile menu */
.season21-ice {
    background: linear-gradient(180deg, rgba(6, 12, 20, 0.78) 0%, rgba(6, 12, 20, 0.55) 100%);
}

.dropdown-box {
    background: rgb(10 11 16);
    border-color: rgba(255, 215, 0, 0.2);
}

.mobile-menu {
    background: rgb(17 18 26 / 97%);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Disable snow effects (override only) ===== */

#snow-container,
#snow-pile,
.snowflake {
    display: none !important;
}

.snow-cap::after,
.auth-container.snow-cap::after,
.btn.snow-cap::after,
.btn-primary.snow-cap::after,
.btn-discord.snow-cap::after {
    content: none !important;
    opacity: 0 !important;
}

.hero-logo.snow-cap,
.hero-logo.snow-cap.settled {
    filter: none !important;
}

/* ===== Danger / wow theme (override only) ===== */

body.danger-theme {
    --danger-red: #ff2d55;
    --danger-red-2: #ff3b30;
    --danger-glow: rgba(255, 45, 85, 0.55);
    --danger-glow-soft: rgba(255, 45, 85, 0.22);
}

body.danger-theme {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72)), url(../icon/background.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.danger-theme .season21-ice::after {
    background: linear-gradient(90deg, transparent 0%, var(--danger-red) 50%, transparent 100%);
    box-shadow: 0 0 18px var(--danger-glow);
}

body.danger-theme .nav-link:hover, body.danger-theme .nav-link.active {
    text-shadow: 0 0 12px var(--danger-red);
}

body.danger-theme .nav-link::before {
    background: var(--danger-red);
    box-shadow: 0 0 12px var(--danger-glow);
}

body.danger-theme .section-title span {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--danger-red) 55%, #ffffff) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.danger-theme .section-title::after {
    background: linear-gradient(90deg, transparent 0%, var(--danger-red) 50%, transparent 100%);
    box-shadow: 0 0 25px var(--danger-glow);
}

body.danger-theme .rankings-container,
body.danger-theme .auth-container,
body.danger-theme .streaming-list-wrapper,
body.danger-theme .feature-card,
body.danger-theme .central-grand-opening-countdown,
body.danger-theme .server-status-item,
body.danger-theme .launch-game-widget,
body.danger-theme .DiscordBlock_discord__dUyZV,
body.danger-theme .dropdown-box {
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
}

body.danger-theme .rankings-container:hover,
body.danger-theme .feature-card:hover,
body.danger-theme .auth-container:hover {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72), 0 0 35px var(--danger-glow-soft);
}

body.danger-theme .btn-primary {
    color: #fff;
}

body.danger-theme .btn-primary::before {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.22) 0%, rgba(10, 18, 28, 0.92) 55%, rgba(255, 59, 48, 0.18) 100%);
    border: 1px solid rgba(255, 45, 85, 0.35);
}

body.danger-theme .btn-primary:hover {
    transform: translateY(-3px);
}

body.danger-theme .btn-primary:hover::before {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.92) 0%, rgba(255, 59, 48, 0.75) 50%, rgba(10, 18, 28, 0.35) 100%);
    box-shadow: 0 22px 70px var(--danger-glow), 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.danger-theme .btn-secondary:hover::before {
    box-shadow: 0 18px 60px var(--danger-glow-soft);
}

body.danger-theme .page-btn.active {
    background-color: var(--danger-red);
    border-color: var(--danger-red);
    color: #0b0f17;
    box-shadow: 0 0 22px var(--danger-glow);
}

body.danger-theme .toast--error {
    border-color: var(--danger-red);
}

body.danger-theme .toast--error i {
    color: var(--danger-red);
}

@keyframes danger-flicker {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
    45% { filter: drop-shadow(0 0 16px rgba(255, 45, 85, 0.35)); }
    55% { filter: drop-shadow(0 0 26px rgba(255, 45, 85, 0.55)); }
}

body.danger-theme .hero-logo {
    animation: danger-flicker 6.5s ease-in-out infinite;
}

/* ===== Footer wow (override only) ===== */

body.danger-theme .main-footer {
    border-top: 1px solid rgba(255, 45, 85, 0.35);
    background-image: url('../icon/background.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

body.danger-theme .main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 20, 0.65) 0%, rgba(7, 12, 20, 0.92) 55%, rgba(5, 10, 18, 0.98) 100%);
    z-index: 0;
}

body.danger-theme .footer-top-overlay {
    background: linear-gradient(135deg, rgba(20, 110, 140, 0.32) 0%, rgba(10, 18, 28, 0.82) 55%, rgba(255, 45, 85, 0.08) 100%);
    opacity: 1;
}

body.danger-theme .footer-container {
    position: relative;
    z-index: 1;
    gap: 48px;
    padding: 0 26px 64px;
}

body.danger-theme .footer-column h3 {
    font-size: 1.05rem;
    color: rgba(245, 248, 255, 0.9);
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

body.danger-theme .footer-column h3 i {
    color: var(--danger-red);
    filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.35));
}

body.danger-theme .brand-column {
    padding-right: 20px;
}

body.danger-theme .footer-logo span {
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}

body.danger-theme .footer-desc {
    color: rgba(245, 248, 255, 0.72);
    max-width: 42ch;
}

body.danger-theme .social-links a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}

body.danger-theme .social-links a:hover {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.92), rgba(255, 59, 48, 0.72));
    border-color: rgba(255, 45, 85, 0.55);
    color: #0b0f17;
    box-shadow: 0 18px 55px rgba(255, 45, 85, 0.28);
}

body.danger-theme .footer-links a {
    color: rgba(245, 248, 255, 0.72);
}

body.danger-theme .footer-links a i {
    color: rgba(255, 45, 85, 0.65);
}

body.danger-theme .footer-links a:hover {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 0 12px rgba(255, 45, 85, 0.25);
}

body.danger-theme .footer-links a:hover i {
    color: var(--danger-red);
}

.main-footer {
    border-top: 1px solid rgba(255, 215, 0, 0.35);
    background-image: url('../icon/background.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 20, 0.65) 0%, rgba(7, 12, 20, 0.92) 55%, rgba(5, 10, 18, 0.98) 100%);
    z-index: 0;
}

.footer-top-overlay {
    background: linear-gradient(135deg, rgb(8 12 19) 0%, rgb(18 25 40) 55%, rgba(255, 215, 0, 0.08) 100%);
    opacity: 1;
}

.footer-container {
    position: relative;
    z-index: 1;
    gap: 48px;
    padding: 0 26px 64px;
}

.footer-column h3 {
    font-size: 1.05rem;
    color: rgba(245, 248, 255, 0.9);
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.footer-column h3 i {
    color: var(--gold-main);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.35));
}

.brand-column {
    padding-right: 20px;
}

.footer-logo span {
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}

.footer-desc {
    color: rgba(245, 248, 255, 0.72);
    max-width: 42ch;
}

.social-links a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}

.social-links a:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.92), rgba(255, 215, 0, 0.72));
    border-color: rgba(255, 215, 0, 0.55);
    color: #0b0f17;
    box-shadow: 0 18px 55px rgba(255, 215, 0, 0.28);
}

.footer-links a {
    color: rgba(245, 248, 255, 0.72);
}

.footer-links a i {
    color: rgba(255, 215, 0, 0.65);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.footer-links a:hover i {
    color: var(--gold-main);
}

.status-box {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.status-row {
    color: rgba(245, 248, 255, 0.72);
}

.online-indicator {
    color: #19ff8a;
}

.dot {
    background: #19ff8a;
    box-shadow: 0 0 10px rgba(25, 255, 138, 0.65);
}

.btn-footer.btn,
.btn-footer {
    width: 100%;
}

.btn-footer.btn-primary::before,
.btn-footer.btn::before,
.btn-footer::before {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.85) 0%, rgba(255, 59, 48, 0.65) 55%, rgba(10, 18, 28, 0.25) 100%);
    border: 1px solid rgba(255, 45, 85, 0.45);
}

.btn-footer.btn:hover::before,
.btn-footer:hover::before {
    box-shadow: 0 22px 70px rgba(255, 45, 85, 0.35);
}

.footer-bottom {
    background: rgb(23 26 26 / 0%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    color: rgba(245, 248, 255, 0.68);
}

.footer-bottom p:last-child {
    color: rgba(245, 248, 255, 0.5);
}

@media (max-width: 992px) {
    .footer-container {
        gap: 32px;
        padding: 0 20px 56px;
    }
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Universal panels (same look as Rankings) ===== */

:root {
    --panel-bg: var(--bg-transparency);
    --panel-border: rgba(255, 215, 0, 0.2);
    --panel-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
    --panel-shadow-hover: 0 38px 120px rgba(0, 0, 0, 0.75);
}

.rankings-container,
.auth-container,
.feature-card,
.DiscordBlock_discord__dUyZV,
.launch-game-widget,
.server-status-item,
.central-grand-opening-countdown,
.streaming-list-wrapper,
.language-switcher,
.info-card,
.dh-card,
.event-section-wrapper,
.guide-card,
.tos-container,
.report-card,
.ps-scope .ps-popup,
.status-box,
.guides-nav,
.events-nav,
.dh-nav,
.info-nav {
    background: var(--panel-bg) !important;
    border-color: var(--panel-border) !important;
    box-shadow: var(--panel-shadow) !important;
}

.rankings-container:hover,
.auth-container:hover,
.feature-card:hover,
.info-card:hover,
.dh-card:hover,
.event-section-wrapper:hover,
.guide-card:hover,
.tos-container:hover,
.report-card:hover {
    box-shadow: var(--panel-shadow-hover), 0 0 35px rgba(255, 215, 0, 0.12) !important;
}

/* ===== Rankings specific (tabs/search/table) ===== */

.ranking-tabs {
    gap: 10px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.ranking-tabs button {
    padding: 10px 16px;
    border-radius: 999px;
    border-bottom: none;
    color: rgba(245, 248, 255, 0.62);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.ranking-tabs button:hover {
    color: rgba(245, 248, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
}

.ranking-tabs button.active {
    color: #0b0f17;
    text-shadow: none;
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    box-shadow: 0 18px 55px rgba(255, 215, 0, 0.22);
}

.ranking-search-container {
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.06);
}

.ranking-search-container input {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(245, 248, 255, 0.92) !important;
}

.ranking-search-container input:focus {
    border-color: var(--gold-main) !important;
    box-shadow: 0 0 0 3px var(--gold-main) !important;
}

/* ===== Unified table style (used by rankings + other pages) ===== */

.rankings-container table,
.dh-card table,
.info-card table,
.event-section-wrapper table,
.tos-content table,
.report-card table {
    width: 100%;
    border-collapse: collapse;
}

.rankings-container th,
.dh-card th,
.info-card th,
.event-section-wrapper th,
.tos-content th,
.report-card th {
    background: rgba(0, 0, 0, 0.45);
    color: rgba(245, 248, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rankings-container td,
.dh-card td,
.info-card td,
.event-section-wrapper td,
.tos-content td,
.report-card td {
    color: rgba(245, 248, 255, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rankings-container tbody tr:nth-child(even) td,
.dh-card tbody tr:nth-child(even) td,
.info-card tbody tr:nth-child(even) td,
.event-section-wrapper tbody tr:nth-child(even) td,
.tos-content tbody tr:nth-child(even) td,
.report-card tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}

.rankings-container tr:hover td,
.dh-card tr:hover td,
.info-card tr:hover td,
.event-section-wrapper tr:hover td,
.tos-content tr:hover td,
.report-card tr:hover td {
    background: rgba(255, 215, 0, 0.08);
}

#login-section.auth-section,
#register-section.auth-section {
    background: rgba(0, 0, 0, 0.9);
}

#login-section .auth-container,
#register-section .auth-container {
    background: var(--bg-transparency) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8) !important;
    clip-path: var(--cut-corner) !important;
}

#login-section .auth-container::before,
#register-section .auth-container::before {
    background: transparent !important;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8) !important;
}

#login-section .auth-container::after,
#register-section .auth-container::after {
    content: none !important;
}

#login-section .close-section-btn:hover,
#register-section .close-section-btn:hover {
    color: var(--gold-main);
}

#login-section .auth-container h3,
#register-section .auth-container h3 {
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

#login-section .form-group label,
#register-section .form-group label {
    color: #a0a0a0;
}

#login-section .form-group input,
#login-section .form-group select,
#register-section .form-group input,
#register-section .form-group select {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    clip-path: var(--cut-small) !important;
}

#login-section .form-group input:focus,
#login-section .form-group select:focus,
#register-section .form-group input:focus,
#register-section .form-group select:focus {
    border-color: var(--gold-main) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1) !important;
}

#login-section .social-login-divider,
#register-section .social-login-divider {
    color: #555;
}

#login-section .social-login-divider::before,
#login-section .social-login-divider::after,
#register-section .social-login-divider::before,
#register-section .social-login-divider::after {
    background: rgba(255, 255, 255, 0.1);
}

#login-section .switch-auth-text,
#register-section .switch-auth-text {
    color: #777;
}

#login-section .switch-auth-text a,
#register-section .switch-auth-text a {
    color: var(--gold-main);
}

#login-section .switch-auth-text a:hover,
#register-section .switch-auth-text a:hover {
    color: var(--gold-main);
    text-shadow: 0 0 10px var(--gold-main);
}

#login-section .btn-primary::before,
#register-section .btn-primary::before {
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%) !important;
    border: none !important;
}

#login-section .btn-primary:hover::before,
#register-section .btn-primary:hover::before {
    background: linear-gradient(180deg, #fff 0%, var(--gold-main) 100%) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;
}

#login-section .btn-discord,
#register-section .btn-discord {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #5865F2;
    color: #fff;
    clip-path: var(--cut-small);
}

#login-section .btn-discord::before,
#register-section .btn-discord::before {
    content: none;
}

#login-section .btn-discord:hover,
#register-section .btn-discord:hover {
    background: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

:root {
    --btn-gold-top: color-mix(in srgb, #fff 40%, var(--gold-main));
    --btn-gold-mid: color-mix(in srgb, #fff 10%, var(--gold-main));
    --btn-gold-bot: color-mix(in srgb, #000 18%, var(--gold-dark));
    --btn-gold-border: rgba(255, 215, 0, 0.55);
    --btn-gold-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
    --btn-gold-glow: 0 0 18px rgba(255, 215, 0, 0.22);
}

.btn:not(.btn-discord):not(.btn-discord-action),
.action-btn,
.page-btn,
.tab-link,
.platform-btn,
.btn-verify,
.btn-pdf,
.ps-btn,
.ps-btn--gold,
.ranking-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px !important;
    font-family: var(--font-head) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
    outline: none !important;
    background: linear-gradient(180deg, var(--btn-gold-top) 0%, var(--btn-gold-mid) 55%, var(--btn-gold-bot) 100%) !important;
    border: 1px solid var(--btn-gold-border) !important;
    border-radius: 999px !important;
    clip-path: none !important;
    color: #1a0f00 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    box-shadow: var(--btn-gold-shadow);
}

.btn:not(.btn-discord):not(.btn-discord-action):focus-visible,
.action-btn:focus-visible,
.page-btn:focus-visible,
.tab-link:focus-visible,
.platform-btn:focus-visible,
.btn-verify:focus-visible,
.btn-pdf:focus-visible,
.ps-btn:focus-visible,
.ps-btn--gold:focus-visible,
.ranking-tabs button:focus-visible {
    outline: none !important;
    box-shadow: var(--btn-gold-shadow), 0 0 0 3px rgba(255, 215, 0, 0.25), var(--btn-gold-glow) !important;
}

.btn:not(.btn-discord):not(.btn-discord-action)::before,
.btn:not(.btn-discord):not(.btn-discord-action)::after,
.action-btn::before,
.action-btn::after,
.page-btn::before,
.page-btn::after,
.tab-link::before,
.tab-link::after,
.platform-btn::before,
.platform-btn::after,
.btn-verify::before,
.btn-verify::after,
.btn-pdf::before,
.btn-pdf::after,
.ps-btn::before,
.ps-btn::after,
.ps-btn--gold::before,
.ps-btn--gold::after,
.ranking-tabs button::before,
.ranking-tabs button::after {
    content: none !important;
}

.btn:not(.btn-discord):not(.btn-discord-action):hover,
.action-btn:hover,
.page-btn:hover,
.tab-link:hover,
.platform-btn:hover,
.btn-verify:hover,
.btn-pdf:hover,
.ps-btn:hover,
.ps-btn--gold:hover,
.ranking-tabs button:hover {
    background: linear-gradient(180deg, #fff 0%, var(--btn-gold-mid) 55%, var(--gold-main) 100%) !important;
    border-color: rgba(255, 215, 0, 0.85) !important;
    box-shadow: var(--btn-gold-shadow), var(--btn-gold-glow);
    transform: translateY(-1px);
}

.btn:not(.btn-discord):not(.btn-discord-action):active,
.action-btn:active,
.page-btn:active,
.tab-link:active,
.platform-btn:active,
.btn-verify:active,
.btn-pdf:active,
.ps-btn:active,
.ps-btn--gold:active,
.ranking-tabs button:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn:not(.btn-discord):not(.btn-discord-action):disabled,
.action-btn:disabled,
.page-btn:disabled,
.tab-link:disabled,
.platform-btn:disabled,
.btn-verify:disabled,
.btn-pdf:disabled,
.ps-btn:disabled,
.ps-btn--gold:disabled,
.ranking-tabs button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: saturate(0.85);
    box-shadow: none;
}