/* 홈 — 배경 사진 위 한 화면 (Crowd 톤) */

.home-body { margin: 0; }

/* ── 배경 사진 히어로 ── */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    background-color: #0c0c0c;
    background-image:
        linear-gradient(180deg, rgba(8, 8, 10, 0.5) 0%, rgba(8, 8, 10, 0.45) 38%, rgba(8, 8, 10, 0.82) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── 상단 미니 네비 ── */
.home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem);
}
.home-wordmark {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.home-nav-links { display: flex; gap: 1.5rem; }
.home-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.home-nav-links a:hover { color: hsl(var(--brand)); }

/* ── 히어로 본문 (헤드라인 + 카드) ── */
.home-hero-body {
    flex: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(2.5rem, 6vh, 5rem);
}

.home-hero-title {
    margin: 0.5rem 0 0;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.home-hero-sub {
    margin: 1.4rem 0 0;
    max-width: 34rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* ── 배경 위 기능 카드 (프로스티드 글래스) ── */
.home-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.home-card {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.home-card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--brand));
    background: rgba(255, 255, 255, 0.12);
}
.home-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    margin-bottom: 1rem;
    transition: background 0.2s, color 0.2s;
}
.home-card-icon svg { width: 22px; height: 22px; }
.home-card:hover .home-card-icon {
    background: hsl(var(--brand));
    color: hsl(var(--brand-foreground));
}
.home-card-title {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}
.home-card-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* ── 반응형 ── */
@media (max-width: 820px) {
    .home-cards { grid-template-columns: 1fr; gap: 0.9rem; }
    .home-nav-links { gap: 1rem; }
}
@media (max-width: 520px) {
    .home-hero-body { padding-bottom: 2.5rem; }
    .home-hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
}
