/* ==========================================================================
   Project Quantum FiveM RP Server - Premium Stylesheet
   Theme: Futuristic Neon Dark Purple (Quantum Cybernetic)
   ========================================================================== */

/* --- Custom Variables & Reset --- */
:root {
    --bg-primary: hsl(260, 40%, 6%);
    --bg-secondary: hsl(260, 35%, 10%);
    --bg-card: hsla(260, 30%, 12%, 0.7);
    --bg-card-hover: hsla(260, 30%, 16%, 0.8);
    
    --accent-purple: hsl(270, 85%, 60%);
    --accent-purple-glow: hsla(270, 85%, 60%, 0.4);
    --accent-magenta: hsl(310, 90%, 55%);
    --accent-magenta-glow: hsla(310, 90%, 55%, 0.4);
    --accent-cyan: hsl(190, 95%, 50%);
    --accent-cyan-glow: hsla(190, 95%, 50%, 0.4);
    
    --text-primary: hsl(0, 0%, 96%);
    --text-secondary: hsl(260, 20%, 75%);
    --text-muted: hsl(260, 15%, 55%);
    
    --border-color: hsla(270, 50%, 60%, 0.15);
    --border-color-hover: hsla(270, 75%, 60%, 0.4);
    
    --font-header: 'Orbitron', 'Outfit', sans-serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-glow: 0 0 20px var(--accent-purple-glow);
    --shadow-glow-magenta: 0 0 20px var(--accent-magenta-glow);
    --shadow-glow-cyan: 0 0 20px var(--accent-cyan-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: hsl(270, 30%, 18%);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* --- Base Body & Typography --- */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Background Particle Canvas --- */
#quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

/* --- Structural Containers --- */
section {
    padding: 100px 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* --- Headers Common --- */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 10%, var(--accent-purple) 60%, var(--accent-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px hsla(270, 85%, 60%, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-header);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, hsl(285, 90%, 55%) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px hsla(270, 85%, 60%, 0.7);
    filter: brightness(1.1);
}

.btn-secondary {
    background: hsla(270, 30%, 15%, 0.5);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    background: hsla(270, 30%, 20%, 0.7);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, hsl(175, 95%, 45%) 100%) !important;
    color: var(--bg-primary) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}
.btn-cyan:hover {
    box-shadow: 0 0 30px hsla(190, 95%, 50%, 0.7) !important;
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* --- Header / Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 5, 15, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(9, 5, 15, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent-purple));
}
.logo-text {
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}
.logo-text .highlight {
    color: var(--accent-purple);
    text-shadow: var(--shadow-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    padding: 6px 0;
    position: relative;
}
.nav-link i {
    width: 16px;
    height: 16px;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-purple);
    text-shadow: 0 0 8px var(--accent-purple-glow);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.shop-nav-btn {
    color: var(--accent-magenta);
}
.shop-nav-btn:hover {
    color: var(--accent-magenta);
    text-shadow: 0 0 8px var(--accent-magenta-glow);
}
.shop-nav-btn::after {
    background: var(--accent-magenta);
}

.wl-nav-btn {
    color: var(--accent-cyan);
}
.wl-nav-btn:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan-glow);
}
.wl-nav-btn::after {
    background: var(--accent-cyan);
}

.discord-nav {
    color: hsl(220, 85%, 65%);
}
.discord-nav::after {
    background: hsl(220, 85%, 65%);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-indicator {
    background: hsla(270, 40%, 12%, 0.8);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: hsl(140, 80%, 50%);
    border-radius: 50%;
    box-shadow: 0 0 10px hsl(140, 80%, 50%);
    animation: pulse 1.8s infinite alternate;
}
.status-text {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-header);
}
.status-divider {
    width: 1px;
    height: 14px;
    background: var(--border-color);
    margin: 0 4px;
}
.player-count {
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    padding-top: 140px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-quantum {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: hsla(270, 80%, 45%, 0.2);
    border: 1px solid var(--accent-purple);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.hero-title {
    font-family: var(--font-header);
    font-size: 4.8rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 620px;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* Connect Command Copy Container */
.ip-copy-container {
    width: 100%;
    max-width: 450px;
}
.ip-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}
.ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    transition: var(--transition-normal);
}
.ip-box:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}
.ip-box code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: var(--accent-purple);
    font-weight: 700;
}
.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.ip-box:hover .copy-btn {
    color: var(--accent-purple);
}

/* Hero Big Logo Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.logo-glow-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 25px var(--accent-purple-glow));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(270, 85%, 60%, 0.25) 0%, rgba(0,0,0,0) 70%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* --- Stats Bar Section --- */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 40px;
    margin: 40px auto 100px auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-shadow: var(--shadow-glow);
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* --- How to Join Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-magenta));
    opacity: 0;
    transition: var(--transition-normal);
}
.step-card:hover::before {
    opacity: 1;
}

.step-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-header);
    font-size: 7rem;
    font-weight: 900;
    color: hsla(270, 85%, 60%, 0.05);
    line-height: 1;
    pointer-events: none;
}
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: hsla(270, 85%, 60%, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}
.step-card:hover .step-icon {
    background: var(--accent-purple);
    color: white;
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.step-link {
    background: none;
    border: none;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.step-link:hover {
    color: var(--text-primary);
}

/* --- Rules Section --- */
.rules-control-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-muted);
}
#rulesSearch {
    width: 100%;
    background: hsl(260, 30%, 8%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px 16px 55px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition-normal);
}
#rulesSearch:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    background: hsl(260, 30%, 10%);
}
#clearSearch {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: none; /* Controlled by JS */
}
#clearSearch:hover {
    color: var(--accent-purple);
}

.rules-layout {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar sticky categorization */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}
.sidebar-title {
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.category-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 8px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}
.category-chip:hover {
    border-color: var(--accent-purple-glow);
    color: var(--text-primary);
    padding-left: 24px;
}
.category-chip.active {
    background: linear-gradient(90deg, var(--accent-purple), hsl(285, 90%, 55%));
    border-color: var(--accent-purple);
    color: white;
    box-shadow: var(--shadow-glow);
    padding-left: 24px;
}

/* Rules Display Content */
.rules-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.rules-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-normal);
}
.group-title {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
    backdrop-filter: blur(15px);
    overflow: hidden;
}
.rule-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    flex-wrap: wrap;
    user-select: none;
    transition: var(--transition-fast);
}
.rule-header:hover {
    background: hsla(270, 30%, 15%, 0.3);
}
.rule-header h4 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.rule-toggle-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}
.rule-card.expanded .rule-toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-purple);
}

.rule-body {
    color: var(--text-secondary);
    font-size: 0.98rem;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.rule-card.expanded .rule-body {
    padding: 0 25px 25px 25px;
    max-height: 2000px;
}

.rule-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.badge-red { background: rgba(239, 68, 68, 0.15); border: 1px solid rgb(239, 68, 68); color: rgb(248, 113, 113); }
.badge-purple { background: rgba(168, 85, 247, 0.15); border: 1px solid rgb(168, 85, 247); color: rgb(192, 132, 252); }
.badge-blue { background: rgba(59, 130, 246, 0.15); border: 1px solid rgb(59, 130, 246); color: rgb(96, 165, 250); }

.rule-body p {
    margin-bottom: 12px;
}
.rule-body p:last-child {
    margin-bottom: 0;
}
.rule-body ul {
    list-style-type: none;
}
.rule-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}
.rule-body ul li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-size: 1rem;
}
.rule-body ul li:last-child {
    margin-bottom: 0;
}

/* Command specific styling block */
.command-spec {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cmd-code {
    background: hsl(260, 30%, 8%);
    color: var(--accent-purple);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    margin-right: 10px;
    font-size: 0.95rem;
}

/* Example Boxes (Správně/Špatně) */
.example-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
}
.example-box i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.example-good {
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid rgb(34, 197, 94);
    color: hsl(140, 60%, 80%);
}
.example-good i {
    color: rgb(34, 197, 94);
}
.example-bad {
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid rgb(239, 68, 68);
    color: hsl(0, 60%, 80%);
}
.example-bad i {
    color: rgb(239, 68, 68);
}

/* Custom Warning / Danger Alert Boxes */
.alert-box {
    display: flex;
    gap: 15px;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
    font-size: 0.95rem;
    align-items: flex-start;
}
.alert-box i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid rgb(239, 68, 68);
    color: hsl(0, 85%, 85%);
}
.alert-danger i {
    color: rgb(239, 68, 68);
}
.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid rgb(245, 158, 11);
    color: hsl(40, 85%, 85%);
}
.alert-warning i {
    color: rgb(245, 158, 11);
}
.alert-info {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid rgb(59, 130, 246);
    color: hsl(210, 85%, 85%);
}
.alert-info i {
    color: rgb(59, 130, 246);
}

/* Empty Search State Card */
.no-results-card {
    display: none; /* Toggle via JS */
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.no-results-card i {
    width: 60px;
    height: 60px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.no-results-card h4 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.no-results-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ================================================================== */
/* SHOP SECTION                                                       */
/* ================================================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    backdrop-filter: blur(15px);
    transition: var(--transition-normal);
    overflow: hidden;
}
.shop-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
}
.shop-card.premium:hover {
    border-color: var(--accent-cyan);
}

.shop-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    transition: var(--transition-normal);
}
.bg-cyan-glow {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(0,0,0,0) 60%) !important;
}
.shop-card:hover .shop-card-glow {
    opacity: 1.3;
}

.shop-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    text-align: center;
}

.shop-badge {
    position: absolute;
    top: -15px;
    right: -10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
    color: white;
    font-size: 0.75rem;
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}
.badge-cyan {
    background: linear-gradient(135deg, var(--accent-cyan), hsl(175, 95%, 45%)) !important;
    color: var(--bg-primary) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}

.shop-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: inset 0 0 15px rgba(168, 85, 247, 0.15);
}
.shop-icon i {
    width: 32px;
    height: 32px;
}
.icon-cyan {
    background: rgba(34, 211, 238, 0.1) !important;
    border-color: rgba(34, 211, 238, 0.2) !important;
    color: var(--accent-cyan) !important;
    box-shadow: inset 0 0 15px rgba(34, 211, 238, 0.15) !important;
}

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

.shop-price {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 25px;
}
.price-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.shop-features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-features li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.shop-features li i {
    width: 16px;
    height: 16px;
    color: var(--accent-purple);
    flex-shrink: 0;
}
.shop-card.premium .shop-features li i {
    color: var(--accent-cyan);
}

.btn-shop-buy {
    width: 100%;
    background: hsla(270, 30%, 15%, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-header);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
}
.shop-card:hover .btn-shop-buy {
    background: linear-gradient(135deg, var(--accent-purple) 0%, hsl(285, 90%, 55%) 100%);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: var(--shadow-glow);
}
.shop-card.premium:hover .btn-shop-buy {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, hsl(175, 95%, 45%) 100%);
    border-color: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow-cyan);
}

/* --- Footer --- */
.footer {
    background: hsl(260, 45%, 4%);
    border-top: 1px solid var(--border-color);
    padding: 80px 5% 40px 5%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 20px;
    margin-bottom: 25px;
    max-width: 400px;
}
.footer-logo {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 6px var(--accent-purple));
}

.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsla(270, 30%, 15%, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-normal);
}
.footer-socials a:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.footer-links-group h4 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links-group ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition-fast);
}
.footer-links-group ul li a:hover {
    color: var(--accent-purple);
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid hsla(270, 30%, 15%, 0.6);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.disclaimer {
    max-width: 800px;
    font-size: 0.78rem !important;
}

/* --- Transaction Modal Window --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: hsla(260, 35%, 10%, 0.92);
    border: 1px solid var(--accent-purple);
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    backdrop-filter: blur(25px);
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal-header h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-purple);
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: var(--accent-purple);
}

.modal-icon-glow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: hsla(270, 85%, 60%, 0.1);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 1px solid var(--accent-purple);
    box-shadow: var(--shadow-glow);
}
.modal-bag-icon {
    width: 28px;
    height: 28px;
}

.modal-desc {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.modal-desc strong {
    color: var(--text-primary);
}

.modal-redirect-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}
.modal-buttons .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: hsla(270, 85%, 60%, 0.95);
    border: 1px solid white;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    z-index: 3000;
    box-shadow: var(--shadow-glow);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.toast.active {
    bottom: 40px;
}
.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-family: var(--font-header);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.toast-icon {
    width: 20px;
    height: 20px;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .logo-glow-wrapper {
        width: 240px;
        height: 240px;
    }
    .hero-logo-img {
        width: 180px;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 25px;
    }
    .stat-divider {
        display: none;
    }
    
    .rules-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
    .category-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .category-chip {
        white-space: nowrap;
        scroll-snap-align: start;
        padding: 10px 18px;
    }
    .category-chip:hover {
        padding-left: 18px;
    }
    .category-chip.active {
        padding-left: 18px;
    }

    .wl-form-grid {
        grid-template-columns: 1fr;
    }
    .wl-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(9, 5, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: left 0.4s ease;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .shop-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .status-indicator {
        padding: 6px 12px;
    }
    .player-count {
        display: none;
    }

    .quiz-question {
        padding: 18px;
    }

    .result-score {
        font-size: 2.2rem;
    }
}
