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

:root {
    --gold: #c9a227;
    --gold-light: #e4c060;
    --dark: #0d0d1a;
    --dark2: #111122;
    --dark3: #161628;
    --purple: #2a1a4e;
    --text: #d4cce8;
    --text-muted: #8b7fa8;
}

body {
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── Stars ── */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.stars  { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='20' cy='30' r='0.8' fill='white' opacity='0.6'/%3E%3Ccircle cx='80' cy='10' r='0.6' fill='white' opacity='0.5'/%3E%3Ccircle cx='150' cy='60' r='1' fill='white' opacity='0.7'/%3E%3Ccircle cx='200' cy='20' r='0.5' fill='white' opacity='0.4'/%3E%3Ccircle cx='260' cy='80' r='0.8' fill='white' opacity='0.6'/%3E%3Ccircle cx='50' cy='120' r='0.6' fill='white' opacity='0.5'/%3E%3Ccircle cx='120' cy='180' r='1' fill='white' opacity='0.4'/%3E%3Ccircle cx='240' cy='160' r='0.7' fill='white' opacity='0.6'/%3E%3Ccircle cx='30' cy='250' r='0.5' fill='white' opacity='0.5'/%3E%3Ccircle cx='180' cy='240' r='0.8' fill='white' opacity='0.6'/%3E%3C/svg%3E") repeat; animation: twinkle 6s infinite alternate; }
.stars2 { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='40' cy='70' r='0.7' fill='%23c9a227' opacity='0.4'/%3E%3Ccircle cx='100' cy='30' r='0.5' fill='white' opacity='0.5'/%3E%3Ccircle cx='220' cy='100' r='0.9' fill='white' opacity='0.5'/%3E%3Ccircle cx='320' cy='50' r='0.6' fill='%23c9a227' opacity='0.3'/%3E%3Ccircle cx='370' cy='200' r='0.8' fill='white' opacity='0.4'/%3E%3Ccircle cx='60' cy='300' r='0.7' fill='white' opacity='0.5'/%3E%3Ccircle cx='280' cy='350' r='0.5' fill='%23c9a227' opacity='0.4'/%3E%3C/svg%3E") repeat; animation: twinkle 9s infinite alternate-reverse; }
.stars3 { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Ccircle cx='90' cy='45' r='1' fill='white' opacity='0.3'/%3E%3Ccircle cx='300' cy='90' r='0.6' fill='white' opacity='0.4'/%3E%3Ccircle cx='450' cy='150' r='0.8' fill='%23c9a227' opacity='0.3'/%3E%3Ccircle cx='150' cy='400' r='0.7' fill='white' opacity='0.3'/%3E%3Ccircle cx='400' cy='420' r='0.9' fill='white' opacity='0.4'/%3E%3C/svg%3E") repeat; animation: twinkle 12s infinite alternate; }

@keyframes twinkle {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* ── Header ── */
header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201,162,39,0.2);
    background: linear-gradient(180deg, rgba(13,13,26,0.95) 0%, transparent 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eye-icon svg { width: 60px; height: 40px; }

.logo-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-text p {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Main ── */
main {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem 3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Gallery Header ── */
.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.subtitle-line {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 30px rgba(201,162,39,0.3);
}

.gallery-title em {
    font-style: italic;
    color: var(--gold-light);
}

/* ── Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--dark3);
    cursor: pointer;
}

.gallery-item img,
.gallery-item video,
.video-wrapper {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper {
    position: relative;
}

.video-wrapper video {
    position: absolute;
    top: 0; left: 0;
}

.play-btn {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    transition: opacity 0.3s;
}

.item-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: var(--text);
    font-size: 0.65rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 1.5rem 0.5rem 0.4rem;
    line-height: 1.3;
}

.placeholder {
    background: linear-gradient(135deg, #161628 0%, #1e1035 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    opacity: 0.3;
}

.placeholder-icon {
    color: var(--gold);
    font-size: 1.5rem;
}


/* ── Login ── */
.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-box {
    background: rgba(22, 22, 40, 0.9);
    border: 1px solid rgba(201,162,39,0.25);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 60px rgba(42,26,78,0.5);
}

.login-eye svg { width: 60px; height: 40px; margin-bottom: 1rem; }

.login-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.login-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }

.form-group input,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"] {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    outline: none;
}

input:focus {
    border-color: rgba(201,162,39,0.6);
    background: rgba(255,255,255,0.07);
}

.btn-gold {
    background: linear-gradient(135deg, #c9a227, #9a7a1a);
    color: #0d0d1a;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    width: 100%;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); }

.error-msg {
    background: rgba(200,50,50,0.15);
    border: 1px solid rgba(200,50,50,0.3);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    color: #f87171;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.back-link {
    display: block;
    margin-top: 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}
.back-link:hover { color: var(--gold); }

/* ── About Section ── */
.about-section {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(42,26,78,0.25) 50%, transparent 100%);
    padding: 3rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-inner { width: 100%; }

.about-divider {
    text-align: center;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    margin-bottom: 2.5rem;
    opacity: 0.6;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.about-left {
    flex-shrink: 0;
    text-align: center;
    width: 130px;
}

.about-symbol { margin-bottom: 1rem; opacity: 0.85; }

.about-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.about-title-tag {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-right { flex: 1; }

.about-text {
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 0.85rem;
    font-weight: 300;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.about-tags span {
    background: rgba(201,162,39,0.1);
    border: 1px solid rgba(201,162,39,0.25);
    color: var(--gold-light);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Contact Section ── */
.contact-section {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, transparent, rgba(13,13,26,0.6));
    max-width: 700px;
    margin: 0 auto;
    border-top: 1px solid rgba(201,162,39,0.1);
}

.contact-inner {}

.contact-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.08em;
    margin: 0.5rem 0 0.75rem;
}

.contact-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Footer ── */
footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(201,162,39,0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.footer-sub {
    margin-top: 0.3rem;
    font-size: 0.65rem;
    opacity: 0.5;
}

@media (max-width: 500px) {
    .about-content { flex-direction: column; align-items: center; }
    .about-left { width: 100%; }
}
