html, body {
    overscroll-behavior: none;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #152331, #000, #152331);
    color: white;
    background-size: 300% 300%;
    min-height: 100vh;
    animation: moveGradient 20s ease infinite;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 24px;
    background: #0f0f0f;
    border-radius: 10px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-left a {
    color: white;
    text-decoration: none;
    font-family: monospace;
}

.nav-left a:hover {
    text-decoration: underline;
}

.logo {
    width: 32px;
    height: 32px;
}

.site-name {
    font-family: monospace;
    color: white;
    font-size: 18px;
}

.nav-right {
    display: flex;
    gap: 20px;
}

.nav-right a {
    color: white;
    text-decoration: none;
    font-family: monospace;
}

.nav-right a:hover {
    text-decoration: underline;
}

.flash {
    padding: 10px;
    margin: 10px;
    border-radius: 6px;
}

.flash.error {
    background: #ffdddd;
}

.flash.success {
    background: #ddffdd;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: transparent;
    color: white;

    padding: 60px 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    max-width: 600px;
    opacity: 0.85;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #4f46e5, #6366f1);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 80px 10%;
    background: #020617;
    border-radius: 20px;
}

.card {
    background: transparent;
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-bottom: 12px;
}

.auth-section {
    max-width: 420px;
    margin: 80px auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
    text-align: center;
}

.auth-section h2 {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.auth-form label {
    font-size: 14px;
    opacity: 0.8;
}

.auth-form input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.auth-form input:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 10px rgba(108,99,255,0.4);
}

.auth-link {
    margin-top: 18px;
    font-size: 14px;
}

.auth-link a {
    color: #6c63ff;
    text-decoration: none;
}

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

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}