/* 
  Gorilla Games CSS Design System
  Author: Antigravity
  Theme: Dark Gaming / Sci-Fi / Cyberpunk Neon
*/

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

/* Variables */
:root {
  --bg-primary: #0a0516;
  --bg-secondary: #130a24;
  --bg-card: rgba(25, 15, 45, 0.45);
  
  --accent-cyan: #00f0ff;
  --accent-magenta: #ff007f;
  --accent-purple: #9d4edd;
  
  --text-main: #ffffff;
  --text-muted: #b5adc4;
  
  --border-glow: rgba(0, 240, 255, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Fixed Radial Glow Backgrounds - Preventing Cut Offs */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 80%, rgba(255, 0, 127, 0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}


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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section styling */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 5px 0;
  line-height: 1.3;
}


.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Button & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  background: linear-gradient(135deg, var(--accent-cyan) 20%, var(--accent-purple) 120%);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent-magenta);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 0, 127, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
  border-color: var(--accent-magenta);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
}

/* Header / Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(10, 5, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  vertical-align: middle;
}

.logo-text span {
  color: var(--accent-magenta);
  -webkit-text-fill-color: var(--accent-magenta);
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  z-index: 5;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 8px;
}


.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-badge {
  padding: 40px;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed rgba(0, 240, 255, 0.3);
  animation: rotateDashed 60s linear infinite;
}

.founder-badge-inner {
  text-align: center;
  animation: counterRotate 60s linear infinite;
}

@keyframes rotateDashed {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes counterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.game-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.game-card:hover .game-media img {
  transform: scale(1.08);
}

.game-status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-live {
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.status-upcoming {
  background: rgba(255, 0, 127, 0.2);
  color: var(--accent-magenta);
  border: 1px solid var(--accent-magenta);
}

.game-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.game-description {
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.game-genre {
  font-size: 0.85rem;
  color: var(--accent-purple);
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact Section */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  padding: 50px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.form-input {
  background: rgba(10, 5, 22, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

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

/* Dedicated Game Pages Styles */
.game-page-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  position: relative;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.back-btn:hover {
  color: var(--accent-cyan);
}

.game-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.game-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-main {
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.thumb {
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.thumb.active, .thumb:hover {
  border-color: var(--accent-cyan);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-box {
  padding: 30px;
}

.sidebar-box h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  text-transform: uppercase;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #05020a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Placeholder Artwork Styles */
.placeholder-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #130a24 0%, #1e1039 100%);
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

.placeholder-art-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--accent-purple);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .game-detail-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Can add hamburger menu in JS later */
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .contact-card {
    padding: 30px;
  }
}
