/* ===============================================
   Gyodon — Introduction & Content Pages
   v1.0.0 — 2026.03.12
   Skin-aligned with core.css kawaii palette
   =============================================== */

/* Section layout */
.intro-section {
	max-width: 1327px;
	margin: 0 auto;
	padding: 3.5rem 2rem;
	border-bottom: 1px solid var(--border-dark, #d4c5f9);
}

.intro-section:last-of-type {
	border-bottom: none;
}

/* Section header */
.section-header {
	margin-bottom: 1.8rem;
}

.intro-overview .intro-content {
	background-color: var(--card-bg, rgba(255,255,255,0.85));
	border-left: 3px solid var(--primary-color, #ffb7ce);
}

.section-tag {
	font-family: var(--font-mono, 'Fira Code', monospace);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--primary-color, #ffb7ce);
	margin-bottom: 0.5rem;
	text-shadow: rgba(255, 183, 206, 0.3) 0 0 4px;
}

.section-title {
	font-family: 'Ropa Sans', sans-serif;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 400;
	color: var(--text-gray, #6a7a8a);
	text-shadow: rgba(125, 140, 196, 0.2) 0 0 4px;
	line-height: 1.3;
	margin: 0;
}

.section-title em {
	color: var(--primary-color, #ffb7ce);
	font-style: italic;
	text-shadow: rgba(255, 183, 206, 0.3) 0 0 4px;
}

/* Content body */
.intro-content {
	background-color: var(--frame-bg, #f1f8ff);
	border-radius: var(--border-radius, 25px);
	padding: 1.8rem 2rem;
	box-shadow: inset 0 0 16px var(--shadow-inset, rgba(162,155,254,0.15));
}

.intro-content p {
	color: var(--text-secondary, #7d8cc4);
	line-height: 1.85;
	margin-bottom: 1rem;
	font-size: 16pt !important;
}

.intro-content p:last-child {
	margin-bottom: 0;
}

.intro-content strong {
	color: var(--text-primary, #4a4a5a);
	font-weight: 600;
}

.intro-content em {
	color: var(--text-gray, #6a7a8a);
	font-style: italic;
}

.intro-content code {
	font-family: var(--font-mono, 'Fira Code', monospace);
	background: rgba(162, 155, 254, 0.1);
	color: var(--link-color, #7c6bc4);
	padding: 0.15em 0.45em;
	border-radius: 5px;
	font-size: 0.84em;
	text-shadow: none;
}

.intro-content a {
	color: var(--link-color, #7c6bc4);
	text-decoration: none;
	text-shadow: rgba(162, 155, 254, 0.3) 0 0 2px;
	transition: color 0.2s;
}

.intro-content a:hover {
	color: var(--link-hover, #a29bfe);
}

/* Lists inside content */
.intro-content ul,
.intro-content ol {
	margin: 0.6rem 0 1rem 0;
	padding-left: 1.4em;
	list-style: square inside;
}

.intro-content li {
	font-size: 0.85rem;
	color: var(--text-secondary, #7d8cc4);
	line-height: 1.75;
	margin-bottom: 0.3rem;
}

/* Blockquotes */
.intro-content blockquote {
	border-left: 3px solid var(--primary-color, #ffb7ce);
	padding: 0.6rem 1.2rem;
	margin: 1rem 0;
	background: rgba(255, 183, 206, 0.08);
	border-radius: 0 var(--border-radius-tiny, 5px) var(--border-radius-tiny, 5px) 0;
}

.intro-content blockquote p {
	color: var(--text-muted, #8899aa);
	margin: 0;
}

/* Code blocks */
.intro-content pre {
	background: var(--frame-bg, #f1f8ff);
	border: 2px solid var(--border-dark, #d4c5f9);
	border-radius: var(--border-radius-small, 15px);
	padding: 1.2rem;
	overflow-x: auto;
	margin: 1rem 0;
}

.intro-content pre code {
	background: none;
	padding: 0;
	color: var(--text-secondary, #7d8cc4);
	font-size: 0.8em;
	line-height: 1.65;
	text-shadow: none;
}

/* Tables */
.intro-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-size: 0.82rem;
}

.intro-content th {
	background: var(--sidebar-bg, #e8f0fe);
	color: var(--primary-color, #ffb7ce);
	font-weight: 500;
	text-align: left;
	padding: 0.6rem 0.8rem;
	border-bottom: 2px solid var(--primary-color, #ffb7ce);
}

.intro-content td {
	padding: 0.5rem 0.8rem;
	border-bottom: 1px solid var(--border-dark, #d4c5f9);
	color: var(--text-secondary, #7d8cc4);
}

.intro-content tr:hover td {
	background: rgba(255, 183, 206, 0.06);
}

/* Horizontal rule */
.intro-content hr {
	border: none;
	border-top: 1px solid var(--border-dark, #d4c5f9);
	margin: 1.5rem 0;
}

/* Images */
.intro-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius-small, 15px);
	margin: 0.5rem 0;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-section {
	max-width: 960px;
	margin: 0 auto;
	padding: 3rem 2rem;
	text-align: center;
}

.cta-title {
	font-family: 'Ropa Sans', sans-serif;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 400;
	color: var(--text-gray, #6a7a8a);
	text-shadow: rgba(125, 140, 196, 0.2) 0 0 4px;
	margin-bottom: 0.6rem;
}

.cta-desc {
	font-size: 0.9rem;
	color: var(--text-muted, #8899aa);
	margin-bottom: 1.8rem;
	line-height: 1.7;
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 768px) {
	.intro-section {
		padding: 2.5rem 1.2rem;
	}

	.intro-content {
		padding: 1.2rem 1rem;
	}

	.intro-content p {
		font-size: 0.82rem;
	}

	.intro-content pre {
		padding: 0.8rem;
		font-size: 0.75em;
	}
}

@media (max-width: 480px) {
	.intro-section {
		padding: 2rem 0.8rem;
	}

	.intro-content {
		padding: 1rem 0.8rem;
	}

	.section-tag {
		font-size: 0.6rem;
		letter-spacing: 2px;
	}
}

/* ===============================================
   HERO
   =============================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
	linear-gradient(rgba(162, 155, 254, 0.06) 1px, transparent 1px),
	linear-gradient(90deg, rgba(162, 155, 254, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 183, 206, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 183, 206, 0.15);
  border: 2px solid rgba(255, 183, 206, 0.35);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  width: fit-content;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse-dot-pink 2s infinite;
}

@keyframes pulse-dot-pink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 206, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255, 183, 206, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px) !important;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-color);
  text-shadow: 0 0 30px rgba(255, 183, 206, 0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
  padding: 13px 30px;
  border-radius: var(--border-radius-small);
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 183, 206, 0.3);
}

a.btn-primary:visited {
  color: #fff;
  background-color: var(--primary-hover);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 183, 206, 0.4);
  text-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.8);
  text-shadow: none;
}
