:root {
    --background: #272727;
    --surface: #303030;
    --surface-hover: #363636;
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-muted: #aaaaaa;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #9ac7a8;
    --shadow: rgba(0, 0, 0, 0.30);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text-primary);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 32px, 920px);
    margin: 0 auto;
}

header {
    border-bottom: 1px solid var(--border);
    background: rgba(39, 39, 39, 0.96);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 200;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

main {
    padding: 48px 0 64px;
}

.hero {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
    margin-bottom: 36px;
    background: var(--surface);
    border-radius: 18px;
    box-shadow:
        0 4px 8px var(--shadow),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 16px;
}

.hero-content {
    text-align: left;
    transform: translateY(-10px);
}

.hero-content h2 {
    margin: 0 0 8px;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 400;
}

.hero-content p {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
}

.section-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 400;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.card {
    display: block;
    padding: 24px;
    background: var(--surface);
    border-radius: 14px;
    text-decoration: none;
    box-shadow:
        0 3px 7px var(--shadow),
        0 7px 16px rgba(0, 0, 0, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    background: var(--surface-hover);
    box-shadow:
        0 6px 12px var(--shadow),
        0 12px 24px rgba(0, 0, 0, 0.20);
}

.card h2,
.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 400;
}

.card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 600;
}

.page-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
}

.page-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.content-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 4px 8px var(--shadow),
        0 10px 22px rgba(0, 0, 0, 0.16);
}

.content-card h2 {
    margin: 30px 0 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 21px;
    font-weight: 400;
}

.content-card h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.content-card h3 {
    margin: 22px 0 8px;
    font-size: 17px;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
    font-size: 15px;
}

.content-card ul {
    padding-left: 22px;
}

.content-card a {
    color: var(--accent);
}

.notice {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 24px 16px;
    text-align: center;
}

.footer-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.copyright {
    margin-right: 5px;
}

@media (max-width: 700px) {
    .nav {
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    main {
        padding: 28px 0 48px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        transform: none;
    }
    
    .hero-icon {
        width: 100px;
        height: 100px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 22px;
    }
}