*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    background: #08040e;
    min-height: 100vh;
    overflow: hidden;
    cursor: default;
}

#bgCanvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* ── Split Layout ── */
.page-wrap {
    position: relative; z-index: 1;
    display: flex;
    min-height: 100vh;
}

/* ── Left Panel ── */
.left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.left-content { max-width: 380px; }

.tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff6ec7;
    margin-bottom: 1.5rem;
}

.big-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.big-text em {
    font-style: normal;
    background: linear-gradient(135deg, #ff0066, #7b00ff, #00ccff);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0%   { background-position: 0%; }
    100% { background-position: 200%; }
}

.left-sub { color: rgba(255,255,255,0.4); font-size: 1rem; font-weight: 600; }

/* ── Right Panel ── */
.right-panel {
    width: 420px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border-left: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(30px);
}

.container {
    width: 100%;
    max-width: 360px;
    animation: slideIn 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Form Head ── */
.form-head { text-align: center; margin-bottom: 2.5rem; }

.icon-ring {
    font-size: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 20px rgba(255,0,102,0.2); }
    50%       { box-shadow: 0 0 40px rgba(0,204,255,0.3); }
}

.form-head h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.3rem;
}

.form-head p { color: rgba(255,255,255,0.35); font-size: 0.85rem; }

/* ── Fields ── */
.field { margin-bottom: 1.2rem; }

.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.field input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field input:focus {
    border-color: rgba(0,204,255,0.5);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,204,255,0.08);
}

.field input::placeholder { color: rgba(255,255,255,0.2); }

/* ── Login Button ── */
.login-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff0066, #7b00ff, #00ccff);
    background-size: 200%;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.2rem;
    transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 6px 30px rgba(255,0,102,0.25);
}

.login-btn:hover {
    background-position: right;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,0,102,0.4);
}

.btn-arrow { font-size: 1.3rem; transition: transform 0.3s; }
.login-btn:hover .btn-arrow { transform: translateX(5px); }

/* ── Messages ── */
#message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 1.2em;
}

.made-by {
    text-align: center;
    margin-top: 2.5rem;
    color: rgba(255,255,255,0.2);
    font-size: 0.78rem;
}

.made-by strong {
    background: linear-gradient(135deg, #ff6ec7, #00ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Shake ── */
.shake {
    animation: shakeIt 0.5s ease;
}
@keyframes shakeIt {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
    .page-wrap { flex-direction: column; overflow-y: auto; }
    body { overflow: auto; }
    .left-panel { min-height: 40vh; padding: 3rem 2rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .right-panel { width: 100%; min-height: unset; border-left: none; padding: 2rem 1.5rem 3rem; }
    .big-text { font-size: clamp(3rem, 12vw, 5rem); }
}
