/* yesang.xyz — Frutiger Aero glass panels meet marble-classical accents */

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

:root {
  --mint: #d0e8e4;
  --lavender: #e0d8f0;
  --card: #ffffff;
  --coral: #ff6b6b;
  --purple: #a060e0;
  --text: #2a2830;
  --marble: #c0b8a8;
}

html, body {
  background: linear-gradient(135deg, var(--mint), var(--lavender));
  color: var(--text);
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  overflow: hidden;
}
.aero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  pointer-events: none;
}
.blob-a { background: rgba(160, 96, 224, 0.45); width: 50vmin; height: 50vmin; top: -10%; left: -8%; }
.blob-b { background: rgba(64, 200, 184, 0.45); width: 56vmin; height: 56vmin; bottom: -12%; right: -10%; }

.hero-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow:
    0 12px 36px rgba(42, 40, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(40px, 6vw, 72px) clamp(36px, 6vw, 80px);
  max-width: min(720px, 90vw);
  text-align: center;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 80%);
  pointer-events: none;
  border-radius: 0 0 24px 24px;
  opacity: 0.6;
}

.hero-panel-tag {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--purple);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Gothic A1', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.95;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-en {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.3em;
  color: var(--coral);
  margin-top: 8px;
}

.hero-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(14px, 1.4vw, 17px);
  margin-top: 24px;
  color: var(--text);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* PREDICTION GRID */
.grid {
  max-width: 1080px;
  margin: 80px auto 60px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: filter 0.3s ease;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  padding: 28px 24px 0;
  box-shadow:
    0 6px 22px rgba(42, 40, 48, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  transition: background-position 0.5s ease;
  background-size: 200% 200%;
  background-position: 0% 0%;
}

/* Vintage tinted background overlay */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10;
  filter: grayscale(60%) sepia(20%);
}
.tint-coral::after  { background: radial-gradient(circle at 70% 20%, var(--coral) 0%, transparent 60%); }
.tint-purple::after { background: radial-gradient(circle at 30% 70%, var(--purple) 0%, transparent 60%); }
.tint-mint::after   { background: radial-gradient(circle at 50% 50%, #40c8b8 0%, transparent 60%); }

.card-tag {
  position: relative;
  z-index: 2;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.card-h {
  position: relative;
  z-index: 2;
  font-family: 'Gothic A1', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card p {
  position: relative;
  z-index: 2;
  font-size: 14.5px;
  flex: 1;
  margin-bottom: 16px;
}

.card-num {
  position: relative;
  z-index: 2;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-top: 1px solid rgba(42, 40, 48, 0.08);
}
.card-num span {
  color: var(--coral);
  font-weight: 700;
  margin-left: 8px;
}

.marble-bar {
  height: 6px;
  margin: 0 -24px 0;
  background:
    linear-gradient(90deg, transparent, rgba(192, 184, 168, 0.6), transparent),
    repeating-linear-gradient(90deg,
      #ece4d4 0px, #ece4d4 6px,
      #d8cfc0 6px, #d8cfc0 8px,
      #e8e0d0 8px, #e8e0d0 14px);
}

/* Hover zoom-focus depth-of-field */
.grid:hover .card { filter: blur(2px); opacity: 0.7; }
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 40px rgba(42, 40, 48, 0.18);
  filter: blur(0);
  opacity: 1;
  z-index: 5;
}
.card:hover::before { background-position: 100% 100%; }

@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid { grid-template-columns: 1fr; } }

/* Marble classical divider */
.marble-band {
  width: 100%;
  margin: 60px 0;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background:
    linear-gradient(90deg, transparent, rgba(192, 184, 168, 0.18), transparent),
    repeating-linear-gradient(90deg,
      #f4eee0 0px, #f4eee0 12px,
      #e8e0d0 12px, #e8e0d0 14px,
      #f0e8d8 14px, #f0e8d8 28px);
  border-top: 1px solid var(--marble);
  border-bottom: 1px solid var(--marble);
}
.marble-label {
  font-family: 'Gothic A1', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text);
}

/* Detail */
.detail {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.detail-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 36px 32px;
  box-shadow: 0 6px 22px rgba(42, 40, 48, 0.08);
}
.detail-h {
  font-family: 'Gothic A1', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.detail p { margin-bottom: 1em; }

/* Footer */
.foot {
  text-align: center;
  padding: 40px 24px 80px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
}
