/* ============================================================
   SavaGun RolePlay — Clean Professional Theme
   Inspired by Linear, Vercel, Raycast
   ============================================================ */

:root {
    --primary: #a78bfa;
    --primary-glow: rgba(167, 139, 250, 0.15);
    --secondary: #6366f1;
    --accent: #34d399;
    --accent-glow: rgba(52, 211, 153, 0.15);
    --bg-deep: #09090b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --bg-glass: rgba(9, 9, 11, 0.88);
    --bg-elevated: rgba(24, 24, 27, 0.8);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #fafafa;
    --text-dim: #a1a1aa;
    --text-muted: #71717a;
    --gradient-primary: linear-gradient(135deg, #a78bfa, #6366f1);
    --gradient-accent: linear-gradient(135deg, #34d399, #10b981);
    --gradient-hero: linear-gradient(135deg, #6366f1, #a78bfa, #34d399);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    /* Legacy compat */
    --primary-color: #a78bfa;
    --secondary-color: #6366f1;
    --accent-color: #34d399;
    --bg-color: #09090b;
    --glass-bg: rgba(9, 9, 11, 0.88);
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-glow: 0 0 20px rgba(167, 139, 250, 0.08);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.3);
    --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain */
body::before {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.04) 0%, transparent 60%);
    pointer-events: none; z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent; }

::selection { background: rgba(167, 139, 250, 0.25); color: #fff; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-deep);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
}
#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo-wrapper { position: relative; }
.preloader-logo {
    width: 100px; height: 100px; border-radius: 20px; object-fit: cover;
    animation: preloaderPulse 2s ease-in-out infinite;
    border: 1px solid var(--border);
}
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
    padding: 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.header.scrolled {
    background: rgba(9, 9, 11, 0.92);
    border-bottom-color: var(--border-hover);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
    height: 60px; gap: 2rem;
}
.header-left { flex-shrink: 0; display: flex; align-items: center; gap: 0.5rem; }
.header-center { flex-grow: 1; display: flex; justify-content: center; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.nav-menu {
    display: flex; align-items: center; list-style: none;
    gap: 0; margin: 0; padding: 0;
}

.logo {
    font-size: 1.1rem; font-weight: 700;
    color: var(--text);
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo-img {
    width: 32px; height: 32px; object-fit: contain;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-menu a {
    color: var(--text-dim); text-decoration: none;
    transition: color 0.2s; padding: 0.4rem 0.75rem;
    border-radius: 6px; font-weight: 500; font-size: 0.85rem;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap;
}
.nav-menu i { font-size: 0.8em; opacity: 0.5; transition: opacity 0.2s; }
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover i { opacity: 0.8; }
.nav-menu a.active { color: var(--text); background: rgba(255,255,255,0.05); }

/* Dropdown */
.nav-menu .dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: calc(100% + 6px);
    left: 50%; transform: translateX(-50%) translateY(4px);
    background: var(--bg-elevated); backdrop-filter: blur(20px);
    min-width: 200px; box-shadow: var(--shadow-lg);
    z-index: 1000; border-radius: var(--radius-md);
    border: 1px solid var(--border); padding: 0.35rem;
    opacity: 0; visibility: hidden;
    transition: all 0.2s var(--ease);
}
.dropdown-content::before {
    content: ''; position: absolute; top: -8px; left: 0; width: 100%; height: 8px; background: transparent;
}
.dropdown-content a {
    color: var(--text-dim); padding: 0.5rem 0.75rem; border-radius: 6px;
    display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem;
    transition: all 0.15s; margin: 0.1rem 0;
}
.dropdown-content a i { color: var(--primary); width: 16px; text-align: center; opacity: 0.7; font-size: 0.75em; }
.dropdown-content a:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.dropdown:hover .dropdown-content {
    display: block; transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible;
}
.dropdown-arrow { display: inline-block; margin-left: 2px; transition: transform 0.2s; font-size: 0.6em; }
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.connect-btn {
    background: var(--gradient-primary) !important; color: #fff !important;
    padding: 0.4rem 1rem !important; border-radius: 6px !important;
    font-weight: 600; font-size: 0.8rem; transition: all 0.2s;
    display: flex; align-items: center; gap: 0.4rem;
    box-shadow: none; border: none !important;
}
.connect-btn:hover { opacity: 0.9; }

.quick-connect-btn {
    background: var(--gradient-accent) !important; color: #fff !important;
    padding: 0.4rem 1rem !important; border-radius: 6px !important;
    font-weight: 600; font-size: 0.8rem; transition: all 0.2s;
    display: flex; align-items: center; gap: 0.4rem;
    box-shadow: none; border: none !important;
}
.quick-connect-btn:hover { opacity: 0.9; }

.mobile-menu-btn {
    display: none; background: none; border: 1px solid var(--border);
    color: var(--text); font-size: 1rem; cursor: pointer;
    padding: 0.4rem 0.6rem; border-radius: 6px;
    transition: var(--transition-smooth);
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.04); }

.show-mobile-menu {
    display: flex !important; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-glass); backdrop-filter: blur(20px);
    flex-direction: column; padding: 1.5rem; z-index: 1000;
    animation: slideDown 0.2s var(--ease); border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.show-mobile-menu li { width: 100%; margin: 0.15rem 0; }
.show-mobile-menu a { width: 100%; padding: 0.6rem 0.75rem; border-radius: 6px; }
.show-mobile-menu .dropdown-content {
    position: relative; box-shadow: none; margin: 0.25rem 0 0.25rem 0.75rem;
    border-radius: 6px; width: calc(100% - 0.75rem);
    transform: none; opacity: 1; visibility: visible; display: none; border: none; padding: 0;
}
.active-dropdown .dropdown-content { display: block !important; }
.mobile-only { display: none; }
.desktop-only { display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 0; min-height: 100vh; display: none; }
.section.active { display: block; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.content-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 4rem;
    min-height: 100vh; position: relative;
}
.section-header {
    text-align: center; margin-bottom: 3rem; padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
}
.section-title {
    font-size: 2rem; margin-bottom: 0.5rem; font-weight: 700;
    color: var(--text); letter-spacing: -0.5px;
}
.section-subtitle { font-size: 0.95rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; overflow: hidden; min-height: 100vh;
    display: flex; align-items: center; padding-top: 60px;
}
.hero-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 2rem; position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-left { animation: heroFadeIn 0.6s var(--ease); }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-title {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.05;
    color: var(--text); letter-spacing: -1.5px;
}
.hero-description { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 2rem; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }

.btn-primary {
    background: var(--gradient-primary); color: #fff; border: none;
    padding: 0.75rem 1.75rem; border-radius: var(--radius-md);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
    background: rgba(255,255,255,0.04); color: var(--text);
    border: 1px solid var(--border-hover); padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md); font-weight: 500; font-size: 0.95rem;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.trust-indicators { display: flex; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.85rem; background: rgba(255,255,255,0.03);
    border-radius: 6px; border: 1px solid var(--border);
    color: var(--text-dim); font-size: 0.8rem; font-weight: 500;
}
.trust-item i { color: var(--primary); font-size: 0.75rem; opacity: 0.7; }

/* Hero Right */
.hero-right {
    animation: heroFadeIn 0.6s var(--ease) 0.15s both;
    display: flex; justify-content: center; align-items: center;
}
.animated-logo-container {
    position: relative; width: 300px; height: 300px;
    display: flex; justify-content: center; align-items: center;
}
.rotating-logo {
    width: 160px; height: 160px; border-radius: 50%;
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: logoRotate 20s linear infinite;
}
.rotating-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

@keyframes logoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   CARDS — Shared
   ============================================================ */
.step-card, .why-card, .feature-card, .product-card, .stat-card, .staff-card-premium, .rule-category, .info-stat-box, .info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s var(--ease);
}
.step-card:hover, .why-card:hover, .feature-card:hover, .product-card:hover, .stat-card:hover, .staff-card-premium:hover, .info-stat-box:hover, .info-card:hover {
    border-color: var(--border-hover);
}

/* ============================================================
   JOIN / INFO / WHY US / WORLD
   ============================================================ */
.join-guide-section, .info-section, .why-us-section {
    padding: 0; position: relative; overflow: hidden;
}
.join-guide-section[data-bg], .info-section[data-bg], .why-us-section[data-bg] {
    background-size: cover; background-position: center; background-attachment: fixed;
}
.join-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.step-card {
    padding: 2rem; position: relative; overflow: hidden;
}
.step-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-primary);
}
.step-card:hover { transform: translateY(-2px); }
.step-card.discord::before { background: linear-gradient(135deg, #5865F2, #7289DA); }
.step-card.connect::before { background: var(--gradient-accent); }
.step-number {
    font-size: 3rem; font-weight: 900; position: absolute; top: 0.75rem; right: 1.25rem;
    background: linear-gradient(135deg, rgba(167,139,250,0.1), transparent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.step-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.75rem; display: block; opacity: 0.8; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text); }
.step-card p { color: var(--text-dim); line-height: 1.7; margin-bottom: 1.25rem; font-size: 0.9rem; }
.step-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; font-size: 0.85rem;
    transition: all 0.2s;
}
.discord-btn {
    background: #5865F2; color: #fff;
}
.discord-btn:hover { opacity: 0.9; }
.connect-btn-large {
    background: var(--gradient-accent); color: #fff;
}
.connect-btn-large:hover { opacity: 0.9; }

/* Info */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.info-text h3 {
    font-size: 1.75rem; margin-bottom: 1rem;
    color: var(--text); font-weight: 700;
}
.info-text p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1.5rem; }
.info-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-stat-box { padding: 1.25rem; text-align: center; }
.info-stat-box:hover { transform: translateY(-2px); }
.info-stat-box h4 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.2rem; }
.info-stat-box span { font-size: 0.8rem; color: var(--text-muted); }
.info-image { display: flex; justify-content: center; }
.info-image img { max-width: 320px; opacity: 0.4; filter: drop-shadow(0 0 30px var(--primary-glow)); transition: var(--transition-smooth); }
.info-image img:hover { opacity: 0.6; }

/* Why Us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.why-card {
    padding: 2rem; position: relative; overflow: hidden;
}
.why-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-primary); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-2px); }
.why-card:hover::after { transform: scaleX(1); }
.why-card i { font-size: 1.75rem; color: var(--primary); margin-bottom: 1rem; display: block; opacity: 0.7; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.why-card p { color: var(--text-dim); line-height: 1.7; font-size: 0.9rem; }


/* Features */
.features-section { padding: 4rem 2rem 1rem; position: relative; }
.features-container { max-width: 1200px; margin: 0 auto; }
.features-title {
    text-align: center; font-size: 2rem; margin-bottom: 2.5rem; font-weight: 700;
    color: var(--text); letter-spacing: -0.5px;
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card { padding: 1.75rem; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-2px); }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; color: var(--primary); opacity: 0.7; }
.feature-title { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); font-weight: 600; }
.feature-description { color: var(--text-dim); line-height: 1.6; font-size: 0.88rem; }
.feature-badges { display: flex; gap: 0.4rem; margin-top: 0.75rem; flex-wrap: wrap; }
.feature-badge { padding: 0.2rem 0.65rem; border-radius: 4px; font-size: 0.72rem; font-weight: 600; }
.feature-badge.count { background: var(--gradient-primary); color: #fff; }
.feature-badge.tag { background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid var(--border); }

/* Stats */
.stats-section {
    padding: 5rem 2rem; position: relative; overflow: hidden;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.stats-title {
    text-align: center; font-size: 2rem; margin-bottom: 2.5rem;
    color: var(--text); font-weight: 700; letter-spacing: -0.5px;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.stat-card { padding: 1.75rem; text-align: center; }
.stat-card:hover { transform: translateY(-2px); }
.stat-number { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary); }
.stat-label { font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--text); font-weight: 500; }
.stat-description { color: var(--text-muted); font-size: 0.82rem; }

/* ============================================================
   MARKET
   ============================================================ */
.market-categories {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.category-btn {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    color: var(--text-dim); padding: 0.5rem 1.25rem;
    border-radius: 6px; cursor: pointer; transition: all 0.2s;
    font-weight: 500; font-size: 0.85rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.category-btn:hover, .category-btn.active {
    background: var(--gradient-primary); color: #fff;
    border-color: transparent;
}

.sub-categories {
    display: none; justify-content: center; gap: 0.4rem;
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
.sub-categories.active { display: flex; }
.sub-btn {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    color: var(--text-muted); padding: 0.35rem 0.9rem; border-radius: 6px;
    cursor: pointer; transition: all 0.2s; font-size: 0.8rem; font-weight: 500;
}
.sub-btn:hover, .sub-btn.active {
    background: rgba(255,255,255,0.06); color: var(--text);
    border-color: var(--border-hover);
}

.market-category-content { display: none; }
.market-category-content.active { display: block; }

.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.product-card { overflow: hidden; position: relative; }
.product-card:hover { transform: translateY(-2px); }
.product-image { position: relative; height: 180px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 50%, rgba(9,9,11,0.7));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
}
.product-overlay i { font-size: 1.2rem; color: var(--primary); }
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 1.25rem; }
.product-info h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--text); font-weight: 600; }
.product-info p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; margin-bottom: 0.75rem; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.buy-btn {
    width: 100%; background: var(--gradient-primary); color: #fff;
    border: none; padding: 0.6rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: opacity 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.buy-btn:hover { opacity: 0.9; }

/* ============================================================
   STAFF — Team Card Layout
   ============================================================ */

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Single Team Grid (For Founder etc.) */
.team-grid.single-team-grid .team-card {
    width: 100%;
    max-width: 900px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
}
.team-grid.single-team-grid .team-body {
    align-items: flex-start;
    text-align: left;
}
@media (max-width: 768px) {
    .team-grid.single-team-grid .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .team-grid.single-team-grid .team-body {
        align-items: center;
        text-align: center;
    }
}

/* Team Card */
.team-card {
    background: rgba(15, 15, 25, 0.4);
    border: 1px solid var(--tier-color, #a78bfa);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    position: relative;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 25px rgba(255,255,255,0.03);
}

/* Glow Effect */
.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 20px var(--tier-color);
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.3s;
}
.team-card:hover::before {
    opacity: 0.25;
}

/* Avatar Wrapper */
.team-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--tier-color, #fff);
    overflow: hidden;
    background: var(--bg-deep);
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--tier-color);
}
.team-grid.single-team-grid .team-avatar {
    margin-bottom: 0;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.team-card:hover .team-avatar img {
    transform: scale(1.08);
}
.team-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 15px var(--tier-color);
    opacity: 0.6;
    pointer-events: none;
}

/* GIF Badge (if class is-gif is present) */
.team-avatar.is-gif::before {
    content: 'GIF';
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}

/* Body & Info */
.team-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}
.team-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}
.team-role {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--role-color, #a1a1aa);
    border: 1px solid var(--role-color, rgba(255,255,255,0.2));
}

/* Team Link (Discord) */
.team-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
    margin-top: 0.25rem;
}
.team-link:hover {
    background: #4752C4;
    transform: translateY(-2px);
    color: #fff;
}
.team-grid.single-team-grid .team-link {
    display: inline-flex;
    margin-top: 0.5rem;
}

/* Staff Grid - Legacy compat (keep for other uses) */
.staff-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.staff-card-premium {
    padding: 1.75rem; text-align: center;
}
.staff-card-premium::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-primary);
}
.staff-card-premium:hover { transform: translateY(-2px); }
.staff-avatar-premium {
    position: relative; width: 72px; height: 72px; margin: 0 auto 1rem;
}
.staff-avatar-premium img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border); transition: var(--transition-smooth);
}
.staff-card-premium:hover .staff-avatar-premium img { border-color: var(--primary); }
.rank-glow {
    position: absolute; inset: -3px; border-radius: 50%;
    background: conic-gradient(var(--primary), transparent, var(--primary));
    animation: rankGlowSpin 5s linear infinite; opacity: 0.2; z-index: -1;
}
@keyframes rankGlowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.staff-info-premium { position: relative; }
.staff-rank-badge {
    display: inline-block; padding: 0.15rem 0.6rem; border-radius: 4px;
    font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 0.4rem;
}
.staff-rank-badge.founder { background: #f59e0b20; color: #f59e0b; }
.staff-rank-badge.admin { background: #ef444420; color: #ef4444; }
.staff-rank-badge.mod { background: #3b82f620; color: #3b82f6; }
.staff-rank-badge.developer { background: rgba(167,139,250,0.15); color: var(--primary); }
.staff-name-premium { font-size: 1rem; font-weight: 600; color: var(--text); }

/* Staff Team Tabs (legacy) */
.staff-team-tabs {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.staff-tab-btn {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    color: var(--text-dim); padding: 0.5rem 1.25rem;
    border-radius: 6px; cursor: pointer; transition: all 0.2s;
    font-weight: 500; font-size: 0.85rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.staff-tab-btn:hover, .staff-tab-btn.active {
    background: var(--gradient-primary); color: #fff;
    border-color: transparent;
}

/* ============================================================
   RULES
   ============================================================ */
.rules-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1.5rem; }
.rule-category { padding: 1.75rem; }
.rule-category:hover { border-color: var(--border-hover); }
.category-title {
    font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.5rem; color: var(--text);
}
.category-title i { color: var(--primary); opacity: 0.7; }
.rules-list { display: flex; flex-direction: column; gap: 0.75rem; }
.rule-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.rule-number {
    flex-shrink: 0; width: 28px; height: 28px;
    background: rgba(255,255,255,0.05); color: var(--text-dim);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.8rem;
}
.rule-content h4 { font-size: 0.9rem; margin-bottom: 0.15rem; color: var(--text); font-weight: 500; }
.rule-content p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }

/* ============================================================
   MAP
   ============================================================ */
.map-section { min-height: 100vh; }
.map-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; height: calc(100vh - 180px); }
.players-info-panel {
    padding: 1.25rem; overflow: hidden; display: flex; flex-direction: column;
}
.panel-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.panel-header h3 { font-size: 0.9rem; color: var(--text); display: flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.panel-header h3 i { color: var(--primary); opacity: 0.7; }
.online-count {
    background: rgba(52,211,153,0.08); color: var(--accent);
    padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600;
}
.players-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.25rem; }
.player-item {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.4rem 0.5rem; border-radius: 4px;
    transition: background 0.15s;
}
.player-item:hover { background: rgba(255,255,255,0.03); }
.player-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-name { font-size: 0.82rem; color: var(--text-dim); font-weight: 400; }

.map-main-area { display: flex; flex-direction: column; gap: 0.75rem; }
.map-controls-bar {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.5rem 0.75rem;
}
.map-type-control select {
    background: rgba(9,9,11,0.6); border: 1px solid var(--border);
    color: var(--text); padding: 0.3rem 0.6rem; border-radius: 4px;
    font-size: 0.82rem; cursor: pointer;
}
.zoom-controls { display: flex; gap: 0.25rem; }
.map-button {
    background: rgba(9,9,11,0.6); border: 1px solid var(--border);
    color: var(--text-dim); width: 32px; height: 32px;
    border-radius: 4px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s; font-size: 0.8rem;
}
.map-button:hover { background: rgba(255,255,255,0.04); border-color: var(--border-hover); color: var(--text); }

.clean-map-container {
    flex: 1; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-card);
}
.map-viewport { width: 100%; height: 100%; overflow: hidden; cursor: grab; }
.map-viewport:active { cursor: grabbing; }
.interactive-map { width: 100%; height: 100%; transform-origin: center center; transition: transform 0.1s ease-out; }
.map-background { width: 100%; height: 100%; background-size: cover; background-position: center; }
.map-background.satellite { background-image: url('../gta_v_map.png'); }
.map-background.atlas { background-image: url('../gta_v_map.png'); filter: hue-rotate(180deg) saturate(1.5); }

/* ============================================================
   MEDIA
   ============================================================ */
.media-categories {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.media-content { display: none; }
.media-content.active { display: block; animation: fadeIn 0.2s var(--ease); }

.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.video-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; transition: all 0.2s;
}
.video-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.video-thumbnail { position: relative; height: 180px; overflow: hidden; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-item:hover .video-thumbnail img { transform: scale(1.03); }
.play-button {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(9,9,11,0.4); transition: background 0.2s;
}
.play-button i { font-size: 2rem; color: #fff; opacity: 0.8; }
.video-item:hover .play-button { background: rgba(9,9,11,0.2); }
.video-item h4 { padding: 0.75rem 1rem 0.2rem; font-size: 0.9rem; color: var(--text); font-weight: 600; }
.video-item p { padding: 0 1rem 0.75rem; color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }
.video-stats { padding: 0 1rem 0.75rem; display: flex; gap: 0.75rem; color: var(--text-muted); font-size: 0.75rem; }
.video-stats i { color: var(--primary); margin-right: 0.2rem; opacity: 0.6; }

.media-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.media-item {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    cursor: pointer; border: 1px solid var(--border); transition: all 0.2s;
}
.media-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.media-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.media-item:hover img { transform: scale(1.03); }
.media-overlay {
    position: absolute; inset: 0; background: rgba(9,9,11,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
}
.media-overlay i { font-size: 1.2rem; color: #fff; }
.media-item:hover .media-overlay { opacity: 1; }

.special-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.featured-video { grid-column: 1 / -1; }
.bonus-features { grid-column: 1 / -1; }
.bonus-features h3 { font-size: 1.15rem; margin-bottom: 1.25rem; color: var(--text); font-weight: 600; }
.feature-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.feature-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.25rem; text-align: center;
    transition: all 0.2s;
}
.feature-item:hover { border-color: var(--border-hover); }
.feature-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.5rem; display: block; opacity: 0.7; }
.feature-item h5 { font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--text); font-weight: 500; }
.feature-item p { font-size: 0.78rem; color: var(--text-muted); }

/* Media Modal */
.media-modal {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(9,9,11,0.85); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    animation: modalIn 0.2s var(--ease);
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.media-modal .modal-content {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); max-width: 800px; width: 90%;
    overflow: hidden; position: relative;
}
.modal-image { width: 100%; max-height: 60vh; object-fit: contain; display: block; }
.modal-info { padding: 1.25rem; }
.modal-info h3 { color: var(--text); margin-bottom: 0.3rem; font-size: 1rem; font-weight: 600; }
.modal-info p { color: var(--text-dim); line-height: 1.6; font-size: 0.88rem; }
.video-placeholder { position: relative; }
.video-play-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; background: rgba(9,9,11,0.5);
}
.video-play-overlay i { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.4rem; opacity: 0.7; }
.video-play-overlay span { color: var(--text-dim); font-size: 0.85rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-container {
    max-width: 600px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
}
.custom-form .form-group { margin-bottom: 1.25rem; }
.custom-form label {
    display: block; font-size: 0.8rem; font-weight: 500;
    color: var(--text-dim); margin-bottom: 0.35rem;
}
.custom-form .form-control {
    width: 100%; background: rgba(9,9,11,0.4);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem; color: var(--text);
    font-family: inherit; font-size: 0.9rem;
    transition: all 0.2s;
}
.custom-form .form-control::placeholder { color: var(--text-muted); }
.custom-form .form-control:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* ============================================================
   DISCORD CTA
   ============================================================ */
.discord-cta {
    padding: 4rem 0; position: relative;
    border-top: 1px solid var(--border);
}
.discord-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(88,101,242,0.08); border: 1px solid rgba(88,101,242,0.15);
    padding: 0.3rem 0.9rem; border-radius: 4px;
    font-size: 0.75rem; font-weight: 600; color: #7289DA;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1.25rem;
}
.discord-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch;
}
.discord-premium-widget {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s;
}
.discord-premium-widget:hover { border-color: var(--border-hover); }
.w-header-premium {
    background: rgba(88,101,242,0.06); padding: 1rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
}
.widget-brand { font-weight: 600; color: #7289DA; font-size: 0.82rem; display: flex; align-items: center; gap: 0.4rem; }
.w-status-online { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 500; color: var(--accent); }
.w-body-premium { padding: 1.25rem; }
.w-server-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.w-logo-wrapper {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    border: 1px solid var(--border); flex-shrink: 0;
}
.w-logo-img { width: 100%; height: 100%; object-fit: cover; }
.w-info-text { flex: 1; }
.w-server-name-large { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.1rem; }
.w-ticket-banner {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(88,101,242,0.04); border: 1px solid rgba(88,101,242,0.08);
    border-radius: var(--radius-sm); padding: 0.75rem;
}
.w-ticket-icon { color: #7289DA; font-size: 1rem; }
.w-ticket-text h4 { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.w-ticket-text p { font-size: 0.75rem; color: var(--text-muted); }
.w-join-btn-large {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: #5865F2; color: #fff;
    padding: 0.75rem; font-weight: 600; text-decoration: none; font-size: 0.9rem;
    transition: opacity 0.2s;
}
.w-join-btn-large:hover { opacity: 0.9; }

.d-features-premium { display: flex; flex-direction: column; gap: 0.75rem; }
.d-feature-item-premium {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.25rem;
    display: flex; align-items: center; gap: 1rem;
    transition: all 0.2s;
}
.d-feature-item-premium:hover { border-color: var(--border-hover); }
.d-icon-premium {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--primary); font-size: 1rem; opacity: 0.7;
}
.d-feature-info h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 0.15rem; font-weight: 500; }
.d-feature-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0c0c12; padding: 4rem 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-columns {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem; margin-bottom: 2.5rem;
}
.footer-column h3 { color: #d1d5db; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 600; }
.footer-description { color: #6b7280; line-height: 1.7; margin-bottom: 1rem; font-size: 0.88rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: #6b7280; text-decoration: none;
    transition: color 0.15s; display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem;
}
.footer-links a:hover { color: #d1d5db; }
.social-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 6px;
    color: #6b7280; text-decoration: none;
    transition: all 0.2s;
}
.social-link:hover { background: rgba(255,255,255,0.06); color: #d1d5db; border-color: rgba(255,255,255,0.1); }
.mini-stats { display: flex; gap: 1rem; margin-top: 0.75rem; }
.mini-stat { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: #6b7280; }
.mini-stat i { color: #9ca3af; opacity: 0.6; }
.footer-contract-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.footer-contract-links a {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    padding: 0.3rem 0.65rem; border-radius: 50px;
    color: #6b7280; text-decoration: none;
    font-size: 0.72rem; font-weight: 500;
    transition: all 0.2s;
}
.footer-contract-links a:hover {
    border-color: rgba(255,255,255,0.1); color: #d1d5db;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04); padding-top: 1.25rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    color: #6b7280; font-size: 0.82rem; text-align: center;
}
.naromax-credit { text-align: center; width: 100%; font-size: 0.8rem; color: #6b7280; }
.naromax-credit a {
    color: #9ca3af; text-decoration: none; font-weight: 600;
    transition: color 0.2s;
}
.naromax-credit a:hover { color: #c4b5fd; text-decoration: underline; }
.footer-bottom a { color: #9ca3af; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   AUTH MODALS
   ============================================================ */
.auth-modal {
    display: none; position: fixed; inset: 0; z-index: 99999;
    background: rgba(9,9,11,0.8); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.auth-modal-content {
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    max-width: 400px; width: 90%; position: relative;
    animation: authSlideUp 0.2s var(--ease);
}
@keyframes authSlideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.close-btn {
    position: absolute; top: 0.75rem; right: 1rem;
    font-size: 1.2rem; color: var(--text-muted); cursor: pointer;
    transition: color 0.15s; line-height: 1;
}
.close-btn:hover { color: var(--text); }
.auth-modal-title {
    font-size: 1.25rem; font-weight: 700; margin-bottom: 0.2rem;
    color: var(--text);
}
.auth-modal-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.25rem; }
.auth-form-group { margin-bottom: 1rem; }
.auth-form-group label {
    display: block; font-size: 0.78rem; font-weight: 500;
    color: var(--text-dim); margin-bottom: 0.3rem;
}
.auth-form-control {
    width: 100%; background: rgba(9,9,11,0.4);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem; color: var(--text);
    font-family: inherit; font-size: 0.9rem;
    transition: all 0.2s;
}
.auth-form-control::placeholder { color: var(--text-muted); }
.auth-form-control:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 2px var(--primary-glow);
}
.auth-btn {
    width: 100%; background: var(--gradient-primary); color: #fff;
    border: none; padding: 0.7rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: opacity 0.2s;
}
.auth-btn:hover { opacity: 0.9; }
.auth-switch-link {
    text-align: center; margin-top: 1.25rem;
    color: var(--text-muted); font-size: 0.85rem;
}
.auth-switch-link a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-switch-link a:hover { text-decoration: underline; }
.purchases-list { max-height: 360px; overflow-y: auto; }

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
#notification-container {
    position: fixed; top: 72px; right: 1.25rem; z-index: 99998;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.notification {
    display: flex; align-items: center; gap: 0.6rem;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.75rem 1rem;
    min-width: 280px; max-width: 380px;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%); transition: transform 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.notification.show { transform: translateX(0); }
.notification-icon { font-size: 1rem; flex-shrink: 0; }
.notification-content { flex: 1; }
.notification-title { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.notification-message { font-size: 0.78rem; color: var(--text-muted); }
.notification-progress {
    position: absolute; bottom: 0; left: 0; height: 2px;
    background: var(--gradient-primary); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    animation: notifProgress 5s linear forwards;
}
@keyframes notifProgress { from { width: 100%; } to { width: 0%; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-left { order: 1; }
    .hero-right { order: 0; }
    .hero-description { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .trust-indicators { justify-content: center; }
    .info-grid { grid-template-columns: 1fr; }
    .info-image { order: -1; }
    .discord-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .map-layout { grid-template-columns: 1fr; }
    .players-info-panel { max-height: 220px; }
}

@media (max-width: 992px) {
    .header-center { display: flex; }
    .nav-menu { display: none; }
    .nav-menu.show-mobile-menu { display: flex !important; }
    .mobile-menu-btn { display: flex; }
    .mobile-only { display: block; }
    .desktop-only { display: none !important; }
    .rules-container { grid-template-columns: 1fr; }
    .special-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 1.25rem; }
    .hero-title { font-size: 2.25rem; letter-spacing: -1px; }
    .section-title { font-size: 1.5rem; }
    .section-header { padding: 2rem 1.25rem; }
    .content-wrapper { padding: 4.5rem 1.25rem 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .join-steps { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .staff-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .video-grid { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom { text-align: center; }
    .info-stats { grid-template-columns: repeat(3, 1fr); }
    .form-container { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .btn-primary, .btn-secondary { padding: 0.65rem 1.25rem; font-size: 0.88rem; }
    .category-btn { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
    .info-stats { grid-template-columns: 1fr; }
    .animated-logo-container { width: 220px; height: 220px; }
    .rotating-logo { width: 120px; height: 120px; }
}
