/* 
 * ArcadeVerse - CSS Stylesheet
 * Custom designed modern dark theme with retro-neon accents
 */

:root {
  /* Colors */
  --bg-darker: #07050c;
  --bg-main: #0c0817;
  --bg-card: rgba(22, 16, 41, 0.65);
  --bg-card-hover: rgba(33, 24, 61, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.2);
  
  --primary-neon: #00f2fe;
  --secondary-neon: #ff007f;
  --accent-purple: #8a2be2;
  --text-primary: #f5f4f9;
  --text-muted: #9e9aa8;
  --text-dark: #0f0c1b;
  
  --gradient-neon: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-neon) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-main) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Fonts */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Shadows & Blur */
  --shadow-glow: 0 0 15px rgba(0, 242, 254, 0.4);
  --shadow-glow-pink: 0 0 15px rgba(ff, 0, 127, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --blur-glass: 12px;
  
  /* Layout */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: var(--gradient-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-neon);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-neon);
  border-radius: 2px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--secondary-neon);
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-spacing {
  padding: 80px 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 5, 12, 0.75);
  backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-normal);
}

header.scrolled {
  background: var(--bg-darker);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: url(#neon-grad);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: var(--transition-normal);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--primary-neon);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.25) 0%, rgba(7, 5, 12, 0.95) 80%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--primary-neon);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(0, 242, 254, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.hero h1 span {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 6s infinite alternate;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-glow-pink);
  border: 2px solid rgba(255, 0, 127, 0.3);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: var(--transition-normal);
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: var(--shadow-glow), var(--shadow-glow-pink);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  z-index: -1;
  opacity: 0.5;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 242, 254, 0.1);
  background: var(--bg-card-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--gradient-neon);
  color: var(--text-dark);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  color: var(--text-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-darker);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Category Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--primary-neon);
  border: 1px solid var(--border-glow);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--accent-purple);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* Ratings & Badges */
.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.badge-rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.stars-container {
  display: flex;
  gap: 3px;
  color: #ffd700;
  margin-bottom: 10px;
}

.stars-container svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Inner Page Header */
.page-header {
  padding: 150px 0 50px 0;
  background: linear-gradient(180deg, var(--bg-darker) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-glass);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 0;
}

/* Search & Filtering */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  pointer-events: none;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-neon);
  color: var(--text-dark);
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

/* Reviews Styling */
.review-score-large {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.score-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.score-breakdown {
  margin-top: 20px;
}

.score-row {
  margin-bottom: 12px;
}

.score-row-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-neon);
  border-radius: 3px;
}

/* Detailed Guide / Walkthrough List */
.walkthrough-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.walkthrough-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 20px;
  bottom: -40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-neon) 0%, transparent 100%);
}

.step-number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--gradient-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.step-content {
  flex-grow: 1;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info-list {
  list-style: none;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-neon);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Alerts / Messages */
.form-status {
  padding: 15px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #2ecc71;
  display: block;
}

.form-status.error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #e74c3c;
  display: block;
}

/* Footer styling */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-neon);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-neon);
  padding-left: 5px;
}

.footer-newsletter p {
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form .form-control {
  padding: 10px 15px;
}

.newsletter-form .btn {
  padding: 10px 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-icon:hover {
  background: var(--gradient-neon);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Animations */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.3rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-img {
    transform: none;
    max-width: 350px;
  }
  
  .hero-img:hover {
    transform: scale(1.03);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 70px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    transition: var(--transition-normal);
    padding: 40px 24px;
    z-index: 999;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  nav a {
    font-size: 1.2rem;
    width: 100%;
    display: block;
  }
  
  .section-spacing {
    padding: 60px 0;
  }
  
  .grid-3, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input-wrapper {
    max-width: 100%;
  }
}
