:root {
    --bg-color: #0a0e17; /* Deep midnight navy */
    --panel-bg: rgba(15, 23, 42, 0.7); /* Semi-transparent panel */
    --card-bg: rgba(10, 15, 30, 0.8);
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8529;
    --text-main: #f8f6f0; /* Ivory */
    --text-muted: #dcdcdc;
    --line-color: rgba(212, 175, 55, 0.3);
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, #151f33 0%, var(--bg-color) 60%);
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: inline;
    }
}

/* Typography */
h1, h2, h3, .brand-jp, .logo-text, .section-title {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* Section Common */
.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--line-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.star-ornament {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large, .sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--gold);
}

.sns-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    line-height: 1.35;
}

.sns-platform {
    font-size: 0.78rem;
    color: currentColor;
    opacity: 0.78;
}

.sns-name {
    display: block;
    overflow-wrap: anywhere;
}

.btn-primary {
    background-color: var(--bg-color);
    color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--bg-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 50px 160px, rgba(212, 175, 55, 0.4), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, rgba(212, 175, 55, 0.3), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-color);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.2rem;
}

.logo-text {
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

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

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

.nav-list a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.nav-list a:hover {
    color: var(--gold);
}

.btn-header-contact {
    font-size: 0.8rem;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
}

.btn-header-contact:hover {
    background-color: var(--gold);
    color: var(--bg-color);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    position: absolute;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 14, 23, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .nav-list a {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .logo-text {
        font-size: 0.85rem;
    }
}

/* HERO Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0.4) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-copy {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.4;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subcopy {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-brand {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.brand-small {
    display: block;
    font-family: var(--font-serif);
    color: var(--gold);
    letter-spacing: 0.1em;
    font-size: 1rem;
    margin-bottom: 5px;
}

.brand-large {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--gold);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.moon-icon {
    font-size: 0.6em;
    vertical-align: super;
}

.brand-jp {
    font-size: 0.3em;
    color: var(--text-main);
    opacity: 0.8;
}

.gold-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    margin-top: 15px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-bg::after {
        background: linear-gradient(to bottom, rgba(10, 14, 23, 0.8) 0%, rgba(10, 14, 23, 0.9) 100%);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta a {
        width: 100%;
    }
}

/* CONCEPT Section */
.concept-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.concept-text {
    flex: 1;
    font-size: 1.1rem;
}

.concept-text p {
    margin-bottom: 24px;
}

.concept-image-wrap {
    flex: 1;
    position: relative;
    padding: 20px;
}

.concept-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 90%;
    border: 1px solid var(--gold);
    z-index: 0;
}

.concept-image {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 66%; /* Aspect ratio */
    background-image: url('assets/images/concept_bg.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
    .concept-content {
        flex-direction: column;
    }
    
    .concept-image-wrap {
        width: 100%;
    }
}

/* FEATURES Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--line-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    padding-bottom: 15px;
    position: relative;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--gold);
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* EVENT STYLE Section */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    position: relative;
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.event-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.event-exchange { background-image: url('assets/images/concept_bg.png'); }
.event-cafe { background-image: url('assets/images/event_cafe.png'); }
.event-bar { background-image: url('assets/images/event_bar.png'); }

/* Fallbacks if images are missing */
.event-bg { background-color: #1a2235; }

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 30, 0.6);
    transition: var(--transition);
}

.event-card:hover .event-bg {
    transform: scale(1.1);
}

.event-card:hover::after {
    background-color: rgba(10, 15, 30, 0.3);
}

.event-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.event-footer-text {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

/* GALLERY Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    border: 1px solid var(--line-color);
    padding: 5px;
    background-color: var(--card-bg);
}

.gallery-img {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
}

.g1 { background-image: url('assets/images/hero_bg.png'); }
.g2 { background-image: url('assets/images/concept_bg.png'); }
.g3 { background-image: url('assets/images/event_cafe.png'); }
.g4 { background-image: url('assets/images/event_bar.png'); }

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACT Section */
.contact {
    position: relative;
    overflow: hidden;
}

.contact-container {
    text-align: center;
    max-width: 800px;
    background-color: var(--panel-bg);
    padding: 60px 40px;
    border-radius: 8px;
    border: 1px solid var(--line-color);
    position: relative;
    z-index: 2;
}

.contact-text {
    margin-bottom: 40px;
}

.sns-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.sns-btn {
    min-width: 240px;
    max-width: 100%;
    padding: 14px 24px;
    background-color: transparent;
    color: var(--text-main);
}

.sns-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-line {
    border-color: #06C755;
    color: #06C755;
}

.btn-line:hover {
    background-color: #06C755;
    color: #fff;
    border-color: #06C755;
}

.contact-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="none" stroke="%23d4af37" stroke-width="1" d="M50 10 A40 40 0 1 0 90 50 A30 30 0 0 1 50 10 Z" opacity="0.3"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .sns-buttons {
        flex-direction: column;
    }
    
    .sns-btn {
        width: 100%;
        padding: 16px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--line-color);
    padding: 60px 0 30px;
    text-align: center;
    background-color: #05080f;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
    font-size: 0.85rem;
    line-height: 2;
    color: var(--text-muted);
}

.footer-links a {
    margin: 0 10px;
    display: inline-block;
}

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

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-serif);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
