:root {
    --primary: #10b981;
    --secondary: #fbbf24;
    --dark: #0f172a;
    --bg-page: #f0fdf4; 
    --card-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

body { 
    background-color: var(--bg-page); 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 10px; 
}

.login-wrapper {
    width: 100%;
    max-width: 340px; 
    position: relative;
    transition: max-width 0.3s ease;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .login-wrapper { max-width: 400px; }
}

.login-card {
    background: var(--card-white);
    padding: 30px 25px;
    border-radius: 30px;
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid #ffffff;
}

.login-card::before {
    content: "JOIN";
    position: absolute;
    font-weight: 900;
    font-size: 60px;
    color: rgba(16, 185, 129, 0.04);
    top: -10px;
    right: -5px;
    z-index: 0;
    transform: rotate(-10deg);
}

.login-content { position: relative; z-index: 2; }

.brand-header { text-align: center; margin-bottom: 25px; }

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.2);
    animation: bounce 2s infinite;
}
.logo-circle i { color: white; font-size: 26px; }

.brand-header h1 { font-size: 24px; color: var(--dark); font-weight: 800; }
.brand-header p { font-size: 14px; color: #64748b; margin-top: 6px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }

.alert {
    padding: 12px 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i.main-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 14px 12px 14px 45px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.05);
}

.toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
}

.btn-play {
    width: 100%;
    padding: 16px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-play:hover { 
    background: #1e293b; 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.3);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}
.divider::before { content: ""; position: absolute; width: 100%; height: 1px; background: #f1f5f9; left: 0; top: 50%; }
.divider span { position: relative; background: #fff; padding: 0 15px; font-size: 12px; color: #cbd5e1; font-weight: 800; }

.btn-google-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-google-only:hover { background: #f8fafc; border-color: #e2e8f0; transform: translateY(-1px); }

.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}
.footer-text a { color: var(--primary); text-decoration: none; font-weight: 800; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}