:root {
    --theme-primary-color: #D19761;
    --presentation-bg-color: #E5B885;
    --navbar-bg-start: #fad815;
    --navbar-bg-end: #eaa208;
    --navbar-bg-hover-start: #fad978;
    --navbar-bg-hover-end: #f7bc3e;
    --navbar-border: #FFFFFF;
    --navbar-text-color: #FFFFFF;
    --site-bg-color: #E8D5C4;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--navbar-border);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
    color: var(--navbar-text-color);
}

.card-title {
    color: var(--navbar-text-color);
    font-weight: 900;
    text-transform: uppercase;
}

.card-subtitle {
    color: var(--navbar-text-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

#shop .card .card-body {
    display: flex;
    flex-direction: column;
}

#shop .card .card-body .d-flex {
    margin-top: auto;
}

#shop .card .card-title {
    flex: 1;
    margin-right: 1rem;
    font-size: 1.2rem;
}

#shop .card .card-img-top {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navbar-text-color) !important;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0.375rem;
    transition: background 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(to bottom, var(--navbar-bg-hover-start), var(--navbar-bg-hover-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.btn-primary:active {
    background: linear-gradient(to bottom, var(--navbar-bg-hover-end), var(--navbar-bg-hover-start)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.btn-danger {
    background: linear-gradient(to bottom, rgba(220, 53, 69, 0.8), rgba(220, 53, 69, 0.6)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0.375rem;
    transition: background 0.3s ease;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(to bottom, rgba(220, 53, 69, 1), rgba(220, 53, 69, 0.8)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.btn-danger:active {
    background: linear-gradient(to bottom, rgba(220, 53, 69, 0.6), rgba(220, 53, 69, 0.8)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.btn {
    border-radius: 0.375rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:not(.btn-primary):not(.btn-outline-primary):not(.btn-outline-danger):not(.btn-danger):not(.btn-success) {
    border: 2px solid var(--navbar-border);
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--navbar-border) !important;
    border-radius: 0.375rem;
    color: var(--navbar-text-color) !important;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--navbar-bg-start) !important;
    box-shadow: 0 0 0 0.2rem rgba(250, 216, 21, 0.25) !important;
    color: var(--navbar-text-color) !important;
    outline: none;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-label {
    color: var(--navbar-text-color) !important;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

::-webkit-scrollbar-track {
    background: #FFFFFF;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end));
    border: 3px solid var(--navbar-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--navbar-bg-end), var(--navbar-bg-start));
}

* {
    scrollbar-width: thick;
    scrollbar-color: var(--navbar-bg-start) #FFFFFF;
}

[data-theme=dark] {
    --bs-secondary-bg: #151515;
    --bs-secondary-bg-rgb: 21, 21, 21;
}

body[data-theme=dark] {
    background-color: var(--site-bg-color);
}

body {
    min-height: 100vh;
    background-color: var(--site-bg-color);
    display: flex;
    flex-direction: column;
}

.content {
    margin-top: 15rem;
    margin-bottom: 5rem;
}

.container.content {
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

header .header-content ~ * .content,
header:has(.header-content) ~ * .content,
header:has(.header-content) + * .content,
.container.content:has(.server-features) {
    margin-top: 0;
}

.home-header {
    margin-top: 0;
}

a {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.home-header {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 450px;
}

#app {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end));
    border-radius: 1rem;
    border: 3px solid var(--navbar-border);
    padding: 2rem;
    margin: 2rem 1.5rem 0 1.5rem;
    position: relative;
    margin-top: auto;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--navbar-text-color);
    font-size: 1.3rem;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .social-links a {
    color: var(--navbar-text-color);
    transition: opacity 0.3s ease;
}

.footer .social-links a:hover {
    opacity: 0.8;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--navbar-text-color);
    text-transform: uppercase;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.footer ul li a:hover {
    opacity: 0.8;
}

.footer .text-body {
    color: var(--navbar-text-color);
}

.footer .text-body a {
    color: var(--navbar-text-color);
    text-transform: uppercase;
    font-weight: bold;
} 

.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.navbar-rounded {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.375rem;
    border: 3px solid var(--navbar-border);
    padding: 0.25rem 2rem;
    max-width: 1200px;
    width: 90%;
    position: relative;
    animation: navbarPop 0.8s ease-out;
}

@keyframes navbarPop {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    60% {
        transform: translateY(0) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
} 

.navbar-brand img {
    max-height: 75px;
    max-width: 150px;
}

.navbar .nav-item {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.navbar .nav-item .nav-link {
    --bs-nav-link-color: var(--navbar-text-color);
    color: var(--navbar-text-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 1rem 0.75rem;
}

.navbar .nav-item .nav-link:hover {
    color: var(--navbar-text-color);
    opacity: 0.8;
}

.navbar .nav-item .nav-link.active,
.navbar-socials .nav-link {
    color: var(--navbar-text-color);
    font-weight: 900;
}

.navbar .nav-item .dropdown-toggle::after {
    border-top: 0.3em solid var(--bs-primary);
}

#userDropdown.dropdown-toggle::after,
#guestDropdown.dropdown-toggle::after {
    border-top-color: var(--navbar-text-color) !important;
}

.dropdown-menu {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end));
    border: 2px solid var(--navbar-border);
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--navbar-text-color);
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--navbar-text-color);
    opacity: 0.9;
}

.dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--navbar-text-color);
    font-weight: 900;
}

.user-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-left: auto;
}

.user-nav-link img {
    height: 32px;
    width: 32px;
}

.guest-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-left: auto;
}

.guest-nav-link img {
    height: 32px;
    width: 32px;
}

.news-section-title {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--navbar-text-color);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 8rem;
    margin-bottom: 4rem !important;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.header-content {
    max-width: 1200px;
    width: 90%;
    margin: 10rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo-wrapper {
    text-align: center;
    margin-bottom: -3rem;
    z-index: 2;
    position: relative;
    width: 100%;
}

.halezia-logo {
    max-width: 55%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.server-presentation {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    margin: 0;
    width: 100%;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.server-presentation-text-blur,
.server-features-text-blur {
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 1rem;
    margin: 0 auto;
    width: 100%;
    border: 3px solid var(--navbar-border);
}

.server-presentation-text-blur {
    animation: fadeInUp 1s ease-out 0.3s both;
}


.server-presentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
}

.server-presentation-title {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--navbar-text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.server-presentation-subtitle {
    font-weight: 900;
    text-transform: uppercase;
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
    gap: 0.5rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--navbar-text-color);
    border-radius: 20px;
    position: relative;
    animation: mouseMove 2s infinite;
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background: var(--navbar-text-color);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s infinite;
}

.scroll-arrow {
    color: var(--navbar-text-color);
    font-size: 1.5rem;
    animation: arrowBounce 2s infinite;
}

@keyframes mouseMove {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes wheelScroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

.server-features {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    margin: 5rem auto 6rem auto;
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: visible;
}

.container .server-features {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}


.server-features-text-blur.animate {
    opacity: 1;
    transform: translateY(0);
}


.server-features-btn {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.server-features-btn:hover,
.server-features-btn:focus {
    background: linear-gradient(to bottom, var(--navbar-bg-hover-start), var(--navbar-bg-hover-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-decoration: none;
}

.server-features-btn:active {
    background: linear-gradient(to bottom, var(--navbar-bg-hover-end), var(--navbar-bg-hover-start)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-decoration: none;
}

.news-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 8rem auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-carousel-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.news-carousel-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}

.news-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
}

.news-carousel-item {
    min-width: calc(50% - 0.75rem);
    flex: 0 0 calc(50% - 0.75rem);
    display: block;
}

.news-card {
    background: transparent;
    border: 3px solid var(--navbar-border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.news-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--navbar-text-color);
    padding: 1.5rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.news-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.news-card-no-image {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.news-card-title {
    color: var(--navbar-text-color);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.news-card-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
}

.news-card-btn:hover,
.news-card-btn:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    text-decoration: none;
}

.news-card a {
    text-decoration: none;
    color: inherit;
}

.news-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end));
    border: 3px solid var(--navbar-border);
    color: var(--navbar-text-color);
    width: 60px;
    height: 60px;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.news-carousel-btn:hover,
.news-carousel-btn:focus {
    background: linear-gradient(to bottom, var(--navbar-bg-hover-start), var(--navbar-bg-hover-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.news-carousel-prev {
    left: -100px;
}

.news-carousel-next {
    right: -100px;
}

.news-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.news-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--navbar-border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.news-carousel-indicator.active {
    background: var(--navbar-text-color);
}

.list-group-item {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--navbar-text-color) !important;
    transition: all 0.3s ease;
}

#wiki .card .card-body.p-0 {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 0 0 0.375rem 0.375rem !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--navbar-text-color) !important;
}

.list-group-item.active {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border-color: var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    font-weight: 900;
}

.list-group-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

#wiki .card a {
    color: var(--navbar-text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

#wiki .card a:hover {
    opacity: 0.8;
}

#wiki .card-body {
    color: var(--navbar-text-color);
}

#wiki .card-body h1,
#wiki .card-body h2,
#wiki .card-body h3,
#wiki .card-body h4,
#wiki .card-body h5,
#wiki .card-body h6 {
    color: var(--navbar-text-color) !important;
}

#wiki .card-body p,
#wiki .card-body li,
#wiki .card-body span {
    color: var(--navbar-text-color);
}

.card-header {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border: none !important;
    border-bottom: 2px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 0.375rem 0.375rem 0 0 !important;
    padding: 1rem !important;
}

.card-header:first-child {
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

.card:has(.card-header) {
    border: 2px solid var(--navbar-border) !important;
    border-radius: 0.375rem !important;
    overflow: hidden;
}

.card:has(.card-header) .card-body {
    border-top: none !important;
}

#shop-categories .shop-user-profile,
#shop .shop-user-profile,
#shop-categories .shop-top-customer,
#shop .shop-top-customer,
#shop-categories .shop-recent-payments,
#shop .shop-recent-payments {
    display: none !important;
}

#shop h1,
#shop-categories h1 {
    text-align: center;
    color: var(--navbar-text-color) !important;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.modal-backdrop {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1040 !important;
    pointer-events: none !important;
}

.modal {
    z-index: 1055 !important;
    pointer-events: auto !important;
}

.modal-dialog {
    z-index: 1055 !important;
    position: relative !important;
    pointer-events: auto !important;
}

.modal-content {
    pointer-events: auto !important;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 3px solid var(--navbar-border) !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
    color: var(--navbar-text-color) !important;
}

.modal-header {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border-bottom: 3px solid var(--navbar-border) !important;
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.5rem !important;
    color: var(--navbar-text-color) !important;
}

.modal-title {
    color: var(--navbar-text-color) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 1.5rem !important;
    letter-spacing: 1px;
}

.modal-body {
    background: transparent !important;
    color: var(--navbar-text-color) !important;
    padding: 1.5rem !important;
}

.modal-body p,
.modal-body span,
.modal-body div,
.modal-body li {
    color: var(--navbar-text-color) !important;
}

.modal-footer {
    background: transparent !important;
    border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0 0 1rem 1rem !important;
}

.btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    background-size: 1.5em !important;
    width: 1.5em !important;
    height: 1.5em !important;
    transition: opacity 0.3s ease;
}

.btn-close:hover,
.btn-close:focus {
    opacity: 0.8 !important;
    filter: brightness(0) invert(1) !important;
}

.alert {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 3px solid var(--navbar-border) !important;
    border-radius: 0.5rem !important;
    color: var(--navbar-text-color) !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: bold !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    animation: alertSlideIn 0.3s ease-out !important;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.alert .btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.alert .btn-close:hover {
    opacity: 0.8 !important;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.15)) !important;
    border-color: #ffc107 !important;
    color: var(--navbar-text-color) !important;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.3), rgba(220, 53, 69, 0.15)) !important;
    border-color: #dc3545 !important;
    color: var(--navbar-text-color) !important;
}

.alert-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.3), rgba(25, 135, 84, 0.15)) !important;
    border-color: #198754 !important;
    color: var(--navbar-text-color) !important;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.3), rgba(13, 202, 240, 0.15)) !important;
    border-color: #0dcaf0 !important;
    color: var(--navbar-text-color) !important;
}

.alert-primary {
    background: linear-gradient(135deg, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border-color: var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

#status-message {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 1060;
    max-width: 400px;
    animation: alertSlideIn 0.3s ease-out;
}

#status-message .alert {
    margin-bottom: 0;
}

.table {
    color: var(--navbar-text-color) !important;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: transparent !important;
}

.table * {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.table thead th {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: var(--navbar-text-color) !important;
    text-transform: uppercase;
    font-weight: 900;
    border: 3px solid var(--navbar-border) !important;
    padding: 1rem;
    text-align: center;
}

.table thead th:first-child {
    border-top-left-radius: 0.375rem;
}

.table thead th:last-child {
    border-top-right-radius: 0.375rem;
}

.table tbody tr {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: background 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.table tbody tr td {
    background: transparent !important;
}

.table tbody tr:nth-child(even),
.table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.table.table-dark thead th,
.table thead.table-dark th {
    background: linear-gradient(to bottom, var(--navbar-bg-start), var(--navbar-bg-end)) !important;
    border: 3px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.table.table-dark tbody tr,
.table.table-dark tbody tr td,
.table tbody tr.table-dark,
.table tbody tr.table-dark td {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: var(--navbar-text-color) !important;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.375rem;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.375rem;
}

.table tbody td,
.table tbody th {
    color: var(--navbar-text-color) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    background: transparent !important;
}

.table tbody th {
    font-weight: 900;
    text-transform: uppercase;
}

.table .form-control-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    height: 2rem !important;
    line-height: 1.5 !important;
}

.cart-card {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cart-card .card-body {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

.cart-card h5.text-center {
    margin-bottom: 0.25rem !important;
}

.cart-card form {
    margin-top: 0.25rem !important;
}

.cart-card .d-flex.justify-content-center {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.card-footer {
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid var(--navbar-border) !important;
    color: var(--navbar-text-color) !important;
}

.text-body-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
}

.post-preview .card-title a {
    color: var(--navbar-text-color) !important;
    text-decoration: none;
}

.post-preview .card-title a:hover {
    color: var(--navbar-text-color) !important;
    opacity: 0.8;
}

.post-preview .card-img-top {
    border-radius: 0.875rem 0.875rem 0 0;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    display: block;
    margin: 0 auto;
}

#comments .card {
    margin-bottom: 1rem;
}

#comments .card-body {
    color: var(--navbar-text-color);
}

#comments img.rounded {
    border: 2px solid var(--navbar-border);
}

.content-body {
    color: var(--navbar-text-color);
}

.img-fluid.rounded {
    border: 2px solid var(--navbar-border);
    border-radius: 0.5rem !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.card hr {
    border-color: var(--navbar-border) !important;
    opacity: 0.5;
}
