/* Basic Styles */
:root {
    --primary-color: #0D6EFD;
    --text-color: #1A1A1A;
    --border-color: #E6E8EA;
    --background-gray: #F7F7F7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.fa-solid, .fas , .far {
    font-family: "Font Awesome 6 Free" !important;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.5;
    background-color: #f4f4f4;
}

.hidden {
    display: none !important;
}

.tag-hidden-section{
    background-color: #fff;
}
.tag-hidden{
    background-color: #fff;
}
.tag-hidden a{
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header *, .content-section * {
    font-family: var(--font-main);
}
.header-right img{
    height: 24px;
}
header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}


.logo-k {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
}

nav a.active {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 18px;
}

.header-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 18px;
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

/* Hero Section */
.banner-container {
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

.swiper {
    width: 90%;
    margin: 0 auto;
    overflow: visible;
}

.swiper-slide {
    width: 85%;
    /* Adjust this to control the size of the main slide */
    border-radius: 18px;
    transition: transform 0.4s, opacity 0.4s;
    transform: scale(0.9);
    opacity: 0.7;
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}


.swiper-slide img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    color: #000;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: -24px;
}

.swiper-button-next {
    right: -24px;
}

.swiper-pagination {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: auto;
    padding: 5px 15px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 14px;
}

/* Banner Section */
.fig-184ebg6 {
    margin-top: 20px;
}

/* Main Content */
.content-section {
    padding: 40px 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.see-all {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.see-all:hover {
    color: #0D6EFD;
}

/* Comic Grid */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.comic-item {
    background: white;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.comic-item:hover {
    transform: translateY(-4px);
}

.comic-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
}

.comic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.comic-item:hover .comic-cover img {
    transform: scale(1.05);
}

.comic-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.badge.hot {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
}

.badge.new {
    background: linear-gradient(135deg, #4ecdc4, #26a69a);
}

.badge.up {
    background: linear-gradient(135deg, #ffd93d, #ffb300);
}

.badge.complete {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.comic-info {
    padding: 12px 12px 12px 0;
}

.comic-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comic-chapter {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Hot Comics */
.hot-comics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hot-comics-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hot-comic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    background: white;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.hot-comic-item:hover {
    transform: translateY(-5px);
}

.hot-comic-item .rank {
    font-size: 14px;
    font-weight: 700;
    color: black;
    min-width: 47px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/Vectortruyenhot.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.hot-comic-item img {
    width: 69px;
    height: 97px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.hot-comic-info {
    flex: 1;
    min-width: 0;
}

.hot-comic-info .comic-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 1;
    white-space: normal;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-comic-info .comic-chapter {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 2px 0;
}

.hot-comic-info .comic-views {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Scanlation Groups */
.scanlation-groups {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.group-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.group-info .group-name {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    padding: 32px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    margin-right: auto;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 4px;
}

.footer-logo .logo-k {
    color: var(--primary-color);
}

.footer-logo .logo-toon {
    color: #1f2937;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 14px;
}

.footer-email i {
    color: #000000;
    font-size: 16px;
}

.footer-right {
    height: 105px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #374151;
}

.social-media {
    padding-top: 20px;
    display: flex;
    gap: 12px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.social-media a:hover {
    background: #d1d5db;
    color: #374151;
}

.copyright {
    text-align: start;
    padding-top: 20px;
    color: #9ca3af;
    font-size: 13px;
}

/* banner chatgpt */
/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-k {
    color: #0D6EFD;
}

.logo-toon {
    color: #1f2937;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #1f2937;
}

.nav-link.active {
    color: #1f2937;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn,
.login-btn,
.bookmark-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6b7280;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover,
.login-btn:hover,
.bookmark-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.btn-register {
    background: none;
    border: 1px solid #0D6EFD;
    color: #0D6EFD;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    min-width: max-content;
}

.btn-register:hover {
    border-color: #9ca3af;
    color: #374151;
}

.btn-login {
    background: #0D6EFD;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    min-width: max-content;
}

.btn-login:hover {
    background: #0056b3;
}

/* Banner spacing */
.fig-184ebg6 {
    margin-top: 20px;
}

.groups-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 20px 0;
    overflow: visible;
    /* Cho phép nhìn thấy các nút */
    min-height: 50px;
    /* Đảm bảo có đủ chiều cao */
}
.slider-btn {
    position: absolute !important;
    top: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 30%;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.slider-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #d1d5db;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:disabled,
.slider-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: scale(0.95);
}

.slider-btn:disabled:hover,
.slider-btn.disabled:hover {
    background: white;
    border-color: #e5e7eb;
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prev-btn {
    order: 1;
    left: -30px;
}
 
.next-btn {
    right: -30px;
    order: 3;
    background: white !important;
    /* Debug color */
    color: #6b7280 !important;
}

.groups-container {
    display: flex;
    gap: 20px;
    flex: 1;
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    order: 2;
}

.group-card {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #f3f4f6;
    opacity: 1;
    position: relative;
}

.group-card:hover {
    transform: translateY(-4px);
    border-color: #e5e7eb;
}

.group-card img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.group-card:hover img {
    transform: scale(1.05);
}

.group-card .group-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    width: 100%;
}

.group-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.group-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px 0;
}

.group-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    margin-bottom: 12px;
}

.view-btn {
    background: #1f2937 !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-btn:hover {
    background: #374151 !important;
    color: white !important;
    transform: translateY(-1px);
    text-decoration: none;
}

.view-btn:hover {
    background: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    position: relative;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
}

.dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-section a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.footer-logo img {
        width: 164px;
        height: auto;
    }

.dropdown-section a:hover {
    color: #0D6EFD;
    padding-left: 4px;
    transition: all 0.2s ease;
}

/* Dropdown responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 320px;
        left: -100px;
    }

    .nav-dropdown:first-child .dropdown-menu {
        left: -10px !important;
    }
    .header-right img {
        height: 16px;
    }

    .nav-dropdown:last-child .dropdown-menu {
        left: -215px !important;
    }

    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
        height: 80vh;
        overflow-y: scroll;

    }

    .dropdown-section a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        min-width: 280px;
    }

    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .comic-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .hot-comics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .groups-container {
        gap: 16px;
    }

    .group-card {
        min-width: calc((100% - 32px) / 2);
        width: calc((100% - 32px) / 2);
        padding: 16px;
        gap: 12px;
    }

    .group-card.active {
        opacity: 1;
        transform: translateY(0);
    }

    .group-card img {
        width: 130px;
        height: 130px;
        border-radius: 6px;
    }

    .group-card h3 {
        font-size: 14px;
    }

    .group-card p {
        font-size: 12px;
    }

    .view-btn {
        font-size: 11px;
        border-radius: 12px;
    }
}
.login-icon-mobile{
        display: none;
    }
@media (max-width: 767px) {
    .login-icon-mobile{
        display: block;
    }
    .comic-grid .comic-item {
        display: none;
    }

    .normal .comic-item:nth-child(-n+6) {
        display: block;
    }
    .bottom .comic-item:nth-child(-n+3) {
        display: block;
    }

    .hot-comics-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        /* 16px -> 16px */
        padding: 0 5vw;
        /* 20px -> 5vw */
        margin: 0 -5vw 7.5vw -5vw;
        /* 20px, 30px -> 5vw, 7.5vw */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
        /* Snap scrolling for better UX */
        scroll-snap-type: x mandatory;
        scroll-padding: 5vw;
        /* 20px -> 5vw */
        grid-template-columns: 1fr;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .hot-comics-grid::-webkit-scrollbar {
        display: none;
    }

    .hot-comics-column {
        flex-shrink: 0;
        width: 70vw;
        /* 280px -> 70vw */
        gap: 12px;
        /* 12px -> 12px */
        scroll-snap-align: start;
    }

    .hot-comic-item {
        padding: 1px;
        /* 10px -> 2.5vw */
        gap: 10px;
        /* 10px -> 2.5vw */
    }

    .footer-email {
        font-size: 16px;
    }
    .footer-logo {
        font-size: 0;
        margin-bottom: 0;
    }
    .footer-logo img {
        width: 72px;
        height: auto;
    }

    .hot-comic-item .rank {
        height: 11vw;
        /* 28px -> 7vw */
        font-size: 3.25vw;
        /* 13px -> 3.25vw */
    }

    .hot-comic-item img {
        width: 15vw;
        /* 50px -> 12.5vw */
        height: 20vw;
        /* 70px -> 17.5vw */
    }

    .hot-comic-info.comic-title {
        font-size: 12px;
    }

    .comic-title {
        font-size: 12px !important;
        line-height: 1.3;
        /* Allow title to wrap to 2 lines on mobile */
        white-space: nowrap;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .comic-chapter,
    .comic-views {
        font-size: 10px !important;
        /* 11px -> 10px */
    }

    .hot-comics-container {
        position: relative;
    }

    .hot-comics-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5vw;
        /* 20px -> 5vw */
        height: 100%;
        background: linear-gradient(to left, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .container {
        overflow-x: hidden;
    }

    .slider-btn {
        display: none !important;
    }

    .section-header h2 {
        font-size: 16px;
    }

    .mobile-visible {
        display: unset !important;
        
    }
    .login-btn {

        height: 40px;
    }

    .mobile-visible img {
        height: 24px;
    }
    .desktop-hidden {
        display: none !important;
    }

    .logo img {
        width: 74px;
    }

    .header-container {
        padding: 0 16px;
    }

    .header-left {
        gap: 5vw;
    }

    .nav-menu {
        gap: 5vw;
        width: 100%;
        padding: 2.5vw 0;
    }

    .nav-link {
        font-size: 10px;
    }

    .comic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .header {
        border: none;
    }

    .content-section {
        padding: 6vw 0;
    }
    .badge {
        font-size: 8px;
        padding: 2px 4px;
    }
.slide-group {
	grid-template-columns: none !important;
}

    .groups-container {
        gap: 12px;
    }

    .group-card {
        min-width: calc((100% - 6vw) / 1);
        width: calc((100% - 6vw) / 1);
        padding: 12px;
        gap: 2.5vw;
        height: 38vw;
    }

    .group-card.active {
        opacity: 1;
        transform: translateY(0);
    }

    .group-card img {
        width: 42vw;
        height: 42vw;
        border-radius: 0;
    }

  
    .group-card p {
        font-size: 12px;
    }

    .view-btn {
        font-size: 12px;
        border-radius: 2.5vw;
    }

    /* Footer responsive styles */
    .footer-content {
        align-items: center;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-left {
        align-items: center;
        gap: 0;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .comic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hot-comics-column {
        gap: 12px;
    }

    .hot-comic-item {
        padding: 2vw;
        gap: 2vw;
    }



    .groups-container {
        gap: 2vw;
    }

    .group-card {
        min-width: 100%;
        width: 100%;
        padding: 2.5vw;
        gap: 2vw;
    }

    .group-card.active {
        opacity: 1;
        transform: translateY(0);
    }

 

    footer {
        padding: 6vw 0 16px 0;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .social-media {
        gap: 12px;
    }

    .social-media a {
        width: 7vw;
        height: 7vw;
        font-size: 12px;
    }
}

.footer-bottom {
    display: flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
}

/* All ranks use the same background image */
.hot-comic-item .rank {
    background-image: url('../images/Vectortruyenhot.png');
    background-position: center;
    background-repeat: no-repeat;
}


/* carousel */
@property --card-rotate-x {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

@property --card-rotate-y {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

:root {
	--card-transition: 0.3s ease;
	--slider-transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	--card-tilt-max: 25deg;
}



.slider-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
}

.slider-wrapper {
	overflow: hidden;
    padding-top: 25px;
    padding-bottom: 10px;
}

.slider {
	display: flex;
	transition: transform var(--slider-transition);
}

.slide-group {
	flex: 0 0 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.card {
	position: relative;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 20px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transform: perspective(1000px) rotateX(var(--card-rotate-x))
		rotateY(var(--card-rotate-y));
	transition: all var(--card-transition);
	transform-style: preserve-3d;
	will-change: transform;
	opacity: 1;
}



.card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 15px;
}



.card p {
	color: #e0e0e0;
	font-size: 1.1rem;
	line-height: 1.4;
}

.nav-btn {
	position: absolute;
	top: calc(50% - 25px);
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0);
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 5px;
	cursor: pointer;
	display: grid;
	place-items: center;
	color: black;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.nav-btn:hover {
	transform: translateY(-50%) scale(1.5);
}




.slider-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: white;
	transform: scale(1.5);
}

#bokeh-background {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bokeh {
	position: absolute;
	border-radius: 50%;
	opacity: 0.25;
	filter: blur(10px);
	box-shadow: 0 0 30px 15px rgba(255, 69, 0, 0.15);
	animation: float 15s infinite;
}

.bokeh::before,
.bokeh::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	width: 200%;
	height: 200%;
	top: -50%;
	left: -50%;
	background: inherit;
	filter: blur(30px);
	z-index: -1;
}

.bokeh::before {
	transform: rotate(45deg);
}

@keyframes float {
	0% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-100px) scale(1.5);
	}
	100% {
		transform: translateY(0) scale(1);
	}
}