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

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

/* ───────────────────────────────
   Design Tokens
─────────────────────────────── */
:root {
    --color-bg: #08091a;
    --color-bg-card: rgba(30, 28, 20, 0.75);
    --color-text: #FFF8E1;
    --color-text-muted: #B0A48A;
    --color-accent: #FFD54F;
    --color-accent-glow: rgba(255, 213, 79, 0.5);
    --color-primary: #FFB300;
    --color-secondary: #FFE082;
    --color-card-border: rgba(255, 213, 79, 0.12);
    --color-gold-deep: #BF8C00;
    --color-gold-light: #FFE57F;

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

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

/* ───────────────────────────────
   Reset
─────────────────────────────── */
*,
*::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;
}

ul {
    list-style: none;
}

/* ───────────────────────────────
   Background
─────────────────────────────── */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background: radial-gradient(circle at center, #1a1810 0%, #08091a 100%);
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

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

.section {
    padding: 100px 0;
}

/* ───────────────────────────────
   Hero Section
─────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(8, 9, 26, 0.3) 0%,
        rgba(8, 9, 26, 0.45) 40%,
        rgba(8, 9, 26, 0.7) 70%,
        rgba(8, 9, 26, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    opacity: 0;
    animation: fadeInUp 1.5s var(--easing) forwards 0.3s;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-logo {
    max-width: 580px;
    width: 85%;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter:
        drop-shadow(0 0 30px rgba(255, 213, 79, 0.8))
        drop-shadow(0 0 60px rgba(255, 179, 0, 0.5))
        drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter:
            drop-shadow(0 0 30px rgba(255, 213, 79, 0.6))
            drop-shadow(0 0 60px rgba(255, 179, 0, 0.3))
            drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
    }
    100% {
        filter:
            drop-shadow(0 0 40px rgba(255, 213, 79, 1.0))
            drop-shadow(0 0 80px rgba(255, 179, 0, 0.7))
            drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
    }
}

.hero-subtitle-en {
    font-family: 'Inter', var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: rgba(255, 248, 225, 0.85);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    margin-bottom: 50px;
    text-shadow:
        0 0 20px rgba(255, 213, 79, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.9);
}

/* Scroll Indicator */
.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 248, 225, 0.7);
    transition: all 0.3s var(--easing);
    animation: floatBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    color: var(--color-accent);
    transform: translateY(3px);
}

.scroll-text {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-family: var(--font-sans);
}

.scroll-arrow {
    display: flex;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ───────────────────────────────
   Section Headers
─────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.en-title {
    font-family: 'Inter', var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.jp-title {
    font-family: var(--font-yuji);
    font-size: 2.5rem;
    color: var(--color-accent);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 213, 79, 0.4);
}

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

/* ───────────────────────────────
   Location Cards Grid
─────────────────────────────── */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.location-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-card-border);
    transition: all 0.4s var(--easing);
    cursor: pointer;
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--easing), transform 0.8s var(--easing), box-shadow 0.4s var(--easing), border-color 0.4s ease;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 213, 79, 0.15),
        inset 0 0 30px rgba(255, 213, 79, 0.03);
    border-color: rgba(255, 213, 79, 0.4);
}

.location-card.visible:hover {
    transform: translateY(-8px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 213, 79, 0.08) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.location-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 40px 35px;
}

.card-badge {
    margin-bottom: 20px;
}

.lantern-icon {
    font-size: 2.8rem;
    display: inline-block;
    animation: lanternFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 160, 0, 0.5));
}

@keyframes lanternFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.card-location-en {
    font-family: 'Inter', var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(255, 213, 79, 0.4);
}

.card-location-jp {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.card-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    margin-bottom: 24px;
    border-radius: 1px;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.card-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.detail-text small {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.day-badge {
    font-size: 0.7rem;
    background: rgba(255, 213, 79, 0.2);
    color: var(--color-accent);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    border: 1px solid rgba(255, 213, 79, 0.25);
    font-family: 'Inter', var(--font-sans);
    font-weight: 600;
}

/* CTA Button */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.12), rgba(255, 179, 0, 0.08));
    border: 1px solid rgba(255, 213, 79, 0.25);
    transition: all 0.3s var(--easing);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.location-card:hover .card-cta {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #1a1000;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(255, 213, 79, 0.3);
}

.cta-arrow {
    transition: transform 0.3s var(--easing);
    font-size: 1.2rem;
}

.location-card:hover .cta-arrow {
    transform: translateX(5px);
}

/* ───────────────────────────────
   Footer
─────────────────────────────── */
.footer {
    padding: 50px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 213, 79, 0.08);
    background: rgba(2, 4, 15, 0.8);
}

.footer-logo-img {
    width: 120px;
    height: auto;
    opacity: 0.6;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 213, 79, 0.3));
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    font-family: 'Inter', var(--font-sans);
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-divider {
    color: rgba(255, 213, 79, 0.2);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(176, 164, 138, 0.5);
}

/* ───────────────────────────────
   Animations
─────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ───────────────────────────────
   Responsive
─────────────────────────────── */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 280px;
        width: 70%;
    }

    .hero-subtitle-en {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-content {
        padding: 30px 25px;
    }

    .card-location-en {
        font-size: 1.5rem;
    }

    .jp-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 220px;
    }

    .hero-subtitle-en {
        font-size: 0.75rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .card-content {
        padding: 25px 20px;
    }

    .card-location-en {
        font-size: 1.3rem;
    }

    .card-cta {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
