:root {
    --bg: #0d0f12;
    --card-bg: #15181c;
    --border: #262b31;
    --text: #e8eaed;
    --text-muted: #9aa0a6;
    --primary: #1aa260;
    --primary-hover: #15884f;
    --secondary-bg: #22262c;
    --secondary-hover: #2a2f36;
    --notice-border: #3a2f12;
    --notice-bg: #1d1808;
    --notice-text: #e8c468;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.page-layout {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 16px;
}

.center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 960px;
}

.banner-col {
    flex: 0 0 auto;
}

.banner-col .banner-slot {
    position: sticky;
    top: 48px;
}

.banner-col .banner-img {
    width: 100%;
    height: auto;
}

.card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
}

.card h1 {
    text-align: center;
    font-size: 1.7rem;
    margin: 0 0 20px;
    color: var(--primary);
}

.card .description {
    text-align: center;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, transform 0.1s ease;
}

.link-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.link-btn:active { transform: scale(0.99); }

.link-btn.primary {
    background: var(--primary);
    color: #ffffff;
}
.link-btn.primary:hover { background: var(--primary-hover); }

.link-btn.secondary {
    background: var(--secondary-bg);
    color: var(--text);
}
.link-btn.secondary:hover { background: var(--secondary-hover); }

.link-btn.image {
    padding: 0;
    background: transparent;
    display: block;
}
.link-icon-full {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.notice {
    margin-top: 32px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--notice-bg);
    border: 1px solid var(--notice-border);
}

.notice-title {
    color: var(--notice-text);
    font-weight: 700;
    margin: 0 0 8px;
    text-align: center;
}

.notice-text {
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 24px 0;
}

/* Banners */
.banner-slot {
    display: block;
    line-height: 0;
}
.banner-img {
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.banner-col {
    width: 160px;
}
.banner-top .banner-img,
.banner-bottom .banner-img {
    width: 100%;
    max-width: 960px;
}

@media (max-width: 1100px) {
    .page-layout {
        flex-direction: column;
        align-items: center;
    }
    .banner-col {
        width: 100%;
        max-width: 560px;
        order: 2;
    }
    .banner-col .banner-slot {
        position: static;
    }
    .banner-col-left { order: 2; }
    .center-col { order: 1; }
    .banner-col-right { order: 3; }
}
@media (max-width: 480px) {
    .page-layout { padding: 24px 12px; }
}
