/* ============================================================
   ENTRY.CSS — Giriş Sayfası (index.php)
   ============================================================ */

/* ---- Full-screen background ---- */
.entry-page {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #050518;
}

.entry-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/bg-entry.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.04);
  transition: transform 0.1s linear;
  z-index: 0;
}

/* slight dark vignette over bg */
.entry-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,20,0.55) 100%);
}

/* ---- Content wrapper ---- */
.entry-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  width: 100%;
  padding: 2rem 1rem 4rem;
}

/* ---- Logo ---- */
.entry-logo {
  width: clamp(300px, 48vw, 680px);
  height: auto;
  image-rendering: pixelated;
  /* mix-blend-mode: screen makes the black background disappear —
     the PNG has a black bg, screen blend treats pure black as transparent */
  mix-blend-mode: screen;
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ---- Atari Menu ---- */
.entry-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.entry-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.entry-menu ul li {
  position: relative;
}

.entry-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-pixel);
  font-size: clamp(0.75rem, 1.8vw, 1.1rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.9rem 2rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.15s, text-shadow 0.15s;
  white-space: nowrap;
}

/* Arrow cursor — left side, hidden by default */
.entry-menu-item::before {
  content: '▶';
  font-size: 0.65em;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.entry-menu-item:hover,
.entry-menu-item.is-selected {
  color: var(--color-gold);
  text-shadow:
    0 0 20px rgba(245, 197, 24, 0.7),
    0 0 40px rgba(245, 197, 24, 0.3);
}

.entry-menu-item:hover::before,
.entry-menu-item.is-selected::before {
  opacity: 1;
  transform: translateX(0);
}

/* Pixel blink animation on selected */
@keyframes pixel-blink {
  0%, 100% { opacity: 1; }
  49%       { opacity: 1; }
  50%       { opacity: 0; }
  99%       { opacity: 0; }
}

.entry-menu-item.is-selected::before {
  animation: pixel-blink 0.7s step-start infinite;
}

/* Remove the old box — no background, no border */
.entry-menu-box {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Remove corner decorations */
.entry-menu-box::before,
.entry-menu-box::after {
  display: none;
}

/* Thin separator line between items */
.entry-menu-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

/* ---- Keyboard hint ---- */
.entry-keyboard-hint {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.8rem;
}

/* ---- Scroll down indicator ---- */
.entry-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.4rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-blink 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes fade-blink {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; }
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .entry-logo {
    width: clamp(220px, 85vw, 380px);
  }
  .entry-menu-item {
    font-size: 0.75rem;
    padding: 0.8rem 1.5rem;
  }
  .entry-content {
    gap: 2.5rem;
  }
}
