/* =============================================================
   SADDCRAFT — style.css  (fisier CSS global unificat)
   ============================================================= */

/* ── VARIABILE ──────────────────────────────────────────────── */
:root {
    --bg-main: #020202;
    --bg-sidebar: #040406;
    --bg-card: #0a0a0a;
    --red: #ff0000;
    --red-dim: rgba(255, 0, 0, 0.10);
    --red-border: rgba(255, 0, 0, 0.20);
    --sidebar-w: 270px;
}

/* ── RESET & BAZA ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background-image: url('/images/bg.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Overlay negru care intuneca fundalul — textul se vede clar */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 0;
    pointer-events: none;
}

/* Toate elementele sa fie peste overlay */
nav,
aside,
.main-content-wrapper,
.main-content-centered,
.main-with-right,
.modal-overlay,
.sc-global-footer {
    position: relative;
    z-index: 1;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

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

/* ── SIDEBAR STANGA ─────────────────────────────────────────── */
.sc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: rgba(3, 3, 5, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 0, 0, 0.12);
    z-index: 100;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Logo */
.sc-logo-area {
    padding: 26px 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.sc-logo-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 0, 0, 0.4), transparent);
}

.sc-logo-glow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(255, 0, 0, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.sc-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.6);
    animation: logo-pulse 3.5s ease-in-out infinite;
    object-fit: cover;
    margin-bottom: 12px;
}

@keyframes logo-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, .5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 0, 0, 0.14), 0 8px 32px rgba(255, 0, 0, .12);
    }
}

.sc-logo-text {
    font-weight: 900;
    font-style: italic;
    font-size: 20px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff 5%, #ff2222 45%, #fff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 4s linear infinite;
    line-height: 1;
}

@keyframes text-shine {
    to {
        background-position: 200% center;
    }
}

.sc-logo-sub {
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #a1a1aa;
    margin-top: 5px;
}

/* Nav sectiuni */
.sc-nav-section {
    padding: 16px 13px 6px;
}

.sc-nav-label {
    display: block;
    font-size: 8.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #71717a;
    padding: 0 8px;
    margin-bottom: 7px;
}

.sc-sep {
    height: 1px;
    margin: 8px 13px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.04), transparent);
}

/* Link-uri nav */
.sc-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 10px;
    color: #d4d4d8;
    font-weight: 900;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.18s ease;
    margin-bottom: 1px;
    border-left: 2px solid transparent;
}

.sc-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(255, 0, 0, 0.35);
    padding-left: 13px;
}

.sc-nav-link.active {
    color: #fff;
    background: rgba(255, 0, 0, 0.16);
    border-left-color: var(--red);
    padding-left: 13px;
}

.sc-nav-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 12px;
    transition: all 0.18s;
    flex-shrink: 0;
    color: inherit;
}

.sc-nav-link:hover .sc-nav-icon,
.sc-nav-link.active .sc-nav-icon {
    background: rgba(255, 0, 0, 0.12);
    color: var(--red);
}

/* Discord in sidebar */
.sc-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 12px;
    margin: 4px 13px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 11px;
    color: #7289da;
    font-weight: 900;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.22s;
}

.sc-discord-btn:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: rgba(88, 101, 242, 0.6);
    color: #fff;
    transform: translateY(-1px);
}

.sc-discord-btn i {
    font-size: 15px;
}

/* User panel */
.sc-user-panel {
    margin-top: auto;
    padding: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1200;
}

.sc-user-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
}

.sc-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sc-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sc-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    object-fit: cover;
}

.sc-user-name {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-user-rank {
    font-size: 8.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    margin-top: 3px;
}

.sc-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 9px;
    color: #2e2e2e;
    text-decoration: none;
    transition: 0.2s;
    flex-shrink: 0;
    font-size: 13px;
}

.sc-logout-btn:hover {
    background: rgba(255, 0, 0, 0.15);
    color: var(--red);
}

.sc-user-actions {
    display: flex;
    gap: 7px;
}

.sc-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 9px;
    font-size: 9.5px;
    font-weight: 900;
    text-transform: uppercase;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    font-family: 'Kanit', sans-serif;
}

.sc-action-btn:hover {
    background: var(--red);
    color: #fff;
}

/* Notificari */
.sc-notif-wrap {
    position: relative;
    z-index: 1300;
}

.sc-notif-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    width: auto;
    min-width: 250px;
    max-width: 300px;
    background: #0a0a0a;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 15px;
    padding: 13px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: 0.22s;
    z-index: 1500;
    box-shadow: 0 -15px 50px rgba(220, 38, 38, 0.15), 0 -10px 40px rgba(0, 0, 0, 0.85);
}

.sc-notif-wrap:hover .sc-notif-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.sc-notif-title {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e5e7eb;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}

.sc-notif-empty {
    font-size: 11px;
    color: #999;
    text-align: center;
    padding: 12px 0;
    font-weight: 900;
    text-transform: uppercase;
}

.sc-notif-item {
    font-size: 12px;
    color: #d1d5db;
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.5;
}

.sc-notif-item:last-child {
    border-bottom: none;
}

.sc-notif-all {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc2626;
    margin-top: 10px;
    padding-top: 8px;
    text-decoration: none;
    transition: 0.2s;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
}

.sc-notif-all:hover {
    color: #fca5a5;
}

.sc-bell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 9px;
    color: #262626;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    font-size: 13px;
}

.sc-bell-btn:hover {
    background: var(--red-dim);
    color: var(--red);
}

.sc-bell-btn.has-notif {
    color: var(--red);
    animation: bell-ring 2.5s ease-in-out infinite;
}

@keyframes bell-ring {

    0%,
    88%,
    100% {
        transform: rotate(0);
    }

    90%,
    96% {
        transform: rotate(-9deg);
    }

    93%,
    99% {
        transform: rotate(9deg);
    }
}

.sc-notif-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    min-width: 16px;
    height: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #090909;
    padding: 0 2px;
}

/* Guest */
.sc-guest-login {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 11px;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 7px;
    font-family: 'Kanit', sans-serif;
}

.sc-guest-login:hover {
    background: var(--red);
    border-color: var(--red);
}

.sc-guest-register {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    text-decoration: none;
    transition: 0.2s;
    padding: 7px;
}

.sc-guest-register:hover {
    color: #e5e7eb;
}

/* ── SIDEBAR DREAPTA (STATS) ────────────────────────────────── */
.sc-sidebar-right {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: rgba(3, 3, 5, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 0, 0, 0.12);
    z-index: 100;
    overflow-y: auto;
    padding: 28px 16px;
}

.sc-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px 16px;
    margin-bottom: 14px;
    transition: 0.3s;
}

.sc-widget:hover {
    background: rgba(255, 0, 0, 0.03);
    border-color: rgba(255, 0, 0, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 0, 0, 0.08);
}

.sc-widget-title {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 16px;
    display: block;
}

.sc-live-num {
    font-size: 50px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-align: center;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: num-pulse 2.5s ease-in-out infinite;
    display: block;
}

@keyframes num-pulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    }

    50% {
        text-shadow: 0 0 32px rgba(255, 0, 0, 0.85), 0 0 60px rgba(255, 0, 0, .25);
    }
}

.sc-live-max {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: #d1d5db;
}

.sc-live-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--red);
    text-align: center;
    margin-bottom: 16px;
    display: block;
}

.sc-widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.sc-widget-row-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a1a1aa;
}

.sc-widget-row-val {
    font-size: 11px;
    font-weight: 900;
    color: #fff;
}

.sc-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
}

.sc-dot-online {
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
}

.sc-dot-offline {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

.sc-discord-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.28);
    border-radius: 15px;
    color: #7289da;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.22s;
    margin-bottom: 14px;
}

.sc-discord-banner:hover {
    background: rgba(88, 101, 242, 0.28);
    border-color: #7289da;
    color: #fff;
    transform: scale(1.02);
}

.sc-discord-banner i {
    font-size: 17px;
}

.sc-ip-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--red-border);
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.28s;
    margin-bottom: 14px;
}

.sc-ip-card:hover {
    border-color: var(--red);
    box-shadow: 0 0 28px rgba(255, 0, 0, 0.1);
}

.sc-ip-copy-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 8px;
}

.sc-ip-address {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 18px rgba(255, 0, 0, 0.4);
    margin-bottom: 10px;
}

.sc-ip-status {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── LAYOUT PRINCIPAL ───────────────────────────────────────── */
.main-content-wrapper {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    padding: 60px 40px;
}

.main-content-centered {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-with-right {
    margin-left: var(--sidebar-w);
    margin-right: var(--sidebar-w);
    min-height: 100vh;
}

/* Hero title */
.hero-title {
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(to right, #fff 10%, #ff0000 50%, #fff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 4s linear infinite;
    display: block;
    line-height: 1.05;
    letter-spacing: -2px;
}

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #060606;
    border: 1px solid rgba(255, 0, 0, 0.12);
    border-radius: 2.5rem;
    width: 100%;
    max-width: 480px;
    padding: 3.5rem;
    text-align: center;
}

/* ── FORMULAR ───────────────────────────────────────────────── */
.auth-input {
    background: #000;
    border: 1px solid #111;
    padding: 15px 18px;
    border-radius: 13px;
    width: 100%;
    color: #fff;
    outline: none;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s;
}

.auth-input:focus {
    border-color: rgba(255, 0, 0, 0.4);
}

.btn-red {
    background: var(--red);
    color: white;
    font-weight: 900;
    padding: 15px 24px;
    border-radius: 13px;
    width: 100%;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Kanit', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.22s;
}

.btn-red:hover {
    background: #cc0000;
    box-shadow: 0 0 24px rgba(255, 0, 0, 0.35);
    transform: translateY(-1px);
}

/* ── CARD GENERIC ───────────────────────────────────────────── */
.sc-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 36px;
    transition: 0.3s;
}

.sc-card:hover {
    border-color: rgba(255, 0, 0, 0.14);
}

/* ── STATUS DOTS ────────────────────────────────────────────── */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.dot-online {
    background: #00e676;
    box-shadow: 0 0 10px #00e676;
}

.dot-offline {
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1300px) {
    .sc-sidebar-right {
        display: none;
    }

    .main-with-right {
        margin-right: 0;
    }
}

@media (max-width: 1000px) {
    .sc-sidebar {
        display: none;
    }

    .main-content-wrapper,
    .main-content-centered,
    .main-with-right {
        margin-left: 0;
    }
}

/* ── FOOTER GLOBAL ─────────────────────────────────────────── */
.sc-global-footer {
    margin-top: 56px;
    margin-bottom: 24px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.sc-global-footer:hover {
    opacity: 1;
}

.sc-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.sc-footer-links a {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #868686;
    text-decoration: none;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.18s ease;
}

.sc-footer-links a:hover {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.32);
    background: rgba(255, 0, 0, 0.08);
}

.sc-footer-copy {
    max-width: 700px;
    margin: 0 auto;
}

.sc-footer-brand {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 8px;
}

.sc-footer-legal {
    font-size: 12px;
    color: #656565;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.55;
}

/* ── STATS PAGE ────────────────────────────────────────────── */
.sc-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.sc-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #8d8d8d;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.sc-tab:hover {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.22);
    background: rgba(255, 0, 0, 0.06);
}

.sc-tab.active {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.45);
    background: rgba(255, 0, 0, 0.12);
}

.sc-stats-wrap {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    overflow: hidden;
}

.sc-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.sc-stats-table th,
.sc-stats-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

.sc-stats-table td:first-child,
.sc-stats-table th:first-child {
    text-align: center;
    border-right: 2px solid rgba(255, 0, 0, 0.15);
}

.sc-stats-table td:nth-child(2),
.sc-stats-table th:nth-child(2) {
    text-align: left;
    border-right: 2px solid rgba(255, 0, 0, 0.15);
    padding-left: 20px;
}

.sc-stats-table th {
    font-size: 12px;
    color: #a6a6a6;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    padding: 18px 14px;
}

.sc-stats-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.sc-rank-chip {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #bdbdbd;
}

.sc-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.sc-pager a,
.sc-pager span {
    min-width: 34px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #909090;
}

.sc-pager a:hover {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.08);
}

.sc-pager .active {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.5);
    background: rgba(255, 0, 0, 0.14);
}

@media (max-width: 900px) {
    .sc-stats-wrap {
        overflow-x: auto;
    }

    .sc-stats-table {
        min-width: 940px;
    }
}

/* ── LEGACY PAGE FIXES ─────────────────────────────────────── */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.btn-secondary:hover {
    background: rgba(255, 0, 0, 0.18);
    border-color: rgba(255, 0, 0, 0.38);
    color: #fff;
}

.vote-container,
.glass-card,
.support-card,
.shop-card,
.management-notice,
.cooldown-box,
.reward-card {
    background: rgba(8, 8, 10, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.reward-card {
    padding: 18px;
    text-align: center;
}

.cooldown-box {
    padding: 20px;
}

.btn-vote-big {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    border: none;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(90deg, #c1121f, #ff0000);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-vote-big:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(255, 0, 0, 0.35);
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #a3a3a3;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.category-btn.active,
.category-btn:hover {
    color: #fff;
    border-color: rgba(255, 0, 0, 0.34);
    background: rgba(255, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(255, 0, 0, 0.22);
    border: 1px solid rgba(255, 0, 0, 0.38);
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.55);
}

.management-notice {
    padding: 20px;
}

.support-input {
    width: 100%;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
}

.btn-support {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    background: #ff0000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
}

.sc-footer-links a {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f3f4f6;
    text-decoration: none;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    transition: all 0.18s ease;
}

.sc-footer-links a:hover {
    color: #ffffff;
    border-color: rgba(220, 38, 38, 0.4);
    background: rgba(220, 38, 38, 0.12);
}

.sc-global-footer .sc-footer-links a:hover,
.sc-global-footer .sc-footer-links a:focus-visible,
.sc-global-footer a:hover {
    color: #ffffff !important;
}

.sc-global-footer .sc-footer-legal {
    color: #e5e7eb;
}

/* FAQ call-to-action improvements */
.faq-help-block {
    margin-top: 4rem;
    text-align: center;
}

.faq-help-title {
    color: #f4f4f5;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
}

.faq-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.22), rgba(127, 29, 29, 0.32));
    color: #ffffff;
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.faq-help-btn:hover {
    color: #ffffff;
    border-color: rgba(248, 113, 113, 0.9);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.42), rgba(127, 29, 29, 0.52));
    box-shadow: 0 12px 34px rgba(220, 38, 38, 0.34);
    transform: translateY(-1px);
}

/* ── Captcha bigger styling ── */
.captcha-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 4px;
}

.captcha-question {
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.captcha-input {
    max-width: 120px !important;
    text-align: center !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
}

.faq-claim-guide {
    display: grid;
    gap: 18px;
    text-transform: none;
}

.faq-claim-hero {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    align-items: center;
}

.faq-claim-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-claim-copy,
.faq-claim-note {
    margin: 0;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
}

.faq-claim-cube {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 8px auto;
}

.faq-cube-face {
    position: absolute;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.faq-cube-top {
    top: 0;
    left: 16px;
    width: 36px;
    height: 20px;
    background: linear-gradient(135deg, #ff8a65, #ef4444);
    transform: skew(-30deg);
}

.faq-cube-left {
    top: 18px;
    left: 6px;
    width: 32px;
    height: 38px;
    background: linear-gradient(180deg, #dc2626, #7f1d1d);
    transform: skewY(30deg);
}

.faq-cube-right {
    top: 18px;
    right: 6px;
    width: 32px;
    height: 38px;
    background: linear-gradient(180deg, #f87171, #b91c1c);
    transform: skewY(-30deg);
}

.faq-claim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.faq-claim-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.faq-claim-card-copper {
    border-color: rgba(184, 115, 51, 0.42);
    background: linear-gradient(180deg, rgba(184, 115, 51, 0.22), rgba(56, 31, 17, 0.42));
}

.faq-claim-card-iron {
    border-color: rgba(201, 203, 207, 0.4);
    background: linear-gradient(180deg, rgba(212, 215, 220, 0.2), rgba(66, 73, 84, 0.4));
}

.faq-claim-card-gold {
    border-color: rgba(255, 215, 64, 0.42);
    background: linear-gradient(180deg, rgba(255, 215, 64, 0.22), rgba(92, 67, 7, 0.45));
}

.faq-claim-card-diamond {
    border-color: rgba(92, 241, 230, 0.42);
    background: linear-gradient(180deg, rgba(92, 241, 230, 0.2), rgba(13, 74, 86, 0.45));
}

.faq-claim-card-emerald {
    border-color: rgba(46, 204, 113, 0.42);
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.2), rgba(10, 71, 39, 0.45));
}

.faq-claim-card-netherite {
    border-color: rgba(98, 74, 83, 0.52);
    background: linear-gradient(180deg, rgba(98, 74, 83, 0.28), rgba(26, 22, 28, 0.58));
}

.faq-claim-card-premium {
    border-color: rgba(239, 68, 68, 0.35);
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.32), rgba(255, 255, 255, 0.04));
}

.faq-claim-card.faq-claim-card-emerald {
    border-color: rgba(46, 204, 113, 0.42);
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.2), rgba(10, 71, 39, 0.45));
}

.faq-claim-card.faq-claim-card-netherite {
    border-color: rgba(98, 74, 83, 0.52);
    background: linear-gradient(180deg, rgba(98, 74, 83, 0.28), rgba(26, 22, 28, 0.58));
}

.faq-claim-block {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24);
}

.faq-claim-radius,
.faq-claim-price {
    color: #a1a1aa;
    font-size: 12px;
    font-weight: 800;
}

.faq-claim-price {
    color: #fbbf24;
}

.faq-claim-card-copper .faq-claim-block,
.faq-claim-card-copper .faq-claim-price {
    color: #f2a96b;
}

.faq-claim-card-iron .faq-claim-block,
.faq-claim-card-iron .faq-claim-price {
    color: #e5e7eb;
}

.faq-claim-card-gold .faq-claim-block,
.faq-claim-card-gold .faq-claim-price {
    color: #facc15;
}

.faq-claim-card-diamond .faq-claim-block,
.faq-claim-card-diamond .faq-claim-price {
    color: #67e8f9;
}

.faq-claim-card-emerald .faq-claim-block,
.faq-claim-card-emerald .faq-claim-price {
    color: #4ade80;
}

.faq-claim-card-netherite .faq-claim-block,
.faq-claim-card-netherite .faq-claim-price {
    color: #d6bcfa;
}

.faq-claim-card-copper .faq-claim-radius,
.faq-claim-card-iron .faq-claim-radius,
.faq-claim-card-gold .faq-claim-radius,
.faq-claim-card-diamond .faq-claim-radius,
.faq-claim-card-emerald .faq-claim-radius,
.faq-claim-card-netherite .faq-claim-radius {
    color: rgba(255, 255, 255, 0.78);
}

.faq-claim-commands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-claim-command {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.22);
    color: #f5f5f5;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

@media (max-width: 700px) {
    .faq-claim-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .faq-claim-grid {
        grid-template-columns: 1fr;
    }

    .faq-claim-commands {
        justify-content: center;
    }
}

/* ── ACCOUNT SKIN PULSE ───────────────────────────────────── */
@keyframes sc-skin-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(220, 38, 38, 0);
    }
}

.sc-skin-pulse {
    animation: sc-skin-ring 2.5s ease-in-out infinite;
}

/* ── ACCOUNT USERNAME SADDCRAFT GLOW ─────────────────────── */
@keyframes sc-name-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.sc-saddcraft-username {
    background: linear-gradient(135deg,
            #ff3c3c 0%,
            #ff8a8a 20%,
            #ffffff 40%,
            #ff8a8a 60%,
            #ff3c3c 80%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sc-name-flow 3.5s linear infinite;
    filter: drop-shadow(0 0 18px rgba(220, 38, 38, 0.5));
}

/* ── NOTIFICATIONS PAGE ───────────────────────────────────── */
.notif-card {
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s;
}

.notif-card.unread {
    border-color: rgba(220, 38, 38, 0.28);
    background: rgba(220, 38, 38, 0.03);
}

.notif-read {
    opacity: 0.82;
}

.icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

/* ── ADMIN CONSOLE CARD ───────────────────────────────────── */
.sc-console-card {
    background: #040404;
    border: 1px solid rgba(0, 255, 65, 0.12);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.sc-console-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff41 0%, rgba(0, 255, 65, 0.2) 60%, transparent 100%);
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 4px #00ff41;
    }

    50% {
        opacity: 0.3;
        box-shadow: 0 0 2px #00ff41;
    }
}

.sc-console-dot {
    width: 9px;
    height: 9px;
    background: #00ff41;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── ADMIN ACTION BUTTONS ─────────────────────────────────── */
.admin-action-btn {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.18s;
    font-family: 'Kanit', sans-serif;
}

.admin-action-btn.kick {
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.3);
    background: rgba(250, 204, 21, 0.06);
}

.admin-action-btn.kick:hover {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.6);
}

.admin-action-btn.ban {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.06);
}

.admin-action-btn.ban:hover {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.6);
}

.admin-action-btn.mute {
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(167, 139, 250, 0.06);
}

.admin-action-btn.mute:hover {
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(167, 139, 250, 0.6);
}
}

/* ── APPLY PAGE BUTTONS ──────────────────────────────────────────── */
.btn-apply-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 45%, #991b1b 100%) !important;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    border: 1px solid rgba(248, 113, 113, 0.75);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Kanit', sans-serif;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.btn-apply-submit:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 40%, #b91c1c 100%) !important;
    border-color: rgba(254, 202, 202, 0.9);
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.48), 0 0 0 3px rgba(220, 38, 38, 0.2);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-apply-submit:active {
    transform: scale(0.985);
}

/* ── APPLY PAGE FULL STYLING FIX ───────────────────────────── */
.apply-card {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.92), rgba(6, 6, 8, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.apply-card .grid.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.apply-input {
    width: 100%;
    background: rgba(4, 4, 5, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #f8fafc;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.apply-input:focus {
    border-color: rgba(220, 38, 38, 0.75);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
    background: rgba(8, 8, 10, 0.98);
}

.apply-input::placeholder {
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.apply-card label {
    color: #d4d4d8 !important;
}

.apply-card select.apply-input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #ef4444 50%), linear-gradient(135deg, #ef4444 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.apply-card textarea.apply-input {
    resize: vertical;
    min-height: 130px;
}

@media (max-width: 860px) {
    .apply-card {
        padding: 22px;
        border-radius: 20px;
    }

    .apply-card .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── RULES UPDATE NOTICE VISIBILITY ───────────────────────── */
.rule-update-card {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.12), rgba(127, 29, 29, 0.12));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.22s ease;
}

.rule-update-card:hover {
    border-color: rgba(248, 113, 113, 0.6);
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.22), rgba(127, 29, 29, 0.24));
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.22);
    transform: translateY(-1px);
}

.rule-update-text {
    color: #e5e7eb;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}