:root {
    --primary: #FFD700;
    --secondary: #FFC107;
    --dark: #ffffff;
    --bg-color: #05080f;
    --card-bg: #0d1526;
    --section-bg: #080d1a;
    --text: #ffffff;
    --text-dim: #94a3b8;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --gold-glow: 0 0 15px rgba(255, 215, 0, 0.15);
    --primary-light: rgba(255, 215, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 10px;
    line-height: 1.6;
    overflow-x: hidden;
}

.login-wrapper {
    width: 100%;
    max-width: 340px;
    position: relative;
    transition: max-width 0.3s ease;
    padding: 20px 0;
    z-index: 10;
}

@media (min-width: 768px) {
    .login-wrapper { max-width: 400px; }
}

.login-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow), var(--gold-glow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.login-card::before {
    content: "JOIN";
    position: absolute;
    font-weight: 900;
    font-size: 60px;
    color: rgba(255, 215, 0, 0.03);
    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(255, 215, 0, 0.3);
    animation: bounce 2s infinite;
}

.logo-circle i {
    color: #000;
    font-size: 26px;
}

.brand-header h1 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
}

.brand-header p {
    font-size: 14px;
    color: var(--text-dim);
    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: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    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: rgba(5, 8, 15, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(5, 8, 15, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.05);
}

.toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 5px;
}

.btn-play {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    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;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255, 215, 0, 0.1);
    left: 0;
    top: 50%;
}

.divider span {
    position: relative;
    background: var(--card-bg);
    padding: 0 15px;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 800;
}

.btn-google-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
}

.btn-google-only:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-dim);
    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); }
}