/* CSS Variables & Reset */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Gold */
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
    --luxury-gradient: linear-gradient(135deg, #a08429 0%, #e3d39c 50%, #a08429 100%);
    --font-serif: 'Cinzel', serif;
    --font-brand: 'Playfair Display', serif;
    --font-title-special: 'Cormorant Garamond', serif;
    --font-jp-serif: 'Noto Serif JP', serif;
    --font-sans: 'Zen Kaku Gothic New', sans-serif;
    --muted-gold: #bf9b30;
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 2;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: var(--muted-gold);
    position: relative;
    display: block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--muted-gold);
}

.text-center {
    text-align: center;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loading-overlay .logo {
    font-size: 2rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-brand);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.cta-button-small {
    font-family: var(--font-jp-serif);
    font-size: 0.8rem;
    padding: 0.5rem 1.5rem;
    background: var(--luxury-gradient);
    border: none;
    color: #000;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-button-small::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.cta-button-small:hover {
    filter: brightness(1.2);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.cta-button-small:hover::after {
    left: 100%;
    transition: left 0.5s ease;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-family: var(--font-brand);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    color: var(--muted-gold);
}

.hero .main-title {
    font-family: var(--font-title-special);
    font-size: 5rem;
    font-weight: 300;
    text-shadow: 0 0 30px rgba(191, 155, 48, 0.2), 0 0 10px #000;
    letter-spacing: 0.05em;
    color: var(--muted-gold);
    transition-duration: 3s;
    /* Slower fade in */
}

.hero .subtitle {
    font-family: var(--font-jp-serif);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: #fff;
    margin-top: 10px;
    animation: scrollDown 2s infinite;
}

/* Sections */
.section-padding {
    padding: 8rem 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Concept */
.concept-text p {
    margin-bottom: 3rem;
    font-family: var(--font-jp-serif);
    /* font-size: 1.1rem; Removed to match Secret Stage body text size (default) */
    letter-spacing: 0.1em;
}

/* Feature */
.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-info p {
    margin-bottom: 2rem;
    font-family: var(--font-jp-serif);
}

.parallax-img {
    overflow: hidden;
    border-radius: 4px;
}

.parallax-img img {
    transition: transform 1s ease-out;
}

.dark-bg {
    background: #0a0a0a;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Details */
.details-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-jp-serif);
}

.detail-row {
    display: flex;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row .label {
    width: 30%;
    font-weight: 500;
    color: #999;
}

.detail-row .value {
    width: 70%;
}

.detail-row .value.prize {
    font-size: 1.5rem;
    color: var(--text-color);
    font-family: var(--font-serif);
}

.detail-row .value .tax {
    font-size: 0.9rem;
    color: var(--text-color);
}

.note {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 0.5rem;
}

.caution {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3rem;
    font-family: var(--font-jp-serif);
}

/* CTA */
.cta-button {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: var(--luxury-gradient);
    color: #000;
    font-family: var(--font-jp-serif);
    /* Changed to JP Serif for Japanese text */
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.6);
    letter-spacing: 0.3em;
}

.cta-button:hover::after {
    left: 100%;
    transition: left 0.7s ease;
}

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.2);
    }
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero .main-title {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-row .label {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .detail-row .value {
        width: 100%;
    }

    .section-padding {
        padding: 5rem 0;
    }
}