@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&display=swap');

:root {
  --bg: #1a1028;
  --text: #f0e8ff;
  --text-secondary: #a89cc8;
  --card-bg: rgba(30, 20, 50, 0.8);
  --card-border: rgba(255, 100, 200, 0.25);
  --card-hover-border: rgba(255, 100, 200, 0.6);
  --accent-pink: #ff64c8;
  --accent-blue: #64d4ff;
  --accent-orange: #ffaa44;
  --accent-purple: #c880ff;
  --glow-pink: rgba(255, 100, 200, 0.15);
  --glow-blue: rgba(100, 212, 255, 0.15);
}

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

body {
  font-family: 'IBM Plex Mono', monospace;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, var(--glow-pink), transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--glow-blue), transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(200, 128, 255, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

#sakura-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 10;
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

header {
  margin-bottom: 3rem;
  text-align: center;
}

.header-kanji {
  margin-bottom: 0.75rem;
}

.aurebesh-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--accent-pink);
  filter: drop-shadow(0 0 15px rgba(255, 100, 200, 0.5));
  letter-spacing: 0.15em;
}

h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
}

.subtitle {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-blue));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 0 20px rgba(255, 100, 200, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--accent-blue);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 100, 200, 0.15);
  text-align: center;
}

.back-link {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent-pink);
}

/* Decorative elements */
.deco-top {
  position: fixed;
  top: 20px;
  right: 30px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 500;
  color: rgba(255, 100, 200, 0.5);
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 6px rgba(255, 100, 200, 0.4));
}

.deco-bottom {
  display: none;
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.25rem 1.5rem;
  }

  .header-kanji {
    font-size: 2.5rem;
  }

  .deco-top,
  .deco-bottom {
    display: none;
  }
}
