/* 폰트 가져오기 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

/* 전체 설정 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: #f5f7fa;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* 헤더 */
header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}
.logo {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}
h1 {
    color: #333;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}
p {
    color: #666;
    font-size: 15px;
    margin-top: 8px;
    font-weight: 500;
}

/* 리스트 & 카드 */
.test-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #FFD600;
}

.card-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

/* 색상 테마 */
.bg-yellow { background-color: #FFF9C4; }
.bg-pink { background-color: #FFEBEE; }
.bg-blue { background-color: #E3F2FD; }
.bg-green { background-color: #E8F5E9; }

.card-body { padding: 15px; }
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
}
.title {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #222;
}
.desc {
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* 광고 박스 */
.ad-banner {
    width: 100%;
    height: 80px;
    background: #eee;
    margin: 20px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    border: 2px dashed #ccc;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 380px) {
    .test-list { grid-template-columns: 1fr; }
}
