* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1300px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 48px;
    padding: 30px 20px;
    backdrop-filter: blur(2px);
}

h1 {
    text-align: center;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 24px 16px 20px;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.card h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.card p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 20px 12px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .sub {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .grid {
        gap: 16px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .card {
        padding: 16px 10px 14px;
    }

    .icon {
        font-size: 36px;
    }

    .card h2 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.7rem;
    }
}