:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #e9e9e9;
    --highlight: #00b4d8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


body {
    background-color: var(--primary-color);
    color: var(--text-color);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: fixed;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 80%, transparent);
    background-size: 5rem 5rem;
    opacity: 0.05;
    animation: animate 100s linear infinite;
    z-index: -1;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}



.logo {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-login {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--highlight);
}

.btn-signup {
    background-color: var(--highlight);
    color: var(--primary-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-login:hover {
    background-color: rgba(0, 180, 216, 0.1);
}

.btn-signup:hover {
    box-shadow: 0 0 10px var(--highlight), 0 0 20px var(--highlight);
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent 0,
            transparent 50px,
            rgba(0, 180, 216, 0.03) 50px,
            rgba(0, 180, 216, 0.03) 51px);
    z-index: -1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overscroll-behavior: contain;
    touch-action: none;
}

.modal-content {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--highlight);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--highlight);
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--text-color);
    transition: border-color 0.3s;
}

.input:focus {
    border-color: var(--highlight);
    outline: none;
}

.btn-orange {
    background-color: var(--highlight);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-orange:hover {
    background-color: rgba(0, 180, 216, 0.8);
    box-shadow: 0 0 10px var(--highlight), 0 0 20px var(--highlight);
}

.link {
    color: var(--highlight);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

/* Responsive Styles */



            

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .logo {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
    }


    .tagline {
        font-size: 1rem;
    }

    .auth-buttons {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .modal-content {
                width: 95vw;
                padding: 1.5rem;
                max-height: 95vh;
            }

    .input {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

