/* ═══════════════════════════════════════
   Kirkana Landing Page
   ═══════════════════════════════════════ */

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --gold-dark: #8b6914;
  --parchment: #f5edd6;
  --ink: #1a1410;
  --ink-light: #2d2518;
  --ink-mid: #4a3f2f;
  --cream: #faf6eb;
  --rust: #8b3a2a;
  --forest: #2a4a2a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--ink);
  color: var(--parchment);
  overflow-x: hidden;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(139,58,42,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0d0b08 0%, #1a1410 40%, #1a1410 60%, #0d0b08 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23c9a96e' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-ornament {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201,169,110,0.3), 0 4px 8px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--gold-light);
  margin-top: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}

.hero-desc {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.8;
  color: #a09880;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 1s 1s forwards;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 14px 48px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 1px solid var(--gold);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.hero-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 30px rgba(201,169,110,0.3);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 3rem;
  opacity: 0.4;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--parchment);
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #a09880;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ═══ FEATURE CARDS ═══ */
.features {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-light) 50%, var(--ink) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(201,169,110,0.03);
  border: 1px solid rgba(201,169,110,0.1);
  padding: 2.5rem 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  background: rgba(201,169,110,0.06);
  border-color: rgba(201,169,110,0.2);
  transform: translateY(-4px);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #a09880;
  line-height: 1.7;
}

/* ═══ SCREENSHOTS ═══ */
.screenshots {
  background: linear-gradient(180deg, var(--ink) 0%, #0d0b08 100%);
}

.screenshot-showcase {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.screenshot-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.screenshot-item:nth-child(even) {
  direction: rtl;
}

.screenshot-item:nth-child(even) > * {
  direction: ltr;
}

.screenshot-img-wrap {
  position: relative;
  border: 1px solid rgba(201,169,110,0.15);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.screenshot-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.1);
  pointer-events: none;
}

.screenshot-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.6s;
}

.screenshot-img-wrap:hover img {
  transform: scale(1.03);
}

.screenshot-info {
  padding: 1rem 0;
}

.screenshot-info .num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,169,110,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.screenshot-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.screenshot-info p {
  color: #a09880;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ═══ CTA ═══ */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 70%),
    var(--ink);
}

.cta-section .hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  opacity: 1;
  animation: none;
}

.cta-section .hero-cta {
  opacity: 1;
  animation: none;
}

/* ═══ STATS SECTION ═══ */
.stats-section {
  background: linear-gradient(180deg, var(--ink) 0%, #15110d 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-pill {
  text-align: center;
  padding: 1.8rem 1rem;
  background: rgba(201, 169, 110, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.12);
  transition: all 0.35s;
}

.stat-pill:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-3px);
}

.stat-pill-key {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.stat-pill-name {
  font-size: 0.88rem;
  color: var(--parchment);
  margin-bottom: 0.7rem;
}

.stat-pill-effect {
  font-size: 0.82rem;
  color: #8a8270;
  line-height: 1.6;
}

/* ═══ WORLD SECTION ═══ */
.world-section {
  background: linear-gradient(180deg, #15110d 0%, var(--ink) 100%);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.world-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  background: rgba(201, 169, 110, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.1);
  transition: all 0.35s;
  overflow: hidden;
}

.world-card:hover {
  background: rgba(201, 169, 110, 0.06);
  border-color: rgba(201, 169, 110, 0.22);
  transform: translateY(-4px);
}

.world-num {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(201, 169, 110, 0.18);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.world-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.world-card p {
  font-size: 0.9rem;
  color: #a09880;
  line-height: 1.75;
}

/* ═══ GROWTH SECTION ═══ */
.growth-section {
  background: linear-gradient(180deg, #0d0b08 0%, var(--ink) 100%);
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.growth-card {
  padding: 2.2rem 1.8rem;
  background: rgba(201, 169, 110, 0.03);
  border-left: 2px solid rgba(201, 169, 110, 0.25);
  transition: all 0.35s;
}

.growth-card:hover {
  background: rgba(201, 169, 110, 0.07);
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.growth-icon {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.growth-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.growth-card p {
  font-size: 0.9rem;
  color: #a09880;
  line-height: 1.75;
}

/* ═══ COMMUNITY SECTION ═══ */
.community-section {
  background: var(--ink);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.community-card {
  padding: 1.8rem 1.5rem;
  background: rgba(201, 169, 110, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.12);
  text-align: center;
  transition: all 0.3s;
}

.community-card:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: rgba(201, 169, 110, 0.22);
}

.community-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.community-card p {
  font-size: 0.88rem;
  color: #a09880;
  line-height: 1.7;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 2rem;
  text-align: center;
  color: #5a5040;
  font-size: 0.8rem;
  border-top: 1px solid rgba(201,169,110,0.08);
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn {
  to { opacity: 1; }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ═══ SKIP LANDING BANNER ═══ */
.skip-landing-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 20, 16, 0.95);
  border: 1px solid rgba(201, 169, 110, 0.25);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.skip-landing-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.skip-landing-banner span {
  font-size: 0.85rem;
  color: var(--parchment);
  white-space: nowrap;
}

.skip-landing-banner button {
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Noto Sans KR', sans-serif;
}

#skip-landing-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s;
}

#skip-landing-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.3);
}

.skip-close {
  background: none;
  border: none;
  color: #5a5040;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s;
}

.skip-close:hover {
  color: var(--parchment);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .screenshot-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .screenshot-item:nth-child(even) {
    direction: ltr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 4rem 1.5rem; }

  .skip-landing-banner {
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(100px);
    bottom: 1rem;
  }
  .skip-landing-banner.visible {
    transform: translateX(0) translateY(0);
  }
  .skip-landing-banner span {
    font-size: 0.78rem;
    white-space: normal;
  }
}