/* ?????嚥≪뮄?????륁뵠筌왖 ?????*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    opacity: 0.9;
}

.login-content {
    padding: 40px 30px;
}

.login-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a202c;
}

.login-description {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.google-login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.google-login-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.google-login-btn:active {
    transform: translateY(0);
}

.google-icon {
    width: 24px;
    height: 24px;
}

.login-features {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #4a5568;
    font-size: 14px;
}

.feature-icon {
    font-size: 20px;
}

.login-footer {
    background: #f7fafc;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    font-size: 12px;
    color: #718096;
    line-height: 1.6;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* 獄쏆꼷????遺우쁽??*/
@media (max-width: 480px) {
    .login-card {
        border-radius: 0;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 28px;
    }

    .login-content {
        padding: 30px 20px;
    }

    .google-login-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* ??쎄쾿 筌뤴뫀諭?筌왖??*/
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }

    .login-card {
        background: #2d3748;
    }

    .login-content h2 {
        color: #f7fafc;
    }

    .login-description {
        color: #a0aec0;
    }

    .google-login-btn {
        background: #4a5568;
        border-color: #4a5568;
        color: white;
    }

    .google-login-btn:hover {
        background: #718096;
        border-color: #718096;
    }

    .feature-item {
        color: #cbd5e0;
    }

    .login-footer {
        background: #1a202c;
        border-top-color: #4a5568;
    }

    .login-footer p {
        color: #a0aec0;
    }
}
