/* HYPER 2048: Neon Arcade Website Stylesheet */
:root {
  --bg-primary: #060515;
  --bg-secondary: #0D0924;
  --bg-card: rgba(16, 12, 38, 0.75);
  --bg-card-hover: rgba(24, 18, 56, 0.85);
  --neon-cyan: #00F0FF;
  --neon-pink: #FF007F;
  --neon-yellow: #FFE600;
  --neon-purple: #B517FF;
  --neon-green: #10B981;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-glow: rgba(0, 240, 255, 0.25);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Impact', 'Arial Black', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #150938 0%, #060515 70%);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 5, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.btn-nav {
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--neon-pink), #7928CA);
  color: white !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 0, 127, 0.5);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.6);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.4);
  color: var(--neon-pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.2);
}

.hero-title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-pink) 50%, var(--neon-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 520px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-cyan), #0070F3);
  color: #04101E;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--border-glow);
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
}

/* Feature Metrics Bar */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--neon-cyan);
}

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

/* Phone Mockup Frame */
.mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-glow {
  position: absolute;
  width: 340px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(255, 0, 127, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 640px;
  border-radius: 44px;
  border: 4px solid #1E293B;
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.35), 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background: #000;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Power-Ups Section */
.powerups-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.power-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-glow);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.power-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--card-accent, var(--neon-cyan));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--card-glow, rgba(0, 240, 255, 0.2));
}

.power-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: inline-block;
}

.power-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.power-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-rewind { --card-accent: var(--neon-cyan); --card-glow: rgba(0, 240, 255, 0.3); }
.card-smash { --card-accent: var(--neon-pink); --card-glow: rgba(255, 0, 127, 0.3); }
.card-swap { --card-accent: var(--neon-purple); --card-glow: rgba(181, 23, 255, 0.3); }
.card-upgrade { --card-accent: var(--neon-yellow); --card-glow: rgba(255, 230, 0, 0.3); }

/* Features Grid */
.features-section {
  padding: 80px 0;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
}

.feature-emoji {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Screenshot Showcase */
.screenshots-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, #150938 0%, var(--bg-primary) 70%);
}

.screens-flex {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.screen-card {
  text-align: center;
  max-width: 320px;
}

.screen-img {
  width: 100%;
  border-radius: 36px;
  border: 3px solid #1E293B;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.2);
  margin-bottom: 16px;
}

.screen-caption {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

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

/* Specs Table */
.specs-section {
  padding: 60px 0;
}

.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.spec-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--neon-cyan);
}

/* Privacy Section in Home */
.privacy-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-box h3 {
  color: var(--neon-cyan);
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.privacy-box p, .privacy-box li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-box ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  background: #04030D;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .powerups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 38px;
  }
  .powerups-grid {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    width: 260px;
    height: 540px;
  }
}

