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

  body {
    background-color: #0b0c0e;
    color: #e2e4e9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browser bars */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Main Trailer Frame */
  .trailer-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #000;
    overflow: hidden;
  }

  /* Slide Layers (Supports both <img> and <picture>) */
  .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.9s ease-in-out, transform 3.5s ease-out;
    z-index: 1;
  }

  img.slide,
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .slide.active {
    opacity: 1;
    transform: scale(1.06);
    z-index: 2;
  }

  /* Final Coming Soon GIF (No zoom so logo edges stay razor-sharp) */
  .slide.finale {
    background-color: #07080a;
    transform: scale(1) !important;
    transition: opacity 1.1s ease-in-out;
  }

  .slide.finale img {
    object-fit: contain;
  }

  /* Subtle Vignette */
  .vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 3;
  }

  /* Progress Bar at Bottom */
  .progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 5;
  }

  .progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a62626, #c5a059);
    transition: width 0.2s linear;
  }

  /* Initial Click-to-Start Overlay */
  .start-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 14, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.6s ease;
  }

  .start-overlay.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .enter-btn {
    padding: 16px 38px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c5a059;
    background: linear-gradient(180deg, #23262e 0%, #141519 100%);
    border: 1px solid #c5a059;
    box-shadow: 0 0 20px rgba(166, 38, 38, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .enter-btn:hover {
    background: #a62626;
    color: #fff;
    box-shadow: 0 0 28px rgba(197, 160, 89, 0.6);
  }

  .sub-hint {
    margin-top: 12px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #8e94a0;
    text-transform: uppercase;
  }

  /* Bottom-Right Controls */
  .controls {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: flex;
    gap: 10px;
    z-index: 6;
  }

  .ctrl-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e2e4e9;
    background: rgba(20, 21, 25, 0.85);
    border: 1px solid #3a3e47;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }

  .ctrl-btn:hover {
    border-color: #c5a059;
    color: #c5a059;
  }

  #replayBtn {
    display: none;
    border-color: #c5a059;
    color: #c5a059;
  }

  @media (max-width: 768px) {
    .controls {
      bottom: 14px;
      right: 14px;
    }
    .ctrl-btn {
      padding: 7px 12px;
      font-size: 0.72rem;
    }
  }

