:root {
  --bg: #12020c;
  --surface: #1e0a16;
  --border: #3a0d29;
  --text: #fff5fa;
  --text-muted: #e8a4c8;
  --accent: #ffd600;
  --accent-hover: #ffe766;
  --pink: #ff2d95;
  --pink-glow: #ff7ac4;
  --yellow: #ffd600;
  --radius: 8px;
  --max-width: 960px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #ff2d95 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, #ffd600 0%, transparent 40%),
    #12020c;
  animation: introFadeOut 0.8s ease-in-out 4.5s forwards;
}

.intro.hidden {
  display: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}

.intro-logo {
  max-width: 320px;
  width: 80vw;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 45, 149, 0.6));
  animation: logoPop 1s ease-out both;
}

.intro-slogan {
  margin-top: 28px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.7);
}

.intro-slogan span {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: slideUp 0.7s ease-out forwards;
}

.intro-slogan span:nth-child(1) {
  animation-delay: 0.8s;
}

.intro-slogan span:nth-child(2) {
  animation-delay: 1.4s;
}

.intro-pulse {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.15) 0%, transparent 70%);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 640px;
}

/* Live banner */
.live-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(90deg, var(--pink) 0%, #ff5aa8 100%);
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(255, 45, 149, 0.35);
  transform: translateY(-100%);
  transition: transform 0.35s ease-out;
}

.live-banner[hidden] {
  display: none;
}

.live-banner.visible {
  transform: translateY(0);
}

.live-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-banner-message {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.live-banner-message:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: livePulse 1.5s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.live-banner-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.live-banner-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

body.live-banner-visible .site-header {
  top: 44px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  max-height: 36px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color 0.15s;
}

.dropdown-toggle:hover,
.dropdown.open .dropdown-toggle {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
}

.dropdown-caret {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.dropdown.open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 20;
  overflow: hidden;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255, 45, 149, 0.15);
  color: var(--accent);
}

.dropdown-loading,
.dropdown-empty,
.dropdown-error {
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  text-align: center;
  background: radial-gradient(circle at 70% 30%, rgba(255, 45, 149, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 214, 0, 0.12) 0%, transparent 40%),
    var(--bg);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-slider {
  position: relative;
  height: 1.2em;
  overflow: hidden;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 45, 149, 0.4);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s, transform 0.6s;
  white-space: nowrap;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider .slide.prev {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-subtitle {
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.4);
}

/* Section titles */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Work */
.work {
  padding: 80px 0;
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.work-item:hover {
  border-color: var(--pink);
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(255, 45, 149, 0.15);
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.work-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.work-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 214, 0, 0.12);
  color: var(--accent);
}

.work-arrow {
  font-size: 1.5rem;
  color: var(--pink);
  transition: transform 0.2s;
}

.work-item:hover .work-arrow {
  transform: translateX(4px);
}

.work-loading,
.work-empty,
.work-error {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 24px 0;
}

/* Elsewhere */
.elsewhere {
  padding: 80px 0;
  background: var(--surface);
}

.elsewhere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.elsewhere-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.elsewhere-col ul {
  list-style: none;
}

.elsewhere-col li {
  margin-bottom: 12px;
}

.elsewhere-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.98rem;
  transition: color 0.15s, transform 0.15s;
}

.elsewhere-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.elsewhere-col a::before {
  content: "→";
  color: var(--pink);
  font-weight: 700;
}

/* Stats */
.stats {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 45, 149, 0.12) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 214, 0, 0.35);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.15) 0%, rgba(255, 214, 0, 0.1) 100%),
    var(--bg);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cta-button:hover {
  background: var(--pink-glow);
  box-shadow: 0 0 28px rgba(255, 45, 149, 0.45);
  transform: translateY(-2px);
}

/* About */
.about {
  padding: 80px 0 40px;
}

.about p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 40px 0 80px;
}

.contact-groups {
  display: grid;
  gap: 32px;
}

.contact-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 12px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.contact-links a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

.contact-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col a {
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-about p {
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 64px;
  }
  .hero-slider {
    font-size: 2rem;
    height: 1.3em;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .work-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .cta h2 {
    font-size: 1.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: auto;
  }
  .header-inner {
    height: auto;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .intro-slogan {
    font-size: 1.25rem;
  }
  .dropdown-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-slider {
    font-size: 1.6rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .intro,
  .intro-logo,
  .intro-slogan span,
  .intro-pulse {
    animation: none;
  }
  .intro-slogan span {
    opacity: 1;
    transform: none;
  }
  .intro {
    opacity: 0;
    visibility: hidden;
  }
}

