﻿/* ============================================
   Game Epic Theme - Modern Redesign
   Version: 2.0
   Features: Glassmorphism, Dark Theme, Neon Accents
   ============================================ */

/* CSS Variables for easy theming */
:root {
    --primary-bg: #0a0a1a;
    --secondary-bg: #121228;
    --card-bg: rgba(30, 30, 60, 0.6);
    --card-border: rgba(174, 232, 78, 0.1);
    --accent-color: #aee84e;
    --accent-hover: #9ad93a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-start: #1a1a3e;
    --gradient-end: #0f0f24;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(174, 232, 78, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

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

/* Font Face */
@font-face {
    font-family: 'Nunito';
    src: url('/assets/game/images/fonts/Nunito/Nunito-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

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

a:hover {
    color: var(--accent-hover);
}

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

ul, li {
    list-style: none;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 12px 0;
}

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

/* Logo */
.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(174, 232, 78, 0.3);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(174, 232, 78, 0.5);
    transform: scale(1.02);
}

/* Mobile Menu Button */
.btn-phone {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.btn-phone:hover {
    background: rgba(174, 232, 78, 0.1);
}

.btn-phone svg {
    width: 28px;
    height: 28px;
}

/* Navigation Categories */
.nav-category0 {
    flex: 1;
    overflow: hidden;
}

.nav-category-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-category-item a {
    display: inline-block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-xl);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-category-item a:hover {
    color: var(--accent-color);
    background: rgba(174, 232, 78, 0.1);
}

/* Search Form */
.search-form {
    position: relative;
}

.search-group {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 8px 16px;
    gap: 10px;
    transition: var(--transition-fast);
}

.search-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(174, 232, 78, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 180px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition-fast);
}

.search-btn:hover {
    transform: scale(1.1);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile Navigation Panel */
.nav-container2 {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(18, 18, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    z-index: 999;
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.nav-container2.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-container2 .nav-category-list {
    flex-direction: column;
    gap: 8px;
}

.nav-container2 .nav-category-item a {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.nav-container2 .search-form2 {
    margin-top: 15px;
}

.nav-container2 .search-form2 .search-group {
    width: 100%;
}

.nav-container2 .search-input {
    width: 100%;
}

