html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    body {
      height: 100vh;
      width: 100vw;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000;
    }
    .bg-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      object-position: center;
      z-index: 0;
    }
    .bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      object-position: center;
      z-index: 0;
      background: #000;
    }
    .backdrop {
      position: absolute;
      inset: 0;
      background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45));
      z-index: 1;
      pointer-events: none;
    }
    /* Overlay title styles */
    .overlay {
      position: relative;
      z-index: 2;
      text-align: center;
      color: #ffffff;
      padding: 1rem 1.5rem;
      pointer-events: none; /* allow clicks through if needed */
    }
    .title {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(32px, 6vw, 72px);
      line-height: 1.05;
      margin: 0;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.03);
      text-transform: none;
      opacity: 0;
      transform: translateY(6px);
      animation: fadeUp 900ms ease forwards 300ms;
    }
    /* Improve legibility on small screens */
    @media (max-width: 420px) {
      .overlay { padding: 0.8rem; }
      .subtitle { font-size: 13px; }
    }
    .subtitle {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      font-size: clamp(12px, 1.6vw, 18px);
      margin: 0.5rem 0 0 0;
      opacity: 0.95;
      font-weight: 400;
      letter-spacing: 0.6px;
      text-shadow: 0 4px 18px rgba(0,0,0,0.6);
      opacity: 0;
      transform: translateY(6px);
      animation: fadeUp 900ms ease forwards 500ms;
    }

    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }
    /* Footer fixed at bottom, centered */
    .site-footer {
      position: fixed;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      z-index: 3;
      color: rgba(255,255,255,0.9);
      background: rgba(0,0,0,0.35);
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 13px;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      pointer-events: auto;
      backdrop-filter: blur(4px);
    }
    @media (max-width: 420px) {
      .site-footer { font-size: 12px; bottom: 8px; padding: 5px 8px; }
    }