@font-face {
    font-family: 'BlackCastle';
    src: url('../Fonts/Blackcastlemf-BG5n.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'BlackCastle', serif;
}
html, body {
  margin: 0;
  padding: 0;
}

/* Let content stack normally (age gate → intro → footer) */
body {
  display: block;
}

body #ageGate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #fff !important;
    font-family: 'BlackCastle', serif;
}

body #ageGateContent {
    text-align: center;
    padding: 2rem 3rem;
    background: rgba(20, 10, 30, 0.6) !important;
    border: 2px solid #441675 !important;
    border-radius: 10px;
    box-shadow: 0 0 25px #441675 !important;
}

#niceTryOverlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
    text-shadow: 0 0 20px #441675;
    opacity: 0;                 
    pointer-events: none;       
    transition: opacity 0.2s ease;
    z-index: 10000;
}

@keyframes flashTry {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}

#introContainer {
  position: relative;
  width: 100%;
  height: 100vh;              /* exact viewport height, no overflow */
  display: flex;              /* center contents */
  align-items: center;
  justify-content: center;
  background-color: #000000;
  opacity: 0;                 /* start hidden */
  pointer-events: none;       /* disabled until age gate passes */
  transition: opacity 0.4s ease;
  overflow: hidden;           /* prevent overflow */
}


#knockOverlay {
    position: absolute;
    top: 75%;
    left:53%;
    transform: none;   
    font-size: 3.2rem;
    font-family: 'BlackCastle', serif;
    color: #441675;
    text-shadow:
       -2px -2px 0 #fff,
        2px -2px 0 #fff,
       -2px  2px 0 #fff,
        2px  2px 0 #fff,
        0 0 6px #7C8BC0;
    border: 1px solid white;
    padding: 0.2em 0.6em;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
/* Debug outline removed */

.courtyard-still {
  display: none;           /* still hidden until video ends */
  width: 50vw;             /* half the viewport width */
  height: auto;            /* keep proportions */
  object-fit: contain;     /* not strictly needed with height:auto */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}


.stl-footer {
  position: fixed;  /* Fixed position */
  bottom: 2rem;   /* Float 2rem from bottom */
  left: 2rem;     /* Position on LEFT side */
  z-index: 100;
  background-color: transparent;
  padding: 0;
  margin: 0;
}

.stl-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stl-footer-nav a {
  font-size: 40px;
  color: #3f1174;
  text-decoration: none;
  border: 2px solid #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.stl-footer-nav a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 10px #73c1c0;
}

.trustpilot-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

/* Flame transition overlay */
#flameTransition {
  animation: flameFlicker 0.3s infinite alternate;
}

@keyframes flameFlicker {
  0% { 
    background: radial-gradient(circle, rgba(255,100,0,0.9) 0%, rgba(0,0,0,1) 70%);
  }
  100% { 
    background: radial-gradient(circle, rgba(255,150,0,1) 0%, rgba(20,0,0,1) 65%);
  }
}

#introVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

