/* Home Page CSS - Ana Sayfa Stilleri */

/* Image Loading Optimization */
img {
    content-visibility: auto;
}

img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Banner Section */
.banner {
    padding: 80px 0px 80px !important;
    background-image: url("/images/header.png");
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    position: relative;
    min-height: 550px;
    margin-bottom: 60px;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(248, 249, 250, 1) 0%,
        rgba(248, 249, 250, 0.95) 60%,
        rgba(248, 249, 250, 0.5) 85%,
        transparent 100%
    );
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 1199.98px) {
    .banner {
        min-height: 500px;
        background-size: contain;
    }
}

@media (max-width: 991.98px) {
    .banner {
        padding: 60px 0px 60px !important;
        min-height: 500px;
        background-size: 60%;
        background-position: right center;
        margin-bottom: 50px;
    }

    .banner::before {
        right: 35%;
        background: linear-gradient(
            90deg,
            rgba(248, 249, 250, 1) 0%,
            rgba(248, 249, 250, 0.95) 50%,
            rgba(248, 249, 250, 0.7) 80%,
            transparent 100%
        );
    }

    .info-banner {
        bottom: -35px;
        padding: 16px 0;
    }

    .info-banner-content {
        gap: 20px;
    }

    .info-item {
        gap: 8px;
    }

    .info-icon {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }

    .info-text {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .banner {
        padding: 50px 0px 50px !important;
        min-height: 480px;
        background-size: 55%;
        background-position: right center;
        margin-bottom: 45px;
    }

    .info-banner {
        bottom: -30px;
        padding: 14px 0;
    }

    .banner::before {
        right: 20%;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.75) 50%,
            transparent 100%
        );
    }
}

/* Banner left typography polish */
.banner-left {
    max-width: 100%;
    text-align: left;
}

.banner-left .banner-title {
    line-height: 1.12;
    letter-spacing: -0.4px;
    font-weight: 800;
    margin-bottom: 10px;
}

.banner-left .banner-title::after {
    content: "";
    display: block;
    width: 68px;
    height: 6px;
    border-radius: 6px;
    margin-top: 14px;
    margin-left: 0;
    background: linear-gradient(90deg, #ff6b35 0%, #f5520f 100%);
}

.banner-left .banner-subtitle {
    color: #5f6b7a;
    font-weight: 500;
    max-width: 52ch;
    margin-top: 8px;
    margin-bottom: 22px;
    font-size: clamp(15px, 1.2vw, 18px);
}

.home-products-swiper {
    width: 100%;
    max-width: 420px; /* desktop - daha kompakt */
    aspect-ratio: 4 / 3; /* uniform height */
    border-radius: 12px;
    overflow: hidden; /* komşu slayt görünmesin */
    background: #f7f7f7;
    padding: 0 !important; /* iç boşlukları sıfırla */
}

@media (max-width: 991.98px) {
    .home-products-swiper {
        max-width: 360px;
    }
}

@media (max-width: 767.98px) {
    .home-products-swiper {
        max-width: 280px;
    }
}

.home-products-swiper .swiper-wrapper,
.home-products-swiper .swiper-slide {
    height: 100%;
}

.home-products-swiper .swiper-slide {
    margin-right: 0 !important; /* slide sağ boşluğu kaldır */
    margin-left: 0 !important; /* slide sol boşluğu kaldır */
}

.home-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill uniformly */
    display: block;
    margin: 0px !important;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    padding: 20px 0;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.info-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.info-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 767.98px) {
    .info-banner {
        padding: 16px 0;
    }

    .info-banner-content {
        gap: 20px;
    }

    .info-item {
        gap: 8px;
    }

    .info-icon {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }

    .info-text {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .banner {
        padding: 40px 0px 40px !important;
        min-height: 450px;
        background-size: 50%;
        background-position: right 20%;
        margin-bottom: 40px;
    }

    .banner::before {
        right: 45%;
        background: linear-gradient(
            90deg,
            rgba(248, 249, 250, 1) 0%,
            rgba(248, 249, 250, 0.98) 60%,
            rgba(248, 249, 250, 0.8) 85%,
            transparent 100%
        );
    }

    .info-banner {
        bottom: -28px;
        padding: 12px 0;
    }

    .info-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .info-item {
        width: 100%;
        justify-content: center;
    }
}

/* Floating Phone Widget */
.floating-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 180px;
    animation: floatIn 0.6s ease-out;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-phone:hover {
    transform: scale(1.05);
}

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

.floating-phone .floating-phone-base {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}

.floating-phone .floating-phone-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    .floating-phone {
        bottom: 15px;
        right: 15px;
        width: 160px;
        border-radius: 28px;
    }

    .floating-phone .floating-phone-base {
        border-radius: 28px;
    }
}

@media (max-width: 991.98px) {
    .floating-phone {
        width: 140px;
        border-radius: 24px;
    }

    .floating-phone .floating-phone-base {
        border-radius: 24px;
    }
}

@media (max-width: 767.98px) {
    .floating-phone {
        bottom: 10px;
        right: 10px;
        width: 120px;
        border-radius: 20px;
    }

    .floating-phone .floating-phone-base {
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .floating-phone {
        width: 100px;
        border-radius: 18px;
    }

    .floating-phone .floating-phone-base {
        border-radius: 18px;
    }
}


/* Homepage campaign coupons */
.coupon-campaigns-section {
    padding: 34px 0 20px;
    background: linear-gradient(180deg, #fff8f4 0%, #ffffff 75%);
    overflow: hidden;
}

.coupon-campaigns-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.coupon-campaigns-subtitle {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    background: #fff;
    border: 1px solid #f4dfd3;
    border-radius: 999px;
    padding: 6px 12px;
}

.coupon-campaigns-swiper {
    overflow: hidden;
    padding: 6px 4px 16px;
    margin: 0 -4px;
}

.coupon-campaigns-swiper .swiper-slide {
    width: 330px !important;
    height: auto;
}

.coupon-campaign-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #f2dfd4;
    background: #fff;
    box-shadow: 0 6px 20px rgba(37, 32, 42, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.coupon-campaign-card:hover {
    transform: translateY(-4px);
    border-color: #ffccba;
    box-shadow: 0 14px 30px rgba(245, 82, 15, 0.18);
}

.coupon-campaign-media {
    position: relative;
    width: 100%;
    aspect-ratio: 39 / 18;
    background: radial-gradient(circle at 22% 25%, #ff9e7a 0%, #ff6b35 32%, #272a3d 100%);
}

.coupon-campaign-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(15, 17, 27, 0.04) 0%, rgba(15, 17, 27, 0.34) 100%);
    pointer-events: none;
}

.coupon-campaign-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.coupon-campaign-fallback {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.coupon-campaign-pill {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 1;
    background: #ffffff;
    color: #f5520f;
    border-radius: 999px;
    border: 1px solid #ffd7c7;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
}

.coupon-campaign-joined {
    position: absolute;
    right: 12px;
    top: 10px;
    z-index: 1;
    background: rgba(19, 24, 39, 0.72);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
}

.coupon-campaign-body {
    padding: 14px 14px 16px;
}

.coupon-campaign-body h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: #1f1f39;
}

.coupon-campaign-body p {
    margin: 0;
    font-size: 12px;
    color: #667085;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .coupon-campaigns-section {
        padding: 26px 0 14px;
    }

    .coupon-campaigns-swiper .swiper-slide {
        width: 305px !important;
    }
}

@media (max-width: 767.98px) {
    .coupon-campaigns-head {
        align-items: flex-start;
    }

    .coupon-campaigns-subtitle {
        font-size: 12px;
        padding: 5px 10px;
    }

    .coupon-campaigns-swiper .swiper-slide {
        width: 282px !important;
    }

    .coupon-campaign-body h3 {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .coupon-campaigns-swiper .swiper-slide {
        width: auto !important;
    }

    .coupon-campaign-media {
        aspect-ratio: 39 / 20;
    }

    .coupon-campaign-body {
        padding: 10px 10px 12px;
    }

    .coupon-campaign-pill,
    .coupon-campaign-joined {
        font-size: 10px;
        padding: 4px 8px;
    }

    .coupon-campaign-body p {
        font-size: 11px;
    }

    .coupon-campaign-fallback {
        font-size: 18px;
    }
}

/* Latest restaurants cards */
.latest-restaurants--cards {
    padding: 40px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.latest-restaurants-swiper {
    overflow: hidden;
    padding: 8px 4px 16px;
    margin: 0 -4px;
}

.latest-restaurants-swiper .swiper-slide {
    height: auto;
    width: 280px !important;
}

.lr-card {
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.lr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.lr-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.lr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lr-card:hover .lr-card-image img {
    transform: scale(1.08);
}

.lr-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f5520f 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.lr-card-content {
    padding: 16px;
}

.lr-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f1f39;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lr-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.lr-stars {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.lr-stars-empty {
    display: flex;
    color: #e0e0e0;
}

.lr-stars-empty svg {
    display: block;
    flex: 0 0 14px;
}

.lr-stars-fill {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffa500;
}

.lr-stars-fill svg {
    display: block;
    flex: 0 0 14px;
}

.lr-rating-text {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.lr-card-info {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .latest-restaurants--cards {
        padding: 32px 0;
    }

    .latest-restaurants-swiper {
        padding: 6px 4px 14px;
    }

    .latest-restaurants-swiper .swiper-slide {
        width: 260px !important;
    }

    .lr-card-image {
        height: 160px;
    }
}

@media (max-width: 767.98px) {
    .latest-restaurants--cards {
        padding: 24px 0;
    }

    .latest-restaurants-swiper {
        padding: 4px 4px 12px;
    }

    .latest-restaurants-swiper .swiper-slide {
        width: 240px !important;
    }

    .lr-card-image {
        height: 150px;
    }

    .lr-card-content {
        padding: 14px;
    }

    .lr-card-title {
        font-size: 15px;
    }
}

/* Highlighted cuisines section */
.category-highlight {
    background: linear-gradient(180deg, #fff7f4 0%, #ffffff 60%);
    border-top: 1px solid #ffe3d8;
    border-bottom: 1px solid #ffe3d8;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 0;
}

/* Bölüm genelinde yatay taşmayı engelle, hover için dikey açık kalsın */
.category.section-gap-66 {
    overflow-x: clip;
}

.cuisines-swiper {
    padding: 14px 4px 8px;
    overflow: hidden;
}

.cuisines-swiper .swiper-wrapper {
    padding-bottom: 4px;
}

.cuisines-swiper .swiper-slide {
    height: auto;
}

.cuisine-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 16px rgba(31, 31, 57, 0.08);
    border-radius: 16px;
    padding: 18px 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cuisine-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #ffe5dc 0%, #ffdfd1 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cuisine-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
}

.cuisine-image-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe5dc 100%);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.cuisine-card:hover .cuisine-image-wrap {
    border-color: #ffe5dc;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
    transform: scale(1.08);
}

.cuisine-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.cuisine-title {
    font-weight: 700;
    font-size: 14px;
    color: #1f1f39;
    text-align: center;
    line-height: 1.3;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.cuisine-card:hover .cuisine-title {
    color: #ff6b35;
}

.most-visited-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

#most-visited-grid.is-collapsed {
    display: none;
}

.all-restaurants-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #f0d9cf;
    background: #fff7f3;
    color: #f5520f;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.all-restaurants-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(245, 82, 15, 0.15);
}

.all-restaurants-section {
    margin-top: 28px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #f1e3d8;
    background: linear-gradient(120deg, #fff7f1 0%, #ffffff 48%, #f5fbff 100%);
    overflow: auto;
    max-height: 70vh;
    opacity: 1;
    transition:
        max-height 0.4s ease,
        opacity 0.25s ease,
        padding 0.25s ease,
        margin 0.25s ease,
        border-color 0.25s ease;
}

.all-restaurants-section.is-collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin-top: 0;
    border-color: transparent;
    pointer-events: none;
    overflow: hidden;
}

.all-restaurants-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.all-restaurants-head h3 {
    font-weight: 800;
    margin: 0;
    color: #1f1f39;
}

.all-restaurants-count {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #eee;
}

.all-restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.all-restaurant-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.all-restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #ffd2c2;
}

.all-restaurant-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.all-restaurant-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.all-restaurant-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #fffbf5;
    color: #f5520f;
    border: 1px solid #ffd9c6;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.15);
}

.all-restaurant-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.all-restaurant-title {
    font-weight: 700;
    color: #1f1f39;
    font-size: 15px;
    line-height: 1.3;
}

.all-restaurant-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.all-restaurant-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.all-restaurant-status {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.all-restaurant-status.on {
    background: #e9f7ef;
    color: #2e7d32;
}

.all-restaurant-status.off {
    background: #ffebee;
    color: #c62828;
}

@media (max-width: 767.98px) {
    .most-visited-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .all-restaurants-section {
        padding: 16px;
    }
}

/* App Download Popup */
.app-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.app-popup.active {
    display: flex;
}

.app-popup-content {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.app-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-popup-close:hover {
    background: #ff6b35;
    color: white;
    transform: rotate(90deg);
}

.app-popup-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f1f39;
    margin: 0 0 8px 0;
    text-align: center;
}

.app-popup-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
}

.app-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.app-popup-btn {
    display: block;
    transition: transform 0.3s ease;
}

.app-popup-btn:hover {
    transform: scale(1.05);
}

.app-popup-btn img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .app-popup-content {
        padding: 24px;
        border-radius: 20px;
    }

    .app-popup-title {
        font-size: 20px;
    }

    .app-popup-subtitle {
        font-size: 13px;
    }

    .app-popup-btn img {
        max-width: 160px;
    }
}

/* Working visual above footer banner */
.working-visual-section {
    padding: 0 0 20px;
}

.working-visual-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("/images/working_back.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 2926 / 1504;
    display: flex;
    align-items: center;
    justify-content: center;
}

.working-visual-foreground {
    display: block;
    width: min(86%, 1040px);
    height: auto;
}

@media (max-width: 991.98px) {
    .working-visual-wrapper {
        border-radius: 16px;
    }

    .working-visual-foreground {
        width: min(90%, 820px);
    }
}

@media (max-width: 575.98px) {
    .working-visual-section {
        padding: 0 0 16px;
    }

    .working-visual-wrapper {
        border-radius: 12px;
    }

    .working-visual-foreground {
        width: 94%;
    }
}

/* Footer top banner */
.footer-top-banner-section {
    padding: 0 0 48px;
}

.footer-top-banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@media (max-width: 991.98px) {
    .footer-top-banner-section {
        padding: 0 0 38px;
    }

    .footer-top-banner-image {
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {
    .footer-top-banner-section {
        padding: 0 0 28px;
    }
}
