/* =====================================================
   TOYLOON ゲーム企画書 - メインスタイルシート
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&display=swap');

/* ---- リセット・基本 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --col-blue:    #4FC3F7;
  --col-cyan:    #4DD0E1;
  --col-green:   #81C784;
  --col-mint:    #A8E6CF;
  --col-yellow:  #FFD54F;
  --col-orange:  #FFB74D;
  --col-pink:    #F48FB1;
  --col-purple:  #CE93D8;
  --col-brown:   #A1887F;
  --col-dark:    #2A2A3E;
  --col-mid:     #3A3A5C;
  --col-light:   #F9F5FF;
  --col-white:   #FFFFFF;
  --col-text:    #2A2A3E;
  --col-sub:     #666688;
  --radius-lg:   20px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.15);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --font-main:   'Nunito', 'Zen Maru Gothic', sans-serif;
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--col-light);
  color: var(--col-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =====================================================
   HEADER
   ===================================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(42, 42, 62, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px 6px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.logo-toy {
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFD54F;
  letter-spacing: -1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.logo-loon {
  font-size: 1.6rem;
  font-weight: 900;
  color: #4FC3F7;
  letter-spacing: -1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.logo-emoji { font-size: 1.1rem; }

.header-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 700;
}

#main-nav {
  padding: 0 24px 8px;
}

#main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#main-nav ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  transition: var(--transition);
  white-space: nowrap;
}

#main-nav ul li a:hover {
  background: rgba(255,255,255,0.15);
  color: #FFD54F;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
#hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
  animation: blobFloat 6s ease-in-out infinite;
}

.blob1 { width: 400px; height: 400px; background: #FFD54F; top: -100px; left: -100px; animation-delay: 0s; }
.blob2 { width: 300px; height: 300px; background: #4FC3F7; top: 50%; right: -80px; animation-delay: 1.5s; }
.blob3 { width: 250px; height: 250px; background: #F48FB1; bottom: -50px; left: 30%; animation-delay: 3s; }
.blob4 { width: 200px; height: 200px; background: #81C784; top: 20%; left: 50%; animation-delay: 0.8s; }
.blob5 { width: 180px; height: 180px; background: #CE93D8; bottom: 20%; right: 20%; animation-delay: 2s; }

@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-title-wrap { margin-bottom: 40px; }

.hero-title {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  animation: heroTitleIn 0.8s cubic-bezier(0.175,0.885,0.32,1.275) both;
}

@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(40px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ht-toy {
  color: #FFD54F;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4), 0 0 40px rgba(255,213,79,0.5);
}

.ht-loon {
  color: #4FC3F7;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4), 0 0 40px rgba(79,195,247,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFD54F;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.2s both;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.4s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: fadeInUp 0.8s 0.6s both;
}

.badge {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
}

.badge-genre  { background: rgba(255,213,79,0.25); color: #FFD54F; border: 2px solid rgba(255,213,79,0.5); }
.badge-target { background: rgba(79,195,247,0.25); color: #4FC3F7; border: 2px solid rgba(79,195,247,0.5); }
.badge-tone   { background: rgba(244,143,177,0.25); color: #F48FB1; border: 2px solid rgba(244,143,177,0.5); }

.hero-chars {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
  animation: fadeInUp 0.8s 0.8s both;
}

.hero-char {
  font-size: 4rem;
  animation: charBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
  cursor: default;
}

.char-a { animation-delay: 0s; }
.char-b { animation-delay: 0.3s; }
.char-c { animation-delay: 0.6s; }

@keyframes charBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-15px) rotate(5deg); }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50%       { opacity: 1; transform: translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
#main-content { padding-top: 0; }

/* =====================================================
   SECTION BLOCKS
   ===================================================== */
.section-block {
  padding: 80px 24px;
  background: var(--col-light);
}

.section-alt {
  background: linear-gradient(180deg, #f0e8ff 0%, #e8f4ff 100%);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--col-dark);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--col-dark);
  color: #FFD54F;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.sub-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--col-dark);
  margin: 40px 0 20px;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--col-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--col-dark);
  margin-bottom: 12px;
}

.card h4 { font-weight: 800; color: var(--col-dark); margin-bottom: 8px; font-size: 0.95rem; }

.card p { color: var(--col-sub); font-size: 0.92rem; line-height: 1.7; }

.card-grid {
  display: grid;
  gap: 20px;
}

.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card-full { grid-column: 1 / -1; }

.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 24px; }
.mb-2 { margin-bottom: 24px; }

/* Card color variants */
.card-primary  { border-top: 4px solid var(--col-blue); }
.card-secondary{ border-top: 4px solid var(--col-cyan); }
.card-tertiary { border-top: 4px solid var(--col-green); }
.card-yellow   { border-top: 4px solid var(--col-yellow); }
.card-pink     { border-top: 4px solid var(--col-pink); }
.card-blue     { border-top: 4px solid var(--col-blue); }
.card-green    { border-top: 4px solid var(--col-green); }
.card-purple   { border-top: 4px solid var(--col-purple); }
.card-brown    { border-top: 4px solid var(--col-brown); }
.card-orange   { border-top: 4px solid var(--col-orange); }
.card-mint     { border-top: 4px solid var(--col-mint); }

.card-gradient-world {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  color: var(--col-white);
  border-top: none;
}
.card-gradient-world h3,
.card-gradient-world h4 { color: #FFD54F; }
.card-gradient-world p { color: rgba(255,255,255,0.85); }
.card-gradient-world strong { color: #4FC3F7; }

.card-gradient-rule {
  background: linear-gradient(135deg, #1a3a1a 0%, #0f4c2a 100%);
  color: var(--col-white);
  border-top: none;
}
.card-gradient-rule h3 { color: #81C784; }
.card-gradient-rule h4 { color: #FFD54F; }
.card-gradient-rule p  { color: rgba(255,255,255,0.85); }

.card-gradient-money {
  background: linear-gradient(135deg, #2d2d00 0%, #4a3a00 100%);
  color: var(--col-white);
  border-top: none;
}
.card-gradient-money h3 { color: #FFD54F; }
.card-gradient-money p  { color: rgba(255,255,255,0.85); }

.card-gradient-final {
  background: linear-gradient(135deg, #0f0f23 0%, #1a0533 50%, #0d1f4a 100%);
  color: var(--col-white);
  border-top: none;
}

/* =====================================================
   BIG TEXT
   ===================================================== */
.big-text {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--col-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

/* =====================================================
   LISTS
   ===================================================== */
.plain-list li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--col-sub);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.check-list li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--col-sub);
  padding-left: 4px;
}

/* =====================================================
   TAG
   ===================================================== */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.tag {
  background: rgba(0,0,0,0.06);
  color: var(--col-sub);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* =====================================================
   TARGET LIST
   ===================================================== */
.target-list { display: flex; flex-direction: column; gap: 10px; }

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius-sm);
}

.target-label {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.primary-target .target-label { background: #FFD54F; color: #2A2A3E; }
.target-item .target-label.sub { background: #4FC3F7; color: #fff; }
.target-item .target-label.family { background: #81C784; color: #fff; }
.target-item p { font-size: 0.85rem; color: var(--col-sub); margin: 0; }

/* =====================================================
   DIFF GRID
   ===================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.diff-item {
  background: rgba(0,0,0,0.04);
  padding: 16px;
  border-radius: var(--radius-md);
}

.diff-item h4 { font-size: 0.9rem; font-weight: 800; color: var(--col-dark); margin-bottom: 8px; }
.diff-item p  { font-size: 0.85rem; color: var(--col-sub); margin: 0; }
.diff-item ul { padding-left: 16px; }
.diff-item ul li { font-size: 0.85rem; color: var(--col-sub); padding: 2px 0; list-style: disc; }

/* =====================================================
   WORLD
   ===================================================== */
.world-intro {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.world-text { flex: 1; }
.world-text p { margin-bottom: 14px; }

.world-emoji-float {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 2rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.world-emoji-float span {
  animation: floatEmoji 3s ease-in-out infinite;
}
.world-emoji-float span:nth-child(2) { animation-delay: 0.5s; }
.world-emoji-float span:nth-child(3) { animation-delay: 1s; }
.world-emoji-float span:nth-child(4) { animation-delay: 1.5s; }
.world-emoji-float span:nth-child(5) { animation-delay: 2s; }
.world-emoji-float span:nth-child(6) { animation-delay: 2.5s; }

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

/* color-specific background for species cards */
.card-brown  { border-top: 4px solid var(--col-brown); }

/* TONE GRID */
.tone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tone-item {
  padding: 16px;
  border-radius: var(--radius-md);
}

.tone-item.good { background: rgba(129,199,132,0.12); border: 2px solid #81C784; }
.tone-item.bad  { background: rgba(229,115,115,0.12); border: 2px solid #E57373; }

.tone-item h4 { font-size: 1rem; font-weight: 800; color: var(--col-dark); margin-bottom: 10px; }
.tone-item ul { padding-left: 16px; }
.tone-item ul li { list-style: disc; font-size: 0.88rem; color: var(--col-sub); padding: 3px 0; }

/* =====================================================
   RULE FLOW
   ===================================================== */
.rule-flow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.rule-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  flex: 1;
  min-width: 160px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #81C784;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 { color: #FFD54F; font-size: 0.9rem; font-weight: 800; margin-bottom: 4px; }
.step-text p  { color: rgba(255,255,255,0.8); font-size: 0.82rem; }

.rule-arrow {
  color: #81C784;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* BEGINNER GRID */
.beginner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.beginner-item {
  background: rgba(255,255,255,0.7);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.bi-emoji { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.beginner-item h4 { font-size: 0.95rem; font-weight: 800; color: var(--col-dark); margin-bottom: 6px; }
.beginner-item p  { font-size: 0.85rem; color: var(--col-sub); margin: 0; }

/* =====================================================
   WEAPON CATEGORY
   ===================================================== */
.weapon-category { margin-bottom: 50px; }

.weapon-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: white;
}

.weapon-cat-header h3 { font-size: 1.3rem; font-weight: 900; flex: 1; margin: 0; }
.weapon-cat-header p  { font-size: 0.9rem; opacity: 0.85; flex: 2; margin: 0; }
.cat-emoji            { font-size: 2rem; }

.cat-blue   { background: linear-gradient(90deg, #0288D1, #4FC3F7); }
.cat-cyan   { background: linear-gradient(90deg, #00838F, #4DD0E1); }
.cat-green  { background: linear-gradient(90deg, #2E7D32, #81C784); }
.cat-yellow { background: linear-gradient(90deg, #F57F17, #FFD54F); }
.cat-brown  { background: linear-gradient(90deg, #4E342E, #A1887F); }
.cat-purple { background: linear-gradient(90deg, #6A1B9A, #CE93D8); }

.weapon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  background: var(--col-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.weapon-card {
  border-right: 1px solid rgba(0,0,0,0.07);
  transition: background var(--transition);
}

.weapon-card:last-child { border-right: none; }
.weapon-card:hover { background: rgba(255,255,255,0.8); }

.weapon-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: white;
}

.wh-blue   { background: rgba(2,136,209,0.85); }
.wh-cyan   { background: rgba(0,131,143,0.85); }
.wh-green  { background: rgba(46,125,50,0.85); }
.wh-yellow { background: rgba(245,127,23,0.85); }
.wh-brown  { background: rgba(78,52,46,0.85); }
.wh-purple { background: rgba(106,27,154,0.85); }

.weapon-emoji { font-size: 1.6rem; }

.weapon-header h4 {
  font-size: 0.9rem;
  font-weight: 800;
  flex: 1;
  margin: 0;
  color: white;
}

.weapon-type {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  white-space: nowrap;
}

.weapon-body { padding: 16px 20px; }

.weapon-look {
  font-size: 0.83rem;
  color: var(--col-sub);
  background: rgba(0,0,0,0.03);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Stat bars */
.weapon-stats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }

.stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--col-sub);
  width: 48px;
  flex-shrink: 0;
}

.stat-bar {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #4FC3F7, #81C784);
  border-radius: 4px;
  transition: width 1s ease;
}

.wp-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.pros, .cons {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.pros { background: rgba(129,199,132,0.12); }
.cons { background: rgba(229,115,115,0.12); }

.pros h5 { color: #2E7D32; font-size: 0.78rem; font-weight: 800; margin-bottom: 4px; }
.cons h5 { color: #C62828; font-size: 0.78rem; font-weight: 800; margin-bottom: 4px; }
.pros p, .cons p { color: var(--col-sub); margin: 0; line-height: 1.5; }

.usage {
  background: rgba(255,213,79,0.1);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid #FFD54F;
}

.usage h5 { color: #F57F17; font-size: 0.78rem; font-weight: 800; margin-bottom: 4px; }
.usage p  { color: var(--col-sub); font-size: 0.82rem; margin: 0; line-height: 1.5; }

/* =====================================================
   CHARACTER SECTION
   ===================================================== */
.char-design-content h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--col-dark);
  margin: 12px 0 8px;
}

.char-list { display: flex; flex-direction: column; gap: 12px; }

.char-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(0,0,0,0.03);
  padding: 12px;
  border-radius: var(--radius-md);
}

.char-face { font-size: 2.2rem; flex-shrink: 0; }

.char-item strong { display: block; font-size: 0.88rem; font-weight: 800; color: var(--col-dark); margin-bottom: 4px; }
.char-item p { font-size: 0.82rem; color: var(--col-sub); margin: 0 0 6px; }

.char-type {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
  color: var(--col-sub);
}

/* =====================================================
   STAGE CARDS
   ===================================================== */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.stage-card {
  background: var(--col-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  color: white;
  position: relative;
}

.stage-header h3 { font-size: 1.05rem; font-weight: 800; flex: 1; margin: 0; }
.stage-emoji { font-size: 2rem; }

.stage-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
}

.sh-blue   { background: linear-gradient(135deg, #1565C0, #42A5F5); }
.sh-yellow { background: linear-gradient(135deg, #E65100, #FFB74D); }
.sh-green  { background: linear-gradient(135deg, #1B5E20, #66BB6A); }
.sh-pink   { background: linear-gradient(135deg, #880E4F, #F48FB1); }
.sh-purple { background: linear-gradient(135deg, #4A148C, #CE93D8); }
.sh-orange { background: linear-gradient(135deg, #BF360C, #FF8A65); }

.stage-body {
  padding: 18px 20px;
}

.stage-body > p {
  font-size: 0.88rem;
  color: var(--col-sub);
  margin-bottom: 14px;
}

.stage-body h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--col-dark);
  margin-bottom: 8px;
}

.stage-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-body ul li {
  font-size: 0.82rem;
  color: var(--col-sub);
  padding-left: 4px;
  line-height: 1.5;
}

/* =====================================================
   UI ART SECTION
   ===================================================== */
.color-palette-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.cp-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-sm);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.art-item {
  background: rgba(255,255,255,0.6);
  padding: 14px;
  border-radius: var(--radius-md);
}

.art-item h4 { font-size: 0.9rem; font-weight: 800; color: var(--col-dark); margin-bottom: 6px; }
.art-item p  { font-size: 0.83rem; color: var(--col-sub); margin: 0; }

/* =====================================================
   MODE CARDS
   ===================================================== */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mode-card {
  background: var(--col-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mode-main { border-top-color: #FFD54F; }

.mode-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }

.mode-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--col-dark);
  margin-bottom: 10px;
}

.mode-card small { font-size: 0.78rem; color: var(--col-sub); }

.mode-card p { font-size: 0.88rem; color: var(--col-sub); margin-bottom: 12px; line-height: 1.6; }

.mode-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.mode-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  color: var(--col-sub);
}

.mt-green  { background: rgba(129,199,132,0.2); color: #2E7D32; }
.mt-yellow { background: rgba(255,213,79,0.2);  color: #F57F17; }
.mt-blue   { background: rgba(79,195,247,0.2);   color: #0288D1; }
.mt-pink   { background: rgba(244,143,177,0.2);  color: #C2185B; }
.mt-gray   { background: rgba(0,0,0,0.06);       color: var(--col-sub); }

/* =====================================================
   PRICE OPTIONS
   ===================================================== */
.price-options { display: flex; flex-direction: column; gap: 14px; }

.price-opt {
  background: rgba(0,0,0,0.03);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
}

.price-opt.recommended { border-color: #FFD54F; background: rgba(255,213,79,0.06); }

.price-opt h4 { font-size: 0.9rem; font-weight: 800; color: var(--col-dark); margin-bottom: 6px; }
.price-opt p  { font-size: 0.83rem; color: var(--col-sub); margin-bottom: 8px; }

.opt-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
  color: var(--col-sub);
}

/* EVENT GRID */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.event-item {
  background: rgba(255,255,255,0.5);
  padding: 14px;
  border-radius: var(--radius-md);
}

.event-season {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.event-item h4 { font-size: 0.85rem; font-weight: 800; color: var(--col-dark); margin-bottom: 6px; }
.event-item p  { font-size: 0.82rem; color: var(--col-sub); margin: 0; }

/* =====================================================
   TERM LIST
   ===================================================== */
.term-list { display: flex; flex-direction: column; gap: 8px; }

.term-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.term-orig {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--col-dark);
  flex: 1;
  min-width: 80px;
}

.term-arrow {
  color: var(--col-sub);
  font-size: 1rem;
}

.term-meaning {
  font-size: 0.82rem;
  color: var(--col-sub);
  flex: 2;
}

/* =====================================================
   FINAL MESSAGE
   ===================================================== */
.final-message {
  text-align: center;
  padding: 20px;
}

.final-message h3 {
  font-size: 1.6rem;
  color: #FFD54F;
  margin-bottom: 20px;
  font-weight: 900;
}

.final-message p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 2;
  margin: 0;
}

.final-message strong { color: #4FC3F7; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--col-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

#site-footer p { font-size: 0.85rem; margin-bottom: 8px; }

.footer-emojis { font-size: 1.5rem; letter-spacing: 6px; }

/* =====================================================
   SCROLL TOP BUTTON
   ===================================================== */
#scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--col-dark);
  color: #FFD54F;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

#scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top-btn:hover {
  background: #FFD54F;
  color: var(--col-dark);
  transform: translateY(-3px);
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .header-tagline { display: none; }
  #main-nav { padding: 0 12px 8px; }
  #main-nav ul li a { font-size: 0.7rem; padding: 3px 8px; }

  .section-block { padding: 50px 16px; }
  .section-title  { font-size: 1.6rem; }

  .hero-title { font-size: 4rem; }

  .world-intro { flex-direction: column; }
  .world-emoji-float { flex-direction: row; }

  .tone-grid { grid-template-columns: 1fr; }

  .rule-flow { flex-direction: column; }
  .rule-arrow { transform: rotate(90deg); align-self: center; }

  .weapon-grid { grid-template-columns: 1fr; }
  .weapon-card { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }

  .wp-pros-cons { grid-template-columns: 1fr; }

  .stage-grid  { grid-template-columns: 1fr; }
  .mode-grid   { grid-template-columns: 1fr; }
  .diff-grid   { grid-template-columns: 1fr; }

  #scroll-top-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .hero-chars { gap: 20px; }
  .hero-char  { font-size: 3rem; }
  .hero-badges { gap: 6px; }
  .badge      { font-size: 0.76rem; padding: 6px 12px; }
}
