/* Default Theme (Red) - CSS Variable Definitions */
:root {
    --black: #050505;
    --black-soft: #0a0808;
    --black-red: #0d0808;

    --red-darkest: #1a0505;
    --red-darker: #2a0a0a;
    --red-dark: #3d0f0f;
    --bg-dark: #180303;
    --red: #5c1515;
    --red-medium: #7a1f1f;
    --red-bright: #9c2828;
    --red-glow: #c43030;

    --glass-dark: rgba(10, 5, 5, 0.7);
    --glass-red: rgba(30, 10, 10, 0.6);
    --glass-light: rgba(60, 20, 20, 0.4);
    --glass-border: rgba(150, 40, 40, 0.2);
    --glass-shine: rgba(255, 100, 100, 0.05);

    --text-white: #ffffff;
    --text-90: rgba(255, 255, 255, 0.9);
    --text-70: rgba(255, 255, 255, 0.7);
    --text-50: rgba(255, 255, 255, 0.5);
    --text-30: rgba(255, 255, 255, 0.3);

    --inset-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), inset 0 -1px 0 rgba(255, 100, 100, 0.1);
    --inset-deep: inset 0 4px 8px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 100, 100, 0.08);
    --glow-red: 0 0 30px rgba(156, 40, 40, 0.4);
    --glow-soft: 0 0 20px rgba(156, 40, 40, 0.2);
}

/* Default theme body styles */
body {
    background: var(--black);
    background-image: url(../../images/default/bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-70);
    padding-top: 87px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgb(85 0 0 / 0%) 0%, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(60, 15, 15, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 20% 90%, rgba(40, 10, 10, 0.2) 0%, #75080805 40%), linear-gradient(180deg, rgb(5 5 5 / 15%) 0%, rgb(5 5 5 / 26%) 100%);
    pointer-events: none;
    z-index: 0;
}

#bg-video-wrap {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}

#bg-video.ready {
    opacity: 1;
}

@media (max-width: 1023px) {
    #bg-video-wrap {
        display: none;
    }
}

@media (max-width: 1024px) {
    body {
        padding-top: 193px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 68px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }
}

.page-loader {
    background: #160e0e;
}

.page-loader::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgb(85 0 0 / 0%) 0%, transparent 60%),
        linear-gradient(180deg, rgb(5 5 5 / 15%) 0%, rgb(5 5 5 / 26%) 100%);
    pointer-events: none;
}

/* ======================================
   Component Styles (from globals.css)
   ====================================== */
/* CSS Variables are defined in /public/css/themes/{theme}.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-70);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--red-glow);
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-white);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 30px 30px 30px;
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 30px;
    flex: 1;
}

.site-header {
    z-index: 1000;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-center img {
    height: 330px;
    padding: 20px 0;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    width: 100%;
    background: var(--glass-dark);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow:
        inset 0 1px 0 var(--glass-shine),
        0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

.nav-link {
    padding: 14px 24px;
    color: var(--text-50);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
    background: var(--glass-light);
    border-color: var(--glass-border);
    box-shadow: var(--inset-shadow);
}

.nav-link.active {
    color: var(--text-white);
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    border: 1px solid var(--red);
    box-shadow:
        var(--inset-shadow),
        0 0 20px rgba(92, 21, 21, 0.5),
        inset 0 0 20px rgba(156, 40, 40, 0.1);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-glow), transparent);
}

.nav-link i {
    margin-right: 8px;
    opacity: 0.8;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--glass-border);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--glass-red);
    border: 1px solid transparent;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.lang-btn img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--glass-light);
    border-color: var(--glass-border);
    transform: translateY(-2px);
}

.lang-btn:hover img {
    opacity: 1;
}

.lang-btn.active {
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    border: 1px solid var(--red);
    box-shadow: var(--inset-shadow), 0 0 15px rgba(92, 21, 21, 0.5);
}

.lang-btn.active img {
    opacity: 1;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 10px;
        padding-left: 10px;
    }

    .lang-btn {
        width: 32px;
        height: 32px;
    }

    .lang-btn img {
        width: 18px;
        height: 13px;
    }
}

.sidebar-left .sidebar,
.sidebar-right .sidebar {
    position: sticky;
    top: 25px;
}

.sidebar,
.card,
.content-center {
    background: var(--glass-dark);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 10px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 var(--glass-shine);
}

.sidebar-header,
.card-header,
.content-header {
    padding: 18px 22px;
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    border-bottom: 1px solid var(--red);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255, 100, 100, 0.15),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(92, 21, 21, 0.3);
}

.sidebar-header::before,
.card-header::before,
.content-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 150, 150, 0.3), transparent);
}

.sidebar-header::after,
.card-header::after,
.content-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.sidebar-header i,
.card-header i {
    color: var(--red-glow);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(196, 48, 48, 0.5));
}

.sidebar-header span,
.download-section span,
.card-header h3,
.card-header h4,
.content-header h2 {
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 500;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 20px rgba(196, 48, 48, 0.5);
}

/*
.sidebar-header span, .card-header h3, .card-header h4, .content-header h2 {
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 20px rgba(196, 48, 48, 0.5);
}

*/

.card-body,
.content-body {
    padding: 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.sidebar-menu {
    list-style: none;
    padding: 15px;
}

.sidebar-menu li {
    margin-bottom: 6px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-50);
    background: var(--glass-red);
    border: 1px solid transparent;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.sidebar-menu a:hover {
    color: var(--text-white);
    background: var(--glass-light);
    border-color: var(--glass-border);
    box-shadow:
        var(--inset-deep),
        0 0 15px rgba(92, 21, 21, 0.3);
    transform: translateX(5px);
}

.sidebar-menu a i {
    width: 22px;
    text-align: center;
    color: var(--red-glow);
    filter: drop-shadow(0 0 5px rgba(196, 48, 48, 0.5));
    transition: all 0.3s ease;
}

.sidebar-menu a:hover i {
    filter: drop-shadow(0 0 10px rgba(196, 48, 48, 0.8));
}

/*
.content-center {
    padding: 25px;
}
*/

.content-center .card {
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    box-shadow: var(--inset-deep);
}

.download-section {
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 2px 0 rgba(255, 150, 150, 0.2),
        inset 0 -5px 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(92, 21, 21, 0.5);
}

.download-btn-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
    animation: shimmer 3s infinite;
    z-index: 0;
    pointer-events: none;
}


.download-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 150, 150, 0.15) 0%, transparent 70%);
}

/*
.download-btn-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 20px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}
*/

.download-btn-sidebar {
    padding: 18px 22px;
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    border-bottom: 1px solid var(--red);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 9999;
    box-shadow: inset 0 1px 0 rgba(255, 100, 100, 0.15), inset 0 -2px 10px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(92, 21, 21, 0.3);
}

.download-btn-sidebar:hover {
    color: var(--text-white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.download-btn-sidebar i {
    color: var(--red-glow);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(196, 48, 48, 0.5));
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.download-subtitle {
    text-align: center;
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    color: var(--text-50);
    font-size: 0.8rem;
    padding: 14px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 100, 100, 0.1);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: var(--glass-light);
    box-shadow:
        var(--inset-deep),
        0 0 15px rgba(92, 21, 21, 0.3);
    transform: translateX(5px);
}

.stat-row i {
    color: var(--red-glow);
    width: 24px;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(196, 48, 48, 0.5));
}

.stat-row .stat-label {
    flex: 1;
    color: var(--text-50);
    font-size: 0.9rem;
}

.stat-row .stat-value {
    color: var(--text-white);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-50);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    box-shadow: var(--inset-deep);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    background: var(--glass-light);
    box-shadow:
        var(--inset-deep),
        0 0 20px rgba(92, 21, 21, 0.4);
}

.form-control::placeholder {
    color: var(--text-30);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--text-white);
    border: 1px solid var(--red-medium);
    box-shadow:
        inset 0 1px 0 rgba(255, 150, 150, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(92, 21, 21, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--red-medium) 0%, var(--red) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 150, 150, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3),
        0 8px 30px rgba(92, 21, 21, 0.6),
        0 0 30px rgba(156, 40, 40, 0.4);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--glass-red);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    box-shadow: var(--inset-shadow);
}

.btn-secondary:hover {
    background: var(--glass-light);
    border-color: var(--red-dark);
    box-shadow: var(--inset-deep), var(--glow-soft);
}

.btn-outline {
    background: transparent;
    color: var(--red-glow);
    border: 1px solid var(--red);
    box-shadow: inset 0 0 20px rgba(92, 21, 21, 0.2);
}

.btn-outline:hover {
    background: var(--red-darker);
    color: var(--text-white);
    box-shadow:
        inset 0 0 20px rgba(92, 21, 21, 0.3),
        0 0 20px rgba(92, 21, 21, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 0.9rem;
}

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

.table th {
    color: var(--text-70);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--red-dark);
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--glass-border);
}

.table tr {
    transition: all 0.2s ease;
}

.table tr:hover {
    background: var(--glass-red);
}

.table tr:last-child td {
    border-bottom: none;
}

.ranking-table .rank-1 {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.ranking-table .rank-2 {
    color: #c0c0c0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.ranking-table .rank-3 {
    color: #cd853f;
    text-shadow: 0 0 10px rgba(205, 133, 63, 0.5);
}

.ranking-table .player-name {
    color: var(--text-white);
    font-weight: 500;
}

.ranking-table .player-level {
    color: var(--red-glow);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .table-responsive>.table {
        min-width: 900px;
        width: 100%;
        margin-bottom: 0;
    }

    .table-responsive th,
    .table-responsive td {
        white-space: nowrap;
    }
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-50);
    font-size: 1.1rem;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--red-dark);
    border-color: var(--red);
    color: var(--text-white);
    box-shadow:
        var(--inset-shadow),
        0 0 20px rgba(92, 21, 21, 0.5);
    transform: translateY(-3px);
}

.sidebar-login-form .form-control {
    padding: 12px 16px;
}

.sidebar-login-form .recaptcha-wrapper {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}

.sidebar-login-form .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
}

.login-links-sidebar {
    margin-top: 18px;
    text-align: center;
}

.login-links-sidebar a {
    display: block;
    padding: 6px 0;
    color: var(--text-30);
    font-size: 0.85rem;
}

.login-links-sidebar a:hover {
    color: var(--red-glow);
}

.user-welcome-sidebar {
    text-align: center;
}

.user-welcome-sidebar .welcome-text {
    margin-bottom: 18px;
}

.user-welcome-sidebar strong {
    color: var(--red-glow);
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

.user-actions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer {
    background: var(--glass-dark);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--glass-border);
    padding: 45px 0 30px;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .footer-logo img {
        height: 80px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 35px;
}

.footer-section h4 {
    font-size: 0.8rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red-glow);
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-30);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-30);
    font-size: 0.85rem;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 3px solid;
    background: var(--glass-red);
    box-shadow: var(--inset-shadow);
}

.alert-success {
    border-color: #22c55e;
    color: #4ade80;
}

.alert-danger {
    border-color: #ef4444;
    color: #f87171;
}

.alert-warning {
    border-color: #f59e0b;
    color: #fbbf24;
}

.alert-info {
    border-color: #3b82f6;
    color: #60a5fa;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--inset-shadow);
}

.badge-gold {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.badge-success {
    background: #22c55e;
    color: white;
}

.badge-danger {
    background: #ef4444;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination .page-link {
    padding: 12px 18px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-50);
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--glass-light);
    color: var(--text-white);
    box-shadow: var(--inset-deep);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--red);
    color: var(--text-white);
    box-shadow: var(--inset-shadow), var(--glow-soft);
}

.ranking-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.ranking-tab {
    padding: 12px 22px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-50);
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.ranking-tab:hover {
    background: var(--glass-light);
    color: var(--text-white);
}

.ranking-tab.active {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--red);
    color: var(--text-white);
    box-shadow: var(--inset-shadow), var(--glow-soft);
}

.rank-badge {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    color: #000;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd853f, #8b4513);
    color: #000;
    box-shadow: 0 0 10px rgba(205, 133, 63, 0.4);
}

.player-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.player-card:hover {
    background: var(--glass-light);
    box-shadow: var(--inset-deep), var(--glow-soft);
}

.player-card .player-avatar {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
}

.player-card .player-info {
    flex: 1;
}

.player-card .player-name {
    color: var(--text-white);
    font-weight: 500;
}

.player-card .player-class {
    color: var(--text-30);
    font-size: 0.85rem;
}

.player-card .player-level {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-white);
    box-shadow: var(--inset-shadow), var(--glow-soft);
}

.card-header i {
    font-size: 0.9rem;
}

.player-card .player-info {
    flex: 1 1 auto;
    min-width: 0;
}

.player-card .player-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
}

.player-card .player-class {
    font-size: 0.72rem;
    line-height: 1.1;
}

.player-card .player-level {
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 7px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.player-card form {
    margin-left: auto;
    flex: 0 0 auto;
}

.player-card form .btn {
    padding: 7px 12px;
    font-size: 0.78rem;
    line-height: 1;
    border-radius: 10px;
    white-space: nowrap;
}

.player-card {
    gap: 12px;
    padding: 16px;
}


.video-section {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--black);
    box-shadow: var(--inset-deep);
}

.video-section iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.download-list,
.vote-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.download-item,
.vote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.download-item:hover,
.vote-item:hover {
    background: var(--glass-light);
    box-shadow: var(--inset-deep), var(--glow-soft);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.download-info i {
    font-size: 1.5rem;
    color: var(--red-glow);
    filter: drop-shadow(0 0 8px rgba(196, 48, 48, 0.5));
}

.download-name {
    color: var(--text-white);
    font-weight: 500;
}

.download-actions {
    display: flex;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 24px 18px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--glass-light);
    box-shadow: var(--inset-deep), var(--glow-soft);
}

.stat-item .stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--red-glow);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(196, 48, 48, 0.5);
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--text-30);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-title .subtitle {
    color: var(--text-30);
}

.separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 30px 0;
}

.empty-state {
    text-align: center;
    padding: 60px 25px;
    color: var(--text-30);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 18px;
    opacity: 0.2;
    color: var(--red);
}

.empty-state2 {
    text-align: center;
    padding: 60px 25px;
    color: var(--text-30);
}

.kingdom-icon {
    width: 35px;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    /*margin: 16px 0;*/
}

.recaptcha-wrapper .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.text-gold {
    color: var(--red-glow);
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

.text-muted {
    color: var(--text-30);
}

.text-light {
    color: var(--text-white);
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.p-0 {
    padding: 0;
}

.p-2 {
    padding: 1rem;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none !important;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--red-darker);
    border-radius: 5px;
    border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

::selection {
    background: var(--red);
    color: var(--text-white);
}

@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 260px 1fr 280px;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    /*.sidebar-left, .sidebar-right { display: none; }*/
    .logo-center img {
        height: 160px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {

    .download-item,
    .vote-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .download-actions {
        width: 100%;
    }

    .download-actions .btn {
        flex: 1;
    }

    .ranking-tabs {
        flex-direction: column;
    }
}

select {
    appearance: base-select;
    -webkit-appearance: base-select;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    box-shadow: var(--inset-deep);
    cursor: pointer;
}

select:has(option:not([hidden]):checked) {
    color: var(--text-white);
}

select:focus-visible {
    outline: 2px solid rgba(255, 60, 60, 0.45);
    outline-offset: -1px;
}

select::picker-icon {
    display: none;
}

select::picker(select) {
    appearance: base-select;
    -webkit-appearance: base-select;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    padding: 0.35rem;
    margin-top: 0.35rem;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
    cursor: default;
    transition: opacity 225ms ease-in-out, transform 225ms ease-in-out;
    transform-origin: top;
    transform: translateY(0);
    opacity: 1;
}

@starting-style {
    select::picker(select) {
        transform: translateY(-0.25rem) scale(0.98);
        opacity: 0;
    }
}

select option {
    padding: 10px 10px;
    gap: 5px;
    border-radius: 10px;
    outline: none;
    color: var(--text-white);
    background: transparent;
    margin-top: 4px;
    margin-bottom: 4px;
}

select option::checkmark {
    display: none;
}

select option:checked {
    background: rgba(255, 60, 60, 0.22);
    border: 1px solid rgba(255, 60, 60, 0.30);
}

select option:hover,
select option:focus-visible {
    background: rgba(255, 255, 255, .10);
    color: var(--text-white);
}

.terms-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.terms-center .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    text-align: center;
}

.terms-center .checkbox-label input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}

.terms-center .checkbox-label span {
    display: inline-block;
}

a,
label,
input,
div,
body {
    cursor: url(../../images/cursor/normal.png), auto;
}

.buy-cursor {
    cursor: url(../../images/cursor/buy.png), auto;
}

.sell-cursor {
    cursor: url(../../images/cursor/sell.png), auto;
}

.sell-cursor {
    cursor: url(../../images/cursor/sell.png), auto;
}

.ranking-style-dot {
    justify-content: center;
    display: flex;
    text-decoration: none;
}

.ranking-style-dot ul {
    list-style: none;
}

/* ========================================
   Mobile Burger Menu
   ======================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--inset-shadow);
    transition: all 0.3s ease;
    z-index: 10001;
}

.mobile-menu-toggle:hover {
    background: var(--glass-light);
    border-color: var(--red);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-70);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--red-glow);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--red-glow);
}

/* Nav Links Container - Desktop */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 12px 20px;
    }

    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--glass-dark);
        backdrop-filter: blur(30px) saturate(150%);
        -webkit-backdrop-filter: blur(30px) saturate(150%);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 15px;
        gap: 8px;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9998;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link {
        width: 100%;
        padding: 14px 18px;
        text-align: left;
        border-radius: 10px;
    }

    .nav-links .nav-link i {
        display: inline-block !important;
        width: 24px;
        margin-right: 10px;
    }

    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 768px) {
    .header-nav {
        padding: 10px 15px;
    }

    .nav-links {
        top: 56px;
        max-height: calc(100vh - 56px);
    }

    .nav-link i {
        display: inline-block !important;
    }
}

/* ========================================
   Unified Modal System
   ======================================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--glass-dark);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-red);
}

.modal-header {
    padding: 20px 24px;
}

.modal-header h5 {
    margin: 0;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 18px 25px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

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

.modal-box {
    background: var(--glass-dark);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 450px;
    width: 95%;
    animation: modalFadeIn 0.2s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-red);
}

.modal-box.modal-lg {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-box.modal-md {
    max-width: 600px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--red);
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 100, 100, 0.15), inset 0 -2px 10px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(92, 21, 21, 0.3);
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.modal-header h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-white);
}

.modal-header h5 i {
    margin-right: 8px;
    color: var(--red-glow);
    filter: drop-shadow(0 0 5px rgba(196, 48, 48, 0.5));
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-50);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.modal-body p {
    margin-bottom: 10px;
    color: var(--text-70);
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}

/* Modal Timer Badge (for 2FA) */
.modal-timer-badge {
    display: inline-block;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.modal-timer-badge.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.modal-timer-badge.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: timerPulse 1s infinite;
}

@keyframes timerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Scrollable Modal Body (for Terms etc.) */
.modal-body-scroll {
    overflow-y: auto;
    max-height: 60vh;
    flex: 1;
    padding: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.modal-body-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-body-scroll::-webkit-scrollbar-track {
    background: var(--glass-dark);
    border-radius: 4px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

.modal-body-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* Terms Content inside Modal */
.terms-content h5 {
    color: var(--text-white);
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.terms-content p {
    color: var(--text-70);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Danger Button for Modal */
.btn-danger {
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    color: var(--text-white);
    border: 1px solid #dc2626;
    box-shadow: inset 0 1px 0 rgba(255, 150, 150, 0.2), 0 5px 20px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: var(--text-white);
    box-shadow: inset 0 1px 0 rgba(255, 150, 150, 0.3), 0 8px 30px rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

/* Warning Text */
.text-warning {
    color: #f59e0b !important;
}

/* Code Input (for 2FA etc.) */
.code-input {
    font-size: 1.5rem;
    letter-spacing: 10px;
    font-weight: bold;
    text-align: center;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-box {
        width: 95%;
        margin: 10px;
    }

    .modal-box.modal-lg {
        max-height: 95vh;
    }

    .modal-body-scroll {
        max-height: 55vh;
    }
}

/* ==========================================
   TOASTR CUSTOM STYLES
   Site temasına uygun bildirimler
   ========================================== */

/* Container pozisyon */
#toast-container {
    font-family: 'Open Sans', Arial, sans-serif !important;
}

/* Varsayılan toastr ikonlarını kapat */
#toast-container>div {
    opacity: 1 !important;
    border-radius: 12px !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px 16px 55px !important;
    background-position: 18px center !important;
    background-repeat: no-repeat !important;
    background-size: 22px 22px !important;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid !important;
    position: relative;
    overflow: hidden;
}

/* Animasyonlar */
#toast-container>div.toast {
    animation: toastSlideIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#toast-container>.toast-hidden {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Success - Yeşil tema */
#toast-container>.toast-success {
    background-color: rgba(10, 25, 18, 0.95) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #ecfdf5 !important;
}

#toast-container>.toast-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 12px 0 0 12px;
}

#toast-container>.toast-success .toast-title {
    color: #34d399 !important;
}

/* Error - Kırmızı tema */
#toast-container>.toast-error {
    background-color: rgba(25, 10, 10, 0.95) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") !important;
    border-color: rgba(220, 38, 38, 0.4) !important;
    color: #fef2f2 !important;
}

#toast-container>.toast-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 12px 0 0 12px;
}

#toast-container>.toast-error .toast-title {
    color: #f87171 !important;
}

/* Warning - Sarı/Turuncu tema */
#toast-container>.toast-warning {
    background-color: rgba(25, 20, 10, 0.95) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fffbeb !important;
}

#toast-container>.toast-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    border-radius: 12px 0 0 12px;
}

#toast-container>.toast-warning .toast-title {
    color: #fbbf24 !important;
}

/* Info - Mavi tema */
#toast-container>.toast-info {
    background-color: rgba(10, 15, 30, 0.95) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #eff6ff !important;
}

#toast-container>.toast-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px 0 0 12px;
}

#toast-container>.toast-info .toast-title {
    color: #60a5fa !important;
}

/* Title ve Message */
#toast-container>div .toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

#toast-container>div .toast-message {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Close Button */
#toast-container>div .toast-close-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    text-shadow: none;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#toast-container>div .toast-close-button:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

/* Progress Bar */
#toast-container>div .toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 0 0 12px 12px;
    opacity: 1;
}

#toast-container>.toast-success .toast-progress {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

#toast-container>.toast-error .toast-progress {
    background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
}

#toast-container>.toast-warning .toast-progress {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

#toast-container>.toast-info .toast-progress {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

/* Hover efekti */
#toast-container>div:hover {
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

/* Mobile responsive */
@media (max-width: 480px) {
    #toast-container {
        left: 10px;
        right: 10px;
        width: auto;
    }

    #toast-container>div {
        width: 100%;
        min-width: auto;
        max-width: none;
        margin-bottom: 10px;
    }

    #toast-container.toast-top-right,
    #toast-container.toast-top-left,
    #toast-container.toast-bottom-right,
    #toast-container.toast-bottom-left {
        left: 10px;
        right: 10px;
    }
}

.pagination {
    list-style: none;
}

/* ========================================
   Carousel Slider
   ======================================== */

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 250px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--black);
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
}

.carousel-caption h4 {
    text-align: center;
    font-size: 1.1em;
    color: var(--red-glow);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.carousel-caption p {
    margin: 0;
    text-align: center;
    font-size: 0.85em;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    line-height: 1.4;
    word-break: break-word;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--red-dark);
    color: var(--red-glow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--red-darker);
    border-color: var(--red);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(156, 40, 40, 0.5);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--red-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--red-glow);
    border-color: var(--red-glow);
    box-shadow: 0 0 8px rgba(196, 48, 48, 0.6);
}

@media (max-width: 768px) {
    .carousel-slides {
        height: 180px;
    }

    .carousel-nav {
        width: 32px;
        height: 32px;
    }

    .carousel-caption h4 {
        font-size: 0.95em;
    }

    .carousel-caption p {
        font-size: 0.75em;
    }

    .carousel-caption {
        padding: 10px 15px;
    }

    .carousel-dots {
        bottom: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   News Category Badges
   ======================================== */

.news-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65em;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    vertical-align: middle;
}

.news-badge-update {
    background: linear-gradient(135deg, #1a4a1a 0%, #0d2d0d 100%);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.news-badge-event {
    background: linear-gradient(135deg, #4a3a1a 0%, #2d230d 100%);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.news-badge-maintenance {
    background: linear-gradient(135deg, #4a1a1a 0%, #2d0d0d 100%);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.news-badge-announcement {
    background: linear-gradient(135deg, #1a3a4a 0%, #0d232d 100%);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

/* ========================================
   Ticket System CSS
   ======================================== */

.ticket-subject {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-code {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: monospace;
}

.ticket-info {
    padding: 20px;
    background: var(--glass-red);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.ticket-info p {
    margin-bottom: 8px;
}

.ticket-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-actions.justify-center {
    justify-content: center;
}

/* Message Box Styles */
.message-box {
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
}

.user-message {
    background: var(--glass-red);
}

.admin-message {
    background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-darker) 100%);
    border-color: var(--red);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.message-author {
    font-weight: 600;
    color: var(--text-white);
}

.message-author i {
    margin-right: 6px;
    color: var(--red-glow);
}

.admin-message .message-author i {
    color: #ffd700;
}

.message-time {
    font-size: 0.85rem;
    color: var(--text-30);
}

.message-content {
    color: var(--text-70);
    line-height: 1.7;
    word-wrap: break-word;
}

.ml-2 {
    margin-left: 10px;
}

/* ========================================
   Payment Method Card
   ======================================== */

.payment-method-card:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: translateX(5px);
}

/* ========================================
   Article Content
   ======================================== */

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .article-content img {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   System Requirements (Download Page)
   ======================================== */

.system-requirements {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    margin-top: 20px;
}

.system-requirements h5 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1rem;
}

.system-requirements h5 i {
    margin-right: 8px;
    color: var(--red-glow);
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.requirement-item:hover {
    background: #210404;
}

.requirement-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-glow);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
}

.requirement-info {
    display: flex;
    flex-direction: column;
}

.requirement-label {
    font-size: 0.75rem;
    color: var(--text-50);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-value {
    font-size: 0.9rem;
    color: var(--text-white);
}

/* ========================================
   Maintenance Page
   ======================================== */

.maintenance-container {
    text-align: center;
    max-width: 500px;
    padding: 50px 40px;
}

.maintenance-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(139, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 0, 0, 0.5);
}

.maintenance-icon i {
    font-size: 40px;
    color: #8b0000;
}

.maintenance-title {
    font-size: 1.8em;
    color: #8b0000;
    margin-bottom: 15px;
}

.maintenance-text {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.maintenance-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.maintenance-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maintenance-links a:hover {
    background: rgba(139, 0, 0, 0.3);
    color: #fff;
    border-color: rgba(139, 0, 0, 0.5);
}

.maintenance-container .logo {
    max-width: 180px;
    margin-bottom: 20px;
}

/* ========================================
   Next.js Specific Additions
   ======================================== */

/* Content Gap (replaces Tailwind space-y) */
.content-gap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Text Link for auth pages */
.text-link {
    color: var(--red-glow);
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(196, 48, 48, 0.5);
}

/* Additional text utilities */
.text-danger {
    color: #f87171 !important;
}

.text-success {
    color: #4ade80 !important;
}

.text-info {
    color: #60a5fa !important;
}

/* Additional badge variants */
.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-secondary {
    background: var(--glass-red);
    color: var(--text-50);
    border: 1px solid var(--glass-border);
}

.badge-primary {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--text-white);
}

/* News Item (Homepage) */
.news-item h5 {
    margin: 0;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.news-item h5:hover {
    color: var(--red-glow) !important;
}

.news-item small {
    display: block;
    margin-top: 4px;
}

.news-item small i {
    margin-right: 4px;
    font-size: 0.75rem;
}

/* Vote Info */
.vote-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vote-info i {
    font-size: 1.5rem;
    color: var(--red-glow);
    filter: drop-shadow(0 0 8px rgba(196, 48, 48, 0.5));
}

.vote-details h5 {
    margin: 0;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.vote-details small {
    color: var(--text-30);
    font-size: 0.8rem;
}

/* Referral */
.referral-url-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--inset-shadow);
}

.referral-url-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 0.85rem;
    outline: none;
}

/* Info Row (Account page) */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-50);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-white);
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Cash Balance */
.cash-balance {
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    margin-bottom: 20px;
}

.cash-balance .balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cash-balance .balance-label {
    font-size: 0.85rem;
    color: var(--text-50);
    margin-top: 4px;
}

/* Points/Level Badges */
.points-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.level-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Sidebar flex columns */
.sidebar-left .sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar-right .sidebar {
    display: flex;
    flex-direction: column;
}

/* mt-4 addition */
.mt-4 {
    margin-top: 2rem;
}

/* Referral info items */
.referral-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
    margin-bottom: 15px;
}

.referral-info .info-item {
    padding: 10px 16px;
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-50);
}

.referral-info .info-item strong {
    color: var(--red-glow);
}

/* ========================================
   Loading Spinner
   ======================================== */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

/* Full-page loader overlay */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0a0a0a;
}

.page-loader .spinner {
    position: relative;
    z-index: 1;
}

/* Utility: text-muted, text-center, mb-* etc. */
.text-muted {
    color: var(--text-30);
    font-size: 0.85rem;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 6px;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mt-3 {
    margin-top: 16px;
}

/* ========================================
   Event Calendar Widget
   ======================================== */
.event-calendar {
    position: relative;
}

.ec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.ec-month-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.ec-nav-btn {
    background: var(--glass-red);
    border: 1px solid var(--glass-border);
    color: var(--text-50);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: all 0.25s ease;
}

.ec-nav-btn:hover {
    background: var(--red-darker);
    color: var(--text-white);
    border-color: var(--red);
    transform: scale(1.08);
}

.ec-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.ec-day-names {
    margin-bottom: 6px;
}

.ec-day-name {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-30);
    text-transform: uppercase;
    padding: 3px 0;
    letter-spacing: 0.5px;
}

.ec-cell {
    position: relative;
    text-align: center;
    padding: 4px 2px 3px;
    border-radius: 6px;
    cursor: default;
    transition: all 0.2s ease;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.02);
}

.ec-pad {
    background: transparent;
}

.ec-pad .ec-day-num {
    display: none;
}

.ec-day-num {
    font-size: 0.72rem;
    color: var(--text-70);
    font-weight: 500;
    line-height: 1;
}

.ec-past .ec-day-num {
    color: var(--text-30);
    opacity: 0.5;
}

/* Today highlight */
.ec-today {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}

.ec-today .ec-day-num {
    color: #d4af37;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Event day glow - subtle red pulse */
.ec-has-event {
    background: rgba(220, 53, 69, 0.06);
    cursor: pointer;
    animation: ecGlow 3s ease-in-out infinite;
}

.ec-has-event .ec-day-num {
    color: var(--text-white);
    font-weight: 600;
}

.ec-has-event:hover {
    background: rgba(220, 53, 69, 0.12);
    transform: scale(1.08);
}

.ec-dots {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.ec-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 3px rgba(220, 53, 69, 0.5);
}

@keyframes ecGlow {

    0%,
    100% {
        box-shadow: none;
    }

    50% {
        box-shadow: 0 0 4px rgba(220, 53, 69, 0.12), inset 0 0 2px rgba(220, 53, 69, 0.05);
    }
}

/* Tooltip - fixed on top of everything */
.ec-tooltip {
    background: linear-gradient(145deg, rgba(15, 15, 20, 0.97), rgba(8, 8, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 170px;
    max-width: 240px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 99999;
}

.ec-tooltip-arrow-top {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(15, 15, 20, 0.97);
}

.ec-tooltip-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.ec-tooltip-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ec-tooltip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    background: #dc3545;
    box-shadow: 0 0 4px rgba(220, 53, 69, 0.5);
}

.ec-tooltip-content {
    flex: 1;
    min-width: 0;
}

.ec-tooltip-content strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.2;
}

.ec-tooltip-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: var(--text-50);
    margin-top: 2px;
}

.ec-tooltip-time i {
    font-size: 0.6rem;
    color: var(--text-30);
}