
.beta-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* overflow: hidden; */
  background: black;
  opacity: 70%;
  color: white;
  display: flex;
  align-items: center;
  z-index: 1000;
  height: 2.5rem;
  /* padding: 0 1rem; */
  font-size: 0.85rem;
}

.beta-popup.hidden {
  display: none;
}

.beta-scroll-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  /* position: relative; */
}

.beta-scroll {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 22s linear infinite;
}

.beta-scroll span {
  padding-right: 2rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.beta-close {
  /* flex-shrink: 0; */
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  margin-left: .5rem;
  cursor: pointer;
  z-index: 2;
}

.beta-close:hover {
  color: #e63946; 
}

@font-face {
  font-family: 'InsertYourNameHere';
  src: url('../assets/fonts/InsertYourNameHere.woff2') format('woff2'),
      url('../assets/fonts/InsertYourNameHere.ttf') format('truetype');
  
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-2 {
    font-family: 'InsertYourNameHere', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.font-1 {
  font-family: "Major Mono Display", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}



.h2 {
  font-size: 2.4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

section {
    min-height: 100vh;
    padding: 4rem 2rem;
    padding: 4rem .1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    overflow-y: scroll;
    height: 100%;
}

body {
    font-family: "Major Mono Display", monospace;
    /* background: linear-gradient(to bottom, #aef, #fff, transparent); */
    color: black;
    text-align: center;
    padding-top: 2rem;
    position: relative;
    z-index: 0; /* establish stacking context */
}

body::before {
  content: "";
  position: absolute;
  top: 00; left: 0; right: 0; bottom: 0;
  background: url('../assets/images/transparent-blue-gradient.png') center/cover no-repeat;
  opacity: 1;      /* if you want it semi‑transparent */
  z-index: -1;       /* sit behind everything in the body */
}

/*HERO STYLES*/
.hero {
    padding-top: 2rem;
    padding-bottom: .1rem;
}

.studio-name {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.7rem;
    margin: 0.5rem 0;
    letter-spacing: 0.1em;

}

.headline {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    margin-top: 16rem;
}

/* MARQUEE EFFECTS */
.marquee-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1rem;
    margin: 2rem 0;
    /* display: block; */
        text-transform: lowercase;
}

/* .marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 12s linear infinite;
} */
.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 33s linear infinite;
}

.marquee.backward p {
    display: inline-block; 
    /* padding-right: 100%; */
    animation-direction: reverse;
}

/* .marquee.backward p {
    animation: scroll-right 15s linear infinite;
} */

.marquee.forward:hover p,
.marquee.backward:hover p {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes scroll-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* HERO: marquee at bottom */
#hero .marquee-container {
  margin-top: auto;
}

.scroll-indicator-wrapper {
  position: absolute;
  bottom: 2rem;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 0.3rem; */
  /* padding-bottom: 1rem; */
}

.scroll-indicator {
  font-size: 1.5rem;
  opacity: 0.2;
  animation: bounceDown 2s infinite;
}

.scroll-indicator:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* WAITLIST: form at bottom */
#waitlist .waitlist-form {
  margin-top: auto;
}

#waitlist .logo-ring {
  margin-top: auto;
}



/* WAITLIST SECTION */
.waitlist {
    position: relative;
    /* padding: 2rem 1rem; */
    /* padding-left: .1rem; */
    padding-bottom: .1rem;
    /* background-color: #ffffffc0; */
    font-family: "Major Mono Display", monospace;
        /* text-transform: uppercase; */
        /* padding-top: .1rem; */
}



#waitlist .logo-ring {
  position: relative;
  width: 1111px;            /* full diameter */
  height: 444px;           /* exactly half the diameter */
  margin: 0 auto;         
  /* overflow: hidden;         */
  margin-top: auto;
}

/* Now anchor the full‑size ring image to the bottom of that half‑height box */
#waitlist .ring-image {
  position: absolute;
  transform: translateX(-50%);
  width: 1111px;            /* full diameter */
  height: 1111px;           /* full diameter */
}

/* Logo Ring Container */
.logo-ring {
  position: relative;

  /* width: clamp(245px, 100vw, 1000px);
  height: calc(clamp(245px, 100vw, 1000px) / 2); */
  /* width: 888px;
  height: 888px; */
  width: clamp(200px, 80vw, 888px);
  height: clamp(200px, 80vw, 888px);
  /* margin: 0 auto; */
  overflow: hidden; 
  /* top: 80%; */
  /* border: 1px solid red; */
  padding-top: .6rem;
}

/* Spinning Ring (CSS border circle) */
.ring-image {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  transform-origin: 50% 50%;
  animation: spin 16s infinite alternate ease-in-out;
  opacity: 65%;
   /* top: -5%;
  overflow: visible;   */
  will-change: transform;
  /* border: 1px dashed blue; */
  margin-top: .3rem; 
}

/* Center the form inside the ring hole */
.ring-form-container {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* inner size = outer diameter - 2×border */
  /* width: calc(clamp(200px, 50vw, 400px) - 40px);
  height: calc(clamp(200px, 50vw, 400px) - 40px); */
  width: 400px;
  height: 400px; 
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  /* background: rgba(255,255,255,0.8); */
  border-radius: 50%;
  z-index: 1;
}

@keyframes spin {
  from { transform: rotate(50deg); }
  to   { transform: rotate(-280deg); }
}



.waitlist-form {
    /* position: relative; */
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    max-width: 90%;
    margin: 0 auto;
    font-family: "Major Mono Display", monospace;
    text-transform: lowercase;
    /* margin-top: 1rem; */
    /* top: 80%; */
    align-items: center;
}

input[type="email"] {
    padding: 0.75rem;
    border: 1px solid black;
    font-family: "Major Mono Display", monospace;
    font-size: 1rem;
}

button {
    padding: 0.5rem 1rem;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    font-family: "Major Mono Display", monospace;
    text-transform: lowercase;
    max-width: 200px;
display: block;
margin: 0 auto;
}

/* #waitlist {
  scroll-snap-align: none;
} */

.checkerboard-bg {
  background-image: 
    linear-gradient(45deg, #ccc 25%, transparent 25%),
    linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 
  0 0, 
  0 10px, 
  10px -10px, 
  -10px 0;
}

.studio-letter {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* match your H1 sizing */
  font-size: 4.8rem;           /* or whatever .font-1/.font-2 use */
  line-height: 1;
  transition: color 0.2s ease;
}



.studio-letter::after {
    content: attr(data-full);
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 100%);
  transform-origin: 0% 100%;
  white-space: nowrap;
  
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  
  color: black;
  opacity: 0;


  /* remove the old transition */
  animation: none;

  /* prepare the spring animation, but don’t play it yet */
  /* animation: spring-in 0.5s ease-out forwards;
  animation-play-state: paused; */
}


/* On hover: hide the letter, slide the word up into its place */
.studio-letter:hover {
  color: transparent;
}



/* Once you un-hover, remove the animation so it goes back to hidden */
.studio-letter:not(:hover)::after {
  animation: none;
}




.letter-a:hover::after {
  animation: glitch-flicker 0.6s steps(2, start) infinite;
  color: #000;
  opacity: 1;
  transform: translate(-50%, 0);
  text-shadow:
    2px 0 red,
    -2px 0 blue;
    filter: brightness(1.2) contrast(1.5);
}

.letter-c:hover::after {
  animation: spring-in 0.8s ease-out both;
  transform: translate(-50%, 0);
  opacity: 1;
}

@keyframes spring-in {
  0% {
    transform: translate(-50%, 100%) scale(0.3) rotate(-25deg);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, 0) scale(1.2) rotate(10deg);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, 0) scale(0.9) rotate(-5deg);
  }
  85% {
    transform: translate(-50%, 0) scale(1.05) rotate(2deg);
  }
  100% {
    transform: translate(-50%, 0) scale(1) rotate(0);
    opacity: 1;
  }
}

.letter-s:hover::after {
  animation: drop-squish-bounce 0.8s ease-out both;
  transform: translate(-50%, 0);
  opacity: 1;
}

@keyframes drop-squish-bounce {
  0% {
    transform: translate(-50%, -300%) scaleY(1.4) scaleX(0.8);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, 0) scaleY(0.6) scaleX(1.0);
    opacity: 1;
  }
  75% {
    transform: translate(-50%, -10%) scaleY(1.2) scaleX(0.95);
  }
  90% {
    transform: translate(-50%, 3%) scaleY(0.95) scaleX(1.05);
  }
  100% {
    transform: translate(-50%, 0) scaleY(1) scaleX(1);
  }
}

@keyframes glitch-flicker {
  0% { transform: translate(-50%, 0); opacity: 1; }
  20% { transform: translate(-48%, 2%) skew(0.5deg); }
  40% { transform: translate(-52%, -2%) skew(-0.5deg); }
  60% { transform: translate(-50%, 1%); }
  80% { transform: translate(-50%, -1%); }
  100% { transform: translate(-50%, 0); }
}


.waitlist-form-message {
  /* margin-top: 0.5rem; */
  font-size: 0.9rem;
}

.waitlist-form-message.error {
  color: rgb(179, 41, 41);
}

.waitlist-form-message.success {
  color: rgb(66, 20, 104);
}

.input-with-modal {
  position: relative;
  display: inline-block;
}

.modal {
  position: fixed;
  top: 61%;
   left: 50%; 
   transform: translate(-50%, -50%); 
  background: white;
  border-radius: 4px;
  padding: 0.6rem .6rem;
  font-size: 0.6rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 10;
  
}

.modal.show {
  opacity: 1;
  /* transform: translateY(0); */
  pointer-events: auto;
}

/* State-based styles */
.modal.info { 
  background: #f0f0f0; 
  color: #333; 
  border: 1px solid #ccc; 
}

.modal.success { 
  background: #e1f9e6; 
  color: #216e39; 
  border: 1px solid #84d3a3; 
}

.modal.error { 
  background: #fcebea; 
  color: #b10000; 
  border: 1px solid #f5a9a9; 
}

@media (max-width: 600px) {

  .beta-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 22s linear infinite;
}
  .modal {
    position: fixed;
    /* width: calc(100% - 2rem); */
      top: 53%;
   left: 46%; 
   /* transform: translate(-50%, -50%);  */
    max-width: 300px;
    /* padding: 1rem; */
    font-size: 0.6rem;
    /* top: 40%; */
  }

  .studio-letter::after {
    font-size: 2.6rem;
      top: 33%;
   left: 50%; 
    transform: translate(-50%, -50%); 
  }

   .logo-ring {
    position: relative;
    width: 888px;       
    height: 888px;      
    overflow: hidden;
    margin: 0 auto;
    /* padding-top: 3rem; */
  } 


  .ring-image {
    position: absolute;
    
   
    height: auto;
            
    left: -30%;
    
    transform: translateX(-50%);
    width: 1776px;
  }


    .ring-form-container {
    position: relative;
    top: 12%;           
    left: 20%;
    transform: translateX(-50%);

    max-width: 360px;   
    padding: 1rem;

  }



    .ring-form-container .waitlist-form,
  .ring-form-container .waitlist-form input,
  .ring-form-container .waitlist-form button {
    width: 100%;
    margin: 0;
  }

}



/* @media (max-width: 500px) {
  .ring-form-container {
    width: 95vw;
    padding: 0.8rem;
  }
} */