html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: radial-gradient(circle at top, #090d16 0%, #020617 100%);
  color: white;
  text-align: center;
  min-height: 100vh;
}

/* ==========================================================================
   💎 LIQUID GLASS CORE UTILITY LAYER
   ========================================================================== */
.liquid-glass {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5) !important;
}

/* ==========================================================================
   NAVBAR 
   ========================================================================== */
.nav {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav img {
  height: 30px;
  width: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-name {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #fff;
}

/* ==========================================================================
   CONTAINER AND LAYOUT STRUCTURES
   ========================================================================== */
/* Default layout for your index page */
.container {
  max-width: 600px;
  margin: auto;
  padding: 110px 20px 70px;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ⚡ MAGIC TRICK: Automatically fixes video page spacing without touching HTML */
.container:has(.video-wrapper) {
  padding-top: 40px;
}

.container > * {
  margin-bottom: 12px;
}

/* TAG & HOOK */
.tag {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: 1.5px;
}

.hook {
  font-size: 15px;
  color: #bbb;
  margin-bottom: 18px;
}

.hook span {
  color: #e63946;
  font-weight: bold;
}

/* HEADLINE */
h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.highlight {
  color: #e63946;
}

/* SUBTEXT */
.sub {
  color: #aaa;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* BENEFITS */
.benefits {
  text-align: left;
  margin: 25px 0 30px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.benefits p {
  margin: 8px 0;
}

/* LOGO SETTINGS (VIDEO PAGE) */
.logo-wrap {
  margin-bottom: 18px;
}

.logo {
  width: 100px;
  height: auto;
  border-radius: 14px;
}

/* ==========================================================================
   VIDEO PLAYER STYLES
   ========================================================================== */
.video-wrapper {
  position: relative;
  margin-top: 20px;
  width: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

video {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #000;
  cursor: pointer;
}

video::-webkit-media-controls-timeline {
  display: none !important;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

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

.overlay button#overlayBtn {
  width: auto !important;
  display: inline-block !important;
  padding: 18px 30px;
  font-size: 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #e63946, #b71c1c);
  border: none;
  color: white;
  font-weight: bold;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(183, 28, 28, 0.35);
}

/* ==========================================================================
   TIMER & OFFER BOX (VIDEO PAGE)
   ========================================================================== */
.timer-box {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.time-unit {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 15px 10px;
  width: 70px;
  display: inline-block;
}

.time-number {
  font-size: 24px;
  font-weight: bold;
}

.time-label {
  font-size: 12px;
  color: #aaa;
}

.expired-banner {
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.4);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
  color: #fca5a5;
}

.cta-btn {
  margin: 15px auto 0;
  padding: 18px 36px;
  background: linear-gradient(135deg, #e63946 0%, #b71c1c 100%);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  width: auto;
  max-width: 100%;
  font-size: 16px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(230, 57, 70, 0.45);
}

/* ==========================================================================
   INPUTS
   ========================================================================== */
input {
  width: 100%;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020617;   
  color: #ffffff;           
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

input::placeholder {
  color: #475569;
}

input:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
button, .btn {
  margin-top: 12px;
  padding: 16px;
  width: 100%;
  display: block;
  border-radius: 12px;
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(183, 28, 28, 0.35);
  text-decoration: none;
  box-sizing: border-box;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(183, 28, 28, 0.45);
}

button:disabled {
  background: #334155 !important;
  color: #64748b !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

form button {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

form {
  margin-top: 25px;
}

/* FOOTER CAPTIONS */
.micro {
  margin-top: 14px;
  font-size: 12px;
  color: #666;
}

.trust {
  margin-top: 22px;
  color: #777;
  font-size: 13px;
}

/* UTILS */
::selection {
  background: #e63946;
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM
   ========================================================================== */
@media (max-width: 600px) {
  .container {
    padding: 95px 15px 50px;
  }
  /* Keeps mobile video page spacing tight and safe */
  .container:has(.video-wrapper) {
    padding-top: 25px;
  }
  h1 {
    font-size: 26px;
  }
  .sub {
    font-size: 15px;
  }
  .hook {
    font-size: 14px;
  }
  button, .btn {
    font-size: 15px;
  }
  form button {
    max-width: 100%;
  }
}