*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #020617;
    color: #e5e7eb;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.top-header {
    background: #020617;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

.logo .badge {
    font-size: 12px;
    background: #22c55e;
    color: #022c22;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

.nav-links a {
    margin-left: 16px;
    font-size: 14px;
    opacity: 0.85;
}

.nav-links a:hover {
    opacity: 1;
}

/* Main content */
.main-content {
    padding: 24px 16px 40px;
}

.hero-card {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 24px;
}

.hero-card h1 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.note-box {
    margin-top: 10px;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(30, 64, 175, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

/* Links section */
.links-section {
    text-align: center;
    margin: 24px 0;
}

.section-title {
    font-size: 18px;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 13px;
    opacity: 0.8;
    max-width: 620px;
    margin: 0 auto 16px;
}

.no-links {
    font-size: 13px;
    opacity: 0.7;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.link-card {
    padding: 12px 10px;
    border-radius: 12px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
    border-color: #22c55e;
}

.link-title {
    display: block;
}

/* Content sections */
.content-section {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.6;
}

.content-section h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.content-section ul {
    padding-left: 18px;
    margin-top: 6px;
}

/* Contact */
.contact-section {
    margin-top: 28px;
    font-size: 14px;
}

.contact-email a {
    color: #22c55e;
    font-weight: 600;
}

.small-note {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 6px;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 10px 0;
    font-size: 12px;
    background: #020617;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.footer-inner a {
    color: #9ca3af;
}

@media (max-width: 640px) {
    .top-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}
