/* ==========================================
   BLISS KITFFA - ELEGANT DEEP BLUE THEME
   Modern, Stylish, and Highly Organized Design
   ========================================== */

:root {
    /* Color Palette - Elegant Deep Blue & Navy */
    --bg-darker: #030712;
    --bg-dark: #070d1e;
    --bg-panel: rgba(15, 23, 42, 0.6);
    --bg-panel-hover: rgba(30, 41, 59, 0.5);
    
    /* Brand Accents - Sapphire & Ice Blue */
    --accent-blue: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.15);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Layout Details */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(59, 130, 246, 0.25);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 20px -8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    
    /* Radius */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-header: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--text-primary);
}

/* ==========================================
   BACKGROUND DECORATIONS
   ========================================== */
/* Smooth gradient backgrounds */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(29, 78, 216, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
}

/* Soft grid overlay */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Elegant Blur Blobs */
.blur-blob-1, .blur-blob-2 {
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -2;
}

.blur-blob-1 {
    background-color: var(--accent-blue);
    top: 10%;
    right: -100px;
    animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blur-blob-2 {
    background-color: var(--accent-dark);
    bottom: -100px;
    left: -100px;
    animation: float-blob-2 20s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.1); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -60px) scale(0.9); }
}

.glow-overlay {
    display: none; /* Removed harsh cyberpunk neon highlights */
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-header);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    position: relative;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link i {
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--accent-light);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   BUTTONS (CLEAN MODERN STYLE)
   ========================================== */
.btn {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    opacity: 0.95;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Remove Glitch Overlays from templates */
.btn-glitch-layer {
    display: none !important;
}

/* Copied Feedback */
.btn.copied {
    background: #10b981 !important;
    color: white !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================
   GLITCH TEXT OVERRIDES (NORMAL MODERN TEXT)
   ========================================== */
.glitch-text {
    position: relative;
    display: inline-block;
}

/* Remove the visual offset glitch pseudo-elements completely */
.glitch-text::before,
.glitch-text::after {
    display: none !important;
}

/* ==========================================
   CARDS & PANELS (ELEGANT ROUNDED GLASS)
   ========================================== */
.cyber-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

/* Hide cyber ornaments */
.cyber-panel::after {
    display: none !important;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.panel-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.panel-title {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.panel-num {
    font-family: var(--font-header);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-light);
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 350px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cyber-badge {
    display: inline-block;
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    border-radius: 100px;
}

.version-badge {
    display: inline-block;
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-radius: 100px;
}

.version-badge i {
    color: var(--accent-light);
    margin-right: 4px;
}

/* ==========================================
   HOME PAGE (ACCUEIL)
   ========================================== */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    min-height: 400px;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Status Widget */
.status-widget {
    background: rgba(15, 23, 42, 0.4);
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-value {
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 700;
}

#player-count {
    transition: opacity 0.3s;
}

.text-online {
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.status-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.status-progress-fill {
    height: 100%;
    background-color: var(--accent-blue);
    width: 0%;
    transition: width 1s ease-in-out;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.feature-card {
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-panel-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-border-glow {
    display: none; /* Removed cyan gradient glowing lines */
}

/* Leaderboard Section (Authentic Minecraft Server Feel) */
.leaderboard-section {
    margin-bottom: 6rem;
}

.leaderboard-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.35);
    padding: 2rem;
}

.leaderboard-tabs {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn-lb {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.tab-btn-lb i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.tab-btn-lb:hover {
    color: var(--text-primary);
}

.tab-btn-lb.active {
    color: var(--accent-light);
}

.tab-btn-lb.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-blue);
}

.lb-category {
    display: none;
}

.lb-category.active {
    display: block;
}

.rank-num {
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 700;
    width: 60px;
}

.rank-1 {
    color: #f59e0b; /* Gold */
}

.rank-2 {
    color: #94a3b8; /* Silver */
}

.rank-3 {
    color: #b45309; /* Bronze/Copper */
}

/* Conflicts Timeline */
.timeline {
    max-width: 750px;
    margin: 0 auto 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 10px;
    width: 7px;
    height: 7px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.timeline-time {
    font-family: var(--font-header);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-light);
}

.timeline-content h4 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-content h4 i {
    color: var(--accent-blue);
    margin-right: 6px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Join Banner */
.join-banner {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.3) 100%);
}

.join-content h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.join-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.join-actions {
    display: flex;
    justify-content: center;
}

/* ==========================================
   RULES PAGE (REGLEMENT)
   ========================================== */
.rules-hero {
    margin-bottom: 3rem;
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rules-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rule-item h5 {
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
}

.rule-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Table */
.sanctions-section {
    padding: 1.75rem;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.cyber-table th, .cyber-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cyber-table th {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.01);
}

.cyber-table tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.text-danger {
    color: #ef4444;
    font-weight: 600;
}

.text-warning {
    color: #f59e0b;
    font-weight: 600;
}

/* ==========================================
   BOUTIQUE (SHOP)
   ========================================== */
.boutique-hero {
    margin-bottom: 3rem;
}

.boutique-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.boutique-tabs {
    display: flex;
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: var(--radius-md);
}

.tab-btn {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn i {
    margin-right: 6px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* Shop Category active logic */
.shop-category {
    display: none;
}

.shop-category.active {
    display: block;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.shop-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.shop-card .card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.card-tag {
    font-family: var(--font-header);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.shop-card h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.card-price {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.price-duration {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.card-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
}

.card-features li i {
    margin-top: 4px;
    font-size: 0.85rem;
}

.buy-btn {
    width: 100%;
}

/* Featured shop cards styling */
.grade-featured {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.tag-featured {
    color: var(--accent-light);
}

.grade-ultimate {
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
}

.grade-ultimate .card-price {
    color: var(--accent-light);
}

.tag-ultimate {
    color: var(--accent-light);
}

/* Payment Panel */
.payment-info {
    margin-top: 3rem;
}

.payment-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.payment-content p {
    max-width: 650px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.payment-methods {
    display: flex;
    gap: 1.25rem;
    font-size: 1.8rem;
    color: var(--text-muted);
}

.payment-methods i {
    transition: var(--transition-fast);
}

.payment-methods i:hover {
    color: var(--text-primary);
}

/* ==========================================
   STAFF PAGE (L'EQUIPE)
   ========================================== */
.staff-hero {
    margin-bottom: 3rem;
}

.staff-group {
    margin-bottom: 4rem;
}

.group-title {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-blue);
    padding-left: 0.75rem;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.staff-card {
    text-align: center;
    padding: 2.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
}

.avatar-glow {
    display: none; /* Removed glowing rings */
}

.avatar-img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #0f172a;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-light);
}

.staff-card h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.role-badge {
    font-family: var(--font-header);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.badge-founder {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.badge-mod-chief {
    background-color: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #c084fc;
}

.badge-mod {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-light);
}

.staff-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.staff-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    width: 100%;
}

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

.meta-item i {
    margin-right: 6px;
    color: var(--accent-blue);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #020617;
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    font-family: var(--font-header);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links h4, .footer-socials h4 {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: white;
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #070d1e;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        padding: 0.85rem 2rem;
        display: block;
        border-radius: 0;
    }

    .nav-link:hover, .nav-link.active {
        background-color: rgba(255, 255, 255, 0.02);
    }

    .nav-actions {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .payment-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }
}

/* ==========================================
   KITS & ARENAS (KITFFA)
   ========================================== */
.kits-section,
.arenas-section {
    margin-bottom: 6rem;
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.kit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-normal);
}

.kit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.kit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.kit-card h3 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.kit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.kits-cta {
    display: flex;
    justify-content: center;
}

.arenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.arena-card {
    padding: 1.75rem;
    transition: var(--transition-normal);
    border-left: 3px solid var(--accent-blue);
}

.arena-card:hover {
    transform: translateY(-3px);
    background-color: var(--bg-panel-hover);
    box-shadow: var(--shadow-lg);
}

.arena-tag {
    font-family: var(--font-header);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.arena-card h3 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.arena-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   SHOP DISABLED PANEL
   ========================================== */
.shop-disabled-panel {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(245, 158, 11, 0.25);
}

.shop-disabled-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.shop-disabled-panel h2 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.shop-disabled-panel p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.shop-disabled-notice {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    margin-top: 1.25rem;
}

/* ==========================================
   AUTHENTICATION & FLASH MESSAGES
   ========================================== */
.flash-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
}

.flash-message {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.flash-success {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.flash-danger {
    background-color: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 450px);
    padding: 2rem 0;
}

.auth-container {
    max-width: 420px;
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.04);
}

.auth-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.auth-footer a {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================
   BOUTIQUE WARNING & PAYPAL MODAL
   ========================================== */
.auth-warning-banner {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 500;
    color: #fbbf24;
}

.auth-warning-banner a {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.paypal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

.paypal-modal-content {
    max-width: 480px;
    width: 90%;
    background-color: var(--bg-dark);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalReveal 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.close-modal-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    margin-left: auto;
    transition: var(--transition-fast);
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding-top: 0.5rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.modal-body p {
    margin-bottom: 0.75rem;
}

#modal-item-name {
    color: var(--text-primary);
}

.modal-price-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem !important;
}

#modal-item-price {
    color: var(--accent-light);
    font-size: 1.5rem;
}

.modal-user-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-bottom: 1.75rem !important;
}

.modal-user-row i {
    color: var(--accent-light);
    margin-right: 6px;
}

#paypal-button-container {
    width: 100%;
}
