@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/panorama-bg.jpg') no-repeat center;
    background-size: cover;
    filter: brightness(0.5) blur(1px);
    z-index: -2;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    background: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo i {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 7rem;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #aa5505, #ff9100);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.search:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff9100;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.search i {
    margin-right: 8px;
}

.user-icon {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.user-icon:hover {
    color: #ff9100;
    transform: scale(1.1);
}

/* Main content */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.main-content {
    width: 100%;
    max-width: 500px;
}

/* Animated border container */
.login-container {
    position: relative;
    border-radius: 20px;
    padding: 3px;
    background: transparent;
    animation: borderRotate 3s linear infinite;
}

.login-form {
    background: transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 17px;
    padding: 2.5rem;
    box-shadow: 
        inset 0 0 50px rgba(255, 215, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.login-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 136, 0, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.login-form h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #fff, #ff9100);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-form > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.login-form > p a {
    color: #ff9100;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-form > p a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff9100;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-bottom-color: #ff9100;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus::placeholder {
    color: rgba(255, 145, 0, 0.8);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    margin-top: 1rem;
    background: linear-gradient(45deg, #aa5505, #ff9100);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff9100;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 15px 3%;
    }
            
    .nav-links {
        gap: 1.5rem;
    }
            
    .nav-links li a {
        font-size: 1rem;
    }
            
    .login-form h1 {
        font-size: 2.2rem;
    }
            
    .main-content {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
            
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
            
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
            
    .auth-buttons {
        position: absolute;
        top: 100%;
        right: 3%;
        margin-top: 1rem;
    }
            
    main {
        padding: 1rem;
        margin-top: 80px;
    }
            
    .login-form {
        padding: 2rem;
    }
            
    .login-form h1 {
        font-size: 2rem;
    }
            
    .main-content {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.2rem;
    }
            
    .login-form {
        padding: 1.5rem;
    }
            
    .login-form h1 {
        font-size: 1.8rem;
    }
            
    .main-content {
        max-width: 350px;
    }
            
    .social-icons {
        gap: 0.8rem;
    }
            
    .social-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 320px) {
    .login-form {
        padding: 1rem;
    }
            
    .login-form h1 {
        font-size: 1.5rem;
    }
            
    .main-content {
        max-width: 300px;
    }
}