html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-image: url('../textures/background.png');
    background-size: 110%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.topbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
}

.nav-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: white !important;
    font-weight: 500;
    padding: 10px 12px;
}

.nav-link:hover {
    color: #9b7bff !important;
}

.navbar {
    overflow: hidden;
}

.logo {
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    margin-left: 15px;
    object-fit: contain;
}

.glass-card {
    background: rgba(40, 50, 90, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.forum-main {
    min-height: 260px;
}

.btn-purple {
    background: linear-gradient(135deg, #7a5cff, #9b7bff);
    border: none;
    color: white;
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 600;
}

.btn-purple:hover {
    opacity: 0.85;
}

.category-card {
    border-radius: 18px;
    background: rgba(40, 50, 90, 0.6);
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

.user-card {
    background: rgba(40, 50, 90, 0.6);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

#about-section .glass-card {
    min-height: 300px;
    transition: transform 0.3s ease;
}

footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 0 20px 0;
    margin-top: 80px;
}

a {
    text-decoration: none;
}