:root {
    --primary-color: #fcd34d; /* Gold */
    --accent-color: #fbbf24;
    --bg-dark: #0a0a2a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --text-muted: #cbd5e1;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, .subtitle {
    font-family: 'Kiwi Maru', serif;
    font-weight: 500;
}

/* Background Stars */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    z-index: -2;
}

.stars-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: twinkle 5s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.2; }
    to { opacity: 0.5; }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background-image: linear-gradient(rgba(10, 10, 42, 0.7), rgba(10, 10, 42, 0.7)), url('../assets/poster.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-color);
    color: #000;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(252, 211, 77, 0.5);
}

.subtitle {
    font-size: 2rem;
    display: block;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    margin: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #332100;
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(252, 211, 77, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Layout */
.section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 60px 40px;
    border-radius: 24px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.details-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.details-item .icon {
    font-size: 2rem;
}

.details-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

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

/* Rules Section */
.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

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

.rule-card h3 {
    margin-bottom: 15px;
}

/* Form Settings */
.reservation-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #332100;
    font-size: 1.1rem;
    padding: 18px;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.warning-msg {
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.info-notice {
    background: rgba(252, 211, 77, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 4px 8px 8px 4px;
    margin: 0 auto 20px auto;
    font-size: 0.95rem;
    max-width: 600px;
    text-align: left;
    line-height: 1.6;
}

.cancellation-notice {
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.2);
    border-left: 4px solid #ef4444;
    padding: 15px 20px;
    border-radius: 4px 8px 8px 4px;
    margin: 0 auto 25px auto;
    font-size: 0.95rem;
    max-width: 600px;
    text-align: left;
    line-height: 1.6;
}

.notice-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #fff;
}

.notice-list {
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    margin-bottom: 8px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.notice-list li::before {
    content: "・";
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.note-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    text-indent: 0;
}

.success-card {
    text-align: center;
    padding: 40px;
}

.success-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.5rem;
    }
    .section {
        padding: 40px 20px;
        margin: 40px 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Select styling */
select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.2);
}

select:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

select option {
    background: #1a1a3e;
    color: #fff;
}

/* Adult free warning */
/* (removed - replaced by sub-count-note) */

/* Sub-count display (うち無料) */
.sub-count-display {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 14px;
    background: rgba(252, 211, 77, 0.06);
    border-left: 3px solid rgba(252, 211, 77, 0.4);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.sub-count-label {
    color: var(--text-muted);
    white-space: nowrap;
}

.sub-count-value {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 36px;
}

.sub-count-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Count Summary Box */
.count-summary {
    background: rgba(252, 211, 77, 0.07);
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

.count-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.count-summary-row:last-child {
    border-bottom: none;
}

.count-summary-row.total-row {
    margin-top: 4px;
    padding-top: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.count-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.count-value {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 50px;
    text-align: right;
}

.count-summary-row.total-row .count-value {
    font-size: 1.15rem;
}
