/* ==========================================
   NFA MARKET - Premium Gaming Marketplace
   ========================================== */

/* Design Tokens & Custom Properties */
:root {
    --bg-primary: #080809;
    --bg-secondary: #0F0F11;
    --bg-card: rgba(20, 20, 22, 0.6);
    --bg-card-hover: rgba(30, 30, 34, 0.9);
    
    --accent: #E5E7EB;
    --accent-rgb: 229, 231, 235;
    --accent-hover: #FFFFFF;
    --accent-glow: rgba(255, 255, 255, 0.2);
    
    --text-main: #FFFFFF;
    --text-muted: #8E8E93;
    --text-dark: #0f172a;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.25);
    
    --glow-violet: rgba(255, 255, 255, 0.01);
    --glow-orange: rgba(255, 255, 255, 0.04);
    
    --font-primary: 'Poppins', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ==========================================
   Loader & Screen Cover
   ========================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-logo {
    animation: loader-pulse 2s infinite ease-in-out;
}

.loader-logo svg {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
}

.loader-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.loader-bar-container {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 100%;
    height: 100%;
    background: var(--accent);
    position: absolute;
    left: -100%;
    animation: loader-slide 1.5s infinite linear;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loader-slide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* ==========================================
   Cursor Glow Effect
   ========================================== */
.cursor-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ==========================================
   Sticky Navigation Bar
   ========================================== */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar-container.scrolled {
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.navbar-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    z-index: 1001;
}

.logo svg {
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
    transition: transform var(--transition-fast);
}

.logo:hover svg {
    transform: rotate(6deg) scale(1.05);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.nav-btn-mobile {
    display: none;
}

/* Hamburger Menu Toggle */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 5px;
    transition: var(--transition-fast);
}

/* ==========================================
   Buttons (Premium Glowing Style)
   ========================================== */
.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: var(--transition-normal);
}

.btn-primary-glow span {
    position: relative;
    z-index: 3;
}

.btn-primary-glow svg {
    position: relative;
    z-index: 3;
    transition: transform var(--transition-fast);
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
    z-index: 2;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-glow);
    background-color: var(--accent-hover);
}

.btn-primary-glow:hover svg {
    transform: translateX(4px);
}

.btn-secondary-blur {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-normal);
}

.btn-secondary-blur:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.discord-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #5865F2;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
    transition: var(--transition-fast);
}

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

.tg-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0088cc;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.2);
    transition: var(--transition-fast);
}

.tg-btn-glow:hover {
    background-color: #0077b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

/* ==========================================
   Glassmorphism General Style
   ========================================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    overflow: hidden;
}

/* Dynamic Animated Background Mesh */
.hero-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, var(--glow-violet) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, var(--glow-orange) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, #0A0A0C 0%, #050506 100%);
    z-index: -2;
}

.hero-glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: float-slow 15s infinite ease-in-out alternate;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 10%;
    left: -5%;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: #27272A;
    bottom: 10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.15); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-text-container {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Visual Showcase */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.showcase-glass-card {
    background: rgba(13, 19, 36, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.card-glow-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(245, 158, 11, 0.08), transparent 40%);
    pointer-events: none;
}

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

.header-dots {
    display: flex;
    gap: 6px;
}

.header-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.header-dots span:nth-child(1) { background: #ef4444; }
.header-dots span:nth-child(2) { background: #eab308; }
.header-dots span:nth-child(3) { background: #22c55e; }

.card-status-dot {
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    letter-spacing: 0.5px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.showcase-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.item-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.val-color { background: rgba(255, 70, 85, 0.1); color: #ff4655; }
.cs-color { background: rgba(222, 155, 48, 0.1); color: #de9b30; }
.fn-color { background: rgba(56, 189, 248, 0.1); color: #38bdf8; }

.item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.item-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.item-tag-success {
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.item-tag-danger {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/* ==========================================
   Statistics Section
   ========================================== */
.stats-section {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

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

.stat-card {
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.sub-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* ==========================================
   Game Categories
   ========================================== */
.accounts-section {
    padding: 100px 0;
    position: relative;
}

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

.game-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.game-card:hover .card-glow-overlay {
    opacity: 1;
}

.game-img-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.game-category-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition-normal);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--accent);
}

.category-img-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.game-card:hover .game-category-logo {
    transform: scale(1.15) rotate(3deg);
}

.game-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.game-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.game-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.game-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-card-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-normal);
}

.game-card:hover .btn-card-glow {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* ==========================================
   Product Catalog
   ========================================== */
.catalog-container {
    background: rgba(18, 18, 20, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
}

.catalog-header {
    text-align: center;
    margin-bottom: 32px;
}

.catalog-section-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 4px;
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.catalog-tab-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.catalog-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.catalog-tab-btn.active {
    color: var(--text-dark);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.catalog-tab-content {
    display: none;
}

.catalog-tab-content.active {
    display: block;
    animation: fadeInTab 0.4s ease;
}

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

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

.product-listing {
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
    border: 1px solid var(--border-color);
    background: rgba(24, 24, 28, 0.4);
    transition: var(--transition-normal);
}

.product-listing:hover {
    background: rgba(36, 36, 40, 0.6);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.product-badge {
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
}

.spec-value {
    color: var(--text-main);
    font-weight: 600;
    font-size: 12px;
    text-align: right;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.btn-buy {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
}

/* Catalog responsive rules */
@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .catalog-container {
        padding: 20px;
    }
    .catalog-tab-btn {
        width: 100%;
    }
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.2), transparent);
}

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

.feature-card {
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.feature-card:hover .feature-icon-wrapper svg {
    stroke: var(--text-dark);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews-section {
    padding: 100px 0;
}

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

.review-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
}

.val-avatar { background: #ff4655; }
.cs-avatar { background: #de9b30; }
.fn-avatar { background: #38bdf8; }

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-tag {
    font-size: 10px;
    color: #10b981;
    font-weight: 700;
}

.purchase-item {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.stars {
    color: var(--accent);
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.half-star {
    opacity: 0.4;
}

.review-comment {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.review-date {
    font-size: 11px;
    color: var(--text-muted);
    align-self: flex-end;
}

/* ==========================================
   FAQ Section (Accordion)
   ========================================== */
.faq-section {
    padding: 100px 0;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(13, 19, 36, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(13, 19, 36, 0.6);
}

.faq-item.active {
    background: rgba(13, 19, 36, 0.7);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   Contact CTA Section
   ========================================== */
.contact-section {
    padding: 80px 0 120px 0;
}

.contact-card {
    position: relative;
    padding: 60px;
    text-align: center;
    overflow: hidden;
}

.contact-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: #060608;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.6fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--text-main);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
}

/* ==========================================
   Scroll To Top Button
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--accent-glow);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.2s;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

/* ==========================================
   Scroll Reveal Animations
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Design & Media Queries
   ========================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 50px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-text-container {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-description {
        max-width: 600px;
    }
    .hero-actions {
        justify-content: center;
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .navbar-wrapper {
        padding: 15px 24px;
    }
    
    /* Responsive Mobile Menu Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        backdrop-filter: blur(12px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 24px;
        transition: right 0.4s ease;
        z-index: 1000;
        border-left: 1px solid var(--border-color);
    }

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

    .nav-link {
        font-size: 18px;
        width: 100%;
    }
    
    .nav-btn-mobile {
        display: flex;
        width: 100%;
        margin-top: 20px;
        justify-content: center;
        background-color: #5865F2;
        color: #FFFFFF;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
    }

    .hamburger-menu {
        display: flex;
    }

    /* Transform Hamburguer to X */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #discordNavBtn {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-card {
        padding: 40px 24px;
    }
    
    .contact-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions a {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 24px;
    }
}
