:root {
    --bg-color: #05070a;
    --text-color: #e0e0e0;
    --accent-gold: #E5B236;
    --accent-silver: #c0c0c0;
    --accent-glow: rgba(229, 178, 54, 0.4);
    --glass-bg: rgba(10, 10, 10, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    z-index: 1;
}

/* Language Switch — top right (matches main site) */
.lang-switch-global {
    position: fixed;
    top: 25px;
    right: 30px;
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    z-index: 200;
}
.lang-switch-global a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: 0.3s;
}
.lang-switch-global a:hover { color: var(--accent-gold); }
.lang-switch-global a.active { color: var(--accent-gold); font-weight: 500; pointer-events: none; }
.lang-switch-global span { color: rgba(255,255,255,0.2); }

header {
    padding: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

nav, .title-group, .controls {
    pointer-events: auto;
}

.back-link {
    color: var(--accent-silver);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 1;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 2.75rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, #0a111a 0%, #05070a 100%);
}

.controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.btn-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.btn {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.77rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.shape-indicator {
    font-size: 0.7rem;
    color: var(--accent-silver);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin: 0.5rem 0;
    opacity: 0.8;
}

.shape-indicator span {
    color: var(--accent-gold);
    font-weight: 600;
}

.btn.secondary {
    border-color: rgba(255,255,255,0.3);
    color: #ccc;
}

.btn.secondary:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}

.btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.active {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.info-panel {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    font-size: 0.6rem;
    color: var(--accent-silver);
    opacity: 0.5;
    margin-bottom: 0.2rem;
}

footer {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 0.7rem;
    color: var(--accent-silver);
    opacity: 0.3;
}

@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    .subtitle { font-size: 0.6rem; }
    
    .controls { 
        width: 95%; 
        padding: 1rem;
        bottom: 1rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn, .link-btn {
        width: 100%;
    }

    .shape-indicator {
        margin: 0;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.thumb-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
    position: relative;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-item:hover .thumb-img {
    opacity: 1;
}

.item-info {
    padding: 20px;
    text-align: left;
}

.item-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.item-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.action-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.action-btn.like-btn.active {
    background: var(--gold);
    color: #000;
}

canvas {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
