﻿/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Color Palette - Dark Orange */
    --bg-dark: #0f0a05;
    --bg-darker: #080502;
    --bg-panel: rgba(30, 20, 10, 0.6);
    --border-panel: rgba(226, 138, 43, 0.35);

    --orange-main: #ff6b00;
    --orange-hover: #ff8c33;
    --orange-dark: #994000;
    --orange-glow: rgba(255, 107, 0, 0.5);

    --text-main: #ffffff;
    --text-muted: #f0e6d5;
    --white: #ffffff;

    --accent-red: #ff2c55;
    --accent-gold: #ffbe2c;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Video Background */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-bg-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 5, 20, 0.4) 0%, rgba(5, 2, 10, 0.9) 100%);
    z-index: -1;
    backdrop-filter: blur(2px);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#erebor-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: radial-gradient(circle at center, #2e1a0f 0%, #050208 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 2;
    animation: preloader-pulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 15px var(--orange-glow));
}

.preloader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    border-top-color: var(--orange-main);
    border-bottom-color: var(--orange-main);
    border-radius: 50%;
    animation: preloader-spin 1.2s linear infinite;
    filter: drop-shadow(0 0 8px var(--orange-main));
}

.preloader-ring-outer {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 50%;
    animation: preloader-spin-reverse 3s linear infinite;
}

.preloader-info {
    margin-top: 60px;
    text-align: center;
}

.preloader-text {
    color: var(--white);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.6;
    animation: preloader-text-glow 2s infinite ease-in-out;
    font-family: var(--font-main);
    margin-bottom: 5px;
}

.preloader-percent {
    color: var(--orange-main);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-main);
    text-shadow: 0 0 10px var(--orange-glow);
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloader-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes preloader-text-glow {
    0%, 100% { opacity: 0.3; text-shadow: 0 0 5px rgba(255, 107, 0, 0); }
    50% { opacity: 0.8; text-shadow: 0 0 15px var(--orange-main); }
}

body.loaded #erebor-preloader {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

body.loaded {
    overflow: auto !important;
}

body:not(.loaded) {
    overflow: hidden;
}

a {
    color: var(--orange-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange-hover);
}

/* ==========================================================================
   Glassmorphism Panels
   ========================================================================== */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 8px 32px 0 var(--orange-glow);
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--orange-dark);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.text-orange {
    color: var(--orange-main) !important;
}

.border-orange {
    border-color: var(--orange-main) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    padding-top: 2rem;
    position: relative;
    z-index: 10;
}

.main-logo {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 15px var(--orange-glow));
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.02);
}

.online-status-container {
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.online-badge {
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00ff88;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-main);
    font-weight: 600;
}

.status-text strong {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}


.navbar-nav {
    background: rgba(20, 10, 5, 0.5);
    padding: 8px 60px;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 0, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 20px !important;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    color: var(--orange-main);
    margin-right: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange-hover);
    transition: width 0.3s ease;
    box-shadow: 0 -2px 10px var(--orange-glow);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 107, 0, 0.15);
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.8);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    color: var(--white);
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-wrapper {
    z-index: 5;
}

.nav-relief-logo {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    height: 120px;
    width: auto;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 0 10px var(--orange-glow));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.nav-wrapper:hover .nav-relief-logo {
    transform: translateY(-50%) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.8));
}

/* ==========================================================================
   Premium Buttons
   ========================================================================== */
.btn-outline-orange {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline-orange:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: var(--orange-main);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--orange-glow);
}

.btn-premium {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    margin: 0 10px;
    text-align: left;
}

.btn-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text .main-text {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-premium .subtext {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: none;
    margin-top: 2px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-premium:hover::before {
    transform: translateX(100%);
}

.btn-register {
    color: var(--white);
    background: url('../img/btn-bg-register.jpg') center/cover no-repeat, linear-gradient(135deg, var(--orange-dark), #d17b1b);
    background-blend-mode: overlay;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.8);
}

.btn-register:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: url('../img/btn-bg-register.jpg') center/cover no-repeat, linear-gradient(135deg, #d17b1b, var(--orange-main));
    background-blend-mode: overlay;
}

.btn-register:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.btn-download {
    color: var(--white);
    background: url('../img/btn-bg-download.jpg') center/cover no-repeat, linear-gradient(135deg, #1a1a1a, #2a2a2a);
    background-blend-mode: overlay;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--orange-main);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.1);
    background: url('../img/btn-bg-download.jpg') center/cover no-repeat, linear-gradient(135deg, #222, #333);
    background-blend-mode: overlay;
}

.btn-download:hover i {
    transform: translateY(-3px);
}

/* ==========================================================================
   Top Panels (Countdown & Discord)
   ========================================================================== */
.top-panel {
    background: linear-gradient(145deg, rgba(25, 15, 10, 0.9), rgba(10, 5, 2, 0.95));
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
}

.top-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.panel-bg-countdown::before {
    background-image: url('../img/slider1.jpg');
}

.panel-bg-discord::before {
    background-image: url('../img/slider2.jpg');
}

.top-panel>* {
    position: relative;
    z-index: 1;
}

/* Countdown Styles */
.timer-title {
    color: var(--accent-gold);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 190, 44, 0.3);
}

.timer-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 85px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.countdown-box .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-box .label {
    display: block;
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-gold {
    background: linear-gradient(to bottom, #f9d976, #e9b646);
    color: #111;
    font-weight: 700;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(233, 182, 70, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-gold:hover {
    background: linear-gradient(to bottom, #fff0a8, #f9d976);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 182, 70, 0.5);
}

/* Discord Styles */
.discord-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.discord-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.discord-title .brand {
    color: #5865F2;
    /* Discord brand color */
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.discord-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.discord-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
}

.stat-box .count {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.stat-box .label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discord-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    margin-right: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, z-index 0.2s ease;
    cursor: pointer;
}

.avatar-item:hover {
    transform: translateY(-3px);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
}

.avatar-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    background: #333;
}

.avatar-name {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 600;
}

.btn-discord {
    background: #5865F2;
    color: white;
    font-weight: 600;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-discord:hover {
    background: #4752C4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.social-group-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-social-sm {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-facebook {
    background: #1877F2;
}
.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.btn-tiktok {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-tiktok:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.4), 0 0 15px rgba(0, 242, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-youtube {
    background: #FF0000;
}
.btn-youtube:hover {
    background: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-whatsapp {
    background: #25D366;
}
.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Hero Section & Carousel
   ========================================================================== */
.carousel {
    border-radius: 12px;
}

.carousel-inner {
    border-radius: 12px;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    filter: brightness(0.8);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    text-align: left;
}

.carousel-caption h3 {
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.carousel-indicators {
    margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 4px;
    background-color: var(--orange-main);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--white);
    box-shadow: 0 0 8px var(--orange-glow);
}

/* News Panel */
.news-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.news-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

.news-list .date {
    color: var(--orange-main);
    font-weight: 600;
    margin-right: 10px;
    font-size: 0.9rem;
}

.news-list .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   Events Widgets (Castle Siege / Devias Battle)
   ========================================================================== */
.event-card {
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-bg,
.news-panel:hover .event-bg {
    opacity: 0.3;
}

.cs-bg {
    background-image: url('../img/cs-bg.jpg');
}

.db-bg {
    background-image: url('../img/db-bg.jpg');
}

.news-bg {
    background-image: url('../img/news-bg.jpg');
    opacity: 0.2;
}

.event-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.winner-logo img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid var(--orange-main);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.guild-name {
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.bg-orange {
    background-color: var(--orange-dark) !important;
    border: 1px solid var(--orange-main);
}

.event-card .text-muted {
    color: #b9adc9 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.bg-danger {
    background: linear-gradient(135deg, #ff2c55 0%, #a00022 100%) !important;
    border: 1px solid #ff2c55;
    box-shadow: 0 0 15px rgba(255, 44, 85, 0.5);
    animation: battle-pulse 1.5s infinite;
}

@keyframes battle-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   Dashboard / User CP
   ========================================================================== */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 100px);
    gap: 30px;
}

.sidebar-nav {
    flex: 0 0 280px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.dashboard-main {
    flex: 1;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--orange-main);
    margin-right: 12px;
    transition: all 0.3s ease;
}

.sidebar-img-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    transition: all 0.3s ease;
}

.sidebar-link:hover .sidebar-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
    transform: scale(1.1);
}

.sidebar-link.active .sidebar-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 107, 0, 0.1);
    color: var(--white);
}

.sidebar-link.active i {
    color: var(--white);
    filter: drop-shadow(0 0 5px var(--orange-main));
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-card i {
    font-size: 2rem;
    color: var(--orange-main);
    margin-bottom: 5px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-profile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.user-info-brief {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-main), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cur-balance {
    display: flex;
    gap: 20px;
}

.balance-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.balance-item .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.balance-item .amount {
    font-weight: 700;
    color: var(--accent-gold);
}

@media (max-width: 991px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar-nav {
        flex: none;
        position: relative;
        top: 0;
    }

    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .sidebar-menu::-webkit-scrollbar {
        display: none;
    }

    .sidebar-link {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   Rankings Section
   ========================================================================== */
.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-main);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}

.ranking-panel {
    overflow: hidden;
}

.ranking-title-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    vertical-align: middle;
}

.table-responsive {
    overflow-x: hidden !important;
}

.table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 15px;
}

.table td {
    vertical-align: middle;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%) !important;
    color: #000 !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.rank-2 {
    background: linear-gradient(135deg, #e0e0e0 0%, #888888 100%) !important;
    color: #000 !important;
    border-color: #e0e0e0 !important;
    box-shadow: 0 0 10px rgba(224, 224, 224, 0.3);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%) !important;
    color: #fff !important;
    border-color: #cd7f32 !important;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.table-dark tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.table-dark tbody tr:hover {
    background: rgba(255, 107, 0, 0.05) !important;
    border-left-color: var(--orange-main);
    transform: translateX(5px);
}

.table-dark tbody tr:hover .rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
    background: rgba(255, 107, 0, 0.2);
    color: var(--white);
    border-color: var(--orange-main);
}

.top-1 td {
    color: var(--white);
    font-weight: 700;
}

.class-icon {
    filter: drop-shadow(0 0 3px rgba(255, 107, 0, 0.3));
    transition: all 0.3s ease;
}

tr:hover .class-icon {
    filter: drop-shadow(0 0 8px var(--orange-main));
    transform: scale(1.1);
}

.btn-view-all {
    margin-top: 15px;
    width: 100%;
    padding: 8px;
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.15);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: rgba(255, 107, 0, 0.15);
    color: var(--white);
    border-color: var(--orange-main);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.view-all-img-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    margin-right: 10px;
    filter: drop-shadow(0 0 3px rgba(255, 107, 0, 0.3));
    transition: all 0.3s ease;
}

.btn-view-all:hover .view-all-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-main));
    transform: scale(1.1);
}

/* ==========================================================================
   Features Tabs Section
   ========================================================================== */
.features-tabs-section {
    position: relative;
}

.tabs-labels-container {
    overflow-x: auto;
    padding-top: 20px;
    padding-bottom: 5px;
    scrollbar-width: none;
    /* Firefox */
}

.tabs-labels-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, etc. */
}

.tab-label {
    flex: 0 0 auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.tab-label img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.btn-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
}

.header-btn-img-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-right: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.6));
    transition: all 0.3s ease;
}

.btn-premium:hover .header-btn-img-icon {
    filter: drop-shadow(0 0 15px var(--orange-glow));
    transform: scale(1.1) rotate(-5deg);
}

.tab-label span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tab-label:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

.tab-label.active {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.4) 0%, rgba(85, 0, 255, 0.2) 100%);
    border-color: var(--orange-main);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.tab-label.active span {
    color: var(--white);
}

.tab-label.active img {
    filter: drop-shadow(0 0 8px var(--orange-main));
}

.tabs-content-area {
    min-height: 400px;
    padding: 40px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.tab-media-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-media-wrapper img {
    transition: transform 0.5s ease;
}

.tab-media-wrapper:hover img {
    transform: scale(1.03);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .tabs-content-area {
        padding: 25px;
    }

    .tab-pane .row {
        flex-direction: column-reverse;
        gap: 30px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 2, 8, 0.8);
}

/* ==========================================================================
   Responsive & Mobile Adjustments
   ========================================================================== */
@media (max-width: 991px) {

    .main-logo {
        max-width: 320px;
    }

    /* Navbar Mobile Premium Button */
    .mobile-menu-toggle {
        background: rgba(10, 5, 20, 0.85);
        border: 1px solid rgba(255, 107, 0, 0.4);
        border-radius: 12px;
        padding: 5px 20px 5px 5px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        color: var(--white);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-menu-toggle:hover {
        background: rgba(15, 10, 30, 0.95);
        border-color: rgba(255, 107, 0, 0.8);
        box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    }

    .mobile-toggle-logo {
        height: 50px;
        width: auto;
        filter: drop-shadow(0 0 5px var(--orange-glow));
    }

    .mobile-toggle-text {
        font-weight: 700;
        letter-spacing: 2px;
        font-size: 1.1rem;
        color: var(--text-main);
    }

    .mobile-toggle-icon {
        font-size: 1.5rem;
        color: var(--orange-main);
    }

    .navbar-collapse {
        background: rgba(10, 5, 20, 0.95);
        border: 1px solid rgba(255, 107, 0, 0.3);
        border-radius: 15px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    .navbar-nav {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        backdrop-filter: none;
    }

    .navbar-nav .nav-link {
        margin-bottom: 5px;
    }

    /* Header Buttons */
    .main-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-actions .btn-premium {
        width: 100%;
        max-width: 350px;
        margin: 0 !important;
    }

    /* Top Panels (Countdown & Discord) */
    .hero-top-panels>div {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   User Management / Forms
   ========================================================================== */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
}

.auth-card {
    padding: 40px;
    border-radius: 20px;
}

.auth-card .text-muted {
    color: var(--text-muted) !important;
    opacity: 0.9;
}

.form-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.input-group-premium {
    position: relative;
    margin-bottom: 25px;
}

.input-group-premium i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange-main);
    z-index: 5;
    transition: all 0.3s ease;
}

.ranking-avatar-img {
    width: 32px;
    height: 32px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 3px;
    object-fit: cover;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

/* ==========================================================================
   Dashboard / User CP
   ========================================================================== */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 100px);
    gap: 30px;
}

.sidebar-nav {
    flex: 0 0 280px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.dashboard-main {
    flex: 1;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--orange-main);
    margin-right: 12px;
    transition: all 0.3s ease;
}

.sidebar-img-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    transition: all 0.3s ease;
}

.sidebar-link:hover .sidebar-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
    transform: scale(1.1);
}

.sidebar-link.active .sidebar-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 107, 0, 0.1);
    color: var(--white);
}

.sidebar-link.active i {
    color: var(--white);
    filter: drop-shadow(0 0 5px var(--orange-main));
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-card i {
    font-size: 2rem;
    color: var(--orange-main);
    margin-bottom: 5px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-profile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.user-info-brief {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-main), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cur-balance {
    display: flex;
    gap: 20px;
}

.balance-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.balance-item .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.balance-item .amount {
    font-weight: 700;
    color: var(--accent-gold);
}

@media (max-width: 991px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar-nav {
        flex: none;
        position: relative;
        top: 0;
    }

    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .sidebar-menu::-webkit-scrollbar {
        display: none;
    }

    .sidebar-link {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
}

.input-img-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 27px;
    object-fit: contain;
    z-index: 5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 107, 0, 0.4));
}

.form-control-premium:focus+.input-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-main)) brightness(1.2);
    transform: translateY(-50%) scale(1.1);
}

.form-control-premium {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px 15px 12px 55px !important;
    color: var(--white) !important;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control-premium::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-control-premium:focus {
    background: rgba(255, 107, 0, 0.05) !important;
    border-color: var(--orange-main) !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2) !important;
    outline: none;
}

.form-control-premium:focus+i {
    color: var(--white);
    filter: drop-shadow(0 0 5px var(--orange-main));
}

.auth-footer-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.auth-link {
    color: var(--orange-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--orange-glow);
}

.nav-link i {
    font-size: 1rem;
    margin-right: 10px;
    color: var(--orange-main);
    transition: all 0.3s ease;
}

.nav-img-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    transition: all 0.3s ease;
    vertical-align: middle;
}

.nav-link:hover .nav-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
    transform: scale(1.1);
}

.nav-link.active .nav-img-icon {
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.nav-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--orange-glow);
}

@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {

    /* Countdown Adjustments */
    .countdown-wrapper {
        gap: 10px;
        flex-wrap: wrap;
    }

    .countdown-box {
        min-width: 65px;
        padding: 10px 15px;
    }

    .countdown-box .number {
        font-size: 1.5rem;
    }

    .countdown-box .label {
        font-size: 0.6rem;
    }

    /* Discord Widget Adjustments */
    .discord-title {
        font-size: 1.4rem;
    }

    .discord-stats {
        flex-direction: column;
        gap: 10px;
    }

    .discord-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .avatar-group {
        justify-content: center;
        margin-bottom: 5px;
    }
}

/* ==========================================================================
   Professional Footer
   ========================================================================== */
.footer-professional {
    background: rgba(10, 5, 20, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    padding: 80px 0 30px;
    margin-top: 100px;
    position: relative;
    z-index: 5;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px var(--orange-glow));
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-column-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--orange-main);
    box-shadow: 0 0 10px var(--orange-glow);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-shadow: 0 0 8px var(--orange-glow);
}

.footer-links a i {
    color: var(--orange-main);
    font-size: 0.8rem;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-footer-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-main);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-footer-btn:hover {
    background: var(--orange-main);
    color: var(--white);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 5px 15px var(--orange-glow);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--orange-main);
}

@media (max-width: 768px) {
    .footer-professional {
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .social-links-footer {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Module: My Account
   ========================================================================== */
.table-dark-premium {
    background: rgba(20, 10, 35, 0.4);
    border-radius: 15px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.table-dark-premium td,
.table-dark-premium th {
    border-color: rgba(255, 107, 0, 0.05);
    background: transparent;
}

.table-dark-premium td:first-child {
    color: var(--white) !important;
}

.table-dark-premium tr:last-child td {
    border-bottom: 0;
}

.btn-orange {
    background: var(--orange-main) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn-orange:hover {
    background: var(--orange-dark) !important;
    box-shadow: 0 0 15px var(--orange-glow) !important;
    transform: translateY(-2px);
}

.btn-orange-outline {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--orange-main);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-orange-outline:hover {
    background: var(--orange-main);
    color: var(--white);
    border-color: var(--orange-main);
    box-shadow: 0 0 15px var(--orange-glow);
}

/* Character Cards */
.character-card-premium {
    background: rgba(20, 15, 30, 0.6);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    border: 1px solid rgba(255, 107, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.character-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.char-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.character-card-premium:hover .char-card-glow {
    opacity: 1;
}

.char-avatar-container {
    position: relative;
    z-index: 1;
}

.char-avatar {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 107, 0, 0.3);
    /* orange subtle border instead of white */
}

.char-online-pulse {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 14px;
    height: 14px;
    background: #2ecc71;
    /* Green */
    border-radius: 50%;
    border: 2px solid #140f1e;
}

.char-online-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: char-pulse 2s infinite;
}

@keyframes char-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.char-info {
    flex: 1;
    z-index: 1;
}

.char-name a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.char-name a:hover {
    color: var(--orange-main);
}

/* Status Dots */
.status-online-dot,
.status-offline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-online-dot {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.status-offline-dot {
    background: #555;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.bg-orange-subtle {
    background-color: rgba(255, 107, 0, 0.1) !important;
}

.ls-1 {
    letter-spacing: 1px;
}

.text-white-main {
    color: var(--white) !important;
    text-shadow: 0 0 8px rgba(255, 107, 0, 0.2);
}

.text-accent-gold,
.text-gold {
    color: var(--accent-gold) !important;
    text-shadow: 0 0 5px rgba(255, 190, 44, 0.3);
}

/* Glass Panels & Containers */
.glass-panel,
.panel-bg-glass {
    background: var(--bg-panel);
    border: 1px solid var(--border-panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.glass-panel:hover,
.panel-bg-glass:hover {
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

/* Page Titles Custom Style */
.page-title {
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.page-title span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title span::before {
    content: '';
    width: 6px;
    height: 30px;
    background: var(--orange-main);
    box-shadow: 0 0 15px var(--orange-glow);
    border-radius: 4px;
}

/* Rankings Tabs & Buttons */
.rankings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.tab-btn i {
    font-size: 1.5rem;
    color: var(--orange-main);
    transition: all 0.3s ease;
}

.tab-btn .ranking-tab-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--orange-glow));
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.5);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 107, 0, 0.2);
}

.tab-btn:hover .ranking-tab-icon {
    filter: drop-shadow(0 0 8px var(--orange-main)) brightness(1.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--orange-main), var(--orange-dark));
    border-color: var(--orange-main);
    color: var(--white);
    box-shadow: 0 0 25px var(--orange-glow);
    transform: translateY(-2px);
}

.tab-btn.active .ranking-tab-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)) brightness(1.1);
}

.tab-btn.active i {
    color: var(--white);
}

@media (max-width: 768px) {
    .rankings-tabs {
        justify-content: center;
        margin-top: 10px;
    }
}

.rank-number-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--orange-main);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 0 10px var(--orange-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   HUNT SYSTEM LAYOUT
   ============================================ */

.hunt-rankings-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    margin-top: 1rem;
}

.hunt-rankings-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hunt-monsters-col {
    display: flex;
    flex-direction: column;
}

.hunt-monsters-modern {
    position: sticky;
    top: 1rem;
    height: fit-content;
}

.hunt-monsters-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(226, 107, 43, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(226, 107, 43, 0.25);
}

.hunt-monsters-title-icon {
    font-size: 1.75rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.hunt-monsters-title-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hunt-monsters-title-main {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hunt-monsters-title-sub {
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.4;
}

.monsters-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(226, 107, 43, 0.2);
    backdrop-filter: blur(10px);
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.monsters-container::-webkit-scrollbar {
    width: 6px;
}

.monsters-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.monsters-container::-webkit-scrollbar-thumb {
    background: var(--orange-main);
    border-radius: 4px;
}

.monsters-header {
    display: grid;
    grid-template-columns: 60px 1.5fr 2fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(226, 107, 43, 0.15);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--orange-main);
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.monster-row {
    display: grid;
    grid-template-columns: 60px 1.5fr 2fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 4px;
}

.monster-row:hover {
    background: rgba(226, 107, 43, 0.08);
    border-radius: 8px;
    transform: translateX(4px);
}

.monster-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.monster-image-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(226, 107, 43, 0.3);
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.monster-row:hover .monster-image-wrapper {
    border-color: var(--orange-main);
    box-shadow: 0 0 15px rgba(226, 107, 43, 0.4);
    transform: scale(1.1);
}

.monster-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.monster-name-col {
    display: flex;
    align-items: center;
}

.monster-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.monster-row:hover .monster-name {
    color: var(--orange-main);
}

.monster-location-col {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.monster-maps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.map-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(226, 107, 43, 0.15);
    border: 1px solid rgba(226, 107, 43, 0.35);
    border-radius: 6px;
    color: var(--orange-main);
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.monster-row:hover .map-badge {
    background: rgba(226, 107, 43, 0.25);
    border-color: var(--orange-main);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(226, 107, 43, 0.25);
}

.no-location {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.monster-points-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.points-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(226, 107, 43, 0.3);
    border-radius: 8px;
    color: var(--orange-main);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.monster-row:hover .points-badge {
    transform: scale(1.1);
    border-color: var(--orange-main);
    box-shadow: 0 4px 12px rgba(226, 107, 43, 0.4);
}

.monsters-count {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hunt responsive */
@media (max-width: 1024px) {
    .hunt-rankings-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DATATABLES PAGINATION - Dark orange Theme
   ============================================ */

/* Wrapper */
.dataTables_wrapper {
    position: relative;
}

/* Info text (Mostrando 1-15 de 100 jugadores) */
.dataTables_info {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    padding: 0.75rem 0;
}

/* Pagination container */
.dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.25rem;
}

.dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(226, 107, 43, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    user-select: none;
}

.dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: rgba(226, 107, 43, 0.2);
    border-color: var(--orange-main);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226, 107, 43, 0.3);
}

.dataTables_paginate .paginate_button.current {
    background: var(--orange-main) !important;
    border-color: var(--orange-main) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(226, 107, 43, 0.5);
    cursor: default;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange-main) !important;
}

/* Bottom bar: info + pagination side by side */
.dataTables_wrapper .dt-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 576px) {
    .dataTables_paginate {
        justify-content: center;
    }

    .dataTables_info {
        text-align: center;
    }
}

/* ============================================
   VIP STATUS BADGES
   ============================================ */

.vipstatus {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
    line-height: 1.4;
}

/* Normal user - hidden, don't show badge */
.vipstatus.asdfree {
    display: none;
}

/* VIP - Green */
.vipstatus.asdvip {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

/* Premium - Gold */
.vipstatus.asdpremium {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.4);
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
}

/* Club Erebor - orange glow */
.vipstatus.asdcluberebor {
    background: linear-gradient(135deg, rgba(226, 107, 43, 0.25), rgba(180, 80, 255, 0.15));
    color: #c084fc;
    border: 1px solid rgba(226, 107, 43, 0.5);
    text-shadow: 0 0 10px rgba(226, 107, 43, 0.5);
    box-shadow: 0 0 12px rgba(226, 107, 43, 0.2);
}

.vipstatus.asdcluberebor span {
    background: linear-gradient(90deg, #c084fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RANKING MOVEMENT INDICATORS
   ============================================ */

.rank-move {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 35px;
    justify-content: center;
}

.rank-up {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.rank-down {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.rank-same {
    color: #f7dc6f;
    opacity: 0.5;
}

.rank-new {
    background: var(--orange-main);
    color: #fff;
    font-size: 0.6rem;
    box-shadow: 0 0 10px rgba(226, 107, 43, 0.3);
}

/* ==========================================================================
   Home Popup (Erebor Style)
   ========================================================================== */
.home-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.home-popup-container {
    width: 100%;
    max-width: 550px;
    padding: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.home-popup-content {
    position: relative;
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(226, 107, 43, 0.2);
}

.home-popup-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.home-popup-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-popup-close-btn:hover {
    background: var(--orange-main);
    transform: rotate(90deg);
}

.popup-icon-container {
    position: relative;
    display: inline-block;
}

.popup-icon-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.custom-check:checked {
    background-color: var(--orange-main);
    border-color: var(--orange-main);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ==========================================================================
   News Module (Erebor Style)
   ========================================================================== */
.news-article-card {
    background: rgba(15, 10, 25, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 16px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.news-article-card:hover {
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(226, 107, 43, 0.1);
}

.news-article-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    background: linear-gradient(to right, rgba(255, 107, 0, 0.05), transparent);
}

.news-article-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.news-article-title a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-article-title a:hover {
    color: var(--orange-main);
}

.news-article-body {
    padding: 25px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.news-article-body a {
    color: var(--orange-main);
    text-decoration: none;
}

.news-article-footer {
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.news-article-meta {
    display: flex;
    gap: 20px;
}

.news-article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-article-meta i {
    color: var(--orange-main);
}

.news-readmore {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 8px;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.news-readmore:hover {
    background: var(--orange-main);
    box-shadow: 0 0 15px var(--orange-glow);
    transform: scale(1.05);
}


/* ==========================================================================
   Floating Messages (messagefloat)
   ========================================================================== */
.message-float-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    max-width: 320px;
    width: 100%;
}

.message-float {
    position: relative;
    background: rgba(15, 10, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-panel);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--orange-glow);
    color: var(--white);
    animation: message-slide-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    overflow: hidden;
}

.message-float.hide {
    animation: message-fade-out 0.5s ease forwards;
}

.message-float-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    padding-bottom: 8px;
}

.message-float-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--orange-main);
}

.message-float-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
}

.message-float-close:hover {
    color: var(--white);
}

.message-float-body {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.message-float-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--orange-main), var(--orange-hover));
    width: 100%;
    transform-origin: left;
    animation: message-timer 5s linear forwards;
    box-shadow: 0 0 10px var(--orange-glow);
}

/* Alert Types */
.message-float-success .message-float-title { color: #00ff88; }
.message-float-success .message-float-timer { background: #00ff88; box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.message-float-success { border-color: rgba(0, 255, 136, 0.3); }

.message-float-error .message-float-title { color: var(--accent-red); }
.message-float-error .message-float-timer { background: var(--accent-red); box-shadow: 0 0 10px rgba(255, 44, 85, 0.5); }
.message-float-error { border-color: rgba(255, 44, 85, 0.3); }

.message-float-warning .message-float-title { color: var(--accent-gold); }
.message-float-warning .message-float-timer { background: var(--accent-gold); box-shadow: 0 0 10px rgba(255, 190, 44, 0.5); }
.message-float-warning { border-color: rgba(255, 190, 44, 0.3); }

/* Animations */
@keyframes message-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes message-fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes message-timer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}



  :root {
        --bp-free: #64748b;
        --bp-premium: #eab308;
        --bp-xp: #a855f7;
        --bp-bg: #0a0a0c;
        --bp-card: rgba(30, 30, 35, 0.7);
        --bp-border: rgba(255, 255, 255, 0.1);
        --bp-text: #ffffff;
        --bp-text-dim: #a0a0a0;
        
        /* Item Colors */
        --item-color-exc: #2ff387;
        --item-color-socket-opt: #cc33cc;
        --item-color-socket: #cc66cc;
        --item-color-normal: #ffffff;
        --item-color-life-opt: #8cb0ea;
        --item-color-improved: #f4cb3f;
        --item-color-anc: #0066cc;
        --item-color-anc-setopt: #ffcc66;

        /* Premium Glow Vars */
        --premium-glow-1: #eab308;
        --premium-glow-2: #facc15;
        --premium-glow-3: #a855f7;
    }

    /* ITEM TOOLTIP CSS */
    .item-box {
        background: rgba(0, 0, 0, 0.9);
        text-align: center;
        width: 100%;
        white-space: nowrap;
        min-width: 200px;
        padding: 0 10px 10px 10px;
        font-size: 12px;
        border-radius: 15px;
    }

    .mucms-item-tooltip {
        position: absolute;
        display: none;
        min-width: 300px;
        left: 0;
        top: 0;
        padding: 5px;
        z-index: 9999;
        pointer-events: none;
    }
    .item-name { padding: 4px 8px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); }
    .item-serial { color: #ffffff !important; padding-top: 10px; }
    .item-info { color: #ffffff !important; }
    .item-info-section { padding-top: 10px; }
    .item-class-req { color: #b4b4b4 !important; }
    .item-opt-jog { color: #ff99cc !important; padding-top: 10px; }
    .item-opt-harmony { color: #ffcc00 !important; padding-top: 10px; }
    .item-opt-skill { color: #9aadd5 !important; }
    .item-opt-luck { color: #9aadd5 !important; }
    .item-opt-life { color: #9aadd5 !important; }
    .item-opt-exc { color: #4d668d !important; padding-top: 10px; }
    .item-opt-anc { color: #9aadd5 !important; padding-top: 10px; }
    .item-opt-socket { color: #4d668d !important; padding-top: 10px; }


