:root {
    --black: #000000;
    --black-soft: #0a0a0a;
    --silver: #C0C0C0;
    --silver-light: #E5E7EB;
    --silver-dark: #6B7280;
    --silver-darker: #374151;
}

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

body {
    font-family: 'Space Grotesk', monospace;
    background: var(--black);
    color: var(--silver-light);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.chrome-border {
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 12px;
    pointer-events: none;
    z-index: 5;
}

.content-grid {
    position: relative;
    width: 90%;
    max-width: 1200px;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.left-section {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(192, 192, 192, 0.1);
}

.logo-mark {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--silver-light), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--silver-dark);
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--silver);
}

.feature-icon {
    font-size: 1.3rem;
    opacity: 0.8;
}

.right-section {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form {
    width: 100%;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--silver-light);
    margin-bottom: 35px;
    letter-spacing: 0.02em;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--silver);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    color: var(--silver-light);
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--silver);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.input-group input::placeholder {
    color: var(--silver-darker);
}

#password {
    font-family: 'Comic Sans MS', cursive !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--silver);
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.link {
    color: var(--silver);
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    color: var(--silver-light);
}

.footer-text {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--silver-dark);
}

/* IMPOSSIBLE BUTTON - ABSOLUTELY NO PARENT CONSTRAINTS */
#signInBtn {
    position: fixed;
    left: calc(50% + 150px);
    top: 60%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 50px;
    background: linear-gradient(135deg, var(--silver-light), var(--silver-dark));
    color: var(--black);
    border: 2px solid var(--silver);
    border-radius: 8px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.05s ease;
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.2);
}

#signInBtn:hover {
    transform: scale(1.02);
}

#signInBtn svg {
    transition: transform 0.2s;
}

#signInBtn:hover svg {
    transform: translateX(3px);
}

/* TAUNT MESSAGES */
#taunt {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--silver-light);
    opacity: 0;
    pointer-events: none;
    z-index: 100000;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

#taunt.show {
    opacity: 1;
    animation: tauntPulse 0.5s ease;
}

@keyframes tauntPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* SCREEN SHAKE */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97);
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-4px, 2px); }
    20%, 40%, 60%, 80% { transform: translate(4px, -2px); }
}

/* COLLISION FLASH */
#signInBtn.collision {
    animation: collisionFlash 0.3s ease;
}

@keyframes collisionFlash {
    0%, 100% { box-shadow: 0 4px 12px rgba(192, 192, 192, 0.2); }
    50% { box-shadow: 0 0 30px rgba(229, 231, 235, 0.8); }
}

/* VICTORY STATE */
.victory {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 200000;
    animation: victoryAppear 0.8s ease;
}

.victory h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--silver-light), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.victory p {
    font-size: 1.5rem;
    color: var(--silver);
}

@keyframes victoryAppear {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        width: 95%;
        min-height: auto;
    }
    
    .left-section {
        border-right: none;
        border-bottom: 1px solid rgba(192, 192, 192, 0.1);
        padding: 40px;
    }
    
    .right-section {
        padding: 40px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}
