/* ===== common ===== */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

header {
    background: #222;
    color: #fff;
    padding: 16px 24px;
}

header a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

header span {
    color: #777;
    margin: 0 6px;
}

main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 16px;
}

h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.desc {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
}


footer {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 40px 0 20px;
}

footer a {
    color: #666;
    text-decoration: none;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.game-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #fff;
    transition: transform .15s ease, background .15s ease;
}

.game-card:hover {
    background: #262626;
    transform: translateY(-3px);
}

.game-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.game-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
}

.ad-box {
    margin-top: 48px;
    padding: 16px;
    background: #1c1c1c;
    border-radius: 12px;
}

.ad-notice {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 8px;
}

.adfit-slot {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

.ad-mobile-320 {
    display: none;
    /* text-align: center;
    margin: 16px 0; */
}

.ad-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.coupang-ad-mobile {
    display: none;
    margin: 20px 0;
}

@media (max-width: 768px) {

    .ad-mobile-320,
    .coupang-ad-mobile {
        display: flex;
        justify-content: center;
        grid-column: 1 / -1;
        margin: 8px 0;
    }
}

@media (min-width: 769px) {
    #coupang-template {
        display: none !important;
    }
}

.coupang-ad-mobile {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.coupang-notice {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    line-height: 1.4;
}