/* ═══════════════════════════════════════════════════════════
   LCAPRO — CS 1.6 Klan Sitesi — Dark Red Theme + Light Theme
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ─── DARK THEME (Default) ───────────────────────── */
:root, [data-theme="dark"] {
    --bg-body: #060606;
    /* ── Glassmorphism (Dark) ── */
    --bg-card: rgba(0, 0, 0, 0.50);
    --bg-card-hover: rgba(0, 0, 0, 0.65);
    --bg-navbar: rgba(8, 8, 8, 0.40);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(14px);
    --glass-border-color: rgba(255, 255, 255, 0.10);
    /* ── Borders ── */
    --border-subtle: rgba(255, 255, 255, 0.10);
    --border-red: rgba(220, 38, 38, 0.50);
    /* ── Palette ── */
    --red-primary: #dc2626;
    --red-dark: #991b1b;
    --red-glow: rgba(220, 38, 38, 0.20);
    --green-active: #22c55e;
    /* ── Text ── */
    --text-white: #f5f5f5;
    --text-muted: #a3a3a3;
    --text-dim: #737373;
    /* ── Misc ── */
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.60), 0 2px 8px rgba(0,0,0,0.40);
    --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.20);
    /* ── Overlays ── */
    --overlay-soft:  rgba(255,255,255,0.01);
    --overlay-soft2: rgba(255,255,255,0.02);
    --overlay-soft3: rgba(255,255,255,0.03);
    --overlay-soft4: rgba(255,255,255,0.04);
    --overlay-soft5: rgba(255,255,255,0.05);
    --overlay-soft6: rgba(255,255,255,0.06);
    --overlay-soft7: rgba(255,255,255,0.08);
    --table-hover: rgba(255,255,255,0.03);
    --dropdown-hover: rgba(220,38,38,0.10);
    --dropdown-hover-danger: rgba(220,38,38,0.12);
    --input-bg: rgba(255,255,255,0.05);
    --input-bg-focus: rgba(255,255,255,0.08);
    --scrollbar-track: rgba(255,255,255,0.03);
    --scrollbar-thumb: rgba(255,255,255,0.15);
    --scrollbar-thumb-hover: rgba(255,255,255,0.30);
    /* Pyro-style clear overlay: radial warm glow + subtle bottom fade */
    --bg-body-gradient: radial-gradient(ellipse at top, rgba(80, 20, 20, 0.55), rgba(6, 6, 6, 0.80), rgba(2, 2, 2, 0.95));
    --bg-scrim: rgba(0, 0, 0, 0.15);
}



/* ─── LIGHT THEME ─────────────────────────────────── */
[data-theme="light"] {
    --bg-body: #e8eaf0;
    /* ── Glassmorphism (Light) — frosted white glass ── */
    --bg-card: rgba(255, 255, 255, 0.55);
    --bg-card-hover: rgba(255, 255, 255, 0.70);
    --bg-navbar: rgba(255, 255, 255, 0.60);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.70);
    --glass-blur: blur(14px);
    --glass-border-color: rgba(0, 0, 0, 0.10);    /* dark border for definition */
    /* ── Borders ── */
    --border-subtle: rgba(0, 0, 0, 0.10);
    --border-red: rgba(220, 38, 38, 0.35);
    /* ── Palette ── */
    --red-primary: #dc2626;
    --red-dark: #991b1b;
    --red-glow: rgba(220, 38, 38, 0.10);
    --green-active: #16a34a;
    /* ── Text ── */
    --text-white: #111111;
    --text-muted: #374151;
    --text-dim: #6b7280;
    /* ── Misc ── */
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    --shadow-glow: 0 4px 24px rgba(220, 38, 38, 0.12);
    /* ── Overlays ── */
    --overlay-soft:  rgba(255,255,255,0.05);
    --overlay-soft2: rgba(255,255,255,0.08);
    --overlay-soft3: rgba(255,255,255,0.10);
    --overlay-soft4: rgba(255,255,255,0.12);
    --overlay-soft5: rgba(255,255,255,0.15);
    --overlay-soft6: rgba(255,255,255,0.18);
    --overlay-soft7: rgba(255,255,255,0.20);
    --table-hover: rgba(255,255,255,0.10);
    --dropdown-hover: rgba(220,38,38,0.06);
    --dropdown-hover-danger: rgba(220,38,38,0.08);
    --input-bg: rgba(255,255,255,0.20);
    --input-bg-focus: rgba(255,255,255,0.30);
    --scrollbar-track: rgba(0,0,0,0.05);
    --scrollbar-thumb: rgba(0,0,0,0.18);
    --scrollbar-thumb-hover: rgba(0,0,0,0.30);
    --bg-auth: radial-gradient(ellipse at top, #ffffff, #e8eaf0);
    /* Light: warm blush at top, white wash in middle, image visible at edges */
    --bg-body-gradient: radial-gradient(ellipse at top, rgba(200, 80, 80, 0.25), rgba(255,255,255,0.50), rgba(220,220,230,0.65));
    --bg-scrim: rgba(255, 255, 255, 0.12);
}


/* Light theme specific overrides */
[data-theme="light"] .navbar { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .nav-link { color: #111111 !important; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: #000 !important; }
[data-theme="light"] .nav-link i { color: var(--red-primary); }
[data-theme="light"] .btn-nav-register {
    color: #111111 !important;
    border-color: rgba(0,0,0,0.25);
}
[data-theme="light"] .btn-nav-register:hover { border-color: #111111; }
[data-theme="light"] .text-white { color: #111111 !important; }
[data-theme="light"] .text-light { color: #1f2937 !important; }
[data-theme="light"] .badge.bg-dark { background: rgba(0,0,0,0.15) !important; color: #111 !important; }
[data-theme="light"] .badge.bg-secondary { background: rgba(0,0,0,0.12) !important; color: #1f2937 !important; }
[data-theme="light"] .alert { border: 1px solid rgba(0,0,0,0.10); }
[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
    border-color: rgba(0,0,0,0.15);
    color: #111111;
}
[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    background: rgba(255,255,255,0.50);
    color: #111111;
}
[data-theme="light"] .input-group-text {
    background: rgba(255,255,255,0.30);
    border-color: rgba(0,0,0,0.15);
    color: #374151;
}
[data-theme="light"] .dropdown-menu {
    background: rgba(255,255,255,0.80) !important;
    backdrop-filter: blur(14px);
    border-color: rgba(0,0,0,0.10) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.14);
}
[data-theme="light"] .dropdown-item {
    color: #1f2937;
}
[data-theme="light"] .dropdown-item:hover {
    background: rgba(220,38,38,0.08);
    color: #111111;
}
[data-theme="light"] .dropdown-item.text-white { color: #111111 !important; }
[data-theme="light"] .dropdown-item.text-danger { color: #dc2626 !important; }
[data-theme="light"] .dropdown-header { color: #6b7280 !important; }
[data-theme="light"] .page-link {
    background: rgba(255,255,255,0.50);
    border-color: rgba(0,0,0,0.10);
    color: #374151;
}
[data-theme="light"] .page-link:hover {
    background: #f3f4f6;
    color: #dc2626;
}
[data-theme="light"] .page-item.active .page-link {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}
[data-theme="light"] .btn-close,
[data-theme="light"] .btn-close-white {
    filter: invert(1) grayscale(100) brightness(0) !important;
}

[data-theme="dark"] .btn-close,
[data-theme="dark"] .btn-close-white {
    filter: invert(1) grayscale(100) brightness(200%) !important;
}

/* Admin Sidebar Light Mode */
[data-theme="light"] .admin-sidebar {
    background-color: #fff !important;
    border-right: 1px solid rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .sidebar-brand {
    border-bottom-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .sidebar-link {
    color: #4b5563 !important;
}
[data-theme="light"] .sidebar-link:hover {
    background-color: rgba(0,0,0,0.04) !important;
    color: #1a1a1a !important;
}
[data-theme="light"] .sidebar-link.active {
    background-color: rgba(220,38,38,0.08) !important;
    color: #dc2626 !important;
    border-left-color: #dc2626 !important;
}
[data-theme="light"] .user-profile-section {
    border-top-color: rgba(0,0,0,0.08) !important;
    background: rgba(0,0,0,0.02) !important;
}
[data-theme="light"] .admin-topbar {
    background: #fff !important;
    border-bottom-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .admin-topbar .text-white {
    color: #1a1a1a !important;
}
[data-theme="light"] .sidebar-label {
    color: #9ca3af !important;
}
[data-theme="light"] .stat-card {
    background: #fff !important;
    border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .stat-card .value {
    color: #1a1a1a !important;
}
[data-theme="light"] .card-header .fw-bold {
    color: #1a1a1a !important;
}
[data-theme="light"] .table thead th {
    background: rgba(0,0,0,0.02) !important;
    color: #6b7280 !important;
}
[data-theme="light"] .modal-content {
    background: #fff !important;
    color: #1a1a1a !important;
}
[data-theme="light"] .modal-header, 
[data-theme="light"] .modal-footer {
    border-color: rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .modal-body .text-white {
    color: #1a1a1a !important;
}
[data-theme="light"] .modal-body .bg-black.bg-opacity-25 {
    background: rgba(0,0,0,0.05) !important;
}

/* ─── THEME TOGGLE ───────────────────────────────── */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--overlay-soft3);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
    background: var(--overlay-soft5);
    transform: rotate(20deg);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    /* Pyro-style: radial gradient baked directly into the background shorthand */
    background:
        var(--bg-body-gradient),
        url('../img/hero-bg.png') center top / cover no-repeat fixed;
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s, color 0.3s;
}

/* Very subtle scrim — just enough to ensure contrast, not to hide the image */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg-scrim);
    z-index: 0;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Ensure all content sits above the overlay */
.main-content, nav, footer {
    position: relative;
    z-index: 1;
}


a { color: var(--red-primary); text-decoration: none; transition: color .2s; }
a:hover { color: #ef4444; }

/* ─── Dropdown Menu ─── */
.dropdown-menu {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    min-width: 200px;
}
.dropdown-item {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background: var(--overlay-soft);
    color: var(--text-white);
    transform: translateX(4px);
}
.dropdown-item i {
    width: 20px;
    text-align: center;
}
.dropdown-header {
    color: var(--red-primary);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
}
.dropdown-divider {
    border-top: 1px solid var(--border-subtle);
    opacity: 1;
    margin: 0.5rem 0;
}

/* ─── Animations ─── */
.animate { animation-duration: 0.3s; animation-fill-mode: both; }
@keyframes slideIn {
    0% { transform: translateY(1rem); opacity: 0; }
    100% { transform: translateY(0rem); opacity: 1; }
}
.slideIn { animation-name: slideIn; }

/* ─── TOP RIGHT AUTH CORNER ──────────────────────── */
.auth-corner {
    position: fixed;
    top: 1.4rem;
    right: 2rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-btn-login {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-white) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}
.auth-btn-login:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
    color: #fff !important;
}

.auth-btn-register {
    background: var(--red-primary);
    color: #fff !important;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(220,38,38,0.35);
    letter-spacing: 0.3px;
}
.auth-btn-register:hover {
    background: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.5);
    color: #fff !important;
}

.auth-user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-white) !important;
    padding: 0.35rem 0.9rem 0.35rem 0.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s;
}
.auth-user-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff !important;
}
.auth-username {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-white);
}



/* ─── Utilities ─── */

/* ─── NAVBAR (Pyro Ailesi Style) ────────────────── */
.navbar {
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    z-index: 1000;
}
.navbar-container.pyro-header {
    background: var(--bg-navbar);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.navbar-brand-custom {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}
.navbar-brand-custom .brand-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: -0.5px;
}
.navbar-brand-custom .brand-sub {
    font-size: 0.65rem;
    color: var(--red-primary);
    font-weight: 700;
}

.navbar-nav-custom {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}
.navbar-nav-custom li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.navbar-nav-custom li a:hover,
.navbar-nav-custom li a.active {
    color: var(--text-white);
}

/* Dropdown Pyro style */
.dropdown-custom { position: relative; }
.dropdown-menu-pyro {
    position: absolute;
    top: 100%; left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.8rem;
    min-width: 180px;
    display: none;
    list-style: none;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}
.dropdown-custom:hover .dropdown-menu-pyro { display: block; animation: slideIn 0.3s; }
.dropdown-menu-pyro li a { display: block; padding: 0.5rem 0.8rem; font-size: 0.8rem; border-radius: 6px; }
.dropdown-menu-pyro li a:hover { background: rgba(220,38,38,0.1); color: var(--red-primary); }

/* Right Buttons */
.theme-btn-pyro {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}
.theme-btn-pyro:hover { color: #f59e0b; border-color: #f59e0b; transform: rotate(15deg); }

.whatsapp-btn-pyro {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.whatsapp-btn-pyro:hover { background: rgba(34,197,94,0.2); border-color: #22c55e; color: #22c55e; transform: scale(1.1); }

.ts3-btn-pyro {
    background: #00adff;
    background: linear-gradient(135deg, #00adff, #00adff);
    color: #fff !important;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    display: flex; align-items: center;
    box-shadow: 0 4px 15px rgba(0,173,255,1);
    transition: all 0.3s;
    text-decoration: none;
}
.ts3-btn-pyro:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,173,255,1); border: none; }


/* ─── DROPDOWN MENU ──────────────────────────────── */
.dropdown-menu {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
}
.dropdown-item {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    transition: all .2s;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--dropdown-hover);
    color: var(--text-white);
}
.dropdown-item.text-white { color: var(--text-white) !important; }
.dropdown-item.text-warning { color: #f59e0b !important; }
.dropdown-item.text-danger { color: var(--red-primary) !important; }
.dropdown-item.text-danger:hover { background: var(--dropdown-hover-danger); }
.dropdown-header { color: var(--text-muted) !important; }
.dropdown-divider { border-color: var(--border-subtle) !important; }

/* ─── HERO SECTION (Pyro Style) ──────────────────── */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

/* Hero section is transparent — background shows through from body */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ─── Unified Hero Card (single glass container) ─── */
.hero-unified-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}

/* Left panel — just padding, inherits glass from parent */
.hero-content-left {
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* ── Right Server Panel (joined, no separate box) ── */
.hero-server-panel {
    border-left: 1px solid var(--glass-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.4s ease;
}
.hero-server-panel .map-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.server-panel-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.server-panel-body .server-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text-white);
    line-height: 1.3;
}
.server-panel-body .server-info {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.btn-connect-hero {
    display: block;
    width: 100%;
    background: var(--gradient-red);
    color: #fff;
    text-align: center;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(220,38,38,0.35);
}
.btn-connect-hero:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220,38,38,0.55);
    color: #fff;
}

.badge-active {
    background: var(--red-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: -2px;
    margin: 0.5rem 0 1rem;
    line-height: 1;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin-bottom: 2rem;
}

/* ── Hero CTA Buttons ── */
.btn-clan {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}
.btn-clan:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #fff !important;
}
[data-theme="light"] .btn-clan {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a !important;
}
[data-theme="light"] .btn-clan:hover {
    background: rgba(0, 0, 0, 0.13);
    border-color: rgba(0, 0, 0, 0.30);
}

.btn-ts3 {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff !important;
    background: var(--gradient-red);
    border: none;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.40);
    transition: all 0.3s ease;
}
.btn-ts3:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.60);
    color: #fff !important;
}


/* ─── SECTION TITLES ─────────────────────────────── */
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}
.section-title i { color: var(--red-primary); }
.section-title::before {
    content: '';
    width: 3px;
    height: 22px;
    background: var(--red-primary);
    border-radius: 2px;
}
.page-header {
    text-align: center;
    padding: 3rem 0 1rem;
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0.3;
}
.page-header h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-header p { color: var(--text-muted); }

/* ─── CARDS & GRID ───────────────────────────────── */
.card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: background 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    border-color: var(--border-red);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
/* Server Grid Cards — same glass effect as hero card */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--glass-border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: background 0.4s ease, border-color 0.3s ease, transform 0.3s ease;
}

.card-header {
    background: var(--overlay-soft);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 600;
}
.card-footer {
    background: var(--overlay-soft);
    border-top: 1px solid var(--border-subtle);
}

/* Announcement Cards */
.announce-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .25s;
    cursor: pointer;
}
.announce-card:hover { border-color: var(--border-red); }
.announce-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
    color: #fff;
}
.announce-icon.red { background: var(--red-primary); }
.announce-icon.orange { background: #ea580c; }
.announce-icon.blue { background: #2563eb; }

.announce-title { font-weight: 700; font-size: 0.95rem; color: var(--text-white); }
.announce-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }

/* Social Buttons */
.social-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-sm);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all .25s;
    margin-bottom: 0.6rem;
}
.social-btn:hover { transform: translateX(4px); color: #fff !important; }
.social-btn.instagram { background: var(--gradient-instagram); }
.social-btn.whatsapp { background: var(--gradient-whatsapp); }
.social-btn.ts3 { background: linear-gradient(135deg, #2563eb, #1e40af); }
.social-btn.discord { background: linear-gradient(135deg, #5865F2, #4752C4); }

.server-ip-box {
    background: var(--overlay-soft2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    margin-top: 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.server-ip-box small {
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.72rem;
    cursor: pointer;
    transition: color .2s;
}
.server-ip-box small:hover { color: var(--red-primary); }

/* ─── SERVER TABLE ───────────────────────────────── */
.server-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
}
.table { color: var(--text-white); margin-bottom: 0; }
.table>:not(caption)>*>* {
    background-color: transparent;
    border-bottom-color: var(--border-subtle);
    padding: 1rem 1.2rem;
}
.table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    font-weight: 600;
    border-bottom: 1px solid var(--border-subtle) !important;
}
.table-hover>tbody>tr:hover>* { background: var(--table-hover); }

.badge-status {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-status.active { background: var(--green-active); color: #fff; }
.badge-status.inactive { background: #dc2626; color: #fff; }

.btn-connect {
    background: var(--red-primary);
    color: #fff;
    border: none;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s;
}
.btn-connect:hover { background: #ef4444; color: #fff; }

.btn-details {
    background: var(--overlay-soft5);
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s;
}
.btn-details:hover { border-color: var(--text-muted); color: var(--text-white); }

/* ─── PRICING CARDS ──────────────────────────────── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: all .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    border-color: var(--border-red);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}
.pricing-card .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
}
.pricing-card .price small { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-card .feature-list { list-style: none; padding: 0; margin: 1.5rem 0; flex-grow: 1; }
.pricing-card .feature-list li {
    padding: 0.45rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pricing-card .feature-list li i { color: var(--red-primary); font-size: 0.8rem; }

.btn-buy {
    display: block;
    width: 100%;
    background: var(--red-primary);
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all .25s;
}
.btn-buy:hover { background: #ef4444; color: #fff; transform: translateY(-2px); }

/* ─── ABOUT SECTION ──────────────────────────────── */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
}
.about-card .section-badge {
    background: rgba(220,38,38,0.15);
    border: 1px solid var(--border-red);
    color: var(--red-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.quote-block {
    border-left: 3px solid var(--red-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(220,38,38,0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    position: relative;
    transition: background 0.3s;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0.5;
}
.footer-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.footer-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-heading::before {
    content: '';
    width: 3px; height: 16px;
    background: var(--red-primary);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a:hover { color: var(--red-primary); }
.footer-links i { color: var(--red-primary); font-size: 0.75rem; }

.footer-contact-item {
    background: var(--overlay-soft2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.3s;
}
.footer-contact-item i { color: var(--red-primary); font-size: 1.1rem; }
.footer-contact-item .label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.footer-contact-item .value { font-size: 0.88rem; color: var(--text-white); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.2rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ─── BUTTONS (Bootstrap Override) ───────────────── */
.btn-primary { background: var(--red-primary); border-color: var(--red-primary); }
.btn-primary:hover { background: #ef4444; border-color: #ef4444; }
.btn-outline-primary { color: var(--red-primary); border-color: var(--red-primary); }
.btn-outline-primary:hover { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }

/* ─── FORMS ──────────────────────────────────────── */
.form-control, .form-select {
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-white) !important;
    border-radius: var(--radius-sm);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus, .form-select:focus {
    background: var(--input-bg-focus);
    color: var(--text-white) !important;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 0.2rem rgba(220,38,38,0.2);
}
.form-select option {
    background: var(--bg-card);
    color: var(--text-white);
}
.input-group-text {
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: background 0.3s, border-color 0.3s;
}

/* ─── MISC ───────────────────────────────────────── */
.text-muted { color: var(--text-muted) !important; }
.text-red { color: var(--red-primary) !important; }

.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.avatar-lg {
    width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--red-primary);
}

.progress { background: var(--overlay-soft6); height: 6px; border-radius: 3px; }
.progress-bar { background: var(--red-primary); border-radius: 3px; }

.main-content { flex: 1; }

.new-member-card {
    background: var(--overlay-soft2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s;
}
.new-member-badge {
    background: var(--red-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Tags */
.tag-small {
    background: var(--overlay-soft4);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gallery */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    transition: all .3s;
    cursor: pointer;
}
.gallery-item:hover { border-color: var(--red-primary); transform: scale(1.03); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* Auth Pages */
.auth-card { max-width: 420px; }
.auth-brand { letter-spacing: -1px; }

/* ─── TRANSITION ANIMATION ───────────────────────── */
body, .navbar, .card, .card-glass,
.hero-unified-card, .hero-server-panel, .hero-content-left,
.hero-inner, .site-footer,
.form-control, .form-select, .input-group-text,
.dropdown-menu, .announce-card, .info-badge,
.footer-contact-item, .new-member-card, .server-ip-box,
.about-card, .pricing-card, .server-table-wrap {
    transition-property: background-color, background, color, border-color, box-shadow, backdrop-filter;
    transition-duration: 0.40s;
    transition-timing-function: ease;
}

/* Responsive */
@media (max-width: 991px) {
    /* On mobile, divider becomes a top border (horizontal) */
    .hero-server-panel {
        border-left: none;
        border-top: 1px solid var(--glass-border-color);
    }
    .hero-content-left {
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 768px) {
    .hero-inner { padding: 1.5rem; }
    .hero-title { font-size: 2.5rem !important; letter-spacing: -1px !important; }
    .about-card { padding: 1.5rem; }
    .hero-unified-card { border-radius: var(--radius-sm); }
}
