/* Sub Page Styles */
.sub-page {
    background-color: var(--color-bg);
    background-image: url('images/white-marble-bg-v3.jpg');
    background-size: 800px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    color: var(--color-text);
}

/* Acai Specific Aurora (Body/Sub-page) */
.sub-page-acai::before {
    content: '';
    position: fixed;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(153, 69, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(243, 235, 225, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 50% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(243, 235, 225, 0.3) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1; /* Ensure it stays behind EVERYTHING */
    animation: solanaAurora 20s ease-in-out infinite alternate;
    opacity: 0.6;
    pointer-events: none;
}

/* Smoothie Specific Aurora (Tropical Sunset) */
.sub-page-smoothie::before {
    content: '';
    position: fixed;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 50% 20%, rgba(243, 235, 225, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(255, 69, 0, 0.05) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: solanaAurora 22s ease-in-out infinite alternate;
    opacity: 0.6;
    pointer-events: none;
}

/* Drink Specific Aurora (Emerald Mist) */
.sub-page-drink::before {
    content: '';
    position: fixed;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(20, 241, 149, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 50% 20%, rgba(243, 235, 225, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(46, 213, 115, 0.05) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: solanaAurora 25s ease-in-out infinite alternate;
    opacity: 0.6;
}

/* LINE Specific Aurora (Vibrant Green) */
.sub-page-line::before {
    content: '';
    position: fixed;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(6, 199, 85, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(243, 235, 225, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 50% 20%, rgba(20, 241, 149, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(6, 199, 85, 0.05) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: solanaAurora 22s ease-in-out infinite alternate;
    opacity: 0.6;
    pointer-events: none;
}




/* Sub Navigation */
.sub-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sub-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-nav-back {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.sub-nav-back:hover {
    opacity: 0.7;
}

/* Sub Hero - Transparent to show unified background */
.sub-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    padding-top: 100px; /* Offset for fixed nav to prevent clipping */
}

/* Remove local hero-specific aurora to use page-specific global ones */
.sub-hero::before,
.sub-hero::after {
    display: none;
}

@keyframes solanaAurora {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(5%, 10%) rotate(10deg) scale(1.1);
    }
    66% {
        transform: translate(-5%, 5%) rotate(-5deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

.sub-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(243, 235, 225, 0.9) 0%, rgba(243, 235, 225, 0.4) 50%, rgba(243, 235, 225, 0.15) 100%);
}

.sub-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    background: rgba(238, 233, 227, 0.85); /* Light greige glass */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 50px 70px;
    width: fit-content;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sub-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-text-primary);
    margin-top: 8px;
    line-height: 1.2;
}

.sub-hero-subtitle {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
    letter-spacing: 0.1em;
}

/* Sub Menu Section - Applying Same Aurora Background */
.sub-menu-section {
    padding-top: 80px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.sub-menu-section::before {
    display: none;
}

.sub-menu-section .menu-card {
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, 0.55); /* Beautiful light glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Sub Service Section */
.sub-service-section {
    padding-top: 80px;
}

.service-detail {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}

.service-detail-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-detail-text {
    font-family: var(--font-jp);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.service-divider {
    width: 60px;
    height: 1px;
    background: var(--color-border);
    margin: 20px auto;
}

.service-cta {
    text-align: center;
    padding: 60px 0 20px;
}

/* --- LINE Specific Components --- */

.sub-service-section .container {
    background: rgba(238, 233, 227, 0.85); /* Light greige glassmorphism */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 60px 40px;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
}

.service-detail {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.service-detail-title {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.service-check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #06c755;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.2);
}

.service-detail-text {
    font-family: var(--font-jp);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.service-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 10px 0;
}

/* Pulsing Register Button */
.line-pulse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #06c755;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.6);
    animation: btnPulseGlow 2s infinite;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 20px;
}

.line-pulse-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.5);
}

@keyframes btnPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(6, 199, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
    }
}


.service-coming {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.service-coming-sub {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* App Download Buttons */
.app-download-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    color: #0a0a0a;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 168, 110, 0.2);
}

.app-download-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-download-btn small {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.app-download-btn strong {
    font-size: 1rem;
    font-weight: 600;
}

/* Sub Footer */
.delivery-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.55); /* Light glass card */
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(200, 168, 110, 0.12);
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 20px;
}

.platform-img {
    max-width: 140px;
    max-height: 100%;
    object-fit: contain;
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sub-service-section p[style*="rgba(255,255,255,0.4)"],
.sub-service-section p[style*="rgba(255, 255, 255, 0.4)"] {
    color: var(--color-text-muted) !important;
}

.sub-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.sub-footer p {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* Mobile */
@media (max-width: 768px) {
    .sub-nav .nav-logo-text {
        display: none !important;
    }

    .sub-nav .nav-inner {
        padding: 0 10px;
        gap: 8px;
    }

    .sub-nav-back {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }

    .sub-nav .nav-actions {
        gap: 4px;
    }

    .sub-hero {
        height: auto;
        min-height: 350px;
        padding: 140px 0 60px; /* More top padding for mobile */
    }

    .sub-hero-content {
        padding: 40px 20px;
        width: 90%;
        margin: 0 auto;
    }

    .sub-menu-section .menu-grid-3,
    .sub-menu-section .menu-grid-4 {
        grid-template-columns: 1fr;
    }

    .delivery-platforms {
        grid-template-columns: 1fr;
    }
}

/* === TOPPINGS MENU STYLES === */
.topping-categories {
    max-width: 800px;
    margin: 0 auto;
}

.topping-category {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.topping-category-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 12px;
    text-align: center;
    letter-spacing: 0.05em;
}

.topping-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.topping-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
    padding-bottom: 12px;
    word-break: break-word; /* Prevent text overflow */
}

.topping-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.topping-item > span:first-child {
    font-weight: 800;
    color: #000;
    line-height: 1.4;
    flex: 1; /* Allow text to take up space and wrap if needed */
    padding-right: 15px;
}

.topping-item small {
    display: block;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 4px;
    font-weight: 600;
}

.topping-price {
    font-family: var(--font-sans);
    font-size: 1.2rem !important;
    color: #000 !important;
    font-weight: 800 !important;
    white-space: nowrap; /* Prevent price from wrapping */
    flex-shrink: 0; /* Prevent price from shrinking */
}

@media (max-width: 768px) {
    .topping-category {
        padding: 24px 16px;
    }
    
    .topping-category-name {
        font-size: 1.2rem;
    }
    
    .topping-item {
        align-items: center;
    }
    
    .topping-price {
        font-size: 1.1rem !important;
    }
}