@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 48px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.subtitle {
    font-size: 16px;
    color: #666;
}

.check-card {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.check-card:hover {
    border-color: #333;
    transform: translateY(-2px);
}

.icon-wrapper {
    margin-bottom: 24px;
}

.os-icon {
    width: 80px;
    height: 80px;
    color: #333;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.check-button {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.check-button:hover {
    background: #333;
    transform: scale(1.05);
}

.check-button:active {
    transform: scale(0.98);
}

.result-container {
    margin-top: 32px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.result-card {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}

.status-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.os-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.status-badge.supported {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.warning {
    background: #fff3e0;
    color: #ef6c00;
}

.status-badge.critical {
    background: #ffebee;
    color: #c62828;
}

.status-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.action-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.warning-text {
    font-size: 14px;
    color: #d32f2f;
    margin-bottom: 16px;
    font-weight: 500;
}

.upgrade-button {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upgrade-button:hover {
    background: #b71c1c;
    transform: scale(1.05);
}

.details-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    text-align: left;
}

.details-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #333;
}

.details-list {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.details-list div {
    margin-bottom: 8px;
}

.details-list div:last-child {
    margin-bottom: 0;
}

.details-list strong {
    color: #333;
}

.hidden {
    display: none;
}

footer {
    margin-top: 48px;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: #999;
}

@media (max-width: 640px) {
    h1 {
        font-size: 24px;
    }

    .check-card {
        padding: 32px 24px;
    }

    .os-icon {
        width: 60px;
        height: 60px;
    }

    .check-button {
        padding: 14px 36px;
        font-size: 16px;
    }

    .result-card {
        padding: 32px 24px;
    }

    .os-name {
        font-size: 22px;
    }
}

