.section {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.container {
  max-width: 72rem;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.landing-section {
  min-height: 100vh;
}

.landing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(94, 242, 255, 0.09), transparent 22%),
    radial-gradient(circle at 30% 15%, rgba(76, 126, 255, 0.18), transparent 22%),
    radial-gradient(circle at 70% 15%, rgba(176, 111, 255, 0.14), transparent 20%);
  pointer-events: none;
}

.hoverable {
  transition: transform 350ms ease, box-shadow 350ms ease, filter 350ms ease;
  cursor: pointer;
}

.hoverable:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.flex-lb {
  width: 100%;
  display: block;
  height: 0;
}

.huh {
  position: absolute;
  display: block;
  width: 150px;
  left: 50px;
  bottom: -60px;
}

.landing-header {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(54rem, 84vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 3.5rem 4rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(10, 22, 49, 0.9) 0%, rgba(6, 14, 31, 0.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 35px 90px rgba(0, 8, 24, 0.55),
    0 0 0 1px rgba(94, 242, 255, 0.08);
  backdrop-filter: blur(22px);
}

.landing-header::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  border: 1px solid rgba(148, 214, 255, 0.07);
  pointer-events: none;
}

.landing-logo-wrap {
  width: min(100%, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

.landing-logo {
  display: block;
  width: 100%;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 18px rgba(94, 242, 255, 0.34))
    drop-shadow(0 0 34px rgba(76, 126, 255, 0.22));
}

.landing-logo-mark {
  display: inline-block;
  color: var(--cyan);
  font-family: "Courier New", "SFMono-Regular", monospace;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(94, 242, 255, 0.45);
  transform: translateX(0.45rem);
  pointer-events: none;
}

.landing-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45em 1em;
  border-radius: 999px;
  border: 1px solid rgba(94, 242, 255, 0.2);
  background: rgba(5, 14, 31, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: #d9eeff;
  font-size: 1.35rem;
  font-style: italic;
  text-wrap: nowrap;
}

.landing-tagline-top {
  margin-top: 8px;
}

.landing-cta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.landing-cta {
  padding: 1rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 30px rgba(1, 8, 22, 0.32);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Lexend", "Phantom Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.landing-cta img {
  height: 16px;
  filter: brightness(0) invert(1);
}

.scroll-prompt {
  cursor: pointer;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(94, 242, 255, 0.3);
  height: 58px;
  width: 58px;
  padding: 20px;
  border-radius: 50%;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.scroll-prompt:hover {
  transform: translateX(-50%) scale(1.08);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(94, 242, 255, 0.42);
}

.scroll-prompt img {
  filter: brightness(0) invert(1);
}

.floaty img {
  width: 100%;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.38));
}

.floaty {
  width: 17vw;
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.timeline,
.gambling-section,
.project-idea-section,
.faq-section {
  padding-top: 80px;
  padding-bottom: 24px;
}

.gambling-section {
  margin: auto;
}

.gambling-header {
  display: flex;
  height: 200px;
  gap: 40px;
  align-items: flex-end;
}

.gambling-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.gambling-title {
  font-size: clamp(4rem, 8vw, 5.8rem);
  text-shadow: 0 0 24px rgba(94, 242, 255, 0.22);
}

.gambling-subheader,
.timeline-subheader {
  font-weight: 500;
  font-style: italic;
  color: #b9d1f5;
}

.gambling-subheader {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.gambling-header-rummage {
  display: block;
  height: 100%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.3));
}

.gambling-ui {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.gambling-spinner {
  flex-basis: 20vw;
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, rgba(13, 26, 58, 0.95), rgba(7, 14, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 25px 60px rgba(1, 8, 22, 0.35);
}

.gambling-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateY(0);
  animation-fill-mode: forwards;
  height: 100%;
}

@keyframes gamble {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(calc(-100% + 292px));
  }
}

@keyframes gamble-once {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-200px * 25));
  }
}

.spinner-item {
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(16, 31, 68, 0.95), rgba(8, 18, 38, 0.95));
  border: 1px solid rgba(142, 214, 255, 0.16);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner-item-image {
  height: 67%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.spinner-separator {
  font-size: 100px;
  font-weight: 800;
  margin: 20px;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(94, 242, 255, 0.35);
}

.spinner-item-name {
  font-size: 1.5em;
  text-align: center;
  color: var(--text);
}

.spinner-item-description {
  font-size: 1.05rem;
  text-align: center;
  color: var(--muted);
}

.gambling-controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  gap: 10px;
}

.gambling-controls button img {
  height: 16px;
  filter: brightness(0) invert(1);
}

button {
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.95rem 1.45rem;
  margin: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 30px rgba(1, 8, 22, 0.32);
}

.greenbutton {
  background: linear-gradient(135deg, #15d0ff, #3860ff);
}

.purplebutton {
  background: linear-gradient(135deg, #5f6cff, #9f5fff);
}

.bluebutton {
  background: linear-gradient(135deg, #3db5ff, #4777ff);
}

.redbutton {
  background: linear-gradient(135deg, #1fe4ff, #6b5cff);
}

.gambling-roll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 1.5rem 0 0;
}

.gambling-build {
  filter: saturate(1) brightness(1);
  transition: filter 300ms ease, opacity 300ms ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gambling-build img {
  height: 18px;
  filter: brightness(0) invert(1);
}

.gambling-build.disabled {
  filter: saturate(0.4) brightness(0.72);
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.cta-container button,
.blur-box button {
  min-width: 220px;
  justify-content: center;
}

.gambling-placeholder {
  height: 80%;
  width: 80%;
  margin: auto;
  filter:
    brightness(0)
    invert(1)
    sepia(1)
    hue-rotate(160deg)
    saturate(4)
    opacity(0.9)
    drop-shadow(0 0 20px rgba(94, 242, 255, 0.25));
}

#generate-project-idea {
  cursor: pointer;
}

.project-idea-section {
  margin-bottom: 40px;
}

#project-name {
  resize: none;
  width: 70%;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  padding: 20px;
  font-size: 20px;
  margin-bottom: 30px;
  border-radius: 24px;
}

.project-idea-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 5px;
}

.gambling-build {
  margin: auto;
}

.project-idea-buttons button {
  margin: 0;
}

.project-idea-container {
  margin: auto;
  padding: 50px;
  width: 100%;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 23, 48, 0.82), rgba(5, 11, 24, 0.86));
  box-shadow: var(--shadow);
  text-align: center;
}

.project-idea-container h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(94, 242, 255, 0.18);
}

.project-idea-container h3 {
  color: var(--text);
}

.project-idea-container p em {
  color: var(--muted);
}

.project-idea-images {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
  gap: 5px;
  display: none;
  height: 90px;
}

.project-idea-images img {
  height: 100%;
  width: auto;
}

#project-idea-build {
  font-size: 30px;
  font-weight: 800;
  padding: 10px 30px;
  border-radius: 999px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#project-idea-build img {
  height: 25px;
}

.thought {
  display: flex;
  background:
    linear-gradient(180deg, rgba(13, 30, 62, 0.95), rgba(8, 18, 38, 0.95));
  color: var(--text);
  border: 1px solid rgba(142, 214, 255, 0.16);
  box-shadow: 0 20px 40px rgba(1, 8, 22, 0.34);
  padding: 20px;
  border-radius: 30px;
  min-width: 40px;
  max-width: 220px;
  min-height: 40px;
  margin: 20px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.thought:before,
.thought:after {
  content: "";
  background: rgba(12, 27, 56, 0.95);
  border: 1px solid rgba(142, 214, 255, 0.12);
  border-radius: 50%;
  display: block;
  position: absolute;
  z-index: -1;
}

.thought:before {
  width: 44px;
  height: 44px;
  top: -12px;
  left: 28px;
  box-shadow: -50px 30px 0 -12px rgba(12, 27, 56, 0.95);
}

.thought:after {
  bottom: -10px;
  right: 26px;
  width: 30px;
  height: 30px;
  box-shadow:
    40px -34px 0 0 rgba(12, 27, 56, 0.95),
    -28px -6px 0 -2px rgba(12, 27, 56, 0.95),
    -24px 17px 0 -6px rgba(12, 27, 56, 0.95),
    -5px 25px 0 -10px rgba(12, 27, 56, 0.95);
}

.disabled {
  cursor: not-allowed;
}

.loading {
  cursor: wait;
}

.faq-section h1:first-child,
.timeline-header {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  width: fit-content;
  margin: auto;
  text-shadow: 0 0 20px rgba(94, 242, 255, 0.18);
}

.timeline-subheader {
  margin: auto;
  width: fit-content;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.timeline-list {
  margin: 2.5rem auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
  gap: 20px;
  width: 100%;
  padding: 50px 0;
}

.timeline-item {
  padding: 1px;
  background: linear-gradient(180deg, rgba(94, 242, 255, 0.5), rgba(76, 126, 255, 0.16));
  border-radius: 22px;
  box-sizing: border-box;
  height: 100%;
  box-shadow: 0 22px 44px rgba(1, 8, 22, 0.28);
}

.timeline-info {
  background:
    linear-gradient(180deg, rgba(12, 26, 57, 0.95), rgba(7, 16, 34, 0.95));
  height: 100%;
  border-radius: 21px;
  padding: 24px 22px;
}

.timeline-info h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.timeline-info p,
.faq-item p {
  color: var(--muted);
  line-height: 1.5;
}

.timeline-info a,
.faq-item a {
  color: var(--cyan-2);
}

.muted {
  color: var(--cyan);
  opacity: 0.75;
}

.faq-section {
  padding-bottom: 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 2.25rem;
  margin-bottom: 0;
}

.faq-item {
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 22, 48, 0.82), rgba(5, 11, 24, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 42px rgba(1, 8, 22, 0.26);
}

.faq-item h1 {
  margin: 0 0 0.7rem 0 !important;
  font-size: 1rem !important;
  line-height: 1.12 !important;
  letter-spacing: -0.01em;
  font-family: "Phantom Sans", sans-serif;
}

.faq-item p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.talking {
  animation: talking 1s infinite;
}

@keyframes talking {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes float {
  from,
  to {
    transform: translate(0%, -47%) rotate(-2deg);
  }

  25% {
    transform: translate(-2%, -50%) rotate(2deg);
  }

  50% {
    transform: translate(0%, -53%) rotate(-1deg);
  }

  75% {
    transform: translate(-1%, -50%) rotate(-1deg);
  }
}

.project-idea-title {
  text-align: center;
}

.blur-box {
  width: 100%;
  max-width: 620px;
  background:
    linear-gradient(180deg, rgba(25, 44, 92, 0.72), rgba(108, 53, 173, 0.48));
  border: 1px solid rgba(160, 205, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 22px 40px rgba(1, 8, 22, 0.22);
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.title {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
}

@media screen and (max-width: 900px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-header {
    width: calc(100% - 32px);
    padding: 2.4rem 1.4rem 2.6rem;
  }

  .landing-logo {
    width: min(100%, 24rem);
  }

  .landing-logo-mark {
    letter-spacing: 0.1em;
    transform: translateX(0.25rem);
  }

  .landing-tagline {
    font-size: 0.92rem;
    text-wrap: wrap;
    text-align: center;
  }

  .landing-cta {
    width: 100%;
    justify-content: center;
  }

  .landing-cta-row {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .floaty {
    display: none;
  }

  .timeline,
  .gambling-section,
  .project-idea-section,
  .faq-section {
    padding-top: 56px;
  }

  .gambling-header {
    height: fit-content;
  }

  .gambling-header-text {
    margin-bottom: 10px;
  }

  .gambling-header-rummage {
    display: none;
  }

  .spinner-separator {
    display: none;
  }

  .gambling-ui {
    flex-direction: column;
    gap: 20px;
  }

  .gambling-spinner {
    aspect-ratio: unset;
    width: 100%;
    flex-basis: 40vw;
    padding: 10px;
  }

  .gambling-controls {
    margin-top: 20px;
  }

  .spinner-item {
    flex-direction: row;
    border-radius: 20px;
    gap: 10px;
    overflow: hidden;
  }

  .spinner-item-name,
  .spinner-item-description {
    text-align: left;
  }

  .spinner-info {
    text-overflow: ellipsis;
    text-wrap: wrap;
    flex-basis: 200px;
    flex-grow: 0;
    flex-shrink: 0;
  }

  .spinner-item-name {
    font-size: 1.5rem;
  }

  .spinner-item-image {
    height: auto;
    width: 100px;
  }

  .project-idea-container {
    padding: 32px 20px;
  }

  .cta-container {
    flex-direction: column-reverse;
    gap: 0;
  }

  .timeline-list {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  button {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 300px) {
  .spinner-item-image {
    display: none;
  }
}
