@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500&display=swap');

html {
  scroll-behavior: smooth;
}


#clickText {
  width: 100%;
  text-align: center;
  margin-top: 2em	;
  font-size: 1.05rem;
  display: block;
  padding-top: 10px;
  opacity: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Space+Grotesk', sans-serif;
  background: #f8e9d3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative; /* Ensure fixed elements reference body */
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 420px;
  box-sizing: border-box;
}

.bubble {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #000;
  color: #f8e9d3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.1s linear;
  transform: scale(0.85);
  margin: 80px auto 20px;
  position: relative;
}

.bubble-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.h1section {
  display: none;
}

.counter-text {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 1.5em;
}

.phase-label {
  font-size: 0.6rem;
  color: #f8e9d3;
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-style: italic;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  display: inline;
}

.circle-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  animation: spinText 20s linear infinite;
  z-index: 1;
}

@keyframes spinText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

svg text {
  fill: #f8e9d3;
  font-size: 6px;
  letter-spacing: 0.2px;
}

.insta-link {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  font-size: 0.9rem;
  color: #000;
  background: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  z-index: 5;
  font-weight: bold;
}

.content, section {
  text-align: center;
  width: 100%;
  background: rgba(248, 233, 211, 0.95);
  padding: 20px;
  border-radius: 20px;
  margin: 5px 0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.inout-stack {
  display: inline-block;
  position: relative;
  width: 0.6em;
  text-align: center;
}

.in-label {
  position: absolute;
  top: 0.5em;
  left: 0;
  font-size: 0.5rem;
}

.out-label {
  position: absolute;
  bottom: 0.7em;
  left: 10px;
  font-size: 0.5rem;
}

p.tagline {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

p.description {
  font-size: 1rem;
  margin: 0.5rem 0 1.2rem;
}

a.link {
  display: block;
  margin: 10px auto;
  padding: 12px 20px;
  background-color: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease;
}

a.link:hover {
  background-color: #333;
}

footer {
  text-align: center;
  margin: 40px 0 30px;
  color: #333;
  font-size: 0.9rem;
}

/* Psychedelic margin pattern using tile */
body::before,
body::after,
body::backdrop,
body::marker {
  content: '';
  position: fixed;
  z-index: 1;
  pointer-events: none;
  background-image: url('margin-tile.png');
  background-repeat: repeat;
  background-size: 40px 40px;
}

body::before {
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
}

body::after {
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
}

body::backdrop {
  top: 40px;
  bottom: 40px;
  left: 0;
  width: 40px;
}

body::marker {
  top: 40px;
  bottom: 40px;
  right: 0;
  width: 40px;
}

/* Left and Right Title Text */
.side-label {
  position: fixed;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(0.8rem, 2vw, 1rem); /* Responsive font size */
  color: #000;
  z-index: 3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.7;
}


.side-label.left {
  top: 60px;
  left: 5px;
}

.side-label.right {
  top: 60px;
  right: 5px;
}

@media (max-width: 480px) {
  .bubble {
    width: 120px;
    height: 120px;
    top: 10px;
  }

  .insta-link {
    top: 10px;
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .content, section {
    padding: 20px;
    margin: 10px 0;
  }
}


.rabbit-overlay {
  margin-top: 1em;
  position: absolute;
  display:block;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.rabbit-image {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.click-text {
  font-size: 0.9rem;
  color: #000;
  margin-top: 8px;
}


.post-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #000;
  animation: none;
}


a {
  color: #222; /* match your site's body text color */
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
a:hover {
  color: #000;
  border-bottom: 1px solid #000;
}