* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

.container {
    width: 540px;
    height: 400px;
    margin: auto auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 4rem 2rem;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

a.button {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    color: white;
    background-color: #3498db;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s;
}

a.button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

a.button.napcat {
    background-color: #e74c3c;
}

a.button.napcat:hover {
    background-color: #c0392b;
}

.site-footer {
    background-color: #f8f9fa;
    color: #666;
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #eaeaea;
    width: 100%;
    flex-shrink: 0;
}

.footer-content,
.icp-info,
.icp-item,
.police-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.icp-info {
    flex-wrap: wrap;
    gap: 8px;
}

.icp-info a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #007bff;
    text-decoration: underline;
}

.divider {
    color: #ccc;
    user-select: none;
}

.police-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
}

@media (max-width: 768px) {
    .icp-info {
        flex-direction: column;
        gap: 5px;
    }
    .divider {
        display: none;
    }
    .copyright {
        font-size: 12px;
    }
    .container {
        padding: 2rem 1rem;
        width: auto;
        height: auto;
        min-height: 200px;
    }
    h1 {
        font-size: 2rem;
    }
}