/* 기본 초기화 및 공통 스타일 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', sans-serif; line-height: 1.6; color: #333; background-color: #f4f7f9; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 헤더 & 네비게이션 */
header { background: #fff; border-bottom: 1px solid #e1e8ed; padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; }
.logo a { text-decoration: none; color: #2d3436; }
.logo span { color: #0984e3; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 20px; }
.nav-links a { text-decoration: none; color: #636e72; font-weight: 500; }

/* 광고 슬롯 디자인 (광고주 친화적 배치) */
.ad-slot {
    background: #ebebeb;
    margin: 20px auto;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #999;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.ad-slot::before { content: "ADVERTISEMENT"; }

/* 카드 그리드 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; padding: 20px 0; }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.card-image { height: 160px; background: #eef2f7; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.card-content { padding: 20px; }
.btn { display: block; background: #0984e3; color: #fff; text-align: center; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 15px; }

/* 푸터 */
footer { background: #2d3436; color: #fff; padding: 40px 0; margin-top: 60px; text-align: center; }
.footer-links { list-style: none; display: flex; justify-content: center; margin: 15px 0; }
.footer-links li { margin: 0 10px; }
.footer-links a { color: #b2bec3; text-decoration: none; font-size: 0.9rem; }