* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Enhanced Header Styles */
header {
    padding: 1.5rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

header h1 {
    margin-right: 20px;
}

nav {
    flex-grow: 1;
    margin-top: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #4CAF50;
}

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

.btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

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

.btn-register {
    background-color: #4CAF50;
    color: white;
}

.btn-register:hover {
    background-color: #45a049;
}

.welcome-user {
    color: white;
    margin-right: 15px;
    font-weight: bold;
}

.badge {
    display: inline-block;
    background-color: #FF5722;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.lightbox-container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    width: 80%;
    max-width: 800px;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.lightbox-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.lightbox-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
}

/* Enhanced Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #4CAF50;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
    }
    
    nav {
        width: 100%;
        margin: 10px 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-buttons {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .content {
        padding: 1rem;
    }
    
    .lightbox-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .lightbox-container h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .lightbox-container p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    footer {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .lightbox-container h2 {
        font-size: 1.5rem;
    }
    
    .lightbox-container {
        padding: 15px 10px;
    }
    
    .cta-button {
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }
}
