/* ==========================================================================
   MRTECHSYS LUXURY OBSIDIAN & 24K GOLD SYSTEM STYLES (v3.0)
   ========================================================================== */

:root {
  --bg-obsidian: #050505;
  --gold-primary: #f1c40f;
  --gold-secondary: #ffd700;
  --gold-dark: #b8860b;
  --cyan-accent: #00f0ff;
  --carbon-card: rgba(18, 18, 22, 0.85);
  --border-gold: rgba(241, 196, 15, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--bg-obsidian);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
}

/* ==========================================================================
   BACKGROUND CANVAS & VIDEO
   ========================================================================== */

video#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
  filter: brightness(0.6) contrast(1.2);
}

/* ==========================================================================
   TOP-LEFT CLOUDFLIP PLATFORM BUTTON
   ========================================================================== */

.header-links {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 1s ease, transform 1s ease;
}

.header-links.revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cloudflip-gateway-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--gold-primary);
  border-radius: 30px;
  color: var(--gold-primary);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(241, 196, 15, 0.25);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cloudflip-gateway-btn:hover {
  background: var(--gold-primary);
  color: #000000;
  box-shadow: 0 0 30px rgba(241, 196, 15, 0.7);
  transform: translateY(-2px) scale(1.04);
}

.btn-sparkle {
  font-size: 1.1rem;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.cloudflip-gateway-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   MAIN UNDER-CONSTRUCTION HUB
   ========================================================================== */

#main-content {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: center;
}

#main-content.revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.countdown {
  margin-top: 3.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cyan-accent);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
  letter-spacing: 3px;
}

.landing-hero-title {
  margin-top: 0.8rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-secondary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(241, 196, 15, 0.4);
}

.landing-hero-subtitle {
  margin-top: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   ORBITING SOLAR LOGO
   ========================================================================== */

.orbit-container {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(241, 196, 15, 0.2);
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, var(--gold-secondary) 0%, #ff8800 60%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 45px 15px rgba(241, 196, 15, 0.6);
  transform: translate(-50%, -50%);
}

.planet {
  position: absolute;
  top: -45px;
  left: calc(50% - 45px);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
}

.planet img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 20px rgba(241, 196, 15, 0.8));
}

/* ==========================================================================
   DVD BOUNCING CAPABILITIES PANEL
   ========================================================================== */

#dvd-floater {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25;
  will-change: transform;
  pointer-events: auto;
}

.dvd-content {
  background: rgba(10, 10, 14, 0.75);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  padding: 1.25rem 1.6rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85), 0 0 20px rgba(241, 196, 15, 0.3);
  color: #ffffff;
  min-width: 280px;
}

.dvd-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(241, 196, 15, 0.2);
  padding-bottom: 0.4rem;
}

.dvd-content ul {
  list-style: none;
  text-align: left;
}

.dvd-content li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FOOTER LEGAL NAVIGATION
   ========================================================================== */

.footer {
  position: absolute;
  bottom: 24px;
  width: 100%;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.footer a {
  color: var(--gold-primary);
  text-decoration: none;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--gold-primary);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .landing-hero-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }
  .landing-hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 2px;
    padding: 0 15px;
  }
  .orbit-container {
    width: 240px;
    height: 240px;
  }
  .sun {
    width: 65px;
    height: 65px;
  }
  .planet {
    width: 65px;
    height: 65px;
    top: -32px;
    left: calc(50% - 32px);
  }
  .cloudflip-gateway-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  #dvd-floater {
    display: block;
    transform: scale(0.85);
    transform-origin: top left;
  }
  .dvd-content {
    min-width: 240px;
    padding: 0.9rem 1.2rem;
  }
  .dvd-content li {
    font-size: 0.75rem;
  }
}
