:root {
  --storm-black: #050608;
  --storm-surface: #0c0f15;
  --storm-white: #f5f7fa;
  --storm-silver: #c2ccd9;
  --storm-muted: #8c98ab;
  --storm-border: rgba(255, 255, 255, 0.18);
  --sky: #82caff;
  --yellow: #ffd426;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* bg animation/vid */
.storm-body {
  position: relative;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #070a12;
  background-size: cover, cover;
  background-position: center center, center center;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
  color: var(--storm-white);
  overflow-x: hidden;
}

.page-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: brightness(1.18) contrast(1.08) saturate(1.12);
}

.page-video-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), rgba(5, 6, 8, 0.34) 78%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.22) 0%, rgba(5, 6, 8, 0.42) 100%);
}

.storm-page {
  position: relative;
  z-index: 1;
  width: 96%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 0 36px;
}

/* Full PERFECT STORM Album Cover Block */
.storm-cover {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 44px 24px;
  min-height: 360px;
  background: rgba(12, 16, 26, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  margin-bottom: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.storm-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 8, 0.08) 0%,
    rgba(5, 6, 8, 0.22) 100%
  );
}

.storm-kicker,
.storm-wordmark,
.storm-title {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.storm-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--storm-silver);
  margin-bottom: 4px;
}

.storm-art-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
}

.storm-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.28;
  transform-origin: center center;
  animation: hurricaneSwirlZoom 14s ease-in-out infinite alternate;
}


.storm-cover-img.is-missing {
  display: none;
}

.storm-hurricane-fallback {
  display: none;
  position: absolute;
  inset: -25%;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.92) 0deg,
      rgba(37, 117, 214, 0.85) 65deg,
      rgba(7, 14, 28, 0.96) 130deg,
      rgba(235, 246, 255, 0.9) 195deg,
      rgba(24, 88, 175, 0.85) 265deg,
      rgba(6, 10, 18, 0.96) 320deg,
      rgba(255, 255, 255, 0.92) 360deg
    );
  filter: blur(10px) contrast(1.25);
  animation: cycloneSpin 12s linear infinite;
}

.storm-cover-img.is-missing + .storm-hurricane-fallback {
  display: block;
}

.storm-center-x {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #ff4fd8;
  text-shadow:
    0 0 10px rgba(255, 79, 216, 0.95),
    0 0 24px rgba(255, 79, 216, 0.65);
  pointer-events: none;
  animation: eyeXPulse 2.8s ease-in-out infinite;
}

.storm-wordmark {
  font-size: clamp(1.2rem, 3.3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--storm-white);
}

.storm-x-accent {
  display: inline-block;
  animation: xPulse 3.2s ease-in-out infinite;
  color: #ff33bed4;
}

.storm-title {
  margin-top: 2px;
  font-size: clamp(1.7rem, 4.8vw, 3.3rem);
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--storm-white);
}

@keyframes hurricaneSwirlZoom {
  0% {
    transform: scale(1.03) rotate(-2.5deg);
  }
  50% {
    transform: scale(1.1) rotate(2.5deg);
  }
  100% {
    transform: scale(1.05) rotate(-1.5deg);
  }
}

@keyframes cycloneSpin {
  from {
    transform: rotate(0deg) scale(1.05);
  }
  to {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes eyeXPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.18) rotate(8deg);
  }
}

@keyframes xPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.fanmade {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  font-family: inherit;
}
/* Front Grid */
.front-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.overview-card,
.auth-card {
  position: relative;
  overflow: hidden;
  background: rgba(12, 16, 26, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--storm-silver);
  margin-bottom: 12px;
}

.overview-card h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.overview-copy {
  color: var(--storm-silver);
  line-height: 1.6;
  font-size: 0.94rem;
 font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.1rem;
}

.stat-item span {
  font-size: 0.76rem;
  color: var(--storm-muted);
}

.links-block h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--storm-muted);
  margin-bottom: 10px;
}

.links-block ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.links-block a {
  color: var(--storm-white);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.links-block a:hover {
  border-bottom-color: var(--storm-white);
}

/* Auth Card */
.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.txt-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.mark-plus {
  color: var(--storm-silver);
}

.mark-x {
  color: #ff4fd8;
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(255, 79, 216, 0.75);
}

.auth-header h2 {
  font-size: 1.4rem;
}

.auth-header p {
  color: var(--storm-muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--storm-border);
  border-radius: 14px;
}

.auth-tab {
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--storm-silver);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-tab.active {
  background: #f5f7fa;
  color: #050608;
}

.form-group {
  margin-bottom: 14px;
}

.signup-only[hidden] {
  display: none !important;
}

.signup-only:not([hidden]) {
  display: block;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--storm-silver);
  margin-bottom: 6px;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--storm-white);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
}

.password-input-wrap input {
  padding-right: 58px;
}

.password-input-wrap input::-ms-reveal,
.password-input-wrap input::-ms-clear {
  display: none;
}

.form-group input:focus {
  border-color: var(--storm-white);
}

.password-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--storm-silver);
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.form-group input.is-invalid {
  border-color: #ff7b54;
  background: rgba(255, 123, 84, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 123, 84, 0.18);
}

.field-error {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 3px solid #ff944d;
  background: rgba(255, 148, 77, 0.14);
  color: #ffd0b0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.field-error[hidden] {
  display: none;
}

#authForm {
  display: block;
  width: 100%;
}

.auth-submit-btn {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 13px 14px;
  border: 1px solid var(--storm-white);
  border-radius: 12px;
  background: var(--storm-white);
  color: var(--storm-black);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.auth-submit-btn:hover {
  background: transparent;
  color: var(--storm-white);
}


/* 0:00 - 0:12 Star Burst Transition Overlay */
.anim-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  overflow: hidden;
}

.anim-overlay.active {
  display: flex;
}

.phase-sky {
  position: absolute;
  inset: 0;
  background: var(--sky);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: skyFadeOut 0.45s ease 4.8s forwards;
}

.cross-stage {
  position: relative;
  width: 240px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-white {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0;
  animation: lWhiteIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards,
             splitLeft 0.65s cubic-bezier(0.22, 1, 0.36, 1) 2.5s forwards;
}

.l-white::before,
.l-white::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
}

.l-white::before { width: 18px; height: 46px; left: 14px; top: 0; }
.l-white::after { width: 50px; height: 18px; left: 14px; top: 28px; }

.l-yellow {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0;
  animation: lYellowIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards,
             splitRight 0.65s cubic-bezier(0.22, 1, 0.36, 1) 2.5s forwards;
}

.l-yellow::before,
.l-yellow::after {
  content: "";
  position: absolute;
  background: var(--yellow);
  border-radius: 2px;
}

.l-yellow::before { width: 50px; height: 18px; left: 0; top: 18px; }
.l-yellow::after { width: 18px; height: 46px; left: 32px; top: 18px; }

.center-x {
  position: relative;
  width: 34px;
  height: 34px;
  opacity: 0;
  animation: xAppear 0.6s cubic-bezier(0.22, 1, 0.36, 1) 2.65s forwards;
}

.center-x::before,
.center-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 7px;
  background: #ffffff;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.center-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sky-caption {
  margin-top: 16px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  opacity: 0;
  animation: captionIn 0.6s ease 3s forwards;
}

.phase-stars {
  position: absolute;
  inset: 0;
  background: #050609;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: starsBgIn 0.35s ease 4.95s forwards,
             overlayExit 0.55s ease 9.6s forwards;
}

.void-plus {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0;
  animation: voidPlusSeq 1.6s ease 5.15s forwards;
}

.void-plus::before,
.void-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ffffff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.void-plus::before { width: 28px; height: 5px; }
.void-plus::after { width: 5px; height: 28px; }

.star-cluster {
  position: relative;
  width: 320px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sparkle {
  position: absolute;
  width: 78px;
  height: 78px;
  opacity: 0;
}

.sparkle.burst-green {
  width: 118px;
  height: 118px;
  animation: greenBurst 1.2s cubic-bezier(0.16, 1, 0.3, 1) 6.6s forwards,
             settleMiddle 0.75s cubic-bezier(0.22, 1, 0.36, 1) 7.9s forwards;
}

.sparkle.star-left {
  animation: starLeftIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 7.95s forwards;
}

.sparkle.star-right {
  animation: starRightIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 7.95s forwards;
}

.status-banner {
  position: absolute;
  bottom: 15%;
  text-align: center;
  opacity: 0;
  animation: captionIn 0.55s ease 8.3s forwards;
}

.status-banner h2 {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.status-banner p {
  font-size: 0.88rem;
  color: var(--storm-silver);
  margin-top: 4px;
}

@keyframes lWhiteIn {
  0% { opacity: 0; transform: translate(-54px, 32px) scale(0.85); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes lYellowIn {
  0% { opacity: 0; transform: translate(54px, -32px) scale(0.85); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes splitLeft {
  to { transform: translate(-74px, 0) scale(0.72); }
}

@keyframes splitRight {
  to { transform: translate(74px, 0) scale(0.72); }
}

@keyframes xAppear {
  0% { opacity: 0; transform: scale(0.3) rotate(-60deg); }
  100% { opacity: 1; transform: scale(0.85) rotate(0deg); }
}

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

@keyframes skyFadeOut {
  to { opacity: 0; visibility: hidden; }
}

@keyframes starsBgIn {
  to { opacity: 1; }
}

@keyframes voidPlusSeq {
  0% { opacity: 0; transform: scale(0.7); }
  35% { opacity: 1; transform: scale(1); }
  75% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.6); }
}

@keyframes greenBurst {
  0% { opacity: 0; transform: scale(0.2) rotate(-25deg); }
  45% { opacity: 1; transform: scale(1.22) rotate(12deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes settleMiddle {
  to { transform: translate(0, 0) scale(0.68); }
}

@keyframes starLeftIn {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  100% { opacity: 1; transform: translate(-88px, 0) scale(0.68); }
}

@keyframes starRightIn {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  100% { opacity: 1; transform: translate(88px, 0) scale(0.68); }
}

@keyframes overlayExit {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 860px) {
  .front-grid {
    grid-template-columns: 1fr;
  }
}

/* Plain Text-Only Bottom Footer Pulled Up Closer */
.plain-footer {
  position: relative;
  z-index: 1;
  width: 96%;
  max-width: 1680px;
  margin: 16px auto 0;
  padding: 14px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(8px);
  text-align: center;
  font-family: lucida sans, 'lucida sans regular', 'lucida grande', 'lucida sans unicode', geneva, verdana, sans-serif;
  color: #b4c0d2;
  font-size: 0.90rem;
  line-height: 1.55;
}

.footer-line {
  margin-bottom: 5px;
}

.footer-line strong {
  color: #c4cedc;
  font-weight: 700;
}

.plain-footer a {
  color: #e5ecf5;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.plain-footer a:hover {
  color: #82caff;
  border-bottom-color: #82caff;
}

.footer-disclaimer {
  max-width: 780px;
  margin: 10px auto 6px;
  font-size: 0.74rem;
  color: #7b8799;
}

.footer-contact {
  margin-bottom: 0;
}

/* Floating Scroll Up / Down Controls */
.scroll-jump-controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 6px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.72);
}

.scroll-jump-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fa;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.2s ease;
}

.scroll-jump-btn:hover:not(:disabled) {
  background: #f5f7fa;
  color: #050608;
  border-color: #f5f7fa;
}

.scroll-jump-btn:disabled {
  opacity: 0.3;
  cursor: default;
}