@import url('https://fonts.googleapis.com/css2?family=Changa+One&family=Gochi+Hand&display=swap');

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

html, body {
  margin: 0;
  height: 100%;
  background: radial-gradient(circle at center, #2a173f 0%, #180c27 100%);
  background-color: #2a173f;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #f0f0f0;
  line-height: 1.6;
  scroll-behavior: smooth;
  cursor: default;
}

a {
  color: #7b5cff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a78bfa;
}

.small {
  font-size: 0.70rem;
}

.cycy {
  font-weight: 600;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align:center;
  padding-top:20vh;
}

button,
.btn {
  background-color: #7b5cff;
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover,
.btn:hover {
  background-color: #6b46ff;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #888;
}

.logo-orb {
  position: relative;
  display: inline-block;
  isolation: isolate;
  transition: transform 0.5s ease 1s;
}

.logo-orb:hover {
  transform: scale(1.05);
}

.logo {
  display: block;
  width: 192px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(138, 57, 170, 0.6));
  will-change: transform;
}

@keyframes shake {
  0% { transform: translate3d(0,0,0) rotate(0); }
  20% { transform: translate3d(1px,-1px,0) rotate(-0.4deg); }
  40% { transform: translate3d(-1px,1px,0) rotate(0.4deg); }
  60% { transform: translate3d(1px,1px,0) rotate(-0.3deg); }
  80% { transform: translate3d(-1px,-1px,0) rotate(0.3deg); }
  100% { transform: translate3d(0,0,0) rotate(0); }
}
.logo.shake {
  animation: shake 420ms cubic-bezier(.2,.8,.2,1);
}
@media (prefers-reduced-motion: reduce){
  .logo.shake{ animation: none; }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.particles {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.21;
}

#ametwich:hover .particles {
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.27; }
  50% { opacity: 0.37; }
}

.logo-orb::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,57,170,0.4) 0%, rgba(0,0,0,0) 70%);
  filter: blur(20px);
  animation: pulse 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

.ametwich {
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  font-style: normal;
  /* text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3); */
  filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.4));
  color: #8A39AA;
  background-image: linear-gradient(45deg, #C873E4 0%, #A956C7 25%, #8A39AA 50%, #6B1D8D 75%, #4C0070 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.handw {
  font-family: "Gochi Hand", cursive;
  font-weight: 400;
  font-style: normal;
  color: #f7f7fc;
  background-image: linear-gradient(45deg, #f7f7fc , #e8e8f5 25%, #d3d3e8 50%, #c0c0d9 75%, #b5b5cc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  opacity: 0.7;
}
h1.ametwich {
  font-size: clamp(4rem, 6vw, 6rem);
  margin-top: -1rem;
  margin-bottom: -1rem;
  display: block;
}
.slogan {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-top: -7px;
  margin-bottom: 0.3em;
  transform: rotate(-2.1deg);
}

.socials svg {
  opacity: 0.7;
}
.socials svg path {
  fill: #792fd9;
}
.socials svg:hover {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}
.socials a.discord svg:hover path {
  fill: #5865F2;
}
.socials a.instagram svg:hover path {
  fill: #E1306C;
}
.socials a.youtube svg:hover path {
  fill: #FF0000;
}
.socials a.tiktok svg:hover path {
  fill: #000000;
}
.socials a.bluesky svg:hover path {
  fill: #006afe;
}
.socials a.mastodon svg:hover path {
  fill: #8c8dff;
}
.socials a.x svg:hover path {
  fill: #ffffff;
}
.socials a.patreon svg:hover path {
  fill: #F96854;
}
.socials a.twitch svg:hover path {
  fill: #9146FF;
}
.socials a.patreon,
.socials a.bluesky,
.socials a.mastodon {
  display: none;
}

footer{
  position:fixed;
  left:50%;
  bottom:calc(12px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  color:#ddd;
  font:500 14px/1.2 system-ui,Segoe UI,Roboto,Arial,sans-serif;
  background:rgba(0,0,0,.25);
  padding:8px 12px;
  border-radius:999px;
  backdrop-filter:blur(8px);
  opacity: 0.5;
  z-index:1000;
}
footer a {
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.25);
}
#sound-toggle{
  position:fixed;
  right:calc(12px + env(safe-area-inset-right));
  bottom:calc(12px + env(safe-area-inset-bottom));
  z-index:10000;
  border:none;
  border-radius:9999px;
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  -webkit-tap-highlight-color:transparent;
  outline:none;
  opacity: 0.75;
}
#sound-toggle svg{
  width:24px;
  height:24px;
  fill:#fff;
}
#sound-toggle[data-state="on"] #icon-off{ display:none; }
#sound-toggle[data-state="off"] #icon-on { display:none; }
#sound-toggle:focus-visible{ box-shadow:0 0 0 3px rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.35); }
@media (max-width:640px){
  footer {
    font-size:13px;
  }
  #sound-toggle {
    width:50px;
    height:50px;
  }
}

#banner {
  position: relative;
  text-align: center;
  margin: 8% auto 0;
  max-width: 800px;
  overflow: hidden;
}
#banner img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  border-radius: 0;
}
#banner a:hover img {
  opacity: 1;
}

#psyco-box {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  background: #8a2be2;
  color: white;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-out;
  max-width: 90%;
  text-align: center;
}
#psyco-box.hide {
  opacity: 0;
}

#countdown {
  display: none;
  margin: 4% auto 0;
  padding: 0.9rem 1.6rem;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(138, 57, 170, 0.55), rgba(12, 5, 24, 0.9));
  /* border: 1px solid rgba(167, 139, 250, 0.6); */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #f7f7fc;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: fit-content;
}
#countdown .label {
  font-size: 1rem;
  opacity: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#countdown .value {
  font-family: "Changa One", sans-serif;
  font-size: 3.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 0.2rem;
}

