/* Global Reset + CSS Variables */
:root {
  --bg: #1a0a1a;
  --bg-secondary: #220e22;
  --panel: #2a1a2a;
  --panel2: #3a2a3a;
  --panel-hover: #4a3a4a;
  --accent: #ff6b9d;
  --accent-light: #ffb3cc;
  --accent-dark: #cc3366;
  --white: #ffffff;
  --text: #f0e6f0;
  --text-muted: #a080a0;
  --border: #3a2a3a;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Sakura petal container */
#sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  top: -20px;
  opacity: 0.6;
  animation: sakura-fall linear forwards;
}

@keyframes sakura-fall {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateX(100px) rotate(720deg);
    opacity: 0;
  }
}

/* Loading spinner */
.sakura-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--panel2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Section titles */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Main content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    padding: 1rem 0.75rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
}
