* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-image: var(--index_bg);
    background-size: min(800px);
    background-position: top;
    background-repeat: no-repeat;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    border-radius: 12px;
    padding: 0 30px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
}

.logo-icon i {
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-login {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3), 0 0 10px rgba(52, 152, 219, 0.6);
    opacity: 0.8
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.5), 0 0 10px rgba(52, 152, 219, 0.8);
    opacity: 1
}

.btn-register {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-register:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 5px 20px white;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

p {
    color: #7f8c8d;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 25px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
    }

    .logo-text {
        font-size: 20px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .auth-buttons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .btn {
        padding: 8px 12px;
    }
}