/* ==========================================================================
   FPSCarts — Minimalist Maintenance Landing Page
   Exact Brand Font: Poppins (Bold "FPS", Light "Carts")
   ========================================================================== */

/* Offline local font fallbacks */
@font-face {
  font-family: 'Poppins';
  src: url('assets/Poppins-Bold.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('assets/Poppins-Regular.ttf') format('truetype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #07090e;
  --text-main: #ffffff;
  --text-body: #a0aec0;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fan-speed: 2.2s; /* Smooth, continuous spinning fan duration */
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 20px;
}

/* Subtle Cyber Grid Background */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Center Aura */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 229, 255, 0.03) 45%, transparent 70%);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Centered Maintenance Container */
.maintenance-container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   ANIMATED GPU LOGO & BRAND WORDMARK
   ========================================================================== */
.gpu-display-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

/* Backlight Aura around the GPU */
.gpu-ambient-aura {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16) 0%, rgba(0, 229, 255, 0.05) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* The GPU Card Container */
.gpu-card-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 650 / 350;
  margin: 0 auto;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.1));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gpu-card-container:hover {
  transform: translateY(-3px) scale(1.015);
}

/* Static GPU Shroud & PCIe Bracket */
.gpu-shroud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

/* Rotating Fans */
.gpu-fan {
  position: absolute;
  width: 30.769%;
  height: auto;
  aspect-ratio: 1 / 1;
  top: 46.143%;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* Left Fan: Position & Infinite Smooth Spin */
.fan-left {
  left: 37.615%;
  transform: translate(-50%, -50%);
  animation: spinFanLeft var(--fan-speed) linear infinite;
}

/* Right Fan: Position & Infinite Smooth Spin */
.fan-right {
  left: 70.462%;
  transform: translate(-50%, -50%);
  animation: spinFanRight var(--fan-speed) linear infinite;
}

@keyframes spinFanLeft {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinFanRight {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Brand Name Wordmark: "FPSCarts" */
.brand-title {
  font-family: var(--font-family);
  font-size: 3.8rem;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-top: 14px;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Exact Logo Font: Bold FPS */
.fps-bold {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Exact Logo Font: Light Carts */
.carts-light {
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   MAINTENANCE HEADLINE & DESCRIPTION
   ========================================================================== */
.message-wrapper {
  max-width: 620px;
}

.maintenance-heading {
  font-family: var(--font-family);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.maintenance-text {
  font-family: var(--font-family);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .brand-title {
    font-size: 2.75rem;
  }

  .maintenance-heading {
    font-size: 1.45rem;
  }

  .maintenance-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
