.homepage-img {
    width: 100vw;           /* full viewport width */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -67px;
    overflow-x: hidden;
    position: relative;
}

.homepage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Fade out at bottom */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

body{
    overflow-x: hidden;
}

@font-face {
    font-family: 'AR Gansinkaisho';
    src: url('../fonts/ARGansinkaishoJP-HV.ttf') format('truetype'); /* relative path from CSS file */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.vertical-text {
    font-family: 'AR Gansinkaisho', sans-serif;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 50px;
    line-height: 1.5em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 1px black;
    text-stroke: 1px black;

    position: absolute;     /* overlay on image */
    top: 500px;              /* distance from top of image */
    right: 900px;            /* distance from right side */
    z-index: 5;             /* above the image */
}

/* =======================
   1080p
   ======================= */

/* CSS for screens 1920px wide or smaller */
@media (max-width: 1920px) {
    .vertical-text{
        top: 400px;
        right: 650px
    }
}


   /* =======================
   1080p
   ======================= */


/* Mobile: hide desktop, show mobile */
@media (max-width: 760px) {
    .homepage-img{
        height: 600px;
    }
    .vertical-text{
        top: 190px;
        right: 30px;
        font-size: 30px;
    }
}


.hot-cards-container.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
/* Hot Cards Bar Container */
.hot-cards-container {
    display: flex;                  /* put cards in a row */
    flex-direction: row;
    gap: 16px;                      /* spacing between cards */
    overflow-x: auto;               /* horizontal scroll */
    overflow-y: hidden;             /* hide vertical overflow */
    padding: 10px 0;
    width: 80%;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;          /* for Firefox */
    scrollbar-color: rgba(255,255,255,0.3) transparent;
    cursor: grab;
    cursor: -webkit-grab;
}
.hot-cards-container,
.hot-cards-container * {
    user-select: none;          /* Prevent text selection */
    -webkit-user-drag: none;   /* Prevent image drag in Safari/Chrome */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
}
/* Webkit scrollbar styling */
.hot-cards-container::-webkit-scrollbar {
    display: none;
}
.hot-cards-container::-webkit-scrollbar-track {
    background: transparent;
}
.hot-cards-container::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Individual Hot Card */
.hot-card {
    flex: 0 0 auto;                 /* prevent shrinking, keep width */
    width: 220px;                    /* fixed width */
    height: 450px;                   /* fixed height */
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    color: #fff;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hot-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

/* Card image */
.hot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Card text */
.hot-card p {
    margin: 4px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hot-card {
        width: 180px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hot-card {
        width: 150px;
        height: 400px;
    }
    .hot-cards-container {
        gap: 12px;
    }
    .hot-cards-title {
        font-size: 1.5rem !important;
    }
}

/* Hot Cards Title: Flickering Fire Glow */
.hot-cards-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffcf00; 
    text-shadow:
        0 0 5px #ffcf00,
        0 0 10px #ffcf00,
        0 0 15px #ff9900,
        0 0 20px rgba(255, 207, 0, 0.6),
        0 0 30px rgba(255, 207, 0, 0.4);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: flicker-fire 1.5s infinite;
    margin-top: 100px;
}

/* Emoji can flicker slightly too */
.hot-cards-title emoji {
    font-size: 2.8rem;
    text-shadow:
        0 0 5px #ffcf00,
        0 0 10px #ffcf00,
        0 0 15px #ff9900,
        0 0 20px rgba(255, 207, 0, 0.6);
    animation: flicker-fire 1.5s infinite;
}

/* Flickering glow animation */
@keyframes flicker-fire {
    0%, 100% { 
        text-shadow:
            0 0 5px #ffcf00,
            0 0 10px #ffcf00,
            0 0 15px #ff9900,
            0 0 20px rgba(255, 207, 0, 0.6),
            0 0 30px rgba(255, 207, 0, 0.4);
    }
    25% {
        text-shadow:
            0 0 10px #ffdf33,
            0 0 20px #ffdf33,
            0 0 25px #ff9900,
            0 0 35px rgba(255, 223, 51, 0.7),
            0 0 50px rgba(255, 223, 51, 0.5);
    }
    50% {
        text-shadow:
            0 0 7px #ffcf00,
            0 0 14px #ffcf00,
            0 0 20px #ff9900,
            0 0 28px rgba(255, 207, 0, 0.65),
            0 0 40px rgba(255, 207, 0, 0.45);
    }
    75% {
        text-shadow:
            0 0 12px #ffd633,
            0 0 22px #ffd633,
            0 0 28px #ff9900,
            0 0 38px rgba(255, 214, 51, 0.7),
            0 0 55px rgba(255, 214, 51, 0.5);
    }
}

.real-cards-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 200px;
    margin-bottom: 200px;
    flex-wrap: wrap; /* for mobile responsiveness */
    width: 80%;
}

.real-cards-text {
    flex: 1 1 60%;
    color: #fff;
    font-size: 2rem;
    line-height: 1.6;
}

.real-cards-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    
}

.real-cards-image img {
    max-width: 100%;
    height: auto;
    box-shadow: none;  /* remove shadow */
    border-radius: 30px; 
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .real-cards-container {
        flex-direction: column;
        text-align: center;
        margin: 0px;
        margin-top: 100px;
    }
    .real-cards-text, .real-cards-image {
        flex: 1 1 100%;
        font-size: 1rem;
    }
    .real-cards-image{
        order: -1;
    }
    .real-cards-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

.card-options-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 50px auto;
    flex-wrap: wrap; /* for mobile responsiveness */
    width: 80%;
}

.card-options-text {
    flex: 1 1 60%;
    color: #fff;
    font-size: 2rem;
    line-height: 1.6;
}

.card-options-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
}

.card-options-image img {
    max-width: 100%;
    height: auto;
    box-shadow: none;  /* remove shadow */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .card-options-container {
        flex-direction: column;
        text-align: center;
        margin: 0px;
    }
    .card-options-text, .card-options-image {
        flex: 1 1 100%;
        font-size: 1rem;
    }
    .card-options-image {
        order: -1; /* image on top */
    }
    .card-options-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

.open-anywhere-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 50px auto;
    flex-wrap: wrap; /* for mobile responsiveness */
    width: 80%;
}

.open-anywhere-text {
    flex: 1 1 60%;
    color: #fff;
    font-size: 2rem;
    line-height: 1.6;
}

.open-anywhere-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
}

.open-anywhere-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px; 
    box-shadow: none;  /* remove shadow */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .open-anywhere-container {
        flex-direction: column;
        text-align: center;
    }
    .open-anywhere-text, .open-anywhere-image {
        flex: 1 1 100%;
        font-size: 1rem;
    }
    .open-anywhere-image {
        order: -1; /* image on top */
    }
    .open-anywhere-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

.shipping-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 50px auto;
    flex-wrap: wrap; /* for mobile responsiveness */
    width: 80%;
}

.shipping-text {
    flex: 1 1 60%;
    color: #fff;
    font-size: 2rem;
    line-height: 1.6;
}

.shipping-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
}

.shipping-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: none;  /* remove shadow */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .shipping-container {
        flex-direction: column;
        text-align: center;
    }
    .shipping-text, .shipping-image {
        flex: 1 1 100%;
        font-size: 1rem;
    }
    .shipping-image {
        order: -1; /* image moves on top */
    }
    .shipping-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* =========================
   VIP Container Styling
   ========================= */
.vip-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 80%;
    margin: 50px auto;
    flex-wrap: wrap; /* for mobile responsiveness */
}

.vip-text {
    flex: 1 1 60%;
    color: #fff;
    font-size: 2rem;
    line-height: 1.6;
}

.vip-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
}

.vip-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: none;  /* remove shadow */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .vip-container {
        flex-direction: column;
        text-align: center;
    }
    .vip-text, .vip-image {
        flex: 1 1 100%;
        font-size: 1rem;
    }
    .vip-image {
        order: -1; /* image moves on top */
    }
    .vip-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}
