@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;700&display=swap');

:root {
  --bg-asphalt: #0a0a0a;
  --bg-sec: #111111;
  --neon-red: #ff2e2e;
  --elec-orange: #ff7a00;
  --neon-blue: #00f0ff;
  --chrome: #c0c0c0;
  --text-main: #ffffff;
  --text-sec: #bbbbbb;
  --sidebar-w: 80px;
  --sidebar-w-exp: 230px;
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --trans-speed: 0.3s ease;
}

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

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

h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* LAYOUT: SIDEBAR */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 46, 46, 0.2);
  z-index: 1000;
  transition: width var(--trans-speed);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar:hover { width: var(--sidebar-w-exp); border-right: 1px solid var(--neon-red); }

.brand-logo {
  height: 80px; display: flex; align-items: center; padding: 0 20px;
  font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
.brand-logo span { color: var(--neon-red); text-shadow: 0 0 10px var(--neon-red); margin-right: 15px; font-size: 1.5rem; }
.brand-logo .brand-text { opacity: 0; transition: opacity var(--trans-speed); }
.sidebar:hover .brand-logo .brand-text { opacity: 1; }

.nav-links { flex: 1; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.nav-links li { width: 100%; }
.nav-links a {
  display: flex; align-items: center; padding: 15px 25px;
  color: var(--text-sec); white-space: nowrap; transition: var(--trans-speed);
  border-left: 3px solid transparent;
}
.nav-links a svg { width: 24px; height: 24px; min-width: 24px; fill: currentColor; margin-right: 25px; }
.nav-links a .link-text { opacity: 0; transition: opacity var(--trans-speed); }
.sidebar:hover .nav-links a .link-text { opacity: 1; }

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
  background: linear-gradient(90deg, rgba(255,46,46,0.1) 0%, transparent 100%);
  border-left: 3px solid var(--neon-red);
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.nav-links a:hover svg, .nav-links a.active svg { fill: var(--neon-red); filter: drop-shadow(0 0 5px var(--neon-red)); }

.sidebar-footer { padding: 20px; display: flex; gap: 15px; opacity: 0; transition: opacity var(--trans-speed); white-space: nowrap; }
.sidebar:hover .sidebar-footer { opacity: 1; }
.sidebar-footer svg { width: 20px; height: 20px; fill: var(--text-sec); transition: 0.3s; }
.sidebar-footer a:hover svg { fill: var(--elec-orange); filter: drop-shadow(0 0 5px var(--elec-orange)); }

/* MAIN CONTENT */
main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }

/* HERO SECTION */
.hero {
  position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 0 20px;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/photo-1547619292-240402b5ae5d.png') center/cover;
  opacity: 0.4; z-index: -2;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, var(--bg-asphalt) 100%);
  z-index: -1;
}
.speed-lines {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.03) 50px, rgba(255,255,255,0.03) 51px);
  animation: speedMove 2s linear infinite; opacity: 0.5;
}
@keyframes speedMove { 0% { transform: translateY(0); } 100% { transform: translateY(50px); } }

.hero-content { max-width: 900px; z-index: 1; }
.hero-disclaimer {
  background: rgba(255, 46, 46, 0.1); border: 1px solid var(--neon-red);
  color: var(--neon-red); padding: 10px 20px; font-size: 0.85rem; font-weight: 600;
  border-radius: 4px; display: inline-block; margin-bottom: 30px;
  text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px rgba(255, 46, 46, 0.2);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem); font-style: italic;
  background: linear-gradient(90deg, #fff, var(--chrome)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 20px; line-height: 1.1; text-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-sec); margin-bottom: 40px; }

/* BUTTONS */
.btn {
  display: inline-block; font-family: var(--font-heading); font-size: 1.2rem;
  padding: 15px 40px; color: #fff; background: var(--neon-red);
  border: none; cursor: pointer; text-transform: uppercase; font-weight: 700;
  transform: skewX(-15deg); position: relative; overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 46, 46, 0.4); transition: var(--trans-speed);
}
.btn span { display: inline-block; transform: skewX(15deg); position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-15deg); transition: 0.5s; z-index: 1;
}
.btn:hover { background: var(--elec-orange); box-shadow: 0 0 30px rgba(255, 122, 0, 0.6); }
.btn:hover::before { left: 200%; }

.btn-outline { background: transparent; border: 2px solid var(--chrome); box-shadow: none; color: var(--chrome); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.2); }

/* SECTIONS */
.section { padding: 100px 5%; position: relative; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 50px; color: var(--text-main); }
.section-title span { color: var(--neon-red); }

/* GAME CARD */
.game-showcase { display: flex; justify-content: center; }
.game-card {
  background: var(--bg-sec); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; overflow: hidden; max-width: 800px; width: 100%;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative;
}
.game-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--neon-red); box-shadow: 0 15px 40px rgba(255,46,46,0.3); }
.game-img { width: 100%; height: 400px; object-fit: cover; border-bottom: 2px solid var(--neon-red); }
.game-info { padding: 30px; text-align: center; }
.game-info h3 { font-size: 2rem; margin-bottom: 15px; color: var(--elec-orange); }
.game-info p { color: var(--text-sec); margin-bottom: 25px; }

/* FEATURES GRID */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-box {
  background: linear-gradient(145deg, #151515, #0f0f0f); padding: 40px 30px; text-align: center;
  border-radius: 8px; border: 1px solid #222; transition: var(--trans-speed);
}
.feature-box:hover { border-color: var(--elec-orange); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(255,122,0,0.15); }
.feature-box svg { width: 50px; height: 50px; fill: var(--neon-red); margin-bottom: 20px; }
.feature-box h4 { font-size: 1.5rem; margin-bottom: 15px; }

/* GAME PAGE IFRAME */
.game-arena { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.iframe-container {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000;
  border: 2px solid var(--neon-red); border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 46, 46, 0.2); margin-bottom: 40px;
}
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* INTERNAL PAGES */
.page-header {
  padding: 150px 20px 80px; text-align: center; background: var(--bg-sec);
  border-bottom: 1px solid #222; position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 2px; background: var(--neon-red); box-shadow: 0 0 15px var(--neon-red);
}
.content-wrapper { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.text-block { background: var(--bg-sec); padding: 40px; border-radius: 8px; margin-bottom: 30px; border-left: 4px solid var(--elec-orange); }
.text-block h2 { margin-bottom: 20px; color: var(--neon-blue); font-family: var(--font-sub); }
.text-block p { margin-bottom: 15px; color: var(--text-sec); }

/* FORMS */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 15px; background: #151515; border: 1px solid #333; color: #fff;
  font-family: var(--font-body); border-radius: 4px; transition: var(--trans-speed);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--neon-red); box-shadow: 0 0 10px rgba(255,46,46,0.2); }
.form-group textarea { height: 150px; resize: vertical; }

/* FAQ ACCORDION */
.faq-item { background: var(--bg-sec); margin-bottom: 10px; border-radius: 4px; border: 1px solid #222; }
.faq-q { padding: 20px; cursor: pointer; font-family: var(--font-sub); font-size: 1.2rem; font-weight: 700; display: flex; justify-content: space-between; }
.faq-q:hover { color: var(--neon-red); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.4s ease; color: var(--text-sec); }
.faq-item.active .faq-a { padding: 0 20px 20px; max-height: 500px; }
.faq-item.active .faq-q { color: var(--neon-red); }

/* FOOTER */
footer { background: #050505; border-top: 1px solid #222; padding: 60px 5% 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p, .footer-col address { color: var(--text-sec); font-style: normal; margin-bottom: 10px; font-size: 0.9rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-sec); font-size: 0.9rem; transition: var(--trans-speed); }
.footer-links a:hover { color: var(--neon-red); padding-left: 5px; }
.footer-disclaimer {
  background: #111; padding: 20px; border: 1px solid #333; border-radius: 4px;
  color: var(--text-sec); font-size: 0.8rem; text-align: center; margin-bottom: 30px;
}
.footer-bottom { text-align: center; color: #666; font-size: 0.85rem; border-top: 1px solid #222; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 15px; }
.age-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border: 2px solid var(--neon-red); border-radius: 50%; color: var(--neon-red); font-weight: bold; font-size: 14px; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .sidebar { width: 100%; height: 70px; top: auto; bottom: 0; flex-direction: row; border-right: none; border-top: 1px solid var(--neon-red); padding: 0; }
  .sidebar:hover { width: 100%; }
  .brand-logo { display: none; }
  .nav-links { margin-top: 0; flex-direction: row; justify-content: space-around; align-items: center; }
  .nav-links li { width: auto; }
  .nav-links a { padding: 10px; border-left: none; border-bottom: 3px solid transparent; flex-direction: column; gap: 5px; }
  .nav-links a svg { margin-right: 0; width: 20px; height: 20px; }
  .nav-links a .link-text { opacity: 1; font-size: 0.7rem; }
  .nav-links a:hover, .nav-links a.active { border-left: none; border-bottom: 3px solid var(--neon-red); background: transparent; }
  .sidebar-footer { display: none; }
  main { margin-left: 0; margin-bottom: 70px; }
  .hero-disclaimer { font-size: 0.7rem; }
}