:root {
  --bg-start: #0e0d0a;
  --bg-end: #14120f;
  --header-start: #181610;
  --header-end: #14120f;
  --surface: #1a1813;
  --surface-soft: #201d17;
  --gold: #d4af37;
  --gold-soft: #f1d27a;
  --text: #f5f3ea;
}

body[data-mood="night"] {
  --bg-start: #080914;
  --bg-end: #12152b;
  --header-start: #141730;
  --header-end: #0e1022;
  --surface: #1a1f3a;
  --surface-soft: #20284a;
}

body[data-mood="rain"] {
  --bg-start: #0a1214;
  --bg-end: #0d1b20;
  --header-start: #11242b;
  --header-end: #102027;
  --surface: #152d35;
  --surface-soft: #1b3740;
}

body[data-mood="neon"] {
  --bg-start: #120716;
  --bg-end: #1f0f27;
  --header-start: #250f2d;
  --header-end: #160a1e;
  --surface: #2b1335;
  --surface-soft: #351742;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'New Tegomin', serif;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  transition: background 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}

.site-header {
  text-align: center;
  padding: 60px 20px 35px;
  background: linear-gradient(180deg, var(--header-start) 0%, var(--header-end) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'New Tegomin', serif;
}

h1 {
  margin: 0;
  font-size: 3em;
  letter-spacing: 1px;
  color: var(--gold-soft);
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.subtitle {
  color: var(--gold);
  margin-top: 10px;
  font-weight: 500;
}

.studio {
  font-size: 0.9em;
  opacity: 0.7;
  margin-top: 5px;
}

.language-switcher {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.language-switcher nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  background: rgba(18, 16, 12, 0.55);
}

.language-switcher a {
  color: var(--gold-soft);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.language-switcher a:hover,
.language-switcher a.active {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.15);
}

main {
  padding: 40px 20px;
  max-width: 980px;
  margin: auto;
}

section {
  margin-bottom: 34px;
}

.surface-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.character {
  max-width: 340px;
  display: block;
  margin: 20px auto;
  border-radius: 14px;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatCharacter 5.5s ease-in-out infinite;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
}

.character:hover {
  transform: scale(1.03);
  box-shadow: 0 0 70px rgba(212, 175, 55, 0.35);
}

.next-image-btn {
  display: block;
  margin: 0 auto 20px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(24, 22, 16, 0.9);
  color: var(--gold-soft);
  font-size: 1.3rem;
  cursor: pointer;
}

.description {
  text-align: center;
  max-width: 650px;
  margin: 14px auto 0;
  font-size: 1.07em;
}

.profile ul,
.clean-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.profile li,
.clean-list li {
  margin: 10px 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}

.main-nav,
nav {
  text-align: center;
  margin-top: 34px;
}

.main-nav a,
nav a {
  display: inline-block;
  margin: 6px 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
}

.main-nav a:hover,
nav a:hover {
  background: rgba(212, 175, 55, 0.1);
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #14120F;
  padding: 14px 28px;
  margin: 12px auto;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.download-section,
.system-info {
  margin-bottom: 20px;
}

.ticker {
  background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.ticker-track {
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}

.ticker-content {
  display: inline-flex;
  gap: 36px;
  padding: 10px 20px;
}

.ticker-content a {
  color: var(--gold-soft);
  text-decoration: none;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 18px auto;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.music-info {
  text-align: center;
  margin-top: 20px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #181610;
  color: var(--gold-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notfound {
  max-width: 680px;
  margin: 80px auto 20px;
  text-align: center;
  padding: 24px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background: #181610;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 50px;
  font-size: 0.9em;
  opacity: 0.8;
}

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

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2em; }
  .character { max-width: 90%; }
  .btn { width: 100%; text-align: center; }
}
