:root {
  --purple-deep: #451668;
  --purple-mid: #7031a1;
  --purple-light: #bd75f5;
  --purple-lighter: #cd96f7;
  --yellow: #ffd433;
  --yellow-light: #ffe77d;
  --bg: #1a0a2e;
  --bg-secondary: rgba(112, 49, 161, 0.08);
  --bg-tertiary: rgba(112, 49, 161, 0.15);
  --bg-quaternary: rgba(189, 117, 245, 0.12);
  --text: #e8d5f5;
  --text-muted: #b68fd4;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(112, 49, 161, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(189, 117, 245, 0.1), transparent),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(69, 22, 104, 0.12), transparent);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

.orpheus-flag {
  position: absolute;
  top: -5px;
  left: 10px;
  z-index: 999;
  width: 128px;
  border: 0;
  transform-origin: top left;
  transition: transform 0.3s;
}
.orpheus-flag:hover { transform: rotate(6deg); }

.stickers-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  background: var(--yellow);
  color: var(--purple-deep);
  font-family: 'Anybody', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border: 3px solid var(--yellow-light);
  border-radius: 12px;
  cursor: pointer;
  animation: bounce 7s infinite;
  transition: transform 0.2s;
}
.stickers-btn:hover { transform: scale(1.05); }

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal-card {
  position: relative;
  max-height: 95vh;
  width: 100%;
  max-width: 700px;
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid rgba(189, 117, 245, 0.25);
  background: var(--bg);
  padding: 40px;
  box-shadow: 0 25px 80px rgba(26, 10, 46, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-backdrop.open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--purple-mid);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.modal-close:hover { background: var(--purple-light); }

.sticker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 600px) {
  .sticker-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 24px; }
}

.sticker-card {
  border: 1px solid rgba(189, 117, 245, 0.2);
  border-radius: 16px;
  background: rgba(112, 49, 161, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.sticker-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  gap: 12px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(189, 117, 245, 0.15);
  background: rgba(69, 22, 104, 0.3);
  margin-bottom: 12px;
}

.spin-normal {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: spin 20s linear infinite;
}
.spin-reverse {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: spin 20s linear infinite reverse;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 120px 40px 0;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
}

.presents-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.presents-row img { height: 28px; }
.presents-row p { font-size: 1.1rem; font-weight: 600; }
.presents-row .hc-red { color: #ec3750; font-weight: 700; }
.presents-row a { color: var(--text); transition: opacity 0.2s; text-decoration: none; }
.presents-row a:hover { opacity: 0.6; text-decoration: none; }

.canvas-container {
  position: relative;
  z-index: 0;
  overflow: clip;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: 150px;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.canvas-container:hover,
.canvas-container.expanded { height: 350px; max-width: 700px; }

.canvas-container canvas {
  width: 100%;
  height: 800px;
  transform: translateY(-330px) scale(1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.canvas-container:hover canvas,
.canvas-container.expanded canvas {
  transform: translateY(-230px) scale(1.3);
}

.interact-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.mobile-logo {
  display: none;
  margin: 12px auto 24px;
  max-width: 400px;
  width: 100%;
}
.desktop-only { display: block; }

@media (max-width: 640px) {
  .mobile-logo { display: block; }
  .desktop-only { display: none; }
  .hero { padding: 0 20px; }
  .hero-inner { margin-top: 100px; }
}

.cta-area {
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.cta-area .tagline {
  font-family: 'Anybody', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 16px 0;
  color: var(--text);
}
.cta-area .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 12px 0;
}

.btn-primary {
  display: inline-block;
  background: var(--purple-mid);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: 2px solid var(--purple-light);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(112, 49, 161, 0.35);
}
.btn-primary:hover {
  background: var(--purple-light);
  color: var(--purple-deep);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--purple-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: 2px solid var(--yellow-light);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 212, 51, 0.25);
}
.btn-yellow:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  text-decoration: none;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  margin-top: 48px;
}
@media (max-width: 640px) {
  .section { padding: 0 20px; }
}

.section h2 {
  font-family: 'Anybody', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--yellow);
}
@media (min-width: 640px) {
  .section h2 { font-size: 2.5rem; }
}

.section-content {
  width: 100%;
  max-width: 680px;
}

.section-content p {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-content strong { color: var(--yellow); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
  border: 1px solid rgba(189, 117, 245, 0.2);
  border-radius: 16px;
  background: rgba(112, 49, 161, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.step-card:hover {
  border-color: var(--purple-light);
  background: rgba(112, 49, 161, 0.14);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-mid);
  color: white;
  font-family: 'Anybody', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: 'Anybody', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--purple-lighter);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .rules-grid { grid-template-columns: 1fr; }
}

.rules-box {
  border: 1px solid rgba(189, 117, 245, 0.2);
  border-radius: 16px;
  background: rgba(112, 49, 161, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
}
.rules-box h3 {
  font-family: 'Anybody', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--purple-lighter);
}
.rules-box ul {
  list-style: none;
  padding: 0;
}
.rules-box li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.rules-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.faq-list {
  width: 100%;
  max-width: 680px;
}

.faq-item {
  border: none;
  border-left: 3px solid rgba(189, 117, 245, 0.2);
  border-radius: 0 12px 12px 0;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.open {
  border-left-color: var(--yellow);
  background: rgba(112, 49, 161, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  border-radius: 0 12px 12px 0;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(112, 49, 161, 0.08); }
.faq-item.open .faq-question { background: transparent; }

.faq-chevron {
  font-size: 1.2rem;
  color: var(--purple-light);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s;
  padding: 0 20px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 0 20px 16px;
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.faq-answer a { color: var(--yellow); }

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  margin: 80px 0 40px;
  text-align: center;
}
.final-cta h2 {
  font-family: 'Anybody', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
}

footer {
  text-align: center;
  padding: 24px 20px 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
footer a { color: var(--purple-light); }
