@charset "UTF-8";
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #06b6d4;
    --bg-color: #f8fafc;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@import url('[https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800;900&display=swap](https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800;900&display=swap)');

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}




/* index_hero/search */
.hero {
    padding: 4rem 0 5rem;
    text-align: center;
    background: linear-gradient(to bottom right, #eff6ff, #ffffff, #ecfeff);
    border-bottom: 1px solid #dbeafe;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background-color: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-title span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(219, 234, 254, 0.5);
    border: 1px solid var(--border-color);
    max-width: 768px;
    margin: 0 auto;
}

.search-icon { padding-left: 1rem; color: var(--text-light); display: none; }
.search-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    outline: none;
    width: 100%;
}
.search-btn {
    background-color: #111827;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.popular-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.popular-tags span { font-size: 0.875rem; color: var(--text-muted); font-weight: 600; display: none; }
.tag-link {
    padding: 0.25rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* 데스크탑(PC) 미디어 쿼리 - 히어로 */
@media (min-width: 768px) {
    .hero { padding: 5rem 0 7rem; }
    .hero-badge { font-size: 0.875rem; margin-bottom: 1.5rem; }
    .hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
    .hero-desc { font-size: 1.125rem; margin-bottom: 2.5rem; }
    .search-bar { padding: 0.5rem; }
    .search-icon { display: block; }
    .search-input { font-size: 1.125rem; }
    .search-btn { padding: 0.75rem 2.5rem; }
    .popular-tags span { display: inline-block; }
    .tag-link { font-size: 0.875rem; }
    .tag-link:hover { border-color: #93c5fd; color: var(--primary); }
}

/* footer */
.footer { background-color: #111827; color: var(--text-light); padding: 3rem 0; margin-top: auto; }
.footer-content { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; opacity: 0.5; filter: grayscale(100%); justify-content: center; }
.footer-brand span { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; font-size: 0.875rem; }
.footer-bottom { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #1f2937; text-align: center; font-size: 0.875rem; color: #4b5563; }

@media (min-width: 768px) {
    .footer-content { flex-direction: row; justify-content: space-between; text-align: left; }
    .footer-brand { justify-content: flex-start; }
    .footer-links { gap: 1.5rem; }
}