:root {
    --primary-color: #4161d8;
    --primary-gradient: linear-gradient(135deg, #4161d8 0%, #2a4ac2 100%);
    --secondary-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    --bg-color: #f5f7fa;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --bs-border-radius: 8px;
    --radius-xl: var(--bs-border-radius);
    --radius-lg: var(--bs-border-radius);
    --radius-md: var(--bs-border-radius);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --ios-success: #34C759;
    --ios-success-bg: rgba(52, 199, 89, 0.1);
    --ios-success-text: #248A3D;
    --modal-radius: 10px;
}

.modal-content {
    border-radius: var(--modal-radius) !important;
    overflow: hidden;
}

.border-success-premium {
    border-color: var(--ios-success) !important;
}

.bg-success-premium {
    background-color: var(--ios-success-bg) !important;
}

.text-success-premium {
    color: var(--ios-success-text) !important;
}


.text-success {
    color: var(--ios-success) !important;
}

.bg-success {
    background-color: var(--ios-success) !important;
}

.border-success {
    border-color: var(--ios-success) !important;
}

.bg-success-subtle {
    background-color: var(--ios-success-bg) !important;
}

.alert-success {
    background-color: var(--ios-success-bg);
    border-color: var(--ios-success);
    color: var(--ios-success-text);
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0) 0, transparent 50%);
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #a18cd1;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: #fbc2eb;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #8fd3f4;
    animation-delay: -2s;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid white;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-xl);
}

.card-title {
    color: var(--text-primary);
    font-weight: 700;
}

.header-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.navbar-glass {
    background: transparent !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
}

.navbar-glass .container {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .navbar-glass {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 8px 0 !important;
    }

    .header-logo {
        height: 32px;
    }

    .nav-icon-btn {
        width: 34px;
        height: 34px;
    }

    .gap-2 {
        gap: 0.25rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1366px) {
    .search-header {
        width: 160px !important;
        margin: 0 5px !important;
    }

    .navbar-nav {
        gap: 0.15rem !important;
    }

    .nav-link {
        padding: 0 6px !important;
        font-size: 0.82rem;
    }

    .nav-user-info .user-name {
        max-width: 70px;
    }
}

@media (min-width: 1367px) and (max-width: 1536px) {
    .search-header {
        width: 200px !important;
        margin: 0 10px !important;
    }

    .navbar-nav {
        gap: 0.25rem !important;
    }

    .nav-link {
        padding: 0 10px !important;
    }
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    transition: all 0.4s ease;
}

.navbar-glass.scrolled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-glass.scrolled .container {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 0 10px !important;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
}

.nav-blob {
    position: absolute;
    background: rgba(0, 122, 255, 0.08);
    border-radius: var(--bs-border-radius);
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    height: 40px !important;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-icon-btn:hover,
.nav-icon-btn.show {
    background: white;
    color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
    transform: translateY(-2px);
}

.nav-badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff9500;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
}

@media (min-width: 992px) {
    .dropdown-mega {
        position: static;
    }

    .mega-menu {
        width: 90vw;
        max-width: 1000px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 100% !important;
        padding: 25px !important;
        border-radius: var(--bs-border-radius) !important;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        margin-top: 10px !important;
        display: none;
        animation: slideUpFade 0.3s ease forwards;
    }

    .dropdown-mega:hover .mega-menu,
    .dropdown-mega.show-mega .mega-menu {
        display: block;
    }

    .dropdown-mega::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
    }
}


@media (max-width: 991px) {
    .offcanvas {
        z-index: 1045 !important;
    }

    .offcanvas-backdrop {
        z-index: 1040 !important;
    }

    .offcanvas .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        margin-top: 5px !important;
        display: none;
        border-left: 1.5px solid rgba(0, 122, 255, 0.6) !important;
        margin-left: 25px !important;
        border-radius: 0 !important;
    }

    .offcanvas .dropdown-item {
        border-radius: 0 !important;
        padding-left: 15px !important;
        font-size: 0.9rem;
        transition: all 0.2s;
    }

    .offcanvas .dropdown-item:hover,
    .offcanvas .dropdown-item:active {
        background: rgba(0, 122, 255, 0.05) !important;
        color: var(--primary-color) !important;
    }

    .offcanvas .dropdown-menu.show {
        display: block;
        animation: slideDownMobile 0.3s ease-out forwards;
    }

    .btn-mobile-auth {
        border-radius: var(--bs-border-radius) !important;
    }

    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mega-menu {
        width: 100%;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 10px 15px !important;
        margin-top: 0 !important;
    }

    .mega-item {
        gap: 10px;
        padding: 8px 10px;
    }

    .mega-icon {
        width: 32px;
        height: 32px;
    }
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: var(--bs-border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}

.mega-item:hover {
    background: rgba(0, 122, 255, 0.05);
    transform: translateX(5px);
    color: var(--primary-color);
}

.mega-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--bs-border-radius);
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.mega-item:hover .mega-icon {
    transform: scale(1.1);
}

.mega-text {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.user-dropdown-menu {
    border: none;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin-top: 15px !important;
    min-width: 200px;
    animation: slideUpFade 0.3s ease forwards;
}

.dropdown-item {
    border-radius: var(--bs-border-radius);
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.dropdown-item:hover {
    background: rgba(0, 122, 255, 0.05);
    color: #007aff;
}

.dropdown-item:hover i,
.dropdown-item.active i {
    color: #007aff;
}

.user-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}


.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-user-info {
    transition: transform 0.2s;
}

.nav-user-info:hover {
    transform: translateY(-2px);
}

.user-name {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 2px;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.user-balance {
    font-size: 0.75rem;
    line-height: 1;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-modal .modal-content {
    border: none;
    border-radius: var(--modal-radius);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-modal .modal-header {
    border-bottom: none;
    padding: 20px 30px 10px;
}

.auth-modal .modal-body {
    padding: 20px 30px 40px;
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--bs-border-radius);
    padding: 4px;
    margin-bottom: 25px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 8px;
    border-radius: var(--bs-border-radius);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.side-tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: var(--bs-border-radius);
    gap: 4px;
}

.side-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 8px;
    border-radius: var(--bs-border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.side-tab-btn.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.side-tab-content {
    display: none;
}

.side-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-input-group {
    position: relative;
    margin-bottom: 10px;
}

.auth-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-primary);
}

.auth-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--bs-border-radius);
    background: white;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.auth-input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    outline: none;
}

.btn-auth-submit {
    width: 100%;
    padding: 10px 15px;
    border-radius: var(--bs-border-radius);
    font-weight: 600;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
    transition: all 0.3s;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.social-login-btn {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--bs-border-radius);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
    text-decoration: none;
}

.social-login-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-nav .dropdown {
        position: relative;
    }

    .navbar-nav .dropdown::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 100%;
        height: 15px;
    }
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #007aff;
}

.nav-link:hover {
    color: #007aff !important;
}

.offcanvas {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-water {
    position: relative;
    border: none;
    outline: none;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: var(--bs-border-radius);
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-water::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-water:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
}

.btn-water:hover::after {
    opacity: 1;
}

.section-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.top-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-header {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    width: 240px;
    max-width: 100%;
    height: 38px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 0 15px;
    backdrop-filter: blur(10px);
    flex-shrink: 1;
    min-width: 150px;
}

.search-header:focus-within {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 122, 255, 0.3);
}

@media (min-width: 992px) {
    .search-header:focus-within {
        width: 300px;
    }
}

.search-header input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

.search-header input::placeholder {
    color: #999;
}

.search-header i {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.search-header:focus-within i {
    color: #007aff;
}

.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--bs-border-radius);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.cat-side-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cat-side-img {
    width: 32px;
    height: 32px;
    border-radius: var(--bs-border-radius);
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cat-side-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

@media (max-width: 991px) {
    .category-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-sidebar::-webkit-scrollbar {
        display: none;
    }

    .cat-side-item {
        padding: 8px 16px;
        background: white;
        border-radius: 50px;
        flex-shrink: 0;
        max-width: 200px;
    }

    .cat-side-img {
        display: none;
    }

    .cat-side-name {
        font-size: 0.85rem;
    }
}

.top-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-list-item:last-child {
    border-bottom: none;
}

.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    box-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #a9a9a9);
    box-shadow: 0 2px 4px rgba(169, 169, 169, 0.3);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    box-shadow: 0 2px 4px rgba(184, 115, 51, 0.3);
}

.rank-4 {
    background: linear-gradient(135deg, #cd3232, #b83333);
    box-shadow: 0 2px 4px rgba(184, 115, 51, 0.3);
}

.rank-5 {
    background: linear-gradient(135deg, #3275cd, #337ab8);
    box-shadow: 0 2px 4px rgba(184, 115, 51, 0.3);
}

.rank-other {
    background: #f0f0f5;
    color: #8e8e93;
}

.filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    background: white;
}

.filter-btn.active,
.filter-btn:hover {
    background: #000;
    color: white;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.card-body-glass {
    background: none;
    padding: 15px;
}

.text-white-50 {
    color: var(--text-secondary) !important;
}

.price-tag {
    color: #007aff;
    font-weight: 800;
    text-shadow: none;
}

.news-card {
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--bs-border-radius);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.news-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-body {
    padding: 15px;
}

.news-body h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-card:hover h5 {
    color: var(--primary-color);
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}


footer {
    background: white;
    color: var(--text-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

footer p.small,
footer a.small,
footer .small,
footer .contact-info {
    font-size: 0.95rem !important;
    line-height: 1.6;
}

footer h6 {
    font-size: 1.1rem;
}

footer .text-secondary {
    color: #555 !important;
}

@media (max-width: 991px) {
    footer {
        padding-bottom: 100px !important;
    }
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.youtube {
    background: #FF0000;
}

.social-btn.telegram {
    background: #0088cc;
}

footer .text-white-50 {
    color: var(--text-secondary) !important;
}


footer input.form-control {
    background: #f0f2f5 !important;
    color: #000 !important;
}

@media (max-width: 768px) {
    .offcanvas {
        width: 80% !important;
    }
}

.notify-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 10px 15px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
    padding-left: 100%;
}

.notify-bar:hover .marquee-track {
    animation-play-state: paused;
}

.notify-item {
    background: white;
    color: #333;
    padding: 6px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    vertical-align: middle;
}

.notify-item i {
    color: #f1c40f;
    margin-right: 8px;
}

.notify-highlight {
    color: #c0392b;
    font-weight: 800;
    margin-left: 5px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.border-red-500 {
    border-color: #dc3545 !important;
}

.text-red-500 {
    color: #dc3545 !important;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.view-all-link:hover {
    color: #2a4ac2;
}

.cat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}

.cat-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.cat-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cat-card:hover .cat-thumb img {
    transform: scale(1.1);
}

.ribbon-hot {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 12px;
    border-bottom-left-radius: 12px;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.cat-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.grid-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(230, 240, 255, 1) 0%, rgba(240, 248, 255, 1) 100%);
    border: 1px solid #cce5ff;
    border-radius: var(--bs-border-radius);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.8),
        0 4px 12px rgba(0, 122, 255, 0.1);
    opacity: 0;
}

.card-select {
    cursor: pointer;
    border: none;
    padding: 8px;
    border-radius: var(--bs-border-radius);
    background: transparent;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.card-mockup-img {
    height: 50px;
    width: 100%;
    border-radius: var(--bs-border-radius);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 991px) {
    .card-mockup-img {
        height: 50px;
    }
}


.card-select:hover .card-mockup-img {
    transform: scale(1.1) rotate(-1deg);
}

.card-select.active {
    transform: scale(1.02);
}


.card-select.active .card-mockup-img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.btn-amount {
    font-weight: 600;
    border-radius: var(--bs-border-radius);
    padding: 8px 2px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    color: #333;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-amount:hover {
    transform: translateY(-2px);
}

.btn-amount.active {
    color: #007aff;
}

.discount-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #dc3545;
    margin-top: 2px;
}

.btn-icon-img {
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.cat-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-info {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.cat-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 10px;
    margin-bottom: 10px;
}

.btn-cat-action {
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 100%;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: none;
    border-radius: var(--bs-border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(56, 88, 214, 0.3);
}

.btn-cat-action:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(56, 88, 214, 0.4);
    color: #fff;
}

.header-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .header-logo {
        height: 35px;
    }
}

@media (max-width: 360px) {
    .header-logo {
        height: 28px;
    }

    .d-flex.align-items-center.gap-2 {
        gap: 5px !important;
    }
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}


.mobile-bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    padding: 0 10px;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1030;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
    z-index: 2;
    height: 100%;
}

.mobile-nav-item:hover {
    color: #333;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
    transition: transform 0.2s, color 0.3s;
}

.mobile-nav-item.active {
    color: #1a1a1a;
}

.mobile-nav-item.active i {
    transform: translateY(-2px);
    color: #007aff;
}

.nav-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 60px;
    background: #f2f4f6;
    border-radius: 24px;
    z-index: 1;
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.3s ease;
}

.navbar-toggler {
    box-shadow: none !important;
}

.navbar-toggler:active {
    box-shadow: none !important;
}

.nav-badge {
    position: absolute;
    top: 10px;
    right: 25%;
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    z-index: 3;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.sync-height {
    height: auto !important;
}

.home-banner {
    height: 300px;
}

@media (max-width: 991px) {
    .sync-height {
        height: auto !important;
    }

    .home-banner {
        height: auto !important;
    }
}

.swiper-button-next,
.swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 800 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1);
}

.swiper-button-next {
    right: 20px !important;
}

.swiper-button-prev {
    left: 20px !important;
}

.quantity-wrapper {
    width: 120px !important;
    background: white;
    border-radius: 50px;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.qty-btn {
    border: none !important;
    background: transparent !important;
    color: var(--text-primary) !important;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.qty-input {
    border: none !important;
    background: transparent !important;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 !important;
    font-size: 0.95rem;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fixed-contact {
    position: fixed;
    bottom: 25px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.contact-item {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    position: relative;
    padding: 12px;
    transition: all 0.3s ease;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.1);
}

.contact-item:hover .contact-icon {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.zalo .contact-icon {
    padding: 0;
    overflow: hidden;
}

.dot-notify {
    position: absolute;
    top: 2px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #ff3b30;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
    animation: pulse-notify 1.5s infinite;
}

.text-danger {
    color: #ff3b30 !important;
}

@keyframes pulse-notify {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .fixed-contact {
        bottom: 120px;
        right: 15px;
        gap: 10px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
}

/* Notification Dropdown Styles */
.notification-dropdown {
    width: 320px !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    margin-top: 15px !important;
    animation: slideUpFade 0.3s ease forwards;
}

.noti-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.noti-list {
    max-height: 380px;
    overflow-y: auto;
    background: #fff;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.noti-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.noti-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.noti-item:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
}

.noti-item.unread {
    background: rgba(0, 122, 255, 0.03);
}

.noti-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.noti-content {
    flex: 1;
}

.noti-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 2px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noti-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.noti-footer {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #007aff !important;
    text-decoration: none;
    background: #f8f9fa;
    transition: all 0.2s;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.noti-footer:hover {
    background: #f1f3f5;
    text-decoration: underline;
}

.bg-soft-primary {
    background: rgba(0, 122, 255, 0.1);
}

.bg-soft-success {
    background: rgba(52, 199, 89, 0.1);
}

.bg-soft-warning {
    background: rgba(255, 149, 0, 0.1);
}

.bg-soft-danger {
    background: rgba(255, 59, 48, 0.1);
}

.bg-soft-info {
    background: rgba(90, 200, 250, 0.1);
}

/* Account Page Styles */
.list-group-item {
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.list-group-item:hover:not(.active) {
    background: rgba(0, 122, 255, 0.05);
    transform: translateX(5px);
    color: #007aff;
}

.list-group-item.active {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.list-group-item.active i {
    color: white !important;
}

.list-group-item:hover i {
    color: #007aff;
}

.bg-success-subtle {
    background: rgba(52, 199, 89, 0.1) !important;
}

.bg-warning-subtle {
    background: rgba(255, 149, 0, 0.1) !important;
}

.bg-info-subtle {
    background: rgba(0, 122, 255, 0.1) !important;
}

.bg-danger-subtle {
    background: rgba(255, 59, 48, 0.1) !important;
}

.text-success {
    color: #34c759 !important;
}

.text-warning {
    color: #ff9500 !important;
}

.text-info {
    color: #007aff !important;
}

.text-primary {
    color: #007aff !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ri-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.fs-7 {
    font-size: 7px !important;
}

.fs-8 {
    font-size: 8px !important;
}

.fs-9 {
    font-size: 9px !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-19 {
    font-size: 19px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-21 {
    font-size: 21px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-23 {
    font-size: 23px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-26 {
    font-size: 26px !important;
}

.fs-27 {
    font-size: 27px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-29 {
    font-size: 29px !important;
}

.fs-30 {
    font-size: 30px !important;
}

/* Category & Group Page Icon Aesthetics */
.category-icon-wrapper,
.group-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.category-icon-inner,
.group-icon-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 3px solid #fff;
    padding: 10px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.category-icon-wrapper::before,
.group-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--primary-gradient);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.2;
    transition: all 0.4s ease;
    transform: rotate(3deg);
}

.category-icon-inner img,
.group-icon-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.category-icon-inner i,
.group-icon-inner i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-icon-wrapper:hover .category-icon-inner,
.group-icon-wrapper:hover .group-icon-inner {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.category-icon-wrapper:hover::before,
.group-icon-wrapper:hover::before {
    opacity: 0.4;
    transform: rotate(-3deg) scale(1.05);
}

.group-icon-wrapper {
    width: 85px;
    height: 85px;
}

.group-icon-inner i {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .category-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .group-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .category-icon-inner i {
        font-size: 1.5rem;
    }

    .group-icon-inner i {
        font-size: 1.8rem;
    }
}

.pagination-wrapper {
    margin-top: 3rem;
}

.pagination {
    gap: 8px;
    justify-content: center;
}

.pagination-wrapper nav p,
.pagination-wrapper nav>div:first-child,
.pagination-wrapper .small.text-muted {
    display: none !important;
}

.page-item {
    border: none;
}

.page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.page-link span,
.page-link i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.2);
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    border: none;
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.page-item.disabled .page-link {
    background: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    width: auto;
    padding: 0 18px;
}

@media (max-width: 576px) {
    .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .pagination {
        gap: 5px;
    }
}

.btn-premium-action {
    background-color: #3858d6;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 88, 214, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-premium-action:hover {
    background-color: #2a4ac2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 88, 214, 0.35);
}

.btn-premium-action:active {
    transform: translateY(0);
}
 
 /* Reset Password Page */
.reset-password-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.reset-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reset-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reset-header h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.reset-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
    z-index: 1;
}

.reset-body {
    padding: 2.5rem;
}

.reset-body .auth-input-group {
    margin-bottom: 1.5rem;
}

.reset-body .auth-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.875rem;
}

.reset-body .auth-input-wrapper {
    position: relative;
}

.reset-body .auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    z-index: 2;
}

.reset-body .auth-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.reset-body .auth-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-reset {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-reset:active {
    transform: translateY(0);
}

.reset-body .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.reset-body .back-link:hover {
    color: #667eea;
    gap: 0.75rem;
}

.reset-body .security-note {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.reset-body .security-note i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

.reset-body .security-note p {
    margin: 0;
    font-size: 0.875rem;
    color: #1e40af;
}

@media (max-width: 768px) {
    .reset-body {
        padding: 1.5rem;
    }

    .reset-header {
        padding: 2rem 1.5rem;
    }
}
