/* ========================================
   RETROFUZ 2.10 - Fantasy Nature Theme
   Version 4.0 - Emerald Forest
======================================== */

/* CSS Variables - Palette Foret Enchantee */
:root {
    --primary: #2ecc71;
    --primary-dark: #1e8449;
    --primary-light: #58d68d;
    --secondary: #132a1a;
    --accent: #48c9b0;
    --accent-warm: #f4d03f;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f4d03f;
    --info: #48c9b0;
    --dark-bg: #060e08;
    --dark-surface: #0c1a10;
    --dark-card: #132a1a;
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #6b9e6f;
    --glass-bg: rgba(19, 42, 26, 0.85);
    --glass-border: rgba(46, 204, 113, 0.15);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Image - Fantasy Forest */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(6, 14, 8, 0.88) 0%, rgba(6, 14, 8, 0.92) 50%, rgba(6, 14, 8, 0.97) 100%),
        url('../images/login_background.jpg') center/cover no-repeat fixed;
    pointer-events: none;
    z-index: -1;
}

/* Subtle Particles - Optional */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: float-particle 30s infinite linear;
    opacity: 0.5;
    box-shadow: 0 0 6px var(--primary-light);
}

@keyframes float-particle {
    0% { transform: translateY(100vh); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    background: rgba(11, 26, 14, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
    padding: 0.75rem 0;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(11, 26, 14, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.navbar-brand i {
    color: var(--primary);
    font-size: 1.5rem;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(46, 204, 113, 0.15);
}

.nav-link i {
    margin-right: 5px;
    font-size: 0.85rem;
}

/* Dropdown */
.dropdown-menu {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 8px;
    margin-top: 8px;
    box-shadow: var(--shadow-xl);
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary);
    color: white;
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
}

.dropdown-divider {
    border-color: var(--glass-border);
}

/* ========================================
   MAIN CONTENT
======================================== */
.main-content {
    padding-top: 90px;
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

/* ========================================
   GLASS CARDS
======================================== */
.glass-card,
.card.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(46, 204, 113, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: rgba(46, 204, 113, 0.1) !important;
    border-bottom: 1px solid rgba(46, 204, 113, 0.15) !important;
    padding: 1rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: var(--primary);
}

.card-body {
    padding: 1.25rem;
    color: var(--text-secondary);
}

/* ========================================
   HERO SECTION (Carousel)
======================================== */
.hero-section {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-card));
    min-height: 350px;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    min-height: 350px;
}

.hero-section .carousel-item img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    background: var(--dark-surface);
}

.hero-section .carousel-caption {
    background: none;
    left: 0;
    right: 0;
    bottom: 25%;
    padding: 30px 20px;
    text-align: center;
}

.hero-section .carousel-caption h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-section .carousel-caption h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.hero-section .carousel-caption p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.8);
    border-radius: 50%;
    margin: 0 15px;
    opacity: 0;
    transition: var(--transition-normal);
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    transition: var(--transition-normal);
}

.carousel-indicators button.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ========================================
   HERO CARD (Homepage)
======================================== */
.hero-card {
    position: relative;
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(72, 201, 176, 0.05));
}

.hero-card-glow {
    display: none;
}

.hero-card-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-card-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 50px;
}

.typing-text {
    color: var(--text-primary);
}

.cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-card-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 25px;
}

.hero-card-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-hero-primary {
    background: var(--primary);
    color: white;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-hero-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: white;
}

.btn-shine {
    display: none;
}

.hero-floating-icons {
    display: none;
}

/* ========================================
   FEATURES MINI
======================================== */
.features-mini {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-mini-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.feature-mini-item:hover {
    border-color: var(--primary);
    background: rgba(46, 204, 113, 0.1);
}

.feature-mini-item i {
    color: var(--primary);
}

/* ========================================
   NEWS SECTION
======================================== */
.news-section {
    margin-bottom: 25px;
}

.section-title-sm {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.section-title-sm i {
    color: var(--primary);
}

.news-card-animated {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 12px;
    position: relative;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    border-radius: 3px 0 0 3px;
}

.news-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
}

.news-info {
    flex: 1;
}

.news-author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.news-date-sm {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-cat-badge {
    background: var(--dark-card);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-title-animated {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.news-title-animated i {
    color: var(--primary);
    margin-right: 6px;
}

.news-content-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.no-news-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ========================================
   CTA MINI CARD
======================================== */
.cta-mini-card {
    background: linear-gradient(135deg, #1e8449, #145a32);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.cta-mini-glow {
    display: none;
}

.cta-mini-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-mini-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-cta-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-cta-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar .card {
    margin-bottom: 16px;
}

.sidebar .list-group-item {
    background: transparent;
    border-color: var(--glass-border);
    color: var(--text-secondary);
    padding: 12px 15px;
    transition: all var(--transition-normal);
}

.sidebar .list-group-item:hover {
    background: rgba(46, 204, 113, 0.08);
}

.sidebar .list-group-item a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.sidebar .list-group-item a:hover {
    color: var(--primary);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--dark-card);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--dark-surface);
    color: var(--text-primary);
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--warning);
    color: #1e293b;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-outline-light {
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* ========================================
   FORMS
======================================== */
.form-control,
.form-select {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    background: var(--dark-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    color: var(--text-primary);
}

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

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.form-label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-check-input {
    background: var(--dark-surface);
    border-color: var(--glass-border);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   ALERTS
======================================== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 14px 18px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-left: 3px solid var(--danger);
    color: #fca5a5;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--info);
    color: #93c5fd;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-left: 3px solid var(--warning);
    color: #fcd34d;
}

/* ========================================
   BADGES
======================================== */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 6px;
}

.bg-primary { background: var(--primary) !important; }
.bg-success { background: var(--success) !important; }
.bg-info { background: var(--info) !important; }
.bg-warning { background: var(--warning) !important; color: #1e293b !important; }
.bg-danger { background: var(--danger) !important; }
.bg-secondary { background: var(--dark-card) !important; }
.bg-dark { background: var(--dark-surface) !important; }

/* ========================================
   TABLES
======================================== */
.table {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-secondary);
}

.table thead th {
    background: var(--dark-surface);
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px;
}

.table tbody td {
    padding: 14px;
    border-color: var(--glass-border);
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table-hover tbody tr:hover {
    background: rgba(46, 204, 113, 0.08) !important;
}

/* ========================================
   NAV PILLS (Tabs)
======================================== */
.nav-pills .nav-link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    margin: 0 4px;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.nav-pills .nav-link:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--text-primary);
}

.nav-pills .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ========================================
   PAGE TITLE
======================================== */
.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: var(--primary);
}

/* ========================================
   STAT ITEMS
======================================== */
.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   PROGRESS BAR
======================================== */
.progress {
    height: 8px;
    background: var(--dark-surface);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: rgba(11, 26, 14, 0.95);
    border-top: 1px solid rgba(46, 204, 113, 0.2);
    padding: 40px 0 25px;
    margin-top: 40px;
}

.footer h5 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer h5 i {
    color: var(--primary);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: var(--transition-normal);
}

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

.footer-links a i {
    font-size: 0.6rem;
    color: var(--primary);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer hr {
    border-color: var(--glass-border);
}

/* ========================================
   OPENING BANNER
======================================== */
.opening-banner {
    background: linear-gradient(135deg, rgba(19, 42, 26, 0.9), rgba(28, 61, 40, 0.9));
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.opening-banner-glow {
    display: none;
}

.opening-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.opening-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.opening-icon.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.opening-text {
    flex: 1;
    text-align: center;
}

.opening-text h2 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.opening-date {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 8px 0;
}

.opening-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.countdown-mini {
    display: flex;
    gap: 8px;
}

.countdown-item {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
    min-width: 55px;
}

.countdown-item span {
    display: block;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.countdown-item small {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.countdown-item.live {
    background: var(--success);
    border-color: var(--success);
}

/* ========================================
   POPUP
======================================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.popup-close:hover {
    color: var(--danger);
}

.popup-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.popup-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.popup-date {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 12px;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.popup-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.popup-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.popup-features li i {
    color: var(--success);
    margin-right: 10px;
}

.btn-popup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    margin-top: 10px;
}

.btn-popup:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.popup-small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   SERVER STATUS
======================================== */
.server-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.badge-status.online {
    box-shadow: 0 0 8px var(--success);
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

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

/* ========================================
   SHOP PAGE STYLES
======================================== */
.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.shop-cat-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all var(--transition-normal);
}

.shop-cat-btn:hover,
.shop-cat-btn.active {
    border-color: var(--primary);
    background: rgba(46, 204, 113, 0.1);
}

.shop-cat-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.shop-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.shop-item:hover {
    border-color: var(--primary);
}

.shop-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--dark-surface);
    border-radius: 8px;
    padding: 10px;
}

.shop-item-info {
    flex: 1;
}

.shop-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.shop-item-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.shop-item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--dark-card);
    border-radius: 4px;
}

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

/* ========================================
   SELECTION
======================================== */
::selection {
    background: var(--primary);
    color: white;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero-card-title {
        font-size: 1.6rem;
    }

    .hero-section .carousel-item img {
        height: 280px;
    }

    .opening-content {
        flex-direction: column;
        text-align: center;
    }

    .countdown-mini {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 75px;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .hero-card-title {
        font-size: 1.4rem;
    }

    .features-mini {
        gap: 8px;
    }

    .feature-mini-item {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .hero-section .carousel-item img {
        height: 220px;
    }

    .hero-section .carousel-caption h2 {
        font-size: 1.3rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .glass-card {
        border-radius: 10px;
    }

    .popup-content {
        margin: 15px;
        padding: 25px;
    }

    .page-title {
        font-size: 1.2rem;
    }
}

/* ========================================
   UTILITIES
======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }

.mb-4 { margin-bottom: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-pill { border-radius: 50px !important; }

/* Flex column for stats */
.flex-column {
    flex-direction: column !important;
}
