:root {
  --bg-dark: #05070d;
  --bg-deep: #020306;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.45);
  --cyan-glow: #00d2ff;
  --blue-glow: #2b7fff;
  --violet-glow: #a855f7;
}

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

body {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
}

/* ========================================================
   SİNEMATİK ARKA PLAN & EFEKTLER
   ======================================================== */
.cinema-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Yıldız / Parçacık Tuvali */
#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Ortam Işıkları (Logo Renklerine Uyumlu) */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
  animation: pulseLight 12s infinite alternate ease-in-out;
}

.ambient-glow.cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, transparent 70%);
  top: 20%;
  left: 25%;
}

.ambient-glow.violet {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  bottom: 15%;
  right: 25%;
  animation-delay: -6s;
}

@keyframes pulseLight {
  0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.45; }
  100% { transform: scale(0.95) translate(-20px, 30px); opacity: 0.3; }
}

/* Sinematik Vignette */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(2, 3, 6, 0.85) 90%, #000 100%);
  z-index: 4;
}

/* ========================================================
   ANA İÇERİK
   ======================================================== */
.main-container {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 1000px;
  width: 100%;
}

/* ========================================================
   LOGO ALANI & 3D SÜZÜLME ANİMASYONU (DAHA DA BÜYÜTÜLDÜ)
   ======================================================== */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-aura {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(43, 127, 255, 0.6) 0%, rgba(168, 85, 247, 0.4) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(75px);
  animation: auraGlow 5s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes auraGlow {
  0% { transform: scale(0.9); opacity: 0.5; filter: blur(60px); }
  100% { transform: scale(1.25); opacity: 0.9; filter: blur(85px); }
}

.project-logo {
  position: relative;
  z-index: 2;
  width: clamp(320px, 36vw, 450px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 166, 255, 0.55)) drop-shadow(0 0 80px rgba(168, 85, 247, 0.45));
  animation: floatLogo 6s infinite ease-in-out;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.project-logo:hover {
  transform: scale(1.04) rotate(2deg);
  filter: drop-shadow(0 30px 60px rgba(0, 210, 255, 0.75)) drop-shadow(0 0 90px rgba(168, 85, 247, 0.65));
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

/* ========================================================
   PROJE BAŞLIĞI & ALTYAZI (GÖNDERİLEN ORİJİNAL OFFICERATE LOGOSU)
   ======================================================== */
.title-wrapper {
  margin-bottom: 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-img-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-title-img {
  width: 100%;
  max-width: clamp(440px, 58vw, 820px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(0, 210, 255, 0.55)) drop-shadow(0 12px 40px rgba(0, 0, 0, 0.9));
  transition: transform 0.3s ease, filter 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.project-subtitle {
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #a0aec0;
  margin-left: 0.45em;
  opacity: 0.85;
  text-shadow: 0 0 12px rgba(160, 174, 192, 0.3);
}

/* ========================================================
   SİNEMATİK GERİ SAYIM (MARVEL REFERANS TARZI)
   ======================================================== */
.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.countdown-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3.8vw, 38px);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(75px, 13vw, 130px);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.time-block .digits {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.45), 0 0 60px rgba(0, 210, 255, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.time-block .digits.pulse {
  animation: digitTick 0.35s ease;
}

@keyframes digitTick {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); text-shadow: 0 0 30px rgba(0, 210, 255, 0.7); }
  100% { transform: scale(1); }
}

.time-block .label {
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
  margin-left: 0.35em;
}

.separator {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
  animation: blinkColon 2s infinite ease-in-out;
}

@keyframes blinkColon {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.25; }
}

/* ========================================================
   RESPONSIVE UYUM (MOBİL & TABLET DESTEĞİ)
   ======================================================== */
@media (max-width: 650px) {
  :root {
    --letterbox-height: 20px;
  }
  .main-container {
    padding: 20px 12px;
  }
  .project-logo {
    width: 180px;
  }
  .logo-aura {
    width: 220px;
    height: 220px;
  }
  .project-title-img {
    max-width: 300px;
  }
  .countdown-display {
    padding: 0;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .time-block {
    min-width: 50px;
  }
  .time-block .digits {
    font-size: 1.8rem;
  }
  .time-block .label {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    margin-top: 6px;
  }
  .separator {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
}
