/* Set full-page background image */
body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-home {
    background-image: url("/assets/background.jpg");
}

.bg-918kaya {
    background-image: url("/assets/japan.jpg");
}

.bg-918kiss-2 {
    background-image: url("/assets/japan2.jpg");
}

.bg-918kiss-help {
    background-image: url("/assets/japan3.jpg");
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Glassy Container */
.glass-container {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 720px;
    width: 100%;
    margin: 20px auto;
    /* center container */
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
    }

    .glass-container {
        padding: 30px 16px;
        margin: 10px;
    }
}

/* Menu Icon Container */
.menu-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    cursor: pointer;
    z-index: 999;
}

/* Hamburger Bars */
.menu-icon span {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff1a1a, #b30000);
    /* Red gradient */
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 50, 50, 0.6);
    /* Red glow */
    transition: transform 0.4s ease, opacity 0.3s ease, background 0.3s ease;
}

.menu-icon:hover span {
    background: linear-gradient(90deg, #ff4d4d, #cc0000);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.8);
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 220px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    transition: left 0.3s ease;
    z-index: 998;
}

/* When menu is active */
.side-menu.open {
    left: 0;
    /* Slide in from the left */
}

/* Menu UL/LI Styling */
.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin: 16px 0;
    width: 100%;
}

/* Menu Links with Icons */
.side-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover State */
.side-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ff4d4d;
}

/* Icon Size */
.side-menu a img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 5px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 999;
}


/* Overlay (hidden by default) */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Show overlay when active */
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Logo Styling */
.logo-wrapper {
    margin-bottom: 40px;
}

.logo-img {
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .logo-img {
        width: 140px;
    }
}

/* Image Area */
.image-highlight {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-overlay {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    cursor: pointer;
}

.main-image {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

/* Overlay Content */
.overlay-content {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-content h2 {
    font-size: 2.3em;
    color: #fff;
    text-shadow:
        -1px -1px 0 #ff0000,
        1px -1px 0 #ff0000,
        -1px 1px 0 #ff0000,
        1px 1px 0 #ff0000,
        0 0 8px rgba(0, 0, 0, 0.6);
    /* original soft glow */
}

.gif-icon {
    width: 180px;
}

.sushi-wrapper {
    position: relative;
    display: inline-block;
}

/* Speech bubble styling (enhanced) */
.speech-bubble {
    position: absolute;
    top: 20px;
    right: -120px;
    background: #222;
    color: #fff;
    padding: 14px 22px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 18px;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
    z-index: 10;
    border: 2px solid #ff4d4d;
    letter-spacing: 1px;

    /* Glow */
    box-shadow:
        0 0 12px rgba(255, 77, 77, 0.6),
        0 0 24px rgba(255, 77, 77, 0.4),
        0 0 36px rgba(255, 77, 77, 0.2);
    text-shadow:
        0 0 4px rgba(255, 77, 77, 0.7),
        0 0 6px rgba(255, 77, 77, 0.3);

    /* Animate grow/shrink */
    animation: pulseBubble 1.8s ease-in-out infinite;
}

/* Triangle tail - styled to match */
.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -14px; /* Aligns just below the bubble */
    left: 28px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #222; /* Tail fill (white) */
    z-index: 2;
}

.speech-bubble::before {
    content: "";
    position: absolute;
    bottom: -17px; /* Push down slightly more for visible border */
    left: 26px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #ff4d4d; /* Tail border (red) */
    z-index: 1;
}

@keyframes pulseBubble {
    0%, 100% {
        transform: rotate(20deg) scale(1);
    }
    50% {
        transform: rotate(25deg) scale(1.1);
    }
}

@media (max-width: 768px) {
    .speech-bubble {
        top: 5px;
        right: -100px;
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 20px;
        border: 1.5px solid #ff4d4d;

        box-shadow:
            0 0 8px rgba(255, 77, 77, 0.5),
            0 0 16px rgba(255, 77, 77, 0.3),
            0 0 24px rgba(255, 77, 77, 0.2);

        text-shadow:
            0 0 3px rgba(255, 77, 77, 0.6),
            0 0 4px rgba(255, 77, 77, 0.2);
    }

    .speech-bubble::after {
        bottom: -10px;
        left: 20px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #222;
    }

    .speech-bubble::before {
        bottom: -12px;
        left: 18px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid #ff4d4d;
    }
}

@media (max-width: 768px) {
    .overlay-content {
        top: 0;
    }

    .overlay-content h2 {
        font-size: 2em;
    }

    .gif-icon {
        width: 120px;
    }
}

.image-label {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fff8dc, #fceabb);
    /* very light gold shades */
    color: black;
    font-size: 0.9rem;
    padding: 5px 0px;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(250, 224, 130, 0.4);
    /* subtle golden glow */
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 239, 184, 0.4);
    /* light gold outer glow */
}

/* CTA Wrapper */
.cta-wrapper {
    margin: 20px auto 0;
    height: auto;
}

/* WhatsApp Button Full Width */
.whatsapp-btn {
    all: unset;
    /* reset default button styles */
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding: 14px 0px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 30px;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glowPulse 2s infinite alternate;
}


.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(37, 211, 102, 1);
    color: #ffffff;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* Glow Animation */
@keyframes glowPulse {
    from {
        box-shadow: 0 0 12px rgba(37, 211, 102, 0.7);
    }

    to {
        box-shadow: 0 0 22px rgba(37, 211, 102, 1);
    }
}

/* Download Section */
.download-now {
    text-align: center;
}

.download-card-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Individual Card */
.download-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    flex: 1 1 200px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
}

@media (max-width: 768px) {
    .download-card-wrapper {
        flex-wrap: nowrap;
    }

    .download-card {
        padding: 15px;
    }
}

/* Platform Logo */
.platform-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
}

/* Download Button */
.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #660000, #ff3333);
    /* dark red to lighter red */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(255, 51, 51, 0.8);
    color: #fff;
}

/* Content Section */
h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ff1a1a;
    /* Bright red */
    text-align: left;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #cc0000;
    /* Medium red */
    text-align: left;
}

h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #e03c3c;
    /* Slightly lighter red than h2 */
    text-align: left;
}

p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Strong / Emphasis Text */
strong,
.strong {
    font-weight: bold;
    color: #ff4d4d;
    /* Vibrant red tone */
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.3);
}

/* Span Style */
.highlight-text {
    font-weight: bold;
    color: #ff6666;
}

/* Anchor Style */
a {
    color: #ff4d4d;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff9999;
}

/* Table Styles */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.styled-table th,
.styled-table td {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
}

.styled-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

/* Lists */
ul,
ol {
    text-align: left;
    margin: 10px auto 20px;
    padding-inline-start: 20px;
}

li {
    margin-bottom: 8px;
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.6);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
    /* Hidden by default */
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.8);
}

/* Footer Section */
.site-footer {
    text-align: center;
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 0;
    opacity: 0.8;
}