@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;600&family=Outfit:wght@300;400;600&display=swap');

:root {
    --primary-bg: #f5f5f7;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-blue: #0071e3;
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'SF Pro Display', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    overflow: hidden;
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: #0071e3;
    top: -100px;
    left: -100px;
}

.blob-2 {
    background: #bf5af2;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.2); }
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    font-size: 3rem;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

#appleid-signin {
    width: 100%;
    height: 44px;
    display: inline-block;
}

.status-message {
    margin-top: 24px;
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
    display: none;
}

.status-message.success {
    display: block;
    background: rgba(52, 199, 89, 0.1);
    color: #248a3d;
}

.status-message.error {
    display: block;
    background: rgba(255, 59, 48, 0.1);
    color: #d70015;
}

.user-info {
    margin-top: 20px;
    text-align: left;
    background: rgba(0,0,0,0.03);
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    display: none;
}

.user-info.visible {
    display: block;
}

.user-info b {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 10px;
}
