/* ============================================
   PXL — Retro Consoles & Game Design Styles
   ============================================ */

.pxl-page {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  min-height: 100vh;
}

/* Hero section */
.pxl-hero {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.pxl-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pxl-hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pxl-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7800ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.pxl-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Section styling */
.pxl-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pxl-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.pxl-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7800ff, #00ffff);
  border-radius: 2px;
}

.pxl-story {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
}

.pxl-story p {
  margin-bottom: 1.5rem;
}

/* Console showcase */
.pxl-showcase {
  text-align: center;
  margin: 4rem 0;
}

.pxl-showcase img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(120, 0, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pxl-showcase img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(120, 0, 255, 0.3);
}

.pxl-showcase-caption {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Video grid */
.pxl-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pxl-video-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pxl-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(120, 0, 255, 0.2);
  border-color: rgba(120, 0, 255, 0.3);
}

.pxl-video-card video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.pxl-video-card-content {
  padding: 1.5rem;
}

.pxl-video-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pxl-video-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Featured video */
.pxl-featured-video {
  margin: 4rem 0;
  text-align: center;
}

.pxl-featured-video video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.15);
}

/* Gallery grid */
.pxl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pxl-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pxl-gallery-item:hover {
  transform: scale(1.03);
}

.pxl-gallery-item img,
.pxl-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pxl-gallery-caption {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Process timeline */
.pxl-process {
  margin: 3rem 0;
}

.pxl-process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.pxl-process-step:last-child {
  margin-bottom: 0;
}

.pxl-process-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7800ff 0%, #00ffff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pxl-process-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pxl-process-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.pxl-process-content video {
  margin-top: 1rem;
  max-width: 100%;
  border-radius: 8px;
}

/* GDD Button */
.pxl-gdd-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #7800ff 0%, #00ffff 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(120, 0, 255, 0.3);
}

.pxl-gdd-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(120, 0, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .pxl-hero h1 {
    font-size: 2.5rem;
  }

  .pxl-hero-logo {
    width: 80px;
  }

  .pxl-video-grid {
    grid-template-columns: 1fr;
  }

  .pxl-gallery {
    grid-template-columns: 1fr;
  }

  .pxl-process-step {
    flex-direction: column;
    gap: 1rem;
  }
}
