/* ==========================================================================
   VOVNX - Coming Soon (Hinterland Games / The Long Dark Style)
   ========================================================================== */

:root {
  --font-display: 'Syncopate', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --color-bg-dark: #090c10;
  --color-text-main: #f0f4f8;
  --color-text-muted: #95a3b3;
  --color-text-dark: #14181f; /* Charcoal for text inside brush stroke */
  
  --color-accent-blue: #64b5f6;
  --color-accent-ice: #d8ecf8;
  --color-accent-glow: rgba(100, 181, 246, 0.25);
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Background & Atmospheric Layers
   ========================================================================== */

.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.72) contrast(1.15) saturate(0.9);
  transform: none;
}

/* Cinematic Cold Tint Overlay */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 20, 0.5) 0%,
    rgba(8, 12, 18, 0.35) 40%,
    rgba(6, 9, 14, 0.75) 100%
  );
}

/* Deep Hinterland Vignette (Heavy around borders, spotlight on center) */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(0, 0, 0, 0) 30%,
    rgba(5, 8, 12, 0.6) 70%,
    rgba(3, 5, 8, 0.95) 100%
  );
}

/* Subtle Film Grain / Canvas texture */
.bg-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* Canvas for falling snow / ambient cold dust particles */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

/* ==========================================================================
   Layout Container
   ========================================================================== */

.site-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 2.5rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  animation: fadeInDown 1.2s ease-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  padding-left: 2px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  background: rgba(16, 23, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 4px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  box-shadow: 0 0 10px var(--color-accent-blue);
  animation: pulseDot 2.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.status-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #c0cad4;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 3rem 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Decorative Badge */
.badge-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.badge-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
}

.badge-container .badge-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--color-accent-ice);
  text-transform: uppercase;
}

/* Coming Soon Title */
.title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 2.4rem;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95);
  position: relative;
}

.subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: #b5c3d2;
  margin-bottom: 3rem;
  max-width: 580px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Hinterland Brush Stroke Buttons
   ========================================================================== */

.buttons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  width: 100%;
}

.brush-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 316px;
  height: 61px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  user-select: none;
}

/* Brush Texture Background */
.btn-brush-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/brush-texture.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
  transition: var(--transition-smooth);
}

/* Button Inner Content (Icon + Text) */
.btn-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.btn-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: none;
  transition: var(--transition-smooth);
}

.steam-btn .btn-icon-img {
  width: 26px;
  height: 26px;
}

.btn-text {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: none;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Button Hover & Active States
   ========================================================================== */

.brush-btn:hover {
  transform: translateY(-3px) scale(1.035);
}

.brush-btn:hover .btn-brush-bg {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.85)) brightness(1.06);
}

.brush-btn:hover .btn-inner {
  transform: scale(1.02);
}

.brush-btn:hover .btn-icon-img {
  filter: none;
  transform: scale(1.05);
}

.brush-btn:hover .btn-text {
  color: #ffffff;
  text-shadow: none;
}

.brush-btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 0.1s;
}

.brush-btn:active .btn-brush-bg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) brightness(0.98);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  animation: fadeInUp 1.6s ease-out;
}

/* Audio ambient toggle button (Top-Right Header) */
.audio-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.audio-toggle:hover,
.audio-toggle.is-active {
  color: #ffffff;
  transform: scale(1.12);
  background: transparent;
  box-shadow: none;
}

.audio-icon {
  width: 20px;
  height: 20px;
}

.footer-copy {
  text-transform: uppercase;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 768px) {
  .site-container {
    padding: 1.8rem 1.5rem;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .audio-toggle {
    width: 36px;
    height: 36px;
  }

  .audio-icon {
    width: 16px;
    height: 16px;
  }

  .logo {
    gap: 0.4rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
  }

  .logo-sub {
    font-size: 0.58rem;
  }

  .title {
    font-size: 1.9rem;
    letter-spacing: 0.06em;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
    padding: 0 0.5rem;
  }

  .brush-btn {
    width: 275px;
    height: 53px;
  }

  .btn-text {
    font-size: 0.96rem;
    letter-spacing: 0.13em;
  }

  .btn-icon-img {
    width: 18px;
    height: 18px;
  }

  .steam-btn .btn-icon-img {
    width: 23px;
    height: 23px;
  }

  .footer {
    flex-direction: column-reverse;
    gap: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .logo-img {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1.02rem;
    letter-spacing: 0.1em;
  }

  .logo-sub {
    font-size: 0.52rem;
  }

  .audio-toggle {
    width: 32px;
    height: 32px;
  }

  .audio-icon {
    width: 15px;
    height: 15px;
  }

  .brush-btn {
    width: 240px;
    height: 46px;
  }

  .btn-inner {
    gap: 0.35rem;
  }

  .btn-icon-img {
    width: 17px;
    height: 17px;
  }

  .steam-btn .btn-icon-img {
    width: 21px;
    height: 21px;
  }

  .btn-text {
    font-size: 0.86rem;
    letter-spacing: 0.11em;
  }
}
