/* ============================================
   ZanarkandClub KAWASAKI - Custom Theme
   黒 × パープル × ゴールド
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@300;400;500;700&family=Cinzel:wght@400;500;600&display=swap');

:root {
    --bg-black: #0a0a0a;
    --bg-dark: #141014;
    --purple: #7a3aa6;
    --purple-light: #a259d9;
    --purple-glow: rgba(162, 89, 217, 0.4);
    --gold: #d4af37;
    --gold-light: #f0d97a;
    --text-light: #e8e3ee;
    --text-muted: #9a8fa8;
}

/* Base override */
html, body {
    background-color: var(--bg-black) !important;
    color: var(--text-light) !important;
    font-family: 'Noto Serif JP', 'Cormorant Garamond', serif !important;
}

body.is-preload *, body * {
    font-family: 'Noto Serif JP', serif;
}

#wrapper {
    background-color: var(--bg-black);
}

#wrapper > .bg {
    background-color: var(--bg-black) !important;
    background-image: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(20,15,25,0.95) 100%) !important;
}

#wrapper:before {
    background-image:
        linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 100%),
        url('../../images/hero.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Header */
#header {
    background: linear-gradient(180deg, rgba(10,10,10,0.95), rgba(10,10,10,0.7));
    border-bottom: 1px solid var(--gold);
}

#header .logo-img {
    max-width: 360px;
    width: 80%;
    margin: 0 auto 1.4rem;
    display: block;
    filter: drop-shadow(0 0 18px var(--purple-glow));
    mix-blend-mode: screen;
}

/* Visually-hidden helper (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-tagline {
    font-size: 1.05em !important;
    letter-spacing: 0.18em;
    line-height: 2 !important;
    margin-top: 1.5em;
}

#header h1 {
    font-family: 'Cinzel', serif !important;
    color: var(--gold) !important;
    letter-spacing: 0.3em;
    font-size: 2.6em;
    text-shadow: 0 0 24px var(--purple-glow);
    margin-bottom: 0.5rem;
}

#header h1 .sub {
    display: block;
    font-size: 0.4em;
    letter-spacing: 0.6em;
    color: var(--text-light);
    margin-top: 0.6em;
    font-weight: 300;
}

#header p {
    color: var(--text-light);
    font-size: 1.1em;
    letter-spacing: 0.15em;
    line-height: 1.9;
}

#header .button {
    background-color: var(--purple) !important;
    color: #fff !important;
    border: 1px solid var(--gold) !important;
    box-shadow: 0 0 20px var(--purple-glow);
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
}

#header .button:hover {
    background-color: var(--gold) !important;
    color: var(--bg-black) !important;
    box-shadow: 0 0 30px var(--gold-light);
}

/* Nav */
#nav {
    background-color: rgba(10, 10, 10, 0.92) !important;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

#nav ul li a {
    color: var(--text-light) !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.25em;
    font-weight: 400;
}

#nav ul li a:hover,
#nav ul li a.active {
    color: var(--gold) !important;
}

#nav ul li a:before {
    background-color: var(--gold) !important;
}

/* Sections */
#main > section {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

#main > section.alt-bg {
    background-color: #100c10 !important;
}

#main > section h2,
#main > section h3 {
    color: var(--gold) !important;
    font-family: 'Cinzel', 'Noto Serif JP', serif !important;
    letter-spacing: 0.18em;
}

#main > section h2 {
    font-size: 2.1em;
    margin-bottom: 0.4em;
    text-shadow: 0 0 18px var(--purple-glow);
}

.section-sub {
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.2em;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
}

#main > section p,
#main > section li,
#main > section dd,
#main > section dt {
    color: var(--text-light) !important;
}

/* Buttons */
.button {
    background-color: transparent !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.18em;
    transition: all 0.4s ease;
}

.button:hover {
    background-color: var(--purple) !important;
    border-color: var(--purple-light) !important;
    color: #fff !important;
    box-shadow: 0 0 20px var(--purple-glow);
}

.button.primary {
    background-color: var(--purple) !important;
    color: #fff !important;
    border-color: var(--gold) !important;
}

.button.primary:hover {
    background-color: var(--gold) !important;
    color: var(--bg-black) !important;
}

.button.line-btn {
    background-color: #06c755 !important;
    border-color: #06c755 !important;
    color: #fff !important;
}

.button.line-btn:hover {
    background-color: #04a142 !important;
    border-color: var(--gold) !important;
    color: #fff !important;
}

.button.tel-btn {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--bg-black) !important;
}

.button.tel-btn:hover {
    background-color: var(--gold-light) !important;
}

/* Concept spotlight */
.spotlight .image img {
    border: 1px solid var(--gold);
    box-shadow: 0 0 40px var(--purple-glow);
}

/* Cast cards */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5em;
    margin: 2em auto;
    max-width: 1100px;
}

.cast-card {
    background: linear-gradient(180deg, rgba(122, 58, 166, 0.1), rgba(10, 10, 10, 0.6));
    border: 1px solid var(--gold);
    padding: 1.4em 1em;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cast-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px var(--purple-glow);
    border-color: var(--gold-light);
}

.cast-card .cast-name {
    font-family: 'Cinzel', 'Noto Serif JP', serif;
    color: var(--gold);
    font-size: 1.4em;
    letter-spacing: 0.15em;
    margin: 0.4em 0 0.6em;
    text-shadow: 0 0 10px var(--purple-glow);
}

.cast-card .cast-meta {
    color: var(--text-muted);
    font-size: 0.85em;
    letter-spacing: 0.12em;
}

.cast-card .cast-icon {
    font-size: 2.6em;
    color: var(--purple-light);
    margin-bottom: 0.2em;
}

/* Price table */
.price-table {
    max-width: 720px;
    margin: 2em auto;
    border: 1px solid var(--gold);
    background: rgba(10, 10, 10, 0.6);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 1em 1.4em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: left;
    color: var(--text-light);
    font-size: 1em;
}

.price-table th {
    color: var(--gold) !important;
    font-family: 'Cinzel', 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
    width: 60%;
}

.price-table td {
    text-align: right;
    color: var(--gold-light) !important;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
    border-bottom: none;
}

.price-coupon {
    margin: 2em auto;
    max-width: 720px;
    padding: 1.6em;
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(122,58,166,0.25), rgba(212,175,55,0.1));
    text-align: center;
}

.price-coupon .coupon-title {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    letter-spacing: 0.2em;
    margin-bottom: 0.4em;
}

.price-coupon .coupon-price {
    font-size: 1.8em;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.price-coupon .coupon-note {
    color: var(--text-light);
    font-size: 0.9em;
    margin-top: 0.4em;
    letter-spacing: 0.1em;
}

/* Access */
.access-info {
    max-width: 800px;
    margin: 2em auto;
}

.access-info dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.8em 1.4em;
    margin: 2em 0;
}

.access-info dt {
    color: var(--gold) !important;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.15em;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    padding-right: 1em;
    text-align: right;
}

.access-info dd {
    color: var(--text-light) !important;
    margin: 0;
}

.map-frame {
    margin: 2em auto;
    border: 1px solid var(--gold);
    box-shadow: 0 0 30px var(--purple-glow);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* Footer */
#footer {
    background-color: var(--bg-black) !important;
    color: var(--text-muted) !important;
    border-top: 1px solid var(--gold);
}

#footer h2,
#footer h3 {
    color: var(--gold) !important;
    font-family: 'Cinzel', 'Noto Serif JP', serif;
    letter-spacing: 0.2em;
}

#footer p,
#footer dt,
#footer dd,
#footer li,
#footer a {
    color: var(--text-light) !important;
}

#footer .icons li a {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

#footer .icons li a:hover {
    color: var(--gold) !important;
    transform: translateY(-3px);
}

#footer .copyright {
    color: var(--text-muted) !important;
    letter-spacing: 0.15em;
    font-size: 0.85em;
    text-align: center;
}

/* Sticky footer CTA bar (mobile) */
.cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    background: linear-gradient(180deg, rgba(10,10,10,0.95), rgba(10,10,10,1));
    border-top: 1px solid var(--gold);
    padding: 0.6em;
    gap: 0.5em;
}

.cta-bar a {
    flex: 1;
    text-align: center;
    padding: 0.9em 0.5em;
    border-radius: 4px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 0.9em;
    border: 1px solid var(--gold);
}

.cta-bar a.tel { background-color: var(--gold); color: var(--bg-black) !important; }
.cta-bar a.line { background-color: #06c755; }

@media screen and (max-width: 736px) {
    .cta-bar { display: flex; }
    body { padding-bottom: 70px; }

    #header h1 { font-size: 1.8em; }
    #header .logo-img { max-width: 240px; }

    .access-info dl {
        grid-template-columns: 1fr;
        gap: 0.3em 0;
    }
    .access-info dt {
        border-right: none;
        text-align: left;
        padding-right: 0;
        margin-top: 0.8em;
    }

    .price-table th,
    .price-table td {
        padding: 0.7em 0.8em;
        font-size: 0.9em;
    }

    .map-frame iframe { height: 280px; }
}

/* Concept image override - use real photos */
.spotlight .image {
    display: block !important;
}

/* Statistics section override (used as Concept) */
.statistics li {
    background-color: rgba(122, 58, 166, 0.15) !important;
    border: 1px solid var(--gold);
}

.statistics li strong {
    color: var(--gold) !important;
    font-family: 'Cinzel', serif;
}

/* Scroll-to-top icon styling */
.scroll-icon {
    color: var(--gold);
    font-size: 1.6em;
}

/* Hide original Stellar default backgrounds for sections */
#main > section.special {
    text-align: center;
}

/* Ensure section padding looks good */
#main > section {
    padding: 4em 2em;
}

@media screen and (max-width: 736px) {
    #main > section { padding: 3em 1.2em; }
}
