:root {
    --void: #080808;
    --gold: #c5a059;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --silver-accents: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--void);
    color: var(--silver-accents);
    font-family: 'Shippori Mincho', serif;
    min-height: 100vh;
    overflow-y: auto;
    /* Enable vertical scrolling */
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    padding-bottom: 50px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

#start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out;
}

#start-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

#start-btn {
    padding: 24px 60px;
    font-size: 1.5rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    cursor: pointer;
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

#start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

#start-btn:hover::before {
    left: 100%;
}

#start-btn:hover {
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
    border-color: #fcf6ba;
    color: #fcf6ba;
}

#app {
    width: 100%;
    opacity: 0;
    transition: opacity 2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#app.visible {
    opacity: 1;
}

/* Header & Title */
.site-header {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.2em;
    filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.4));
    animation: glow-pulse 4s infinite alternate;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

#yajuu-img {
    width: 100%;
    height: auto;
    border: 2px solid rgba(197, 160, 89, 0.5);
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 60px rgba(197, 160, 89, 0.1);
    animation: float 6s ease-in-out infinite;
    filter: contrast(1.1) sepia(0.1);
    display: block;
}

.shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 60%);
    background-size: 200% 200%;
    mix-blend-mode: overlay;
    animation: gloss-sweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.text-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.text-container {
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 600px;
    /* Match image height area */
    display: flex;
    flex-direction: row-reverse;
    /* Start from right */
    gap: 30px;
}

.static-text {
    font-size: 1.6rem;
    color: #e0e0e0;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 2px rgba(197, 160, 89, 0.5));
    line-height: 1.8;
    letter-spacing: 0.1em;
}

@keyframes glow-pulse {
    0% {
        filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.4));
        opacity: 0.9;
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.8));
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gloss-sweep {
    0% {
        background-position: 100% 100%;
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    80% {
        opacity: 0;
    }

    100% {
        background-position: 0% 0%;
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .text-container {
        writing-mode: horizontal-tb;
        flex-direction: column;
        height: auto;
        width: 100%;
        text-align: center;
        gap: 20px;
        padding-bottom: 50px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .static-text {
        font-size: 1.2rem;
        writing-mode: horizontal-tb;
    }
}