:root {
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Lora', serif;

    --color-title: #0C4464;
    --color-text: #353c46;
    --color-white: #ffffff;
    --background: #F8FAFC;
    --border: #ABBAF050;
    --background-gradient: linear-gradient(135deg, #5B8CFF, #7AA2FF);

    --font-size-36: 36px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-18: 18px;
    --font-size-16: 16px;
    --font-size-14: 14px;
    --font-size-12: 12px;

    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.2;
    background: var(--background);
    color: var(--color-text);
}

.wrapp-product {
    width: 100%;
    overflow-x: hidden;
    padding-top: 70px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ========================================== Section 1: Category Products ========================================== */
.category-section {
    padding: 30px 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.category-section::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(137deg, #3BCDF6 0%, #0ac1f400 66%, #316df000 100%);
}

.category-section::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 100%;
    top: 0;
    right: 0;
    background: linear-gradient(137deg, #316df000 0%, #0ac1f400 34%, #3BCDF6 100%);
}

.container-on {
    max-width: 1240px;
    min-height: 333px;
    margin: auto;
    position: relative;
}

.category-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.category-slide.active {
    display: flex;
    opacity: 1;
}

.offer-content {
    width: 60%;
    z-index: 2;
}

.offer-badgeg {
    display: inline-block;
    padding: 4px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    color: #0B3552;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-14);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.offer-title {
    font-size: var(--font-size-24);
    font-family: var(--font-heading);
    font-weight: 600;
    color: #0B3552;
    line-height: 1.3;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.offer-desc {
    font-size: var(--font-size-16);
    line-height: 1.6;
    color: #3E4C59;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-meta {
    margin-bottom: 35px;
    display: flex;
    gap: 100px;
    align-items: center;
}

.offer-cr,
.offer-device {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff, #ffffff00);
    padding: 6px 14px;
    font-size: var(--font-size-14);
    color: #1E6FA8;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0AC1F4, #316DF0);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: var(--font-size-16);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px 0 #ABBAF0;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33, 163, 202, 0.15);
}

/* MEDIA - 3D effect */
.offer-media {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 900px;
    z-index: 3;
}

.offer-logo {
    width: 360px;
    height: 260px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transform: rotateX(5deg) rotateY(-16deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.18),
        0 8px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border-radius: 18px;

    border: 1px solid rgba(12, 68, 100, 0.12);

    transition: transform 0.4s ease;
}

.offer-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent);
    pointer-events: none;
}

.offer-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* KEY */
    display: block;
    transform: translateZ(40px);
    transition: opacity 0.3s ease;
}

.offer-logo:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-6px);
}

.bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bubble-1 {
    width: 250px;
    height: 250px;
    left: -60px;
    bottom: -70px;
    background: #ffffff30;
}

.bubble-2 {
    width: 250px;
    height: 250px;
    right: -60px;
    top: -70px;
    background: #ffffff30;
    z-index: 2;
}


.offer-dot {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(90deg, #0AC1F4 0%, #316DF0 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.dot:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.dot[style*="opacity: 1"] {
    box-shadow: 0 0 10px rgba(10, 193, 244, 0.5);
}

.dot-next,
.dot-privew {
    font-size: 16px;
    color: #0C4464;
    cursor: pointer;
    font-weight: 700;
    padding: 5px 10px;
    transition: all 0.3s ease;
    user-select: none;
    border-radius: 50%;
}

.dot-next:hover,
.dot-privew:hover {
    color: #0AC1F4;
    background: rgba(255, 255, 255, 0.3);
}

.dot-next:active,
.dot-privew:active {
    transform: scale(0.9);
}

/* ========================================== Section 2: New Carousel ========================================== */
.carousel-section {
    padding: 30px 0;
}

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

.section-title {
    font-weight: 700;
    color: var(--color-title);
    font-size: var(--font-size-36);
    font-family: var(--font-heading);
}

.carousel-btn {
    width: 30px;
    height: 95%;
    cursor: pointer;
    opacity: 0;
    border: none;
    font-size: var(--font-size-20);
    color: var(--color-title);
    pointer-events: none;
    background: #FFFFFFC8;
    transition: all var(--transition-speed) ease;
    box-shadow: 0px 0px 20px 0px #dbe9f1;
}

.carousel-btn--prev {
    position: absolute;
    left: 0;
    top: 7px;
    z-index: 1;
}

.carousel-btn--next {
    position: absolute;
    right: 0;
    top: 7px;
    z-index: 1;
}

.carousel-btn--prevt {
    position: absolute;
    right: 0;
    top: 7px;
    z-index: 1;
}

.carousel-btn--nextt {
    position: absolute;
    left: 0;
    top: 7px;
    z-index: 1;
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
    text-shadow: 3px 0px 5px #13a2f8;
    pointer-events: auto;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}

.carousel-track {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    will-change: transform;
}

.carousel-item {
    width: 222px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.carousel-item__image {
    width: 100%;
    height: 100%;
}

.carousel-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item__overlay {
    position: absolute;
    inset: 0;
    padding: 12px;
    z-index: 2;
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

.carousel-item:hover .carousel-item__overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.carousel-item:hover .carousel-item__info {
    opacity: 0;
    transform: translateY(10px);
}

.carousel-item:hover .carousel-item__image img {
    transform: scale(1.06);
}

.btn-see-detail {
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 22px;
    color: var(--color-white);
    font-size: var(--font-size-16);
    background: var(--background-gradient);
    box-shadow: 0 6px 18px rgba(91, 140, 255, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.carousel-item:hover .btn-see-detail {
    transform: translateY(0);
}

.btn-see-detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(91, 140, 255, 0.45);
    filter: brightness(1.05);
}

.carousel-item__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 8px;
    background: #FFFFFFF0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-item__title {
    margin: 0;
    line-height: 1.4;
    color: var(--color-text);
    font-size: var(--font-size-16);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================== Modal ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    overflow: hidden;
    max-width: 850px;
    width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    transition: background var(--transition-speed) ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.modal-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-image {
    display: flex;
    gap: 20px;
    flex-direction: column;
    height: fit-content;
}

.modal-image__wrapper {
    width: 100%;
    aspect-ratio: 4/4;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.modal-image__wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-details-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-details-header .modal-title {
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    font-size: var(--font-size-16);
}

.modal-metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.metric-badge {
    padding: 8px 14px;
    border-radius: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
    background: linear-gradient(260deg, #A785D9, #6E7FD3);
    flex-shrink: 0;
}

.metric-label {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.metric-value {
    font-size: var(--font-size-16);
    color: var(--color-white);
    font-weight: 700;
}

.modal-info {
    display: flex;
    gap: 16px;
    flex-direction: column;
    min-height: 300px;
}

.modal-conversion,
.modal-traffic {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.modal-description h4,
.modal-conversion h4,
.modal-traffic h4 {
    margin: 0;
    font-size: var(--font-size-16);
    font-weight: 600;
    color: var(--color-text);
}

.modal-description p,
.modal-conversion p {
    margin: 0;
    font-size: var(--font-size-14);
    color: var(--color-text);
    line-height: 1.6;
}

.traffic-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.traffic-tag {
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--color-white);
    font-size: var(--font-size-14);
    background: var(--background-gradient);
}

.modal-stats {
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.stat-header,
.stat-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.stat-header {
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
}

.stat-row {
    font-size: 14px;
}

.stat-geo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag-icon {
    width: 20px;
    height: 15px;
}

.stat-payout {
    font-weight: 600;
    color: #16a34a;
}

.offer-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 12px;
    width: fit-content;
}

.stat-more {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
}


#modalGeo,
#modalPayout,
#modalOfferType {
    display: contents;
}
/* Thêm vào phần Modal styles */
.modal-description {
    display: flex;
    gap: 8px;
    flex-direction: column;
    position: relative;
}

.modal-description-content {
    white-space: pre-line;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-description-content.collapsed {
    max-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.modal-description-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.6em;
    background: linear-gradient(to bottom, transparent, var(--color-white));
    pointer-events: none;
}

.modal-description-content.expanded {
    max-height: 1000px;
}

.description-toggle {
    align-self: flex-start;
    border: none;
    background: none;
    color: #2563eb;
    font-size: var(--font-size-14);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.description-toggle:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.description-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.description-toggle.expanded svg {
    transform: rotate(180deg);
}
/* ========================================== FEATURED PRODUCTS – SECTION 3========================================== */

.featured-section {
    padding: 40px 0;
    background: linear-gradient(-120deg, #0AC1F4 0%, #316DF0 100%);
    color: var(--color-white);
}

.featured-products__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.featured-products__intro {
    max-width: 380px;
    flex-shrink: 0;
}

.featured-products__title {
    font-size: var(--font-size-36);
    font-weight: 700;
    margin-bottom: 16px;
}

.featured-products__desc {
    font-size: var(--font-size-18);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
}

.featured-products__btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-white);
    color: var(--color-title);
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.featured-products__btn:hover {
    background: linear-gradient(135deg, #5B8CFF, #7AA2FF);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.featured-products__slider {
    position: relative;
    flex: 1;
    min-width: 0;
}

.featured-products__viewport {
    overflow: hidden;
    width: 100%;
}

.featured-products__track {
    display: flex;
    gap: 40px;
    will-change: transform;
    user-select: none;
    touch-action: pan-y;
}


.product-card {
    width: 350px;
    flex-shrink: 0;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card__image {
    height: 200px;
    background: linear-gradient(260deg, #A785D9 0%, #6E7FD3 100%);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__body {
    padding: 12px;
}

.product-card__title {
    font-size: var(--font-size-16);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
}

.product-card__stats {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-16);
}

.product-card__stats span:last-child {
    white-space: nowrap;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-title);
    z-index: 10;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.slider-arrow--prev {
    left: -20px;
}

.slider-arrow--next {
    right: -20px;
}

/* ========================================== Banner Container  ========================================== */

.banner-section {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #7c3aed 50%, #ec4899 75%, #f97316 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.banner-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.banner-header {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 50px;
}

.banner-header h1 {
    font-size: var(--font-size-36);
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.banner-header p {
    font-size: var(--font-size-18);
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.categories-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.banner-card {
    border-radius: 20px;
    padding: 25px 0 15px 0;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.banner-card:hover::before {
    opacity: 1;
}

.banner-card:hover {
    transform: translateY(-12px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.banner-card:hover .icon-container {
    transform: rotate(360deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.banner-image {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    color: white;
}

.banner-title {
    font-size: var(--font-size-18);
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    font-size: var(--font-size-14);
    opacity: 0.9;
    margin-bottom: 20px;
}

.banner-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.xstat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xstat-value {
    font-size: var(--font-size-24);
    font-weight: bold;
    margin-bottom: 10px;
}

.xstat-label {
    font-size: var(--font-size-12);
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* CTA Button */
.banner-btn {
    margin-top: 20px;
    background: var(--color-white);
    color: var(--color-title);
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-14);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
}

.banner-card:hover .banner-btn {
    opacity: 1;
    transform: translateY(0);
}

.banner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Badge */
.offers-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: var(--font-size-12);
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================== Section 6 Articles ========================================== */
.latest-articles {
    padding: 30px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-36);
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--color-title);
}

/* Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.article-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Image */
.article-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Content */
.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: var(--font-size-18);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-title);
}

.article-content p {
    font-size: var(--font-size-16);
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: var(--color-title);
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* ========================================== Responsive ========================================== */

@media (min-width: 1620px) {
    .container {
        max-width: 1400px;
        padding: 10px 0;
    }

    .container-on {
        max-width: 1400px;
    }

    .offer-logo {
        width: 415px;
        height: 300px;
    }

    /* new product */
    .carousel-track {
        gap: 40px
    }

    .carousel-item {
        width: 250px;
        height: 280px;
    }

    /* modal */
    .modal-content {
        max-width: 950px;
    }

    .modal-description h4,
    .modal-conversion h4,
    .modal-traffic h4,
    .metric-value,
    .stat-value,
    .modal-details-header .modal-title,
    .modal-description p,
    .modal-conversion p,
    .stat-label,
    .carousel-item__title,
    .btn-see-detail,
    .featured-products__btn,
    .product-card__title,
    .product-card__stats,
    .product-card__stats,
    .offer-desc,
    .offer-btn {
        font-size: var(--font-size-18);
    }

    .traffic-tag,
    .metric-label,
    .offer-badgeg,
    .offer-cr,
    .offer-device {
        font-size: var(--font-size-16);
    }

    .modal-metrics {
        gap: 20px;
    }

    .carousel-wrapper {
        padding: 10px 0;
    }

    .product-card {
        width: 365px;
    }

    .product-card__image {
        height: 230px;
    }

    .product-card__body {
        padding: 16px;
    }

    /* Banner */
    .categories-grid {
        gap: 50px;
    }

    .banner-card {
        padding: 40px 0 20px 0;
    }

    .offers-badge {
        font-size: var(--font-size-14);
    }

    .banner-title {
        font-size: var(--font-size-24);
    }

    .xstat-value {
        margin-bottom: 20px;
    }

    .banner-subtitle,
    .xstat-label {
        font-size: var(--font-size-16);
    }

    .icon-container {
        width: 85px;
        height: 85px;
    }

    .banner-image {
        width: 45px;
        height: 45px;
    }

    .article-thumb img {
        height: 200px;
    }

    .article-content h3 {
        font-size: var(--font-size-20);
    }

    .article-content p,
    .read-more {
        font-size: var(--font-size-18);
    }
}