html,
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

:root {
    /* メインカラー定義 */
    --electric-pink: #FF007A;
    /* 雷の裂け目から漏れる光 */
    --lightning-gold: #fca311;
    /* ライオンの瞳とアイコンの基本色 */
    --bg-dark: #000000;

    /* レイアウト定義 */
    --tile-radius: 0px;
    /* ブルータリスト: 完全に角なし */
    --hard-shadow: 8px 8px 0px rgba(255, 0, 122, 0.3);
    /* ぼかさない強い影 */
    --backdrop-blur: 15px;
    /* 背景のライオンを透過させる際のぼかし強度 */

    --bg-color: var(--bg-dark);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --primary-color: var(--lightning-gold);
    --primary-glow: rgba(212, 175, 55, 0.4);
    --secondary-color: #14213d;
    --glass-bg: rgba(0, 0, 0, 0.7);
    --glass-border: rgba(212, 175, 55, 0.3);
    --glass-border-bright: var(--lightning-gold);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;

    /* Brutalist Design Tokens */
    --smoke-glass: rgba(30, 28, 26, 0.55);
    --smoke-border: rgba(180, 160, 120, 0.15);
    --antique-gold: #c9a84c;
    --forged-bronze: #6b5a3e;
}


/* ========================================
   BRUTALIST TOP MENU – Industrial 2026
   ======================================== */

/* Lion Face Half-Visible Background */
.bronze-map-bg {
    position: absolute;
    top: -10%;
    right: -22%;
    width: 70%;
    height: 120%;
    background-image: url('images/LION new logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Top Menu Inner Layout */
.top-menu-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Hero Logo */
.hero-logo-area {
    margin-bottom: 3rem;
    text-align: center;
}

/* Hero Wordmark (CSS – replaces image logo) */
.hero-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hero-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    background: linear-gradient(160deg, #ffffff 0%, var(--antique-gold) 60%, #c9a84c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(201, 168, 76, 0.25));
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--antique-gold), transparent);
    position: relative;
}

.hero-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--antique-gold);
    box-shadow: 0 0 8px var(--antique-gold);
}

.hero-en {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.65rem, 2.2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.35em;
    color: rgba(201, 168, 76, 0.65);
    text-transform: uppercase;
}

/* 2x3 Brutalist Grid */
.brutalist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 4px;
    width: 100%;
}

/* Brutalist Card */
.brutalist-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 28px;
    min-height: 180px;

    /* Frosted smoke glass */
    background: var(--smoke-glass);
    backdrop-filter: blur(12px) saturate(0.9);
    -webkit-backdrop-filter: blur(12px) saturate(0.9);
    border: 1px solid var(--smoke-border);
    border-radius: 0;

    /* Reset */
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    color: var(--text-primary);
    font-family: inherit;

    /* Transition */
    transition: background 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.brutalist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.3), transparent 60%);
}

.brutalist-card:hover {
    background: rgba(40, 36, 30, 0.7);
    border-color: rgba(201, 168, 76, 0.35);
}

.brutalist-card:active {
    background: rgba(50, 44, 36, 0.8);
}

/* Accent Card (TICKET) */
.brutalist-card--accent {
    border-left: 2px solid var(--electric-pink);
    box-shadow: inset 2px 0 12px rgba(255, 0, 122, 0.1);
}

.brutalist-card--accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--electric-pink);
    box-shadow: 0 0 10px var(--electric-pink), 0 0 25px rgba(255, 0, 122, 0.3);
}

/* Mysterious Card (CHARACTER COMING SOON) */
.brutalist-card--mysterious {
    border-left: 2px solid #6200ea;
    background: linear-gradient(135deg, rgba(30, 20, 50, 0.8), rgba(10, 5, 20, 0.9));
    overflow: hidden;
}

.brutalist-card--mysterious::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(98, 0, 234, 0.15) 0%, transparent 60%);
    animation: mysterious-glow 6s infinite ease-in-out;
}

.brutalist-card--mysterious .brutalist-card__label {
    background: linear-gradient(90deg, #fff, #b39ddb, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: mysterious-text 4s linear infinite;
}

@keyframes mysterious-glow {

    0%,
    100% {
        transform: translate(-10%, -10%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes mysterious-text {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Tiny Gold SVG Icon – strictly top-left */
.brutalist-card__icon {
    position: absolute;
    top: 16px;
    left: 20px;
    width: 22px;
    height: 22px;
    color: var(--antique-gold);
    opacity: 0.7;
    flex-shrink: 0;
}

/* Dominant Typography */
.brutalist-card__label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-top: 10px;
    display: block;
    text-transform: uppercase;
}

/* Japanese Subtitle */
.brutalist-card__sub {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    margin-top: 8px;
    display: block;
    text-transform: none;
}

/* Mobile: stack to single column */
/* Large Desktop Scaling */
@media (min-width: 1200px) {
    .top-menu-inner {
        max-width: 1100px;
        padding: 4rem 3rem;
    }

    .hero-logo-img {
        max-width: 600px;
    }

    .hero-logo-area {
        margin-bottom: 3.5rem;
    }

    .brutalist-grid {
        gap: 6px;
    }

    .brutalist-card {
        min-height: 210px;
        padding: 36px 32px;
    }

    .brutalist-card__icon {
        width: 26px;
        height: 26px;
        top: 20px;
        left: 24px;
    }

    .brutalist-card__label {
        font-size: 3rem;
    }

    .brutalist-card__sub {
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

/* Ultra-wide Desktop */
@media (min-width: 1800px) {
    .top-menu-inner {
        max-width: 55%;
        margin-left: 8%;
        align-items: flex-start;
    }

    .hero-logo-img {
        max-width: 720px;
    }

    .hero-logo-area {
        margin-bottom: 4rem;
    }

    .brutalist-card {
        min-height: 280px;
        padding: 48px 44px;
    }

    .brutalist-card__icon {
        width: 30px;
        height: 30px;
        top: 24px;
        left: 28px;
    }

    .brutalist-card__label {
        font-size: 4rem;
    }

    .brutalist-card__sub {
        font-size: 1.1rem;
        margin-top: 12px;
    }
}

/* Mobile Small */
@media (max-width: 400px) {
    .brutalist-grid {
        grid-template-columns: 1fr;
    }

    .brutalist-card {
        min-height: 100px;
    }

    .brutalist-card__label {
        font-size: 1.8rem;
    }
}


/* ========================================
   SITEMAP FOOTER – Bottom of Top Menu
   ======================================== */
.sitemap-footer {
    margin-top: 3rem;
    width: 100%;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.sitemap-footer__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(201, 168, 76, 0.45);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sitemap-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.sitemap-footer__link {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.3rem 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    line-height: 1.2;
}

.sitemap-footer__link:hover {
    color: var(--antique-gold);
}

.sitemap-footer__link span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: none;
}

.sitemap-footer__link:hover span {
    color: rgba(201, 168, 76, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animations & Layers */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-lion.png');
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000000;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.glow-orb.primary {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
}

.glow-orb.secondary {
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(20, 33, 61, 0.8), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Precise Hero Image Layout (User Provided) */
.precise-hero-image {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
    /* Do not strictly hide overflow if the neon lion bleeds out a little */
}

.base-layer {
    width: 100%;
    display: block;
    /* Some subtle drop shadow for the whole block */
    filter: drop-shadow(0 0 15px rgba(255, 0, 122, 0.3));
}

.lion-overlay-layer {
    position: absolute;
    top: -2%;
    right: -2%;
    width: 45%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(-5px 0 15px rgba(0, 0, 0, 0.8));
    /* Add a slight heartbeat to the neon lion maybe? */
    animation: neon-pulse 3s infinite alternate;
}

@keyframes neon-pulse {
    0% {
        filter: drop-shadow(-5px 0 15px rgba(0, 0, 0, 0.8)) brightness(0.9);
    }

    100% {
        filter: drop-shadow(-5px 0 20px rgba(255, 0, 122, 0.6)) brightness(1.2);
    }
}

/* Mask over the "YOKOHAMA RAION" text in the image */
.text-mask-layer {
    position: absolute;
    bottom: 5%;
    /* Align closely with original text */
    left: 20%;
    right: 20%;
    height: 12%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
}

.text-mask-layer span {
    font-size: clamp(1rem, 4.5vw, 1.8rem);
    font-family: 'Impact', sans-serif;
    color: var(--electric-pink);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 122, 0.8), 0 0 20px rgba(255, 0, 122, 0.4);
}

.main-logo-container {
    display: none;
}

.main-logo-text-ja {
    font-size: clamp(4rem, 15vw, 6rem);
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.1em;
    background: linear-gradient(180deg, #bbbbbb 0%, #444444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    line-height: 1;
}

.electric-crack {
    position: absolute;
    top: 55%;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--electric-pink);
    box-shadow: 0 0 10px var(--electric-pink), 0 0 20px var(--electric-pink);
    transform: translateY(-50%) rotate(-3deg);
    z-index: 1;
}

.main-logo-text-en {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: bold;
    color: var(--electric-pink);
    letter-spacing: 0.3em;
    margin-top: 15px;
    text-transform: uppercase;
}


/* Typography & Layout */
.screen-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#top-menu.screen-container {
    min-height: unset !important;
    height: auto !important;
    justify-content: flex-start !important;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    visibility: hidden;
}

/* Screen sections with .hidden should be fully removed from layout */
.screen-container.hidden {
    display: none !important;
}

.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: scale(1);
    z-index: 10;
    display: flex;
}

.content-wrapper {
    width: 100%;
    max-width: 600px;
    z-index: 1;
}

.event-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.event-title-main {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 0.85;
    margin: 0;
    text-transform: uppercase;
}

.event-title-sub {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 6px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(252, 163, 17, 0.3);
}

.event-title-mini {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 3px;
    opacity: 0.8;
}

/* CAST Header Customization */
.cast-header-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lightning-gold);
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.cast-header-eventname {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    font-weight: 900;
    background: linear-gradient(to bottom, #cfb53b, #f7ef8a, #cfb53b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.cast-header-datevenue {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: rgba(252, 163, 17, 0.15);
    padding: 6px 16px;
    border-left: 3px solid var(--lightning-gold);
    display: inline-block;
    margin-top: 15px;
    letter-spacing: 1px;
}

.cast-unit {
    display: inline-block;
    white-space: nowrap;
    padding-right: 0.2em;
}

/* Glassmorphism Panel / Bento Tile */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--tile-radius);
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border-bright), transparent);
    z-index: 1;
}

/* Forms & Inputs */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 1.1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(252, 163, 17, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

/* Benefit Box */
.benefit-box {
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid rgba(252, 163, 17, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.benefit-box h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #ffb703);
    color: #000;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.3);
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--primary-glow);
    filter: brightness(1.1);
}

.glow-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Main Menu Grid */
header {
    margin-bottom: 3rem;
    text-align: center;
}

.welcome-text {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

#display-name {
    color: var(--primary-color);
    font-weight: 800;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    background: var(--glass-bg);
    background-color: var(--glass-bg);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border: 1px solid var(--glass-border);
    border-radius: var(--tile-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.menu-card:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-bright);
}

.menu-card.highlight {
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    background: var(--glass-bg);
}

.menu-card.highlight:hover {
    box-shadow: 0 0 25px #ff00ff;
    background: var(--glass-bg);
}

/* Custom Sprite Icons using user's Grid Image */
.card-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    background-image: url('icons_grid_clean.png');
    background-size: 300% 200%;
    /* Strips the black bg of the image, compositing the bright neon icons onto our card bg perfectly! */
    mix-blend-mode: screen;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 0, 122, 0.5));
    background-repeat: no-repeat;
    /* Soft transition if hovered */
    transition: filter 0.3s ease;
}

/* 3 columns, 2 rows map */
/* Grid positions: Left 0%, Center 50%, Right 100% | Top 0%, Bottom 100% */

/* TICKET: Top left */
.menu-card[onclick*="reserve"] .card-icon {
    background-position: 0% 0%;
}

/* YOUTUBE: Top right */
.menu-card[onclick*="live"] .card-icon {
    background-position: 100% 0%;
}

/* SHOPPING BAG: Bottom center */
.menu-card[onclick*="goods"] .card-icon {
    background-position: 50% 100%;
}

/* i-MARK: Bottom left */
.menu-card[onclick*="detail"] .card-icon {
    background-position: 0% 100%;
}

/* MICROPHONE: Top center */
.menu-card[onclick*="cast"] .card-icon {
    background-position: 50% 0%;
}

/* SMARTPHONE (Archive / Check): Bottom right */
.menu-card[onclick*="reserve-info"] .card-icon {
    background-position: 100% 100%;
}

.menu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fca311;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-card p {
    color: #ffffff;
    font-size: 0.7rem;
    margin-top: 8px;
}

/* Event Portal List grid specifically needs single column or bigger responsive columns later if we want */
#portal-event-list.menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* CAST Section Image Optimization */
.cast-avatar-frame {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.cast-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Centering height for headshots */
}

/* Modal specific aspect */
#cast-modal-image.cast-avatar {
    width: 100%;
    height: 100%;
}

/* Overlay & Modals */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.overlay-content {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--primary-color);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary-color);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.toast:not(.hidden) {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .glass-panel {
        padding: 1.5rem;
    }

    h1.event-title {
        font-size: 3rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* UI Enhancements for Reservation Flow */
.event-flyer-main {
    width: min(320px, 85vw);
    aspect-ratio: 1 / 1.414;
    margin: 0 auto 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(252, 163, 17, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #1a1a1a;
    transition: var(--transition-smooth);
}

.event-flyer-main:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-color);
}

.event-flyer-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 読み込み待ちの演出はJS側で制御し、デフォルトは0.1程度にする */
    opacity: 0.1;
    transition: opacity 0.8s ease;
}

.event-flyer-main.loaded img {
    opacity: 1;
}

.event-info-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

#event-date-large {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(252, 163, 17, 0.4);
}

#event-venue-large {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.event-summary-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 0.85rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-summary-box p {
    margin: 5px 0;
}

.small-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.overlay-card {
    max-width: 400px;
    width: 90%;
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1001;
}

.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Digital Ticket Styles */
.ticket-card {
    padding: 0;
    max-width: 380px;
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.ticket-header {
    display: flex;
    flex-direction: column;
}

#ticket-flyer {
    width: 100%;
    height: auto;
    max-height: 48vh;
    /* roughly 2/3 of screen bounds */
    object-fit: contain;
    background: #000;
}

.ticket-badge {
    background: var(--primary-color);
    color: #000;
    font-size: 1.8rem;
    font-weight: 900;
    padding: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.ticket-body {
    padding: 1.5rem;
    text-align: left;
}

.ticket-body h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.ticket-details p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.ticket-status-msg {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
}