﻿* {
    box-sizing: border-box;
}

:root {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
    background: #f3f4f6;
}

body {
    margin: 0;
    min-height: 100vh;
}

.container {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
    padding: 60px 0 40px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

    .hero h1 {
        margin: 0;
        font-size: clamp(2.5rem, 7vw, 4.5rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .hero p {
        margin: 16px 0 0;
        font-size: 1.1rem;
        color: #6b7280;
    }

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

    .card h2 {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

.rules {
    margin: 0;
    padding-left: 24px;
    line-height: 1.8;
}

    .rules li + li {
        margin-top: 8px;
    }

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

    .button:hover {
        background: #374151;
        transform: translateY(-1px);
    }

footer {
    text-align: center;
    padding-top: 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .container {
        padding-top: 32px;
    }

    .card {
        padding: 24px;
    }
}
