/* --- Gamer City V2: Cyber-Minimalist Design System --- */

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-glass: rgba(20, 20, 20, 0.6);
    --bg-card: rgba(30, 30, 30, 0.4);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff0055;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* Gradients */
    --grad-main: linear-gradient(135deg, var(--secondary), var(--primary));
    --grad-dark: linear-gradient(180deg, rgba(5,5,5,0) 0%, #050505 100%);
    
    /* Fonts */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 20px rgba(0, 242, 255, 0.3);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Components --- */
.btn {
    padding: 15px 40px;
    border: none;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: 0.4s;
}

.btn:hover {
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn:hover::before {
    width: 100%;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: var(--border-glass);
    border-radius: 16px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-head);
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1538481199705-c710c4e965fc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    z-index: -2;
    filter: brightness(0.4);
    transform: scale(1.1);
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050505 120%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- Bento Grid (Services) --- */
.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.bento-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: 0.4s;
}

.bento-item:hover i {
    transform: scale(1.1);
    color: #fff;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* --- Products Preview --- */
.product-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 350px;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.product-img {
    height: 250px;
    background: linear-gradient(135deg, #111, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--secondary);
}

.product-details {
    padding: 25px;
}

.product-price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
    display: block;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 40px;
    background: #020202;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
}

/* --- Mobile --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-large, .bento-wide { grid-column: span 1; }
    .nav-links { display: none; } /* Add mobile menu later */
    .footer-grid { grid-template-columns: 1fr; }
}
