@font-face { font-family: "Bungee"; src: url("Bungee-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Skrapbook"; src: url("Skrapbook.ttf") format("truetype"); font-display: swap; }

:root { --black: #000; --white: #f7f7f5; --grey: #929292; --line: #3d3d3d; --accent: #D75353; }
* { box-sizing: border-box; }
html { background: var(--black); }
body { min-width: 320px; margin: 0; background: var(--black); color: var(--white); font-family: "Bungee", Arial, sans-serif; }
.coming-soon { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; padding: 2rem clamp(1.5rem, 5vw, 4.5rem) 1.5rem; }
.brand-logo { justify-self: center; line-height: 0; }
.brand-logo img { display: block; width: 60vw; height: auto; }
.content { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: .75rem 0 3rem; text-align: center; }
.game-logo { width: min(100%, 26rem); margin: 0; line-height: 0; }
.game-logo img { display: block; width: 100%; height: auto; }
.socials { display: flex; gap: .7rem; margin: clamp(2.4rem, 6vw, 4rem) 0 2rem; }
.socials a { display: grid; width: 4rem; height: 4rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--white); transition: background-color 160ms ease, color 160ms ease, transform 160ms ease; }
.socials a:hover, .socials a:focus-visible { background: var(--accent); color: var(--black); outline: none; transform: translateY(-3px); }
.socials svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.socials svg rect, .socials svg circle:not(.fill) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.message { margin: 0; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; letter-spacing: .07em; line-height: 1.45; text-transform: uppercase; }
.newsletter { display: flex; width: min(100%, 29rem); margin-top: 1.8rem; border-bottom: 1px solid var(--line); }
.newsletter:focus-within { border-color: var(--white); }
.newsletter input { width: 100%; min-width: 0; padding: .9rem 0; border: 0; outline: 0; background: transparent; color: var(--white); font-family: "Skrapbook", cursive; font-size: 1.1rem; }
.newsletter input::placeholder { color: var(--grey); font-family: "Skrapbook", cursive; }
.newsletter button { display: inline-flex; align-items: center; gap: .45rem; flex: none; margin: .35rem 0 .35rem 1rem; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: transparent; color: var(--white); cursor: pointer; font-family: "Bungee", Arial, sans-serif; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease; }
.fish-icon { width: 1.4rem; height: auto; fill: currentColor; }
.newsletter button:hover, .newsletter button:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--black); outline: none; transform: translateY(-2px); }
.newsletter button:disabled { cursor: wait; opacity: .6; transform: none; }
.form-message { min-height: 1.2rem; margin: .75rem 0 0; color: var(--grey); font-family: "Skrapbook", cursive; font-size: 1rem; }
.fish-fact { margin-top: 1.5rem; }
.fact-intro { margin: 0 0 .65rem; color: var(--grey); font-size: .72rem; letter-spacing: .04em; }
.fact-button { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: .5rem; background: transparent; color: var(--white); cursor: pointer; font-family: "Bungee", Arial, sans-serif; font-size: .7rem; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease; }
.fact-button:hover, .fact-button:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--black); outline: none; transform: translateY(-2px); }
.fact-result { width: min(100%, 38rem); min-height: 2.8em; margin: .8rem auto 0; color: var(--white); font-family: "Skrapbook", cursive; font-size: 1rem; line-height: 1.5; }
.copyright { margin: 0; color: #6e6e6e; font-size: .67rem; letter-spacing: .05em; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@keyframes reveal-on-load {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-logo, .game-logo, .socials, .message, .newsletter, .form-message, .fish-fact, .copyright {
  opacity: 0;
  animation: reveal-on-load .65s ease-out forwards;
}

.brand-logo { animation-delay: .1s; }
.game-logo { animation-delay: .25s; }
.socials { animation-delay: .4s; }
.message { animation-delay: .55s; }
.newsletter { animation-delay: .7s; }
.form-message { animation-delay: .75s; }
.fish-fact { animation-delay: .85s; }
.copyright { animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .brand-logo, .game-logo, .socials, .message, .newsletter, .form-message, .fish-fact, .copyright {
    opacity: 1;
    animation: none;
  }
}

@media (max-height: 650px) and (min-width: 700px) { .coming-soon { padding-top: 1.25rem; } .content { padding: 1.5rem 0; } .socials { margin: 1.8rem 0 1.3rem; } }
@media (max-width: 600px) { .brand-logo { width: 100%; } .brand-logo img { width: 100%; } .socials a { width: 3.5rem; height: 3.5rem; } .socials svg { width: 1.5rem; height: 1.5rem; } }
@media (max-width: 420px) { .newsletter { align-items: stretch; } .newsletter button { padding-left: .6rem; font-size: .68rem; } }
