* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #36393f;
    color: #dcddde;
    min-height: 100vh;
}

/* Landing Page */
.landing-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #5865F2 0%, #7289da 50%, #99aab5 100%);
    position: relative;
    overflow: hidden;
}

.landing-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5%, 5%);
    }
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-btn:hover {
    opacity: 0.8;
}

.nav-btn.primary {
    background: white;
    color: #5865F2;
}

.landing-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.landing-main h1 {
    font-size: 56px;
    margin-bottom: 30px;
}

.landing-main p {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.landing-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-btn {
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s;
}

.landing-btn.primary {
    background: white;
    color: #5865F2;
}

.landing-btn.secondary {
    background: #23272a;
    color: white;
}

.landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #36393f 0%, #2f3136 100%);
    padding: 20px;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.auth-box {
    background: #2f3136;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.auth-box h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #b9bbbe;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #b9bbbe;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: #202225;
    border: 1px solid #040405;
    border-radius: 3px;
    color: #dcddde;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #5865F2;
}

.error-message {
    color: #f04747;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 20px;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-button:hover {
    background: #4752c4;
}

.auth-link {
    margin-top: 10px;
    color: #72767d;
    font-size: 14px;
}

.auth-link a {
    color: #00aff4;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Auth button loading state */
.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-button.loading {
    position: relative;
    color: transparent;
}

.auth-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

/* Password strength indicator */
.password-strength {
    margin-top: 6px;
    height: 4px;
    border-radius: 2px;
    background: #040405;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-weak { background: #f04747; width: 33%; }
.strength-medium { background: #faa61a; width: 66%; }
.strength-strong { background: #3ba55d; width: 100%; }

.password-hint {
    font-size: 12px;
    color: #72767d;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-main h1 {
        font-size: 36px;
    }
    
    .landing-main p {
        font-size: 16px;
    }
    
    .landing-nav {
        padding: 15px 20px;
    }
}
