:root {
    --primary-color: #6a1b9a;
    --secondary-color: #4a148c;
    --accent-color: #ffcc00;
    --bg-gradient: linear-gradient(135deg, #1a0033 0%, #4b0082 50%, #6a1b9a 100%);
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: #1a0033;
    /* Fallback */
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
}


.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.navbar a:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-2px);
}

.user-info {
    color: #ffd1ff;
    font-size: 0.9rem;
    font-weight: bold;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
}

.logout-link {
    color: #ff9999 !important;
}

.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.title-container h1 {
    font-size: 3rem;
    text-align: center;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .navbar a {
        font-size: 0.9rem;
    }

    .title-container h1 {
        font-size: 2rem;
    }
}