/* ========================================
   LUNARIA RCE - Rust Console Server
   Theme: Dark Black/Purple
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16162280;
    --bg-card-hover: #1e1e2e;
    --purple-primary: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --purple-glow-strong: rgba(139, 92, 246, 0.6);
    --text-primary: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(139, 92, 246, 0.4);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--purple-primary);
}

/* ---------- Particles ---------- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--purple-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    10% { opacity: 0.6; }
    90% { opacity: 0; }
    100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--purple-primary);
    filter: drop-shadow(0 0 8px var(--purple-glow));
}

.logo-text {
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-primary);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.discord-btn {
    background: #5865F2;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.discord-btn::after {
    display: none;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.admin-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.admin-btn::after {
    display: none;
}

.admin-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

/* Nav Discord Auth */
.nav-discord-auth {
    list-style: none;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.nav-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-user-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-disconnect {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-user-disconnect:hover {
    color: #ef4444;
}

.nav-discord-connect {
    background: #5865F2 !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-discord-connect:hover {
    background: #4752c4 !important;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(109, 40, 217, 0.08) 0%, transparent 50%),
        var(--bg-primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,92,246,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--purple-light);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
}

.title-line {
    display: block;
}

.accent-glow {
    color: var(--purple-primary);
    text-shadow: 
        0 0 20px var(--purple-glow),
        0 0 40px var(--purple-glow),
        0 0 80px rgba(139, 92, 246, 0.15);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 550px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
    color: #fff;
    box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--purple-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-3px);
}

.btn-store-hero {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-store-hero:hover {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Server Status Bar */
.server-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
    padding: 14px 30px;
    background: rgba(15, 15, 25, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    flex-wrap: wrap;
}

.server-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-status-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

.status-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.status-icon.online {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-icon.queue {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.status-icon.connect {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-light);
}

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

.status-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    line-height: 1;
}

.status-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.connect-value {
    font-size: 0.9rem;
    color: var(--purple-light);
    letter-spacing: 0.5px;
}

.connect-item {
    position: relative;
}

.btn-copy-ip {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--purple-light);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-copy-ip:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.1);
}

.btn-copy-ip.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--purple-primary);
    border-bottom: 2px solid var(--purple-primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Server Info ---------- */
.server-info {
    position: relative;
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--purple-primary);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

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

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    color: var(--purple-light);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ---------- Rules ---------- */
.rules-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.rules-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(139, 92, 246, 0.15);
    margin-bottom: 12px;
}

.rule-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--purple-light);
}

.rule-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Staff ---------- */
.staff-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    border: 2px solid var(--border-color);
}

.staff-card.owner .staff-avatar {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(109, 40, 217, 0.3));
    border-color: var(--purple-primary);
    color: var(--purple-light);
    box-shadow: 0 0 30px var(--purple-glow);
}

.staff-card.admin .staff-avatar {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #f87171;
}

.staff-card.moderator .staff-avatar {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
}

.staff-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.staff-card.owner .staff-role {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-light);
}

.staff-card.admin .staff-role {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.staff-card.moderator .staff-role {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.staff-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.staff-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- Store ---------- */
.store-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

/* Category Filter Tabs */
.store-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.store-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-tab:hover {
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

.store-tab.active {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
    border-color: var(--purple-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--purple-glow);
}

.store-tab i {
    font-size: 0.85rem;
}

/* Store Card Image */
.store-card-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.store-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Store Category Badge */
.store-cat-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Store Description */
.store-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Store Empty State */
.store-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.store-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.4;
}

.store-empty p {
    font-size: 1.1rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.store-card.featured {
    border-color: var(--purple-primary);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    box-shadow: 0 10px 50px var(--purple-glow);
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.store-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.store-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
    color: #fff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.store-icon {
    font-size: 2.5rem;
    color: var(--purple-primary);
    margin: 15px 0 20px;
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.store-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.store-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--purple-light);
    margin-bottom: 25px;
}

.store-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.store-features {
    text-align: left;
    margin-bottom: 30px;
}

.store-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-features li i {
    color: var(--purple-primary);
    font-size: 0.8rem;
}

.btn-store {
    width: 100%;
    justify-content: center;
    padding: 14px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a,
.footer-social a {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

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

.footer-disclaimer {
    margin-top: 6px;
    font-size: 0.75rem !important;
    opacity: 0.5;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* ---------- Cart Button (Navbar) ---------- */
.cart-btn {
    position: relative;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    margin-left: 8px;
}

.cart-btn:hover {
    border-color: var(--purple-primary);
    color: var(--purple-light);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--purple-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.cart-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.cart-item-info .cart-item-price {
    font-size: 0.9rem;
    color: var(--purple-light);
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    font-size: 0.85rem;
    transition: var(--transition);
    border-radius: 6px;
}

.cart-item-remove:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

.cart-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
}

.checkout-player-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.checkout-player-field label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.checkout-player-field input {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.checkout-player-field input:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.checkout-player-field input.checkout-error {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.checkout-player-help {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.cart-total strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--purple-light);
}

.owner-test-checkout {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.owner-test-button {
    width: 100%;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(245, 158, 11, 0.14));
    color: #fde68a;
    border-radius: 14px;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.owner-test-button:hover {
    border-color: rgba(250, 204, 21, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.16);
}

.owner-test-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}

.btn-add-cart {
    cursor: pointer;
}

.btn-add-cart.added {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    color: #4ade80 !important;
    pointer-events: none;
}

/* ---------- Cart Success Message ---------- */
.cart-success {
    text-align: center;
    padding: 40px 20px;
}

.cart-success i {
    font-size: 3rem;
    color: #4ade80;
    margin-bottom: 16px;
}

.cart-success h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cart-success p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .rules-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .store-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .store-card.featured { transform: none; }
    .store-card.featured:hover { transform: translateY(-5px); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .server-status-bar { flex-direction: column; gap: 12px; padding: 16px 20px; }
    .server-status-divider { width: 80%; height: 1px; }
    .store-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .store-category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .store-tab { white-space: nowrap; flex-shrink: 0; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .info-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
