@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Syne:wght@700;800&family=Space+Grotesk:wght@500;700&family=Noto+Sans+JP:wght@700;900&display=swap');

:root {
  --bg-darkest: #06090e;
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 38, 60, 0.85);

  --nen-green: #00ff87;
  --nen-cyan: #60efff;
  --nen-glow: rgba(0, 255, 135, 0.4);

  --troupe-crimson: #ff0055;
  --discord-blurple: #5865f2;
  --discord-dark: #313338;
  --discord-darker: #2b2d31;
  --discord-darkest: #1e1f22;

  --accent-gold: #ffbe0b;

  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

body {
  background-color: var(--bg-darkest);
  color: #f1f5f9;
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Background canvas and atmospheric glow */
#nen-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.bg-radial-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 255, 135, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(96, 239, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 85, 0.04) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Japanese Kanji Decorative Watermarks */
.kanji-bg {
  position: absolute;
  font-family: var(--font-jp);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 1;
  text-shadow: 0 0 40px rgba(0, 255, 135, 0.03);
}

/* Global Content Wrapper */
.app-container {
  position: relative;
  z-index: 10;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(6, 9, 14, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 2rem;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ff87, #60efff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 1.4rem;
  font-weight: 900;
  color: #06090e;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--nen-green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
}

.nav-item:hover::after, .nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nen-green);
  box-shadow: 0 0 10px var(--nen-green);
  border-radius: 2px;
}

/* Anime Buttons */
.btn-anime {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff87 0%, #00cc6a 100%);
  color: #06090e;
  box-shadow: 0 4px 20px rgba(0, 255, 135, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 135, 0.6);
  background: linear-gradient(135deg, #24ff96 0%, #00e074 100%);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.55);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--nen-green);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.25);
}

/* Live Badge */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--nen-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--nen-green);
  box-shadow: 0 0 8px var(--nen-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 14px var(--nen-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Discord Mockup Window */
.discord-window {
  background: var(--discord-dark);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 255, 135, 0.15);
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #dbdee1;
}

.discord-titlebar {
  background: var(--discord-darkest);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.discord-channel-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.discord-channel-tag {
  color: #80848e;
  font-size: 1.1rem;
}

.discord-window-controls {
  display: flex;
  gap: 0.4rem;
}

.window-circle {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.discord-chat {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.discord-msg {
  display: flex;
  gap: 1rem;
}

.discord-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-body {
  flex-grow: 1;
}

.discord-sender {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.discord-username {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.discord-bot-badge {
  background: #5865f2;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.discord-timestamp {
  color: #949ba4;
  font-size: 0.75rem;
}

/* Real Discord Embed Styling */
.discord-embed {
  background: var(--discord-darker);
  border-left: 4px solid var(--nen-green);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
  max-width: 520px;
  position: relative;
}

.embed-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.embed-desc {
  color: #dbdee1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  white-space: pre-line;
}

.embed-field {
  margin-bottom: 0.85rem;
}

.field-title {
  color: #949ba4;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.field-value {
  color: #f2f3f5;
  font-size: 0.9rem;
}

.embed-thumb {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.embed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Discord Interactive Button Row */
.discord-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.discord-btn {
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.discord-btn.danger {
  background: #da373c;
}

.discord-btn.danger:hover {
  background: #a12828;
}

.discord-btn.secondary {
  background: #4e5058;
}

.discord-btn.secondary:hover {
  background: #6d6f78;
}

/* Anime Card Holographic Foil & Tilt */
.anime-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.anime-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 135, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.anime-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 135, 0.4);
  box-shadow: 0 15px 35px -10px rgba(0, 255, 135, 0.2);
}

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

/* Combo Popup Banner */
.combo-banner {
  background: linear-gradient(90deg, rgba(255, 190, 11, 0.2), rgba(0, 255, 135, 0.2));
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: bannerGlow 1.5s infinite alternate;
}

@keyframes bannerGlow {
  from { box-shadow: 0 0 10px rgba(255, 190, 11, 0.2); }
  to { box-shadow: 0 0 25px rgba(255, 190, 11, 0.5); }
}

/* Section Containers */
.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-head {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-badge {
  font-family: var(--font-mono);
  color: var(--nen-green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.section-title span {
  background: linear-gradient(135deg, #00ff87, #60efff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
