@charset "UTF-8";

/* =========================================
   Theme: Pastel Dream
   Concept: Soft / Milky / Airy / Cute
   ========================================= */

:root {
    /* Modern Glass Palette: Twilight & Dawn */
    --c-bg: #fdfdfd;
    --c-surface: #ffffff;

    /* Text */
    --c-text-main: #1a1a2e; /* Deep Navy */
    --c-text-sub: #4a5568; /* Cool Gray */

    /* Accents */
    --c-accent: #ff6b6b; /* Vibrant Coral (Warmth) */
    --c-accent-blue: #4facfe; /* Electric Blue (Intelligence) */

    /* Gradients: Sophisticated & Smooth */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Deep Purple/Blue */
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); /* Pink/Coral */
    --gradient-text: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%); /* Subtle Dark Gradient */
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));

    /* Glass Effect (Standardized) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-blur: blur(12px);

    /* Typography */
    --font-en: 'Montserrat', sans-serif;
    --font-ja: 'Zen Kaku Gothic New', sans-serif;

    /* Spacing */
    --section-pad: 120px 5%; /* Slightly tighter than 180px */
}

/* Base Setup */
html.lenis {
    height: auto;
    overflow-x: hidden; /* Added strictly */
}

/* Prevent Horizontal Scroll Globally */
body {
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    /* Clean Modern White */
    background-image: none;
    color: var(--c-text-main);
    font-family: var(--font-ja);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Critical for mobile */
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
.en-font {
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    /* Specific for Pastel: slightly wider */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Utilities --- */
.container {
    max-width: 1280px;
    width: 90%;
    margin-inline: auto !important;
    position: relative;
}

/* --- Header (Floating Milky Pill) --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
    transition: all 0.4s ease;
}

header.glass-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.logo img {
    height: 24px;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-main);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--c-accent-blue);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* --- Mobile Menu Styles --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000; /* Above nav overlay */
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--c-text-main);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}
.menu-toggle span:nth-child(2) {
    top: 9px;
}
.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* Open State for Toggle */
header.menu-open .menu-toggle span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

header.menu-open .menu-toggle span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1500;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    /* Open State for Nav */
    header.menu-open nav {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    nav a {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.1em;
    }
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    /* Grid Background */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Liner Animation (Moving Lines) */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent 0, transparent 59px, rgba(0, 0, 0, 0.05) 60px);
    background-size: 100% 60px;
    animation: scrollGrid 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

/* Vertical Liner */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent 0, transparent 59px, rgba(0, 0, 0, 0.05) 60px);
    background-size: 60px 100%;
    animation: scrollGridHorizontal 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes scrollGrid {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(60px);
    }
}

@keyframes scrollGridHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(60px);
    }
}

#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    /* Blend with pastel bg */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

/* Liquid Reality Hero Typography */
.hero-message-modern {
    position: relative;
    z-index: 20;
    text-align: center;
    mix-blend-mode: overlay; /* Interaction with liquid background */
}

.jp-slogan {
    font-family: var(--font-ja);
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-text-main);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 0; /* Animated by JS */
    transform: translateY(30px);
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--c-accent-blue);
    opacity: 0.2;
    z-index: -1;
    transform: skewX(-10deg);
}

.hero-sub-text {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--c-text-sub);
    text-transform: uppercase;
    opacity: 0;
}

/* --- Section Global --- */
.section-modern {
    padding: var(--section-pad);
    position: relative;
}

.section-head-modern {
    margin-bottom: 100px;
    text-align: left;
}

.section-head-modern h2 {
    font-size: clamp(40px, 6vw, 100px);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1;
    color: var(--c-text-main);
    /* Fallback */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-head-modern p {
    font-size: 18px;
    color: var(--c-text-sub);
    font-weight: 400;
}

/* --- Mission (Integrated Pop / "Soft Playground") --- */
#mission {
    padding: 0;
    margin: 0;
    margin: 0;
    position: relative;
    z-index: 50;
    width: 100%; /* FIX: Changed from 100vw to 100% */
    /* FIX: Remove overflow hidden to prevent truncation */
    overflow: visible;
    /* FIX: Auto height */
    height: auto;
    min-height: 100vh;
}

.mission-pin-wrap {
    /* FIX: Auto height instead of 100vh locked */
    height: auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: visible; /* Allow content to flow */
    background-color: var(--c-bg);
}

/* LAYER 1: Soft Pastel Playground Background */
.pop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.pop-shape {
    position: absolute;
    opacity: 0.15;
    mix-blend-mode: multiply;
}

.shape-circle {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #ff9a9e 0%, transparent 70%);
    top: -10%;
    left: -10%;
    border-radius: 50%;
    animation: floatBob 15s infinite ease-in-out;
}

.shape-blob {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #a18cd1 0%, transparent 70%);
    bottom: -20%;
    right: -20%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: floatBob 20s infinite ease-in-out reverse;
}

.shape-wave {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #84fab0 0%, transparent 70%);
    top: 40%;
    left: 40%;
    border-radius: 50%;
    animation: floatBob 18s infinite ease-in-out -5s;
}

@keyframes floatBob {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

/* LAYER 2: Floating Bubbles (Content) */
.pop-content-container {
    position: relative; /* FIX: Changed from absolute to flow naturally */
    width: 100%;
    height: auto;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
}

/* Common Bubble Style */
.pop-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 32px rgba(255, 107, 107, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--c-text-main);
    opacity: 1 !important; /* Force visible */
    transform: none !important; /* No initial scaling */
}

/* MAIN BUBBLE */
.main-bubble {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centered initially */
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 60px rgba(118, 75, 162, 0.2),
        inset 0 0 0 4px rgba(255, 255, 255, 1);
}

.pop-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--c-text-main);
}

.pop-line.highlight {
    color: var(--c-accent);
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(255, 107, 107, 0.2) 60%);
    padding: 0 10px;
    display: inline-block;
}

/* SATELLITE BUBBLES */
.sat-bubble {
    width: 180px;
    height: 180px;
    font-weight: 700;
    font-size: 18px;
    z-index: 15;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sat-bubble:hover {
    transform: scale(1.1) !important; /* Override inline GSAP slightly on hover */
    background: #fff;
    cursor: default;
}

/* Positioning handled by JS/CSS initially, but let's set defaults */
.sat-1 {
    top: 20%;
    left: 20%;
    background: linear-gradient(135deg, #fff 0%, #f3e5f5 100%);
}
.sat-2 {
    top: 25%;
    right: 15%;
    background: linear-gradient(135deg, #fff 0%, #e0f7fa 100%);
}
.sat-3 {
    bottom: 20%;
    left: 15%;
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
}

/* NARRATIVE BOX (Bottom Right) */
.narrative-box {
    position: absolute;
    bottom: 10%;
    right: 10%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 20px;
    border-top-left-radius: 0; /* Chat bubble feel */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 25;
    opacity: 1 !important; /* Force visible */
    max-width: 400px;
}

.narrative-box p {
    font-size: 16px;
    line-height: 2;
    color: var(--c-text-sub);
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .main-bubble {
        width: 300px;
        height: 300px;
    }
    .pop-title {
        font-size: 28px;
    }
    .sat-bubble {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }
    .narrative-box {
        left: 5%;
        right: 5%;
        bottom: 5%;
        width: auto;
    }
}

/* LAYER 2: Standardized Glass Card Content */
.mission-card {
    width: 100%;
    max-width: 800px;
    padding: 80px 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85); /* Slightly more opaque for text readability */
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 1; /* FAIL-SAFE: Default to visible. JS will hide it if animating. */
    transform: translateY(0); /* FAIL-SAFE: No offset initially */
}

.mission-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--c-text-main);
    letter-spacing: 0.05em;
    background: linear-gradient(120deg, var(--c-text-main), var(--c-accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-answer-block {
    position: relative;
    padding-top: 20px;
    text-align: left; /* Align text left for readability within block */
    max-width: 600px;
    margin: 0 auto;
}

.answer-label {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: var(--c-accent);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-align: center; /* Center the label itself */
    position: relative;
}

.answer-label::after {
    content: '';
    display: block;
    width: 2px;
    height: 15px;
    background: var(--c-accent);
    margin: 5px auto 0;
    opacity: 0.5;
}

.mission-text-body p {
    font-size: 18px;
    line-height: 2.4;
    color: var(--c-text-main);
    margin-bottom: 10px;
    font-weight: 500;
    text-align: center;
}

.mission-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    margin: 40px 0;
    opacity: 0.5;
}

.mission-conclusion {
    font-size: 16px;
    color: var(--c-text-sub);
    line-height: 2.2;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mission-card {
        padding: 40px 20px;
        width: 90%;
    }
    .mission-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .mission-text-body p {
        font-size: 15px;
        line-height: 2;
    }
}

/* --- Management --- */
#management {
    background: transparent;
}

.bg-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(41, 121, 255, 0.15),
        rgba(101, 31, 255, 0.15),
        rgba(0, 229, 255, 0.15),
        rgba(41, 121, 255, 0.15)
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
    animation: rotateBlob 20s linear infinite;
}

@keyframes rotateBlob {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@keyframes pulseBlob {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.m-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

/* Glass Card with better visibility and performance */
.glass-card {
    position: relative;
    padding: 50px 30px;
    border-radius: 20px; /* Slightly sharper */
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    overflow: hidden;
}

/* Removing overly decorative shark fin and corner gradients for minimal look */

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    /* Removed rotateX for simplicity/performance */
    box-shadow:
        0 20px 40px rgba(255, 182, 193, 0.3),
        0 0 0 2px #fff inset;
}

.glass-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.glass-card p {
    font-size: 15px;
    color: var(--c-text-main);
    line-height: 1.8;
}

/* --- Business --- */
#business {
    background: transparent;
    position: relative;
    will-change: transform;
}

#business::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.15) 0%, transparent 70%); /* Marigold */
    filter: blur(50px);
    z-index: -1;
}

#business::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, transparent 70%); /* Sunset Orange */
    filter: blur(60px);
    z-index: -1;
}

.b-list-modern {
    display: flex;
    padding-left: 10vw;
    gap: 10vw;
    width: fit-content;
    height: 70vh;
    align-items: center;
    will-change: transform;
    /* Important for smooth scroll */
}

/* Hover Reveal Layout for Business Section */
.reveal-section {
    position: relative;
    overflow: hidden;
    /* Ensure height is sufficient */
    min-height: 80vh;
}

.reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default or shows first image */
    transition:
        opacity 0.5s ease,
        background-image 0.5s ease;
    z-index: 0;
    pointer-events: none;
    background-image: url('../img/b_ses_real.png'); /* Default fallback */
}
/* Show bg slightly by default or on hover? Let's make it vivid on hover */
.reveal-bg.active {
    opacity: 0.3; /* Subtle background */
}

.reveal-list {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 60px auto 0;
}

.reveal-item {
    display: flex;
    align-items: center;
    padding: 35px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition:
        padding 0.3s,
        border-color 0.3s;
}

.reveal-item:hover {
    padding-left: 30px;
    border-color: var(--c-accent);
}

.reveal-num {
    font-family: var(--font-head);
    font-size: 14px;
    color: #999;
    margin-right: 30px;
    width: 30px;
}

.reveal-item h3 {
    font-size: 32px;
    font-weight: 500;
    margin-right: 30px;
    min-width: 250px;
    transition: color 0.3s;
}

.reveal-item:hover h3 {
    color: var(--c-accent);
}

.reveal-item p {
    font-size: 15px;
    color: #666;
    flex: 1;
    line-height: 1.6;
}

/* Ensure Reveal Section has proper height/padding */
.reveal-section {
    padding: 100px 0;
}

/* Add missing styles for interaction */
.reveal-item.active .reveal-num,
.reveal-item.active h3 {
    color: var(--c-accent);
}

.reveal-item.active {
    padding-left: 30px;
    border-color: var(--c-accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reveal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reveal-item h3 {
        font-size: 24px;
        min-width: auto;
    }

    .reveal-bg {
        opacity: 0.1 !important; /* Always show faint bg on mobile */
    }
}

.b-tag-modern {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%); /* Marigold -> Sunset Orange */
    color: #fff; /* White text for contrast */
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3); /* Warm glow */
}

/* --- Benefit --- */
#benefit {
    background: transparent;
    position: relative;
}

#benefit::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(41, 121, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 20%);
    z-index: -1;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    /* Removed background/radius to let cards stand alone */
}

.b-stat {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s;
}

.b-stat:hover {
    transform: translateY(-5px);
}

.b-stat h3 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #b2ebf2;
    /* Pastel Cyan */
    text-shadow: 1px 1px 0 #80deea;
}

.b-stat p {
    font-size: 14px;
    color: var(--c-text-main);
    font-weight: 600;
}

/* --- CTA --- */
.footer-cta-modern {
    padding: 200px 5%;
    background: var(--gradient-secondary);
    color: #fff;
    text-align: center;
    position: relative;
    border-radius: 60px 60px 0 0;
}

.footer-cta-modern h2 {
    font-size: clamp(50px, 10vw, 150px);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-cta-modern p {
    font-size: 20px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 60px;
}

.btn-modern {
    display: inline-block;
    padding: 20px 60px;
    background: #fff;
    color: #a18cd1;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-modern:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Giant Typography Watermark */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: min(20vw, 400px); /* Huge! */
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03); /* Subtle dark for light theme */
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--font-en);
    user-select: none;
    line-height: 1;
}

/* --- Liquid Accordion for Business --- */
.accordion-wrapper {
    display: flex;
    width: 100%;
    height: 500px; /* Fixed height for accordion */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    background: #fff;
    margin-top: 50px;
}

.acc-item {
    position: relative;
    flex: 1; /* Default collapsed width */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth liquid ease */
    overflow: hidden;
}

.acc-item.active,
.acc-item:hover {
    flex: 3.5; /* Expanded width */
}

/* Overlay gradient for text readability & inactive state */
.acc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.6;
    transition: opacity 0.4s;
    pointer-events: none;
}
.acc-item:not(.active):not(:hover) .acc-overlay {
    background: rgba(0, 0, 0, 0.4); /* Darken inactive items */
    opacity: 1;
}

/* Content */
.acc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: #fff;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s; /* Slight delay */
    white-space: nowrap; /* Prevent breaking during anim */
}

/* Show content only when active/hovered */
.acc-item.active .acc-content,
.acc-item:hover .acc-content {
    transform: translateY(0);
    opacity: 1;
}

/* Keep number visible always? Or just on hover? Let's hide num on inactive for clean look or show at top */
.acc-num {
    display: block;
    font-size: 80px;
    font-weight: 700;
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -20px;
    transition: opacity 0.4s;
}
.acc-item.active .acc-num,
.acc-item:hover .acc-num {
    opacity: 0.3;
}

.acc-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.acc-content p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    white-space: normal; /* Allow wrap specifically for text */
}

/* Mobile Styling for Accordion (Stack it) */
@media (max-width: 768px) {
    .accordion-wrapper {
        flex-direction: column;
        height: 600px;
    }
    .acc-item {
        width: 100%;
        min-height: 60px; /* Collapsed height */
    }
    .acc-item.active,
    .acc-item:hover {
        flex: 5; /* Expand vertical */
    }
    .acc-content {
        padding: 20px;
    }
    .acc-content h3 {
        font-size: 24px;
    }
}

body {
    transition: background-color 0.8s ease;
}

/* --- Responsive: Researcher-Level Accuracy --- */

/* Tablet & Smaller Desktop (Max 1024px) */
@media (max-width: 1024px) {
    /* Layout Stacking */
    .mission-wrapper {
        display: flex; /* Switch from Grid */
        flex-direction: column-reverse; /* Image on top? No, usually image first. Let's stack naturally. */
        flex-direction: column;
        height: auto;
    }

    .mission-media {
        height: 60vh; /* Shorter image area */
        min-height: 300px;
    }

    .mission-content {
        padding: 60px 5%;
    }

    .m-grid-modern {
        grid-template-columns: repeat(2, 1fr); /* 2 cols for tablet */
        gap: 30px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cols for tablet */
    }

    /* Borders handling removed for glass cards */

    /* Decoration Scaling */
    .bg-watermark {
        font-size: 15vw; /* Smaller relative size */
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    /* Base spacing */
    :root {
        --section-pad: 80px 5%;
    }

    /* Header */
    header {
        width: 94%;
        padding: 12px 20px;
    }

    .logo img {
        height: 20px;
    }

    /* Hero */
    .jp-slogan {
        font-size: clamp(2rem, 8vw, 42px); /* Ensure readability */
        white-space: nowrap; /* Prevent awkward wrap */
        transform: translateY(0); /* Reset fix */
    }

    .hero-sub-text {
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    /* Grids to Single Column */
    .m-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Card Adjustments */
    .glass-card {
        padding: 40px 20px;
    }

    .b-stat h3 {
        font-size: 36px;
    }

    /* Mission Layout Stacking */
    .mission-layout {
        flex-direction: column;
        gap: 30px;
        padding-top: 40px;
    }

    .mission-visual {
        width: 100%;
        max-width: 300px;
    }

    /* Ensure Header doesn't get obscured */
    .section-head-modern {
        position: relative;
        z-index: 60; /* Higher than mission visual */
    }

    /* Business Accordion -> Stack */
    .accordion-wrapper {
        flex-direction: column;
        height: auto; /* Allow auto height */
        min-height: 600px;
    }

    .acc-item {
        width: 100%;
        min-height: 80px;
        flex: 0 0 80px; /* Force collapsed size */
    }

    .acc-item.active {
        flex: 1 1 auto; /* Allow expand */
        min-height: 300px;
    }

    /* CTA */
    .footer-cta-modern {
        padding: 100px 5%;
    }

    .footer-cta-modern h2 {
        font-size: 40px;
    }

    .btn-modern {
        padding: 15px 40px;
        font-size: 16px;
    }

    /* Members World Mobile */
    #members-world {
        height: auto;
        min-height: 500px;
        padding: 60px 0;
    }

    .world-trigger-area {
        height: 400px;
    }
}

/* --- Member Bubble World --- */
#members-world {
    padding: 100px 0;
    overflow: visible; /* Allow bubbles to float out slightly */
    height: 600px; /* Fixed height for the stage */
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-trigger-area {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Trigger Button */
.bubble-btn {
    position: relative;
    z-index: 50;
    padding: 20px 50px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(161, 140, 209, 0.4);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bubble-btn .btn-text {
    font-family: var(--font-en);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    letter-spacing: 0.1em;
}

.bubble-btn:hover {
    transform: scale(1.1);
}

/* The Bubble Stage (Hidden World) */
.bubble-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none; /* Initially passable */
    z-index: 40;
}

/* Bubbles - Initial State (Hidden inside button) */
.member-bubble {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: visible; /* For label */
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s; /* Delay hiding */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.member-bubble .bubble-content {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.member-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bubble-label {
    position: absolute;
    bottom: -30px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text-sub);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* ACTIVE STATE (Hover Trigger) */
.world-trigger-area:hover .member-bubble {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s; /* No delay showing */
    /* Transformation handled by specific positions below */
}

/* Specific Positions for 3 Members */

/* Umeda: Top Center */
.item-entered .b-umeda,
.world-trigger-area:hover .b-umeda {
    transform: scale(1.3) translate(0, -180px);
    /* scale affects translate slightly, relative to center */
}

/* Ono: Bottom Left */
.item-entered .b-ono,
.world-trigger-area:hover .b-ono {
    transform: scale(1.1) translate(-200px, 100px);
}

/* Dojo: Bottom Right */
.item-entered .b-dojo,
.world-trigger-area:hover .b-dojo {
    transform: scale(1.1) translate(200px, 100px);
}

/* Hovering Individual Bubble */
.member-bubble:hover {
    z-index: 100;
    border-color: var(--c-accent-blue);
    background: rgba(255, 255, 255, 0.6);
}
.member-bubble:hover img {
    transform: scale(1.1);
}
.member-bubble:hover .bubble-label {
    opacity: 1;
    transform: translateY(0);
}

/* Float Animation */
@keyframes floatBubble {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Apply float to wrapper or use separate animation class to avoid conflict with hover transform */
/* Actually, best to use a wrapper div for animation and the a tag for hover scale. 
   But for CSS-only simplicity with hover-trigger, we can add animation to the HOVER state specifically 
   or use a wrapper structure. 
   Let's create a JS-driven "float" or just simple subtle movement on the content?
   Or use `margin-top` animation to not conflict with translate transform? */

.world-trigger-area:hover .b-umeda {
    animation: simpleFloat 4s ease-in-out infinite;
}
.world-trigger-area:hover .b-ono {
    animation: simpleFloat 5s ease-in-out infinite 0.5s;
}
.world-trigger-area:hover .b-dojo {
    animation: simpleFloat 4.5s ease-in-out infinite 0.2s;
}

@keyframes simpleFloat {
    0%,
    100% {
        margin-top: 0;
    }
    50% {
        margin-top: -20px;
    }
}

/* --- Mobile / Responsibility for Bubbles --- */
@media (max-width: 768px) {
    .member-bubble {
        width: 90px;
        height: 90px;
    }

    .item-entered .b-umeda,
    .world-trigger-area:hover .b-umeda {
        transform: scale(1.2) translate(0, -130px);
    }

    .item-entered .b-ono,
    .world-trigger-area:hover .b-ono {
        transform: scale(1.1) translate(-110px, 70px);
    }

    .item-entered .b-dojo,
    .world-trigger-area:hover .b-dojo {
        transform: scale(1.1) translate(110px, 70px);
    }
}

/* --- Message/Mission Section (Engineered First Layout) --- */
/* --- Message/Mission Section (Engineered First Layout) --- */
.intro-bridge.section-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Ensure height and spacing */
    min-height: 80vh;
    gap: 60px; /* Add gap between header and body */
}

.vertical-connect-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--c-accent-blue), var(--c-accent));
    opacity: 0;
    transform-origin: top;
    z-index: 1;
}

.container.intro-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Remove padding that might cause internal overlapping */
    padding-top: 80px;
}

.intro-head-modern {
    margin-bottom: 40px;
}

.intro-head-modern h2 {
    font-size: clamp(30px, 4vw, 60px);
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-sub {
    display: block;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--c-text-sub);
    font-weight: 600;
}

.intro-body-modern p {
    font-size: 18px;
    line-height: 2.2;
    color: var(--c-text-main);
    margin-bottom: 40px;
    font-weight: 500;
}

.highlight-phrase {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(79, 172, 254, 0.2) 60%);
}

.strong-text {
    font-weight: 800;
    color: var(--c-text-main);
    border-bottom: 2px solid var(--c-accent);
}

/* Fade trigger initial state (Legacy support, but overridden by new targets) */
.fade-up-trigger {
    opacity: 0;
    /* transform handled by JS */
}

/* --- ANIMATION UTILS --- */

/* 1. Mask Reveal (for H2) */
.text-mask {
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: bottom; /* Fix descent clipping */
}

.mask-target {
    transform: translateY(110%);
    opacity: 0;
    will-change: transform, opacity;
}

/* 2. Cinematic Blur (for Subtext) */
.cinematic-blur-target {
    opacity: 0;
    filter: blur(10px);
    letter-spacing: 0.5em; /* Start wide */
    will-change: filter, opacity, letter-spacing;
}

/* 3. Body Blur (for Paragraphs) */
.body-blur-target {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px) scale(0.98);
    will-change: transform, opacity, filter;
}

/* Strong Text Underline Animation */
.strong-text {
    position: relative;
    display: inline-block;
    color: var(--c-text-main);
    font-weight: 800;
    border-bottom: none; /* We animate a pseudo-element instead */
}

.strong-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%; /* Animate to 100% */
    height: 2px;
    background: var(--c-accent);
    transition: width 0.8s ease-out;
}

.strong-text.is-active::after {
    width: 100%;
}

/* --- MISSION LAYOUT (The Visionary's Terminal - Cyber-Pastel) --- */
.mission-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    position: relative; /* Context for absolute positioning */
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Background "Data Grid" decoration */
.mission-layout::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background-image:
        linear-gradient(rgba(118, 75, 162, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 75, 162, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.mission-visual {
    flex: 0 0 500px; /* Large projection base */
    position: relative;
    z-index: 1; /* Below text */
    margin-right: -100px; /* Force overlap */
}

/* Holographic Projection Shape */
.mission-visual img {
    width: 100%;
    height: auto;
    /* Geometric Clip: Trapezoid-ish */
    clip-path: polygon(20% 0%, 100% 0, 100% 85%, 80% 100%, 0 100%, 0 15%);
    filter: brightness(1.1) contrast(1.1) saturate(1.2); /* Tech look */
    /* Holographic Glitch Effect placeholder can go here */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Hologram Scanline overlay */
.mission-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(79, 172, 254, 0.1) 5px);
    clip-path: polygon(20% 0%, 100% 0, 100% 85%, 80% 100%, 0 100%, 0 15%);
    pointer-events: none;
    z-index: 2;
}

/* Cyber Border/Frame */
.mission-visual::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid rgba(79, 172, 254, 0.4); /* Cyan/Blue */
    clip-path: polygon(20% 0%, 100% 0, 100% 85%, 80% 100%, 0 100%, 0 15%);
    z-index: 0;
    opacity: 0.6;
}

.mission-text {
    flex: 1;
    text-align: left;
    color: var(--c-text-main);
    /* Frosted Glass Terminal */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 5rem 4rem;
    position: relative;
    z-index: 5; /* On top of visual */

    /* Tech Shape */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50px 100%, 0 calc(100% - 50px));
    border-left: 4px solid var(--c-accent-blue);

    /* Shadow simulation via pseudo since clip-path cuts shadow */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Tech Decoration: Top Bar */
.mission-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent-blue), var(--c-accent), transparent);
}

.mission-heading {
    font-size: 3rem; /* Massive */
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Cyber Gradient */
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%); /* Deep Navy/Purple */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Kinetic Accent next to Heading */
.mission-heading::before {
    content: 'VISION';
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: var(--c-accent-blue);
    font-family: var(--font-en);
    font-weight: 700;
    opacity: 0.8;
}

.mission-body p {
    font-size: 1.1rem;
    line-height: 2.4;
    margin-bottom: 2rem;
    font-feature-settings: 'palt';
    font-family: var(--font-ja);
    color: var(--c-text-main);
    font-weight: 500;
}

.mission-lead {
    font-weight: 800;
    font-size: 1.4rem !important;
    color: var(--c-text-main);
    margin-bottom: 3rem !important;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.1) 0%, transparent 100%);
    padding: 10px 20px 10px 0; /* Highlight effect */
    border-left: 2px solid var(--c-accent);
    padding-left: 20px;
}

.mission-signer {
    text-align: right;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--c-text-main);
    font-family: var(--font-ja);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mission-signer::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--c-text-sub);
    margin-right: 15px;
    opacity: 0.2;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .mission-layout {
        flex-direction: column;
        padding-top: 2rem;
        padding-bottom: 2rem;
        width: 100%;
        gap: 0;
    }

    .mission-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto -80px auto; /* Increased negative margin for better overlap */
        z-index: 1;
    }

    .mission-visual img,
    .mission-visual::before,
    .mission-visual::after {
        /* Simplifed but still edgey shape for mobile */
        clip-path: polygon(10% 0, 100% 0, 100% 85%, 90% 100%, 0 100%, 0 15%);
    }

    .mission-text {
        width: 90%;
        margin: 0 auto;
        padding: 6rem 1.5rem 2rem 1.5rem; /* Top padding clears the image overlap */
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.95); /* Higher opacity for readability */
        backdrop-filter: blur(10px);
        z-index: 2; /* Sit on top of image */
    }

    .mission-heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .mission-lead {
        font-size: 1rem !important;
        line-height: 1.8;
        padding-left: 15px;
        margin-bottom: 2rem !important;
    }

    .mission-body p {
        font-size: 0.95rem;
        line-height: 2;
        margin-bottom: 1.5rem;
    }

    /* Slogan Responsive Adjustment */
    .jp-slogan {
        font-size: 2rem; /* Adjusted from hero sizes if necessary, but this class is usually Hero */
    }
    .hero-message-modern h1 {
        font-size: 8vw; /* Ensure hero slogan fits */
    }
}

/* Bubble Note (Anonymization Feature) */
.bubble-note {
    position: absolute;
    top: auto;
    bottom: -5px; /* Fixed position at bottom */
    left: 50%;
    transform: translateX(-50%); /* Centered */
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    color: var(--c-accent-blue);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 1; /* ALWAYS VISIBLE */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 40;
}

/* Hover Effect: Gentle Pop */
.member-bubble-dom:hover .bubble-note {
    transform: translateX(-50%) scale(1.1);
}

/* Mobile Adjustments (Optional specific tweaking) */
@media (max-width: 768px) {
    .bubble-note {
        font-size: 11px;
        padding: 4px 10px;
        bottom: -5px;
    }
}

#world-trigger-btn {
    z-index: 50 !important; /* Ensure button is clickcable over bubbles */
    position: relative; /* Ensure z-index applies */
}

/* --- METABALL / GOOEY EFFECT STAGE --- */
.mitosis-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    /* The core filter for the gooey effect */
    filter: url('#goo');
    -webkit-filter: url('#goo');
}

.mitosis-blob {
    position: absolute;
    background: #fff; /* Must match button color for seamless merge */
    border-radius: 50%;
    /* blobs must be simple for filter to work */
}

/* --- STYLISH BUTTON OVERHAUL --- */

/* 1. LAYER STRUCTURE */
#world-controller { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; }
#goo-stage { position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter: url(#goo); z-index: 10; }
#ui-stage  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }

/* 2. THE TRIGGER (Hit Area - INVISIBLE BUT CLICKABLE) */
#world-trigger-btn {
    opacity: 0; pointer-events: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 260px; height: 70px; border-radius: 50px; cursor: pointer; transition: transform 0.3s ease;
    background: transparent !important; border: none !important; outline: none; -webkit-tap-highlight-color: transparent;
}
#world-trigger-btn:hover { transform: translate(-50%, -50%) scale(1.05); }

/* 3. GOO BLOB (Physics Backend) */
.goo-center-blob {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 260px; height: 70px; border-radius: 50px; /* Pill Shape */
    background: #fff;
}

/* 4. BUTTON SKIN (VIBRANT GRADIENT - CTA PILL) */
.button-skin {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 260px; height: 70px; border-radius: 50px;
    /* Vibrant Gradient: Pink to Coral */
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 
        0 10px 30px rgba(245, 87, 108, 0.4), /* Colored Shadow */
        inset 0 2px 2px rgba(255, 255, 255, 0.4); /* Inner edge light */
    border: none;
    pointer-events: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 25;
}

/* Subtle Shine */
.skin-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* 5. MAGNETIC RING (Hidden as per request) */
.magnetic-ring {
    display: none;
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 290px; height: 100px; border-radius: 60px;
    border: 2px dashed rgba(245, 87, 108, 0.3);
    /* Pill rotation looks bad. Switch to Pulse Breath */
    animation: pulseRing 3s ease-in-out infinite;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 20;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
}

/* 6. TYPOGRAPHY (White & Bold) */
.center-text {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    text-align: center; width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; /* White Text */
    pointer-events: none;
    font-family: var(--font-en);
    z-index: 30;
}
.txt-main {
    font-size: 0.95rem; font-weight: 800; letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2px;
}
.txt-line {
    width: 30px; height: 2px; background: rgba(255,255,255,0.6); margin: 2px 0;
}
.txt-sub {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; color: rgba(255,255,255,0.9);
}

/* HOVER EFFECTS */
@keyframes rotateSkin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rotateRing { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    #world-trigger-btn { width: 140px; height: 140px; }
    .goo-center-blob, .button-skin { width: 100px; height: 100px; }
    .magnetic-ring { width: 130px; height: 130px; }
    .txt-main { font-size: 0.75rem; letter-spacing: 0.1em; }
    .txt-sub { font-size: 0.5rem; }
}
