ol {
    margin-top: 5px;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

.mr-25 {
    margin-right: 25px;
}

/* Announcement Styles */
.announcement-bar {
    width: 100%;
    background-color: var(--primary-bg);
}

.announcement-text {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    text-align: center;
    color: white;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .announcement-text {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        line-height: 1.2;
    }
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* background-color: var(--navbar-bg); */
    background-color: #090909;
}

.navbar-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .navbar-container {
        padding: 0 2rem;
    }
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* logo */
.banner-container {
    max-width: 160px;
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
}

.banner-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.banner-container:hover .banner-image {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-bg);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-bg);
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    background-color: var(--primary-bg);
}


/* Language Switcher */
.language-menu {
    position: relative;
    color: white;
}

.language-button {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.language-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--primary-bg);
    border-radius: 0.375rem;
    border: 1px solid var(--button-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 8rem;
    z-index: 1001;
}

.language-option {
    display: flex;
    padding: 0.5rem 1rem;
    color: white;
    transition: all 0.2s;
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-option.active {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.right {
    margin-right: 0.3rem;
}

/* User Dropdown */
.user-menu {
    color: white;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--primary-bg);
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 10rem;
    z-index: 1001;
    overflow: hidden;
}

/* Login Logout Button */
.login-button {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--primary-bg);
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease-in-out;
}

.login-button:hover {
    background-color: var(--primary-bg);
    color: white;
}

.logout-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: white;
    background-color: transparent;
    border: none;
    transition: background-color 0.2s;
}

.logout-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: white;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0rem;
    left: -100%;
    width: 75%;
    height: 100vh;
    background-color: black;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.show {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 40;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    flex: 1;
    padding: 1rem 0;
    padding-bottom: 2rem;
}

.mobile-nav-link {
    position: relative;
    display: block;
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    opacity: 0;
    transform: translateX(-2rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-bg);
    transform: translateX(5px);
}

.mobile-nav-link.active {
    color: var(--primary-bg);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu.show .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.show .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.show .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.show .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-login-button {
    display: block;
    margin: 1rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--primary-bg);
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: rgba(41, 69, 143, 0.95);
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 10rem;
    z-index: 1001;
    overflow: hidden;
}

.mobile-logout-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    text-align: center;
    color: white;
    background-color: var(--primary-bg);
    border: none;
    transition: background-color 0.2s;
}

.mobile-logout-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu.show .mobile-login-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Mobile language switcher */
.mobile-language-switcher {
    margin: 1rem;
    position: relative;
}

.mobile-language-dropdown {
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--primary-bg);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: none;
}

.mobile-language-dropdown.show {
    display: block;
}

.mobile-language-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: white;
    transition: background-color 0.2s;
}

.mobile-language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-language-option.active {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-language-option img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
    border-radius: 0.25rem;
}

.mobile-language-option span {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

/* Separator */
.mobile-language-separator {
    width: 1px;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-login-container {
    position: sticky;
    width: 100%;
    background-color: black;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-language-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-language-button .left-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-login-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hamburger Menu Animation */
.mobile-menu-button {
    position: relative;
    padding: 0.5rem;
    z-index: 61;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-line::before {
    transform: translateY(-8px);
}

.hamburger-line::after {
    transform: translateY(8px);
}

/* Hamburger Animation */
.mobile-menu-button.active .hamburger-line {
    background-color: transparent;
}

.mobile-menu-button.active .hamburger-line::before {
    transform: rotate(45deg);
}

.mobile-menu-button.active .hamburger-line::after {
    transform: rotate(-45deg);
}

main {
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

main.blur {
    filter: blur(4px);
}

/* Verification badge styles */
.verification-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.verification-badge.unverified {
    background-color: #ff3b30;
    color: white;
}

.verification-badge.verified {
    background-color: #34c759;
    color: white;
}

/* Verification button styles in dropdown */
.verification-button {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.verification-button.unverified {
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.verification-button.verified {
    background-color: rgba(52, 199, 89, 0.1);
    color: #34c759;
    cursor: default;
}

.verification-button i {
    margin-right: 8px;
}

/* Mobile verification button */
.mobile-verification-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
}

.mobile-verification-button.unverified {
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.mobile-verification-button.verified {
    background-color: rgba(52, 199, 89, 0.1);
    color: #34c759;
    cursor: default;
}

.mobile-verification-button i {
    margin-right: 8px;
}
