@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

:root {
    --color-bg: #0B1120;
    --color-bg-dark: #05080f;
    --color-text: #F8FAFC;
    --color-text-muted: #94A3B8;
    --color-accent: #FBBF24;
    /* Lantern Gold */
    --color-accent-glow: rgba(251, 191, 36, 0.4);
    --color-primary: #F97316;
    /* Sunset Orange */
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-card-border: rgba(255, 255, 255, 0.1);

    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Zen Kaku Gothic New", sans-serif;
    --font-ouen: "Ounen-mouhitsu", "Zen Old Mincho", "Noto Serif JP", serif;

    --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
    font-family: "Ounen-mouhitsu";
    src: url("assets/fonts/Ounen-mouhitsu.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

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

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* Background Effects */
#stars,
#twinkle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#stars {
    background: radial-gradient(circle at center, #1e293b 0%, #0B1120 100%);
    opacity: 0.6;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--color-card-border);
}

.header-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-ouen);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s var(--easing);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
    text-align: center;
}

.btn-header {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 24px;
}

.mobile-ticket-btn {
    display: none !important;
    /* Hidden on Desktop */
}

.btn-header:hover,
.btn-hero:hover,
.btn-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--color-accent-glow);
}

.btn-hero {
    background: #fff;
    color: var(--color-bg);
    font-size: 1.1rem;
    margin-top: 40px;
    min-width: 200px;
}

.btn-gyro {
    display: none;
    /* JS controls visibility */
    margin: 15px auto 0;
    /* Space from ticket button */

    background: transparent;
    /* Transparent */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Thin subtle border */
    color: #fff;
    padding: 5px 15px;
    /* Much smaller padding */
    border-radius: 50px;
    font-size: 0.75rem;
    /* Much smaller font */

    backdrop-filter: blur(5px);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    animation: pulse-sm 2s infinite;
    white-space: nowrap;
    box-shadow: none;
}

@keyframes pulse-sm {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.btn-gyro:hover,
.btn-gyro.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    animation: none;
}

.btn-ticket {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: white;
    width: 100%;
    margin-top: 20px;
}

/* Shiny CTA Button - Aura "Magic Border" Style */
.shiny-cta {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    border-radius: 9999px;
    padding: 2px;
    /* Thickness of the border/beam */
    text-decoration: none;
    transition: transform 0.3s var(--easing);
    box-shadow: 0 0 15px -5px rgba(251, 191, 36, 0.3);
    /* Reset text styles for the container */
    color: transparent;
}

/* The Rotating Beam */
.shiny-cta::before {
    content: "";
    position: absolute;
    inset: -1000%;
    /* Rotating Conic Gradient: Deep Navy -> Transparent -> Gold Beam -> Deep Navy */
    background: conic-gradient(from 90deg at 50% 50%,
            #0B1120 0%,
            #0B1120 60%,
            #FBBF24 80%,
            #FFF7ED 85%,
            #FBBF24 90%,
            #0B1120 100%);
    animation: spin 3s linear infinite;
    z-index: 0;
}

/* The Inner Content (Dark Pill) */
.shiny-cta span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #0B1120;
    /* Deep Navy to match theme */
    color: #F8FAFC;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    z-index: 1;
    /* Sits above the beam */
    transition: all 0.3s ease;
    font-family: 'Inter', var(--font-sans);
    /* Slight blur to blend with beam */
    backdrop-filter: blur(10px);
}

/* Hover Effects */
.shiny-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.5);
}

.shiny-cta:hover span {
    background-color: rgba(11, 17, 32, 0.9);
    /* Slightly clearer on hover */
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

/* Header Button Specific Override */
.btn-header.shiny-cta {
    padding: 1.5px;
    /* Thinner border for header */
}

.btn-header.shiny-cta span {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Ticket Card Button Override */
.ticket-card .shiny-cta {
    width: 100%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Allow growth */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 100px 0 60px;
    /* Add padding for header and bottom */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#lantern-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Explicitly above base */
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle vignette to focus center */
    background: radial-gradient(circle at center, transparent 0%, #0B1120 120%);
    pointer-events: none;
    z-index: 2;
    /* Explicitly on top of canvas */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1.5s var(--easing) forwards 0.5s;
}

.hero-tagline {
    font-family: var(--font-ouen);
    font-size: 1.5rem;
    /* Mobile Size */
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: -10px;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.hero-title-jp {
    margin-bottom: -10px;
    margin-top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.hero-title-jp img {
    width: 280px;
    /* Mobile Size */
    max-width: 80vw;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.5));
}

.hero-subtitle-en {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #94A3B8;
    margin-top: -10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-info {
    margin-bottom: 20px;
}

.hero-info .date {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    font-family: var(--font-sans);
}

.hero-info .day {
    font-size: 0.8rem;
    margin-left: 5px;
    background: #334155;
    color: #F8FAFC;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Desktop Overrides for Hero */
@media (min-width: 901px) {
    .hero {
        padding: 60px 0;
        /* Reduce padding for desktop to fit everything */
    }

    .hero-tagline {
        font-size: 2rem;
        letter-spacing: 0.2em;
        margin-bottom: -20px;
        /* Pull closer */
    }

    .hero-title-jp {
        margin-bottom: -10px;
        margin-top: 0;
        /* Tighter */
    }

    .hero-title-jp img {
        width: 600px;
        filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
    }

    .hero-subtitle-en {
        font-size: 1.2rem;
        letter-spacing: 0.4em;
        margin-top: -10px;
        margin-bottom: 30px;
        /* Reduced from 50px */
    }

    .hero-info {
        margin-bottom: 15px;
        /* Reduced from 30px */
    }

    .hero-info .date {
        font-size: 2.2rem;
        margin-bottom: 5px;
        /* Tighter */
    }

    .hero-info .day {
        font-size: 0.9rem;
        padding: 3px 8px;
    }

    .btn-hero {
        margin-top: 20px;
        /* Reduced from 40px */
    }
}

.hero-info .venue {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    /* Ensure venue name matches visual hierarchy */
    margin-bottom: 0px;
    /* Reduces space between name and address */
}

.venue-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s var(--easing);
    margin-top: 10px;
}

.venue-link:hover .venue,
.venue-link:hover .venue-address {
    color: var(--color-accent);
    text-shadow: 0 0 10px var(--color-accent-glow);
}

.venue-address {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    margin-top: 5px;
    letter-spacing: 0.05em;
    opacity: 0.8;
}



/* Sections General */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.en-title {
    display: block;
    font-family: var(--font-serif);
    color: var(--color-accent);
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.jp-title {
    font-size: 2rem;
    font-weight: 500;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--color-bg) 0%, #111827 100%);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.text-lead {
    font-size: 1.4rem;
    font-feature-settings: "palt";
    line-height: 2;
    margin-bottom: 40px;
    font-family: var(--font-serif);
}

.text-body {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Features Section */
.features {
    background: #111827;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s var(--easing);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-img {
    height: 200px;
    background: #2d3748;
    border-radius: 10px;
    margin-bottom: 20px;
}

.placeholder-gradient {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.feature-text p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule {
    background: var(--color-bg);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
    padding-left: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

.timeline-item.highlight .details {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.timeline-item .time {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.timeline-item .details {
    background: var(--color-card-bg);
    padding: 20px;
    border-radius: 10px;
}

.timeline-item .details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-item .details p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Tickets Section */
.tickets {
    background: linear-gradient(180deg, #111827 0%, var(--color-bg) 100%);
}

.ticket-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    /* Align for different heights if emphasized */
}

.ticket-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.ticket-card.recommended {
    border-color: var(--color-accent);
    background: rgba(251, 191, 36, 0.05);
    transform: scale(1.05);
    z-index: 1;
}

.ticket-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.ticket-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #000;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.ticket-type {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.ticket-price {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.tax {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-left: 5px;
}

.ticket-details {
    text-align: left;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.ticket-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ticket-details li::before {
    content: '✓';
    color: var(--color-accent);
    margin-right: 10px;
    font-weight: bold;
}

.ticket-note {
    text-align: center;
    margin-top: 40px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Access Section */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-container {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-card-border);
    background: #0f172a;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Optional: Filter to darken the map nicely for the theme */
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(90%);
}

/* Policy Tables */
.policy-table-wrapper {
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid var(--color-card-border);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure readability on mobile */
    font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--color-card-border);
    border-right: 1px solid var(--color-card-border);
}

.policy-table th:last-child,
.policy-table td:last-child {
    border-right: none;
}

.policy-table thead th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    font-weight: bold;
}

.policy-table tbody th {
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    white-space: nowrap;
    color: var(--color-text);
}

.policy-table td {
    color: var(--color-text-muted);
}

.criteria-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #fff;
    border-left: 4px solid var(--color-accent);
    padding-left: 15px;
}

.table-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.access-info h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.access-info p {
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    position: relative;
    padding-right: 50px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

.faq-item[open] .faq-answer {
    animation: fadeIn 0.3s ease;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-card-border);
    text-align: center;
    color: var(--color-text-muted);
}

.footer-title {
    font-family: var(--font-serif);
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .jp-title {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .nav {
        display: none;
        /* Default hidden on mobile */
    }

    .nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(11, 17, 32, 0.95);
        flex-direction: column;
        justify-content: center;
        z-index: 999;
    }

    .mobile-ticket-btn {
        display: inline-flex !important;
        /* Show on mobile */
        margin-left: auto;
        /* Push to right */
        margin-right: 15px;
        /* Space before burger */
        padding: 1.5px;
        /* Same border thickness */
    }

    .mobile-ticket-btn span {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 1001;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: 0.3s;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 11px;
    }

    .menu-toggle span:nth-child(3) {
        bottom: 0;
    }

    .hero-title-jp img {
        width: 250px;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .ticket-card.recommended {
        transform: none;
    }

    .ticket-card.recommended:hover {
        transform: translateY(-5px);
    }
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/* SNS Buttons */
.footer-sns {
    margin-bottom: 30px;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.btn-instagram:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
    color: white;
    font-weight: 500;
}

/* Logo Updates */
.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* =========================================
   New Ticket & Policy Styles (Added)
   ========================================= */

/* Ticket Grid Update */
/* Ticket Grid Update */
.ticket-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    /* Stretch to make them same height */
}

.ticket-category {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;

    /* Box Styling */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

/* Standard Ticket Area - Left Side */
.ticket-category:first-child {
    border-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Guarantee Ticket Area - Right Side (Distinct) */
.ticket-category:last-child {
    border-color: #10b981;
    /* Emerald Green Border */
    background: rgba(16, 185, 129, 0.03);
    /* Very subtle green tint */
    position: relative;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    /* Subtle glow */
}

/* Add labels/headers for the areas */
.ticket-category:first-child::before {
    content: "STANDARD";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #334155;
    color: #94a3b8;
    padding: 2px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ticket-category:last-child::before {
    content: "GUARANTEE";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #10b981;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ticket-category h4 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
    display: inline-block;
}

.ticket-warning {
    color: #ef4444;
    /* Red for warning */
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    margin-top: -10px;
}

.badge-guarantee {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    /* Emerald Green for safety/guarantee */
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
}

.ticket-card.guarantee {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.ticket-card.guarantee:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.3);
}

/* Policy Section */
.policy {
    background: var(--color-bg);
    border-top: 1px solid var(--color-card-border);
    padding-bottom: 100px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-text {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 60px;
    border: 1px solid var(--color-card-border);
}

.policy-text ul {
    list-style: none;
    /* Removed disc to clean up */
    padding-left: 0;
}

.policy-text li {
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
    color: var(--color-text-muted);
}

.policy-text li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.policy-criteria h4,
.policy-contact h4 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--color-accent);
    text-align: center;
    font-family: var(--font-serif);
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.criteria-item {
    background: #1e293b;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid var(--color-card-border);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.criteria-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.criteria-item h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.criteria-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.policy-contact {
    text-align: center;
    background: rgba(251, 191, 36, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-accent-glow);
}

@media (max-width: 900px) {
    .ticket-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-category {
        min-width: 100%;
    }

    .ticket-card,
    .ticket-card.recommended {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================
   Highlights / Attractions / Safety Styles
   ========================================= */

/* Highlights Section */
.highlights {
    background: #0B1120;
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Embossed Card with Sparkle */
.highlight-card {
    text-align: center;
    padding: 30px 20px;
    background: #131b2e;
    border-radius: 20px;
    /* Soft Emboss (Neumorphism-ish for dark mode) */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        -5px -5px 12px rgba(255, 255, 255, 0.02),
        8px 8px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow:
        inset 0 0 0 1px rgba(251, 191, 36, 0.3),
        /* Gold tint on hover */
        -5px -5px 12px rgba(255, 255, 255, 0.05),
        8px 8px 20px rgba(0, 0, 0, 0.7);
}

/* Sparkle Animation */
.highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    /* Starry pattern */
    background-image:
        radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1px 1px at 80% 50%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(2px 2px at 90% 80%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    background-size: 100px 100px;
    opacity: 0.6;
    pointer-events: none;
    animation: sparkleMove 10s linear infinite, sparklePulse 3s ease-in-out infinite alternate;
}

/* Reduced sparkle for mobile (Thin sparkle) */
@media (max-width: 768px) {
    .highlight-card::before {
        opacity: 0.2;
        /* Much more subtle */
        animation-duration: 20s;
        /* Slower movement */
    }
}

@keyframes sparkleMove {
    0% {
        transform: translate(0, 0);
    }

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

@keyframes sparklePulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

.h-icon-wrapper {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6));
    /* Enhanced glow for icon */
    position: relative;
    z-index: 1;
}

.highlight-card h4 {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.highlight-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Attractions Section */
.attractions {
    background: #111827;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin-top: 10px;
    font-size: 1rem;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.attraction-card {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.attraction-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.att-img {
    height: 180px;
    background-color: #334155;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Placeholders for images using gradients */
.att-img.bg-lanterns {
    background-image: url('assets/attraction_lanterns_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Lantern Image */
.att-img.bg-food {
    background-image: url('assets/attraction_food_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Food Image */

/* Food Image */

.att-img.bg-stage {
    background-image: url('assets/attraction_live_stage_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Stage Image */

.att-img.bg-workshop {
    background-image: url('assets/attraction_workshop_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Workshop Image */

.att-img.bg-photo {
    background-image: url('assets/attraction_photo_spot_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Photo Spot Image */

.att-img.bg-ennichi {
    background-image: url('assets/attraction_ennichi_new.jpg');
    background-size: cover;
    background-position: center;
}

/* Ennichi Image */

.att-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.att-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.att-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Safety Section */
.safety {
    background: linear-gradient(180deg, #111827 0%, var(--color-bg) 100%);
    border-top: 1px solid var(--color-card-border);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.safety-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid var(--color-card-border);
}

.safety-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-flex;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.safety-item h4 {
    color: #10b981;
    /* Green for safety */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.safety-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive Updates for New Sections */
@media (max-width: 900px) {
    .attraction-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* =========================================
   Guarantee Info & Important Notice Styles
   ========================================= */

/* Guarantee Info Box */
.guarantee-info-box {
    background: #1e293b;
    /* Dark Navy/Slate */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.guarantee-info-box h4 {
    color: var(--color-accent);
    /* Gold */
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.g-desc {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.g-sub {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Important Notice Card */
.important-notice {
    background: #FFFAF0;
    /* Floral White / Cream */
    color: #333;
    /* Dark text for contrast */
    border-radius: 15px;
    padding: 50px;
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.important-notice h4 {
    font-size: 2rem;
    font-family: var(--font-serif);
    margin-bottom: 30px;
    color: #333;
}

.notice-list {
    display: inline-block;
    text-align: left;
    margin-bottom: 30px;
}

.notice-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.5em;
    color: #333;
}

.notice-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.notice-text {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.notice-text a {
    color: #0369a1;
    text-decoration: underline;
}

.btn-gold {
    background: #eab308;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #ca8a04;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments for venue name to keep it in one line */
@media (max-width: 768px) {
    .hero-info .venue {
        font-size: 3.3vw;
        white-space: nowrap;
    }
}

/* Mobile adjustments for access section venue name to fit in 2 lines */
@media (max-width: 768px) {
    .access-info h4 {
        font-size: 1.0rem;
        /* Further reduced to ensure fit */
        line-height: 1.4;
        max-width: 100%;
        word-break: break-all;
        /* Allow breaking at any character to prevent overflow */
        overflow-wrap: break-word;
    }
}