/* 1. GAMING THEME VARIABLES */
:root { --primary-color: #ff3c00; --accent-color: #00d2ff; --bg-dark: #0a0a0a; --bg-panel: #141414; --text-main: #ffffff; --text-muted: #888888; --font-head: 'Orbitron', sans-serif; --font-body: 'Rajdhani', sans-serif; --nav-height: 80px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); overflow-x: hidden; line-height: 1.6; }

/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); width: 0%; z-index: 9999; box-shadow: 0 0 10px var(--primary-color); }

/* Navigation */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; height: var(--nav-height); position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.3s; background: transparent; }
.navbar.scrolled { background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; }
.logo .accent { color: var(--primary-color); }
.nav-links { list-style: none; display: flex; gap: 3rem; }
.nav-links a { text-decoration: none; color: var(--text-main); font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.hamburger { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn-primary { padding: 12px 30px; background: var(--primary-color); color: white; border: none; font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); cursor: pointer; transition: transform 0.2s, background 0.2s; }
.btn-primary:hover { background: #ff5e2e; transform: translateY(-2px); box-shadow: 0 0 20px rgba(255, 60, 0, 0.4); }
.btn-secondary { padding: 12px 30px; background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); font-family: var(--font-head); cursor: pointer; margin-left: 15px; transition: all 0.3s; }
.btn-secondary:hover { border-color: var(--accent-color); color: var(--accent-color); }

/* Hero Section */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; padding: 100px 10%; gap: 50px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%); z-index: -2; transform: scale(1.1); }
.hero-content { max-width: 600px; z-index: 1; }
.badge { color: var(--accent-color); font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-head); font-size: 4rem; line-height: 0.9; margin-bottom: 30px; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); max-width: 500px; margin-bottom: 40px; }
.hero-image-container { flex: 1; display: flex; flex-direction: column; align-items: center; }
/* Added transition opacity here so JS fade works */
.product-display img { width: 100%; max-width: 550px; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transition: opacity 0.3s ease; }
.color-picker { margin-top: 30px; display: flex; align-items: center; gap: 15px; }
.picker-label { font-family: var(--font-head); margin-right: 10px; color: var(--text-muted); }
.color-option { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid #555; transition: transform 0.2s; }
.color-option.selected { border-color: var(--primary-color); transform: scale(1.3); box-shadow: 0 0 10px var(--primary-color); }

/* --- STICKY SCROLL SECTION --- */
.sticky-wrapper { position: relative; height: 300vh; background-color: var(--bg-dark); }
.sticky-image-container { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; width: 50%; display: flex; align-items: center; justify-content: center; z-index: 1; }
.sticky-image-block { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 70%); }
.sticky-image-block img { width: 90%; max-width: 650px; z-index: 2; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)); transition: opacity 0.3s ease-in-out, transform 0.5s ease; }
.sticky-image-block img.changing { opacity: 0; transform: scale(0.95); }
.glow-effect { position: absolute; width: 300px; height: 300px; background: var(--primary-color); filter: blur(100px); opacity: 0.2; border-radius: 50%; z-index: 1; animation: pulse 4s infinite; }
.scrolling-text-block { position: absolute; top: 0; right: 0; width: 50%; z-index: 2; }
.scroll-step { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 80px; border-left: 1px solid rgba(255,255,255,0.1); background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(5px); }
.scroll-step h2 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 20px; color: var(--primary-color); }
.scroll-step p { font-size: 1.3rem; color: var(--text-muted); max-width: 500px; line-height: 1.8; }
@keyframes pulse { 0%, 100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.2); } }

/* Features Grid */
.features-section { padding: 10% 10%; background: var(--bg-panel); }
.section-header h2 { font-family: var(--font-head); font-size: 3rem; text-align: center; margin-bottom: 80px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 40px 30px; transition: 0.4s; position: relative; overflow: hidden; }
.feature-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-10px); border-color: var(--accent-color); }
.icon-box { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-head); margin-bottom: 10px; font-size: 1.2rem; }

/* Specs & Footer */
.specs-section { padding: 10% 10%; background: var(--bg-dark); }
.specs-list { list-style: none; margin-top: 40px; }
.specs-list li { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; }
.specs-list span { color: var(--text-muted); }
.specs-list strong { font-family: var(--font-head); color: var(--text-main); }
footer { padding: 50px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); background: #050505; }

/* Animation Helpers */
.reveal-on-scroll { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }
.ripple { position: absolute; background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%; animation: rippleEffect 0.6s linear; }
@keyframes rippleEffect { 0% { width: 0px; height: 0px; opacity: 0.5; } 100% { width: 500px; height: 500px; opacity: 0; } }

/* Mobile */
@media screen and (max-width: 768px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content h1 { font-size: 2.5rem; }
    .sticky-wrapper { height: auto; }
    .sticky-image-container { position: relative; width: 100%; height: 400px; top: auto; }
    .scrolling-text-block { position: relative; width: 100%; top: auto; right: auto; }
    .scroll-step { height: auto; padding: 60px 30px; border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); background: transparent; backdrop-filter: none; }
    .nav-links { display: none; }
    .hamburger { display: block; }
}