/*
Theme Name: MeguVRC
Theme URI: https://djmegu.com/
Author: MeguVRC
Description: Pastel-goth cybercute VTuber theme for MeguVRC / áƒ¦Meguáƒ¦.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: meguvrc
*/
:root {
  --ink: #111116;
  --muted: #69636b;
  --panel: #0d0d11;
  --paper: #fffafd;
  --line: #1b171c;
  --pink: #ff5ebc;
  --pink-soft: #ffd6ec;
  --pink-baby: #ffb7dc;
  --glow: 0 0 24px rgba(255, 94, 188, 0.45);
  --shadow: 0 22px 70px rgba(33, 15, 26, 0.14);
  --font-head: "Bebas Neue", Impact, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 78% 9%, rgba(255, 94, 188, 0.2), transparent 19rem),
    radial-gradient(circle at 12% 0%, rgba(255, 214, 236, 0.8), transparent 17rem),
    linear-gradient(90deg, rgba(17, 17, 22, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 22, 0.035) 1px, transparent 1px),
    #fff;
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
  overflow-x: hidden;
}

body::before,
body::after,
.site-noise {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image: radial-gradient(rgba(255, 94, 188, 0.28) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000);
  opacity: 0.42;
}

body::after {
  background: linear-gradient(135deg, transparent 0 46%, rgba(255, 94, 188, 0.12) 46% 47%, transparent 47% 100%);
  opacity: 0.75;
}

.site-noise {
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section-shell {
  width: min(calc(100% - 44px), 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 44px), 1180px);
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(17, 17, 22, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(17, 17, 22, 0.08);
}

.brand {
  display: grid;
  gap: 1px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand span { font-size: 1.05rem; }
.brand small { color: var(--pink); font-size: 0.72rem; letter-spacing: 0.16em; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; }
.live-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.live-button {
  color: #fff;
  background: var(--panel);
  box-shadow: var(--glow);
}
.live-button::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
}
.button:hover,
.live-button:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.button-pink { border-color: var(--pink); color: #fff; background: linear-gradient(135deg, var(--pink), #ff83cc); }
.button-dark { color: #fff; background: var(--panel); }
.button-outline { background: #fff; color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.1fr);
  min-height: 760px;
  align-items: center;
  gap: 20px;
  padding: 34px 0 58px;
}

.hero-copy { position: relative; z-index: 3; padding-top: 42px; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow span,
.section-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--pink);
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-family: var(--font-head);
  font-size: clamp(4.6rem, 10vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: lowercase;
}
.hero h1 strong { color: var(--pink); font-weight: inherit; text-shadow: 0 0 22px rgba(255, 94, 188, 0.24); }
.hero-subtitle {
  max-width: 430px;
  margin: 28px 0 0;
  color: #2c2930;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.hero-code {
  display: flex;
  gap: 5px;
  margin-top: 42px;
  align-items: end;
}
.hero-code span {
  width: 6px;
  background: rgba(17, 17, 22, 0.28);
}
.hero-code span:nth-child(1) { height: 22px; }
.hero-code span:nth-child(2) { height: 34px; }
.hero-code span:nth-child(3) { height: 18px; }
.hero-code span:nth-child(4) { height: 28px; }
.hero-code span:nth-child(5) { height: 42px; }
.hero-code span:nth-child(6) { height: 24px; }

.hero-art {
  position: relative;
  min-height: 720px;
  align-self: stretch;
}
.hero-art img {
  position: absolute;
  right: -130px;
  bottom: -24px;
  width: min(760px, 68vw);
  height: 760px;
  object-fit: cover;
  object-position: center top;
  border-radius: 42% 0 0 28%;
  filter: drop-shadow(0 28px 35px rgba(255, 94, 188, 0.28));
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.pink-disc {
  position: absolute;
  right: 18px;
  top: 128px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 188, 0.68), rgba(255, 183, 220, 0.24) 56%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 94, 188, 0.28), 0 0 90px rgba(255, 94, 188, 0.2);
}
.spark {
  position: absolute;
  z-index: 2;
  color: var(--pink);
  font-size: 2.4rem;
  text-shadow: 0 0 14px rgba(255, 94, 188, 0.55);
}
.spark-one { right: 112px; top: 140px; }
.spark-two { right: 20px; top: 290px; color: var(--ink); }
.spark-three { left: 72px; bottom: 160px; }
.chain-top {
  position: absolute;
  right: -22px;
  top: 2px;
  width: 250px;
  height: 60px;
  border-top: 8px solid rgba(17, 17, 22, 0.08);
  border-radius: 50%;
  transform: rotate(19deg);
}
.ui-line {
  position: absolute;
  right: 12px;
  bottom: 180px;
  width: 1px;
  height: 98px;
  background: var(--ink);
  opacity: 0.7;
}
.side-socials {
  position: absolute;
  right: 8px;
  top: 260px;
  display: grid;
  gap: 12px;
  z-index: 5;
}
.side-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 17, 22, 0.2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}
.side-socials a:hover { transform: translateX(-4px); background: var(--pink-soft); }

.white-card,
.dark-panel {
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.white-card {
  border: 1px solid rgba(17, 17, 22, 0.18);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}
.dark-panel {
  color: #fff;
  border: 1px solid rgba(255, 94, 188, 0.34);
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 94, 188, 0.24), transparent 11rem),
    linear-gradient(135deg, #0d0d11, #151116 70%);
  box-shadow: 0 26px 80px rgba(17, 17, 22, 0.22), 0 0 32px rgba(255, 94, 188, 0.18);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: stretch;
  margin-top: -38px;
}
.about-card { padding: clamp(26px, 4vw, 48px); }
h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}
.about-card p:not(.section-kicker),
.creation-card p,
.gallery-card p,
.newsletter p {
  color: #3a343d;
  line-height: 1.75;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.tag-list span {
  padding: 8px 13px;
  border: 1px solid var(--pink);
  border-radius: 8px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.photo-collage {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255, 94, 188, 0.3);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  overflow: hidden;
}
.photo-card {
  position: absolute;
  margin: 0;
  width: 210px;
  padding: 10px 10px 38px;
  background: #fff;
  border: 1px solid rgba(17, 17, 22, 0.16);
  box-shadow: 0 18px 34px rgba(17, 17, 22, 0.16);
}
.photo-card img { width: 100%; height: 170px; object-fit: cover; object-position: center 24%; }
.photo-card span {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 74px;
  height: 24px;
  background: rgba(255, 94, 188, 0.62);
  transform: translateX(-50%) rotate(-3deg);
}
.photo-a { left: 14%; top: 58px; transform: rotate(-8deg); }
.photo-b { right: 12%; top: 88px; transform: rotate(7deg); }
.photo-c { left: 35%; bottom: 38px; transform: rotate(3deg); }

.schedule { margin-top: 34px; }
.schedule-panel { padding: clamp(28px, 4vw, 54px); }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 24px; }
.schedule-table { display: grid; margin-top: 18px; }
.schedule-table div {
  display: grid;
  grid-template-columns: 90px 120px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.schedule-table strong { color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.schedule-table span { color: var(--pink-soft); font-weight: 800; }
.schedule-table p { margin: 0; color: rgba(255,255,255,0.78); }
.schedule-panel small { display: block; margin-top: 24px; color: var(--pink-soft); }

.content,
.creations,
.socials,
.newsletter { margin-top: 86px; }
.section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.arrow-pair { display: flex; gap: 10px; }
.arrow-pair span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17,17,22,0.18);
  border-radius: 50%;
  color: var(--pink);
  background: #fff;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.video-card h3 { margin: 14px 0 6px; font-size: 0.98rem; }
.video-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.thumb {
  position: relative;
  min-height: 160px;
  border: 1px solid rgba(17,17,22,0.14);
  border-radius: 12px;
  overflow: hidden;
  background-image: linear-gradient(rgba(13,13,17,0.22), rgba(13,13,17,0.32)), url("assets/megu-the-white-demon.png");
  background-size: cover;
  box-shadow: 0 16px 38px rgba(17,17,22,0.12);
}
.thumb-two { background-position: center 20%; }
.thumb-three { background-image: linear-gradient(rgba(13,13,17,0.38), rgba(13,13,17,0.52)), url("assets/reference-megumineko.png"); }
.thumb-four { background-position: center 45%; }
.thumb span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgba(13,13,17,0.62);
}
.thumb em {
  position: absolute;
  right: 12px;
  bottom: 14px;
  color: #fff;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.creations { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
.creation-card,
.gallery-card { padding: clamp(24px, 4vw, 44px); }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.mini-gallery img { height: 220px; width: 100%; object-fit: cover; border: 1px solid rgba(17,17,22,0.16); border-radius: 14px; }
.mini-gallery img:nth-child(2) { object-position: center 12%; }

.social-panel { padding: clamp(28px, 4vw, 50px); }
.social-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.social-grid a {
  display: grid;
  gap: 7px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(255, 94, 188, 0.36);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.social-grid a:hover { transform: translateY(-5px); border-color: var(--pink); background: rgba(255,94,188,0.1); }
.social-grid span { color: var(--pink); font-size: 1.4rem; }
.social-grid strong { color: #ff8dcb; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.social-grid small { color: rgba(255,255,255,0.7); }

.newsletter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 58px 0;
  border-top: 1px solid rgba(17,17,22,0.12);
  border-bottom: 1px solid rgba(17,17,22,0.12);
}
.footer-brand {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  text-shadow: 0 0 18px rgba(255,94,188,0.28);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 44px), 1180px);
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto auto; }
  .menu-toggle { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 900; text-transform: uppercase; }
  .site-nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid rgba(17,17,22,0.16); border-radius: 18px; background: rgba(255,255,255,0.96); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 18px; }
  .hero-art { order: -1; min-height: 520px; }
  .hero-art img { right: 50%; bottom: -22px; width: min(590px, 120vw); height: 590px; transform: translateX(50%); border-radius: 28px; }
  .pink-disc { right: 50%; top: 76px; width: 420px; transform: translateX(50%); }
  .side-socials { display: none; }
  .about, .creations { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 620px) {
  .section-shell, .site-header, .site-footer { width: min(calc(100% - 26px), 1180px); }
  .site-header { width: min(calc(100% - 80px), 1180px); display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; }
  .brand { align-self: flex-start; }
  .brand span { font-size: 0.95rem; }
  .brand small { font-size: 0.62rem; letter-spacing: 0.12em; }
  .menu-toggle { align-self: center; width: 230px; max-width: 100%; min-height: 42px; padding: 0 12px; font-size: 0.78rem; }
  .live-button { align-self: center; width: 230px; max-width: 100%; min-height: 42px; padding: 0 11px; font-size: 0.72rem; white-space: nowrap; }
  .live-button::before { width: 7px; height: 7px; margin-right: 7px; }
  .hero h1 { max-width: 100%; font-size: clamp(3.45rem, 14vw, 4.7rem); }
  .hero-art { min-height: 455px; }
  .hero-art img { height: 500px; width: min(520px, 132vw); }
  .pink-disc { width: 330px; top: 82px; }
  .photo-collage { min-height: 520px; }
  .photo-card { width: 190px; }
  .photo-a { left: 4%; }
  .photo-b { right: 2%; top: 150px; }
  .photo-c { left: 18%; bottom: 42px; }
  .schedule-table div { grid-template-columns: 58px 72px 1fr; gap: 12px; font-size: 0.88rem; }
  .content-grid, .social-grid, .mini-gallery { grid-template-columns: 1fr; }
  .mini-gallery img { height: 260px; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; }
}
.coming-soon-splash {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 94, 188, 0.18), transparent 26rem),
    linear-gradient(90deg, rgba(17, 17, 22, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 22, 0.035) 1px, transparent 1px),
    #fff;
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.coming-soon-splash img {
  width: min(86vw, 780px);
  max-height: 92vh;
  object-fit: contain;
  filter: drop-shadow(0 28px 45px rgba(255, 94, 188, 0.25));
}

.coming-soon-splash p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(22px, 5vh, 56px);
  margin: 0;
  color: #111116;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 94, 188, 0.35);
}