/* ===========================================================
   nulldegen — kitsune mask theme
   palette: crimson red / bone white / ink black
   =========================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --bone: #f5f3ee;
  --crimson: #c8102e;
  --crimson-bright: #ff1f3d;
  --crimson-deep: #7a0a1c;
  --muted: #9a9490;
}

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

html, body { height: 100%; }

body {
  font-family: "Rajdhani", system-ui, sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(200,16,46,0.18), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
  color: var(--bone);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 24px;
}

/* soft red glow that pulses behind the mask */
.glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -60%);
  background: radial-gradient(circle, rgba(200,16,46,0.35), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -60%) scale(1); }
  50%      { opacity: 0.9;  transform: translate(-50%, -60%) scale(1.08); }
}

/* drifting embers */
.embers {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20% 80%, rgba(255,31,61,0.7), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(255,31,61,0.5), transparent),
    radial-gradient(1px 1px at 40% 90%, rgba(245,243,238,0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(255,31,61,0.6), transparent),
    radial-gradient(1px 1px at 10% 65%, rgba(245,243,238,0.4), transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  animation: rise 16s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes rise {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 -600px, 0 -800px, 0 -500px, 0 -700px, 0 -900px; }
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.9s ease both;
}

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

.logo-wrap {
  position: relative;
  width: clamp(160px, 34vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(200,16,46,0.45));
  animation: float 5s ease-in-out infinite;
}

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

.handle {
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--bone);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.handle span {
  color: var(--crimson-bright);
  text-shadow: 0 0 24px rgba(255,31,61,0.6);
}

.tagline {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* the main call to action */
.tg-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  border: 1px solid rgba(255,31,61,0.55);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(200,16,46,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tg-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.tg-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 44px rgba(255,31,61,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  background: linear-gradient(135deg, var(--crimson-bright) 0%, var(--crimson) 100%);
}

.tg-btn:hover::before { left: 130%; }

.tg-btn:active { transform: translateY(-1px) scale(1.0); }

.tg-icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.socials {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.socials a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.socials a:hover {
  color: var(--crimson-bright);
  text-shadow: 0 0 14px rgba(255,31,61,0.5);
}

.socials .dot { color: rgba(255,255,255,0.25); }

.foot {
  position: fixed;
  bottom: 18px;
  left: 0; right: 0;
  z-index: 1;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .socials { flex-wrap: wrap; justify-content: center; }
  .tg-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .embers, .logo, .stage { animation: none; }
}
