.page-home {
  --home-hero-gold-soft: rgba(212, 175, 55, 0.14);
  --home-hero-gold-border: rgba(212, 175, 55, 0.35);
  --home-panel-bg: #FFF8E7;
  --home-panel-border: rgba(139, 0, 0, 0.12);
  --home-navy-bg: #1A2A3A;
  --home-guide-accent: rgba(212, 175, 55, 0.20);
  --home-update-bg: #F9F1E0;
  --home-timeline-rule: rgba(139, 0, 0, 0.14);
}

.page-home .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8B0000 0%, #5C0000 55%, #6E0D0D 100%);
  color: var(--light);
  padding: 88px 0 72px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(212, 175, 55, 0.12) 0, transparent 160px),
    radial-gradient(circle at 82% 30%, rgba(212, 175, 55, 0.09) 0, transparent 180px),
    radial-gradient(circle at 65% 78%, rgba(212, 175, 55, 0.07) 0, transparent 120px);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-postframe {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: 1;
}

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

.page-home .cloud-svg {
  position: absolute;
  width: 200px;
  height: auto;
}

.page-home .cloud-svg-a {
  top: 22%;
  left: -30px;
  transform: rotate(-8deg);
  opacity: 0.6;
}

.page-home .cloud-svg-b {
  bottom: 10%;
  right: -40px;
  transform: rotate(6deg) scale(1.3);
  opacity: 0.5;
}

.page-home .coin-svg {
  position: absolute;
  width: 72px;
  height: 72px;
  animation: page-home-coin-float 6s ease-in-out infinite;
}

.page-home .coin-svg-o {
  top: 16%;
  right: 30%;
}

.page-home .coin-svg-t {
  bottom: 14%;
  left: 22%;
  animation-delay: 2.2s;
}

@keyframes page-home-coin-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(14deg);
  }
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .hero-copy {
  max-width: 680px;
}

.page-home .hero-place {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}

.page-home .hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 22px;
  font-family: var(--font-headings);
  line-height: 1.08;
}

.page-home .hero-title-main {
  font-size: clamp(2.9rem, 7.5vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--light);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35), 0 0 44px rgba(212, 175, 55, 0.30);
}

.page-home .hero-title-sub {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: rgba(255, 248, 231, 0.8);
  letter-spacing: 0.12em;
  padding-left: 4px;
}

.page-home .hero-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 22px;
}

.page-home .lead-block {
  display: block;
}

.page-home .hero-desc {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(255, 248, 231, 0.85);
  max-width: 540px;
  margin: 0 0 26px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.page-home .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.page-home .hero-trust li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.10);
  border: 1px solid rgba(255, 248, 231, 0.22);
  color: var(--light);
}

.page-home .hero-visual {
  position: relative;
  align-self: center;
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(212, 175, 55, 0.50);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.page-home .hero-visual-badge {
  position: absolute;
  top: -18px;
  left: -12px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--deep-red);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
  border: 2px solid var(--light);
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}

.page-home .section-head .section-number {
  flex-shrink: 0;
  line-height: 1;
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
  color: rgba(212, 175, 55, 0.12);
  -webkit-text-stroke: 2px var(--gold);
  text-stroke: 2px var(--gold);
}

.page-home .section-head-text {
  padding-top: 6px;
}

.page-home .section-head-text h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text-ink);
}

.page-home .section-head-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-home .section-duo {
  background: #FFFDF6;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .duo-panels {
  gap: 24px;
}

.page-home .panel-card {
  background: var(--home-panel-bg);
  border: 1px solid var(--home-panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home .panel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.page-home .panel-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.page-home .panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .panel-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .panel-body h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text-ink);
}

.page-home .panel-body p {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.page-home .panel-body .btn {
  margin-top: auto;
}

.page-home .section-guide {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A2A3A 0%, #0E1621 100%);
  color: var(--light);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .section-guide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.page-home .section-guide .section-head-text h2 {
  color: var(--light);
}

.page-home .section-guide .section-head-text p {
  color: rgba(255, 248, 231, 0.62);
}

.page-home .guide-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .guide-layout::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 4%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .guide-visual {
  position: relative;
}

.page-home .guide-visual::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

.page-home .guide-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.40);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.page-home .guide-content {
  position: relative;
  z-index: 1;
}

.page-home .guide-content > p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 248, 231, 0.85);
}

.page-home .level-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  counter-reset: level;
}

.page-home .level-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 248, 231, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.93rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .level-item:hover {
  background: rgba(255, 248, 231, 0.10);
  transform: translateX(4px);
}

.page-home .level-tag {
  flex-shrink: 0;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .level-name {
  color: var(--light);
  font-weight: 500;
}

.page-home .btn-light-outline {
  border-color: rgba(255, 248, 231, 0.55);
  color: var(--light);
}

.page-home .section-update {
  background: var(--home-update-bg);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .update-wrap {
  max-width: 860px;
}

.page-home .timeline-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  position: relative;
}

.page-home .timeline-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 175, 55, 0.18) 100%);
}

.page-home .timeline-item {
  position: relative;
  padding-left: 42px;
  padding-bottom: 28px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-dot {
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 2px 8px rgba(212, 175, 55, 0.4);
}

.page-home .timeline-content {
  border-bottom: 1px dashed var(--home-timeline-rule);
  padding-bottom: 20px;
}

.page-home .timeline-item:last-child .timeline-content {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .timeline-content h3 {
  font-family: var(--font-headings);
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-ink);
}

.page-home .timeline-content p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 640px;
}

.page-home .update-more {
  display: flex;
}

.page-home .section-feedback {
  background: #FFFDF6;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .feedback-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background: var(--home-navy-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(26, 42, 58, 0.28);
  color: var(--light);
}

.page-home .feedback-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.page-home .feedback-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.30);
}

.page-home .feedback-text {
  flex: 1 1 300px;
  min-width: 240px;
}

.page-home .feedback-text h3 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 10px;
}

.page-home .feedback-text p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 248, 231, 0.88);
}

.page-home .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.page-home .feedback-actions .btn-outline-light {
  border-color: rgba(255, 248, 231, 0.6);
  color: var(--light);
}

@media (min-width: 768px) {
  .page-home .hero {
    padding: 96px 0 80px;
  }

  .page-home .hero-postframe {
    top: 24px;
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .page-home .hero-visual-badge {
    width: 72px;
    height: 72px;
    font-size: 1.7rem;
    top: -20px;
    left: -16px;
  }

  .page-home .guide-layout {
    gap: 48px;
  }
}

@media (min-width: 992px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .guide-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
}

@media (max-width: 767px) {
  .page-home .hero-title-main {
    letter-spacing: 0.01em;
  }

  .page-home .hero-visual-badge {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    top: -10px;
    left: 6px;
  }

  .page-home .section-head {
    gap: 12px;
    margin-bottom: 28px;
  }

  .page-home .section-head .section-number {
    font-size: 2.8rem;
    -webkit-text-stroke: 1.5px var(--gold);
  }

  .page-home .section-head-text p {
    font-size: 0.86rem;
  }

  .page-home .feedback-icon {
    width: 68px;
    height: 68px;
  }

  .page-home .feedback-icon svg {
    width: 44px;
    height: 44px;
  }
}
