/* Shared Navigation and Statement Modal Styles */

:root {
    --bg-color: #0a0a0a;
    --text-gold: #d4af37;
    --text-white: #f0f0f0;
    --text-muted: #888;
    --header-height: 80px;
}

/* Header Elements */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    color: var(--text-white);
    opacity: 0.6;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--text-gold);
    opacity: 1;
}

.nav-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-menu-btn span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--text-white);
    transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    margin-bottom: 6px;
}

.nav-menu-btn span:last-child {
    margin-bottom: 0;
}

.nav-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Floating Navigation Menu */
.nav-overlay {
    position: fixed;
    top: 90px;
    right: 4%;
    width: 220px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(20px);
    z-index: 25000;
    /* Higher than header (20000) and grain texture (9999) */
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links {
    list-style: none;
    text-align: left;
    padding: 0 2rem;
}

.nav-link-item {
    margin-bottom: 1.2rem;
}

.nav-link-item:last-child {
    margin-bottom: 0;
}

.nav-link-item a {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--text-white);
    text-decoration: none;
    transition: 0.3s;
}

.nav-link-item a:hover {
    color: var(--text-gold);
    transform: translateX(5px);
}

/* --- Creative Statement Modal --- */
.statement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 9500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

.statement-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.statement-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    padding: 4rem 12rem 4rem 6rem;
    color: #e0e0e0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: row-reverse;
}

.statement-overlay.active .statement-content {
    transform: translateY(0);
}

.statement-content::-webkit-scrollbar {
    display: none;
}

.statement-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.1rem;
    line-height: 2.2;
    letter-spacing: 0.15em;
    height: 60vh;
    text-align: justify;
    margin: 0 auto;
    position: relative;
}

.statement-text p {
    margin-left: 1.5em;
}

.tcy {
    text-combine-upright: all;
    -webkit-text-combine: horizontal;
    font-family: sans-serif;
}

.upright {
    text-orientation: upright;
    font-family: sans-serif;
    letter-spacing: 0;
}

.statement-title {
    position: absolute;
    top: 2rem;
    right: 4rem;
    writing-mode: vertical-rl;
    font-size: 2rem;
    color: var(--text-gold);
    letter-spacing: 0.3em;
    border-left: 1px solid var(--text-gold);
    padding-left: 1rem;
    height: auto;
    max-height: 80%;
}

.statement-footer {
    position: absolute;
    bottom: -3rem;
    left: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    opacity: 0.6;
    writing-mode: horizontal-tb;
    width: 100%;
    text-align: left;
}

.statement-close {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 9501;
    cursor: pointer;
    transition: 0.3s;
}

.statement-close:hover {
    color: var(--text-gold);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .statement-content {
        padding: 4rem 5rem 4rem 2rem;
        width: 100%;
    }

    .statement-text {
        font-size: 0.95rem;
        line-height: 2;
        height: 55vh;
    }

    .statement-title {
        right: 1.5rem;
        font-size: 1.5rem;
    }

    .statement-close {
        top: 1rem;
        left: 1rem;
        font-size: 2.5rem;
    }

    .statement-footer {
        bottom: -3rem;
        left: 0;
    }
}

/* Coming Soon Modal */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.coming-soon-overlay.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--text-gold);
    padding: 3rem 4rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.coming-soon-overlay.active .coming-soon-content {
    transform: translateY(0);
}

.coming-soon-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.coming-soon-text {
    font-family: "Noto Serif TC", serif;
    font-size: 1rem;
    color: var(--text-white);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.coming-soon-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.coming-soon-close:hover {
    color: var(--text-gold);
}

.coming-soon-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--text-gold);
    color: var(--text-gold);
    background: transparent;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.coming-soon-btn:hover {
    background: var(--text-gold);
    color: #000;
}

/* Force Cursor Above Everything */
#cursor {
    z-index: 30000 !important;
}