/* =========================================================
   GAME PAGE
   Cinema × Arcade
========================================================= */

.game-page {
  background: #080707;
  color: #f1eee8;
}


/* =========================================================
   MAIN
========================================================= */

.game-main {
  min-height: calc(100vh - 80px);
  padding: 150px 60px 100px;
  box-sizing: border-box;
}


/* =========================================================
   SELECTOR
========================================================= */

.game-selector {
  width: min(1280px, 100%);
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(360px, 0.65fr);

  gap: 80px;

  align-items: center;
}


/* =========================================================
   GAME SCREEN AREA
========================================================= */

.game-screen-area {
  width: 100%;
}

.game-screen-label {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 12px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: #8a8580;
}

.screen-status {
  color: #a6262f;
}


/* =========================================================
   GAME SCREEN
========================================================= */

.game-screen {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #171414 0%,
      #0c0a0a 45%,
      #080707 100%
    );

  border: 1px solid
    rgba(241, 238, 232, 0.28);

  box-shadow:
    0 0 0 1px
      rgba(166, 38, 47, 0.12),

    0 25px 70px
      rgba(0, 0, 0, 0.5);
}


/* =========================================================
   GRID
========================================================= */

.screen-grid {
  position: absolute;

  inset: 0;

  opacity: 0.16;

  background-image:
    linear-gradient(
      rgba(241, 238, 232, 0.08) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(241, 238, 232, 0.08) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  pointer-events: none;

  z-index: 5;
}


/* =========================================================
   SCANLINES
========================================================= */

.screen-scanlines {
  position: absolute;

  inset: 0;

  z-index: 8;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 4px
    );

  opacity: 0.45;
}


/* =========================================================
   SCREEN GLOW
========================================================= */

.game-screen::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(166, 38, 47, 0.10),
      transparent 60%
    );

  pointer-events: none;

  z-index: 7;
}


/* =========================================================
   CORNERS
========================================================= */

.screen-corner {
  position: absolute;

  width: 24px;
  height: 24px;

  z-index: 20;

  opacity: 0.75;
}

.screen-corner-tl {
  top: 18px;
  left: 18px;

  border-top: 1px solid #f1eee8;
  border-left: 1px solid #f1eee8;
}

.screen-corner-tr {
  top: 18px;
  right: 18px;

  border-top: 1px solid #f1eee8;
  border-right: 1px solid #f1eee8;
}

.screen-corner-bl {
  bottom: 18px;
  left: 18px;

  border-bottom: 1px solid #f1eee8;
  border-left: 1px solid #f1eee8;
}

.screen-corner-br {
  bottom: 18px;
  right: 18px;

  border-bottom: 1px solid #f1eee8;
  border-right: 1px solid #f1eee8;
}


/* =========================================================
   PLAYER
========================================================= */

.player-label {
  position: absolute;

  top: 25px;
  left: 30px;

  z-index: 20;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.2em;

  color: #f1eee8;
}


/* =========================================================
   GAME VISUAL
========================================================= */

.game-visual-item {
  position: absolute;

  inset: 0;

  display: flex;

  justify-content: center;
  align-items: center;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.35s ease;

  z-index: 2;
}

.game-visual-item.is-active {
  opacity: 1;

  visibility: visible;
}


/* =========================================================
   VIDEO
========================================================= */

.game-video {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  background: #080707;
}


/* =========================================================
   VIDEO OVERLAY
========================================================= */

.video-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.10),
      transparent 30%,
      transparent 70%,
      rgba(0,0,0,0.35)
    );

  pointer-events: none;

  z-index: 4;
}


/* =========================================================
   VIDEO LABEL
========================================================= */

.video-loading {
  position: absolute;

  right: 28px;
  top: 25px;

  z-index: 20;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 4px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.16em;

  color: #f1eee8;

  text-shadow:
    0 2px 5px rgba(0,0,0,0.7);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.game-placeholder {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(166, 38, 47, 0.16),
      transparent 55%
    );
}

.placeholder-number {
  margin-bottom: 10px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.2em;

  color: #8a8580;
}

.placeholder-title {
  font-family: Arial, Helvetica, sans-serif;

  font-size: clamp(24px, 3vw, 42px);

  font-weight: 800;

  letter-spacing: 0.06em;

  color: #f1eee8;
}

.placeholder-status {
  margin-top: 16px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.22em;

  color: #a6262f;
}

.placeholder-line {
  width: 70px;
  height: 1px;

  margin: 22px 0;

  background: #a6262f;
}

.placeholder-message {
  font-family: Arial, Helvetica, sans-serif;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: #8a8580;
}


/* =========================================================
   ARCHIVE PLACEHOLDER
========================================================= */

.game-placeholder.is-archive {
  background:
    radial-gradient(
      circle at center,
      rgba(241, 238, 232, 0.06),
      transparent 55%
    );
}

.game-placeholder.is-archive .placeholder-status {
  color: #8a8580;
}


/* =========================================================
   SCREEN NUMBER
========================================================= */

.screen-number {
  position: absolute;

  right: 30px;
  bottom: 24px;

  z-index: 20;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.16em;

  color: #8a8580;
}

.screen-number span:first-child {
  color: #f1eee8;
}


/* =========================================================
   INSERT COIN
========================================================= */

.insert-coin {
  position: absolute;

  left: 50%;
  bottom: 23px;

  transform: translateX(-50%);

  z-index: 20;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.22em;

  color: #a6262f;

  animation: blinkCoin 1.5s infinite;
}

@keyframes blinkCoin {

  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0.25;
  }
}


/* =========================================================
   GAME MENU
========================================================= */

.game-menu {
  position: relative;

  width: 100%;

  max-width: 430px;
}

.game-menu-top {
  display: flex;

  justify-content: space-between;

  margin-bottom: 25px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.2em;

  color: #8a8580;
}


/* =========================================================
   TITLE
========================================================= */

.game-menu-title {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 42px;
}

.game-menu-title h1 {
  margin: 0;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 28px;
  font-weight: 800;

  letter-spacing: 0.08em;

  white-space: nowrap;
}

.title-line {
  width: 30px;
  height: 1px;

  background: #a6262f;
}


/* =========================================================
   GAME LIST
========================================================= */

.game-list {
  display: flex;

  flex-direction: column;

  border-top:
    1px solid rgba(241, 238, 232, 0.2);
}


/* =========================================================
   GAME CHOICE
========================================================= */

.game-choice {
  position: relative;

  display: grid;

  grid-template-columns:
    24px 40px 1fr;

  align-items: center;

  width: 100%;

  padding: 21px 0;

  border: none;

  border-bottom:
    1px solid rgba(241, 238, 232, 0.2);

  background: transparent;

  color: #8a8580;

  text-align: left;

  cursor: pointer;

  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.game-choice:hover {
  color: #f1eee8;
}

.game-choice.is-active {
  color: #f1eee8;

  padding-left: 8px;
}


/* =========================================================
   CURSOR
========================================================= */

.choice-cursor {
  font-size: 10px;

  color: #a6262f;

  opacity: 0;

  transform: translateX(-5px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.game-choice.is-active .choice-cursor {
  opacity: 1;

  transform: translateX(0);

  animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}


/* =========================================================
   NUMBER
========================================================= */

.choice-number {
  font-family: Arial, Helvetica, sans-serif;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.1em;
}


/* =========================================================
   NAME
========================================================= */

.choice-name {
  font-family: Arial, Helvetica, sans-serif;

  font-size: 16px;
  font-weight: 800;

  letter-spacing: 0.05em;
}


/* =========================================================
   ARROWS
========================================================= */

.game-arrows {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  margin: 30px 0 38px;
}

.game-arrow {
  width: 46px;
  height: 38px;

  border: 1px solid
    rgba(241, 238, 232, 0.35);

  background: transparent;

  color: #f1eee8;

  font-size: 13px;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.game-arrow:hover {
  background: #a6262f;

  border-color: #a6262f;

  color: #f1eee8;
}

.arrow-label {
  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.2em;

  color: #8a8580;
}


/* =========================================================
   INFO
========================================================= */

.game-info {
  margin-bottom: 30px;

  border-top:
    1px solid rgba(241, 238, 232, 0.15);
}

.info-line {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  padding: 13px 0;

  border-bottom:
    1px solid rgba(241, 238, 232, 0.15);
}

.info-label {
  flex-shrink: 0;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: #8a8580;
}

.info-value {
  font-family: Arial, Helvetica, sans-serif;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.08em;

  color: #f1eee8;

  text-align: right;
}


/* =========================================================
   START
========================================================= */

.game-start {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  width: 100%;

  min-height: 58px;

  box-sizing: border-box;

  border: 1px solid #a6262f;

  background: #a6262f;

  color: #f1eee8;

  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.2em;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.game-start:hover {
  background: #f1eee8;

  color: #080707;

  transform: translateY(-2px);
}

.game-start.is-disabled {
  border-color: #3b3735;

  background: #1a1716;

  color: #5f5a56;

  cursor: default;

  pointer-events: none;
}

.start-arrow {
  font-size: 10px;
}


/* =========================================================
   BOTTOM
========================================================= */

.game-bottom {
  width: min(1280px, 100%);

  margin: 100px auto 0;
}

.bottom-line {
  width: 100%;
  height: 1px;

  background:
    rgba(241, 238, 232, 0.18);
}

.bottom-content {
  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.16em;

  color: #8a8580;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #080707;
  color: #8a8580;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .game-main {
    padding: 130px 30px 80px;
  }

  .game-selector {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .game-menu {
    max-width: none;
  }

}


@media (max-width: 600px) {

  .game-main {
    padding: 110px 20px 60px;
  }

  .game-menu-title h1 {
    font-size: 21px;
  }

  .choice-name {
    font-size: 14px;
  }

  .game-screen {
    aspect-ratio: 16 / 9;
  }

  .bottom-content {
    flex-direction: column;

    gap: 8px;
  }

}