/* monopole.center - Skeuomorphic Research Museum */
/* Colors: #1A0C08, #A08040, #F0E0C8, #C8B8A0, #2A0C10, #C4A050, #8A6030, #3A1818 */
/* Fonts: Playfair Display, Libre Caslon Text, IBM Plex Mono */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #1A0C08;
    color: #C8B8A0;
    font-family: 'Libre Caslon Text', serif;
    overflow-x: hidden;
}

/* Spotlight Layer */
#spotlight-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background: radial-gradient(ellipse 400px 500px at 50% 30%, rgba(196, 160, 80, 0.08) 0%, transparent 70%);
    transition: background 0.5s ease;
}

/* Hero / Museum Entrance */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at 50% 40%, #2A0C10 0%, #1A0C08 70%);
}

.spotlight-cone {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 160, 80, 0.08) 0%, transparent 80%);
    opacity: 0;
    animation: spotlightFadeIn 1.5s ease forwards;
}

@keyframes spotlightFadeIn {
    to { opacity: 1; }
}

/* Brass Plaque */
.brass-plaque {
    background: linear-gradient(135deg, #8A6030 0%, #C4A050 40%, #A08040 60%, #8A6030 100%);
    padding: 2rem 3rem;
    text-align: center;
    position: relative;
    border: 2px solid #A08040;
    box-shadow: inset 0 1px 0 rgba(240, 224, 200, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: plaqueAppear 1.5s ease 0.5s forwards;
}

@keyframes plaqueAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-plaque {
    max-width: 600px;
}

.plaque-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3A1818;
    display: block;
    margin-bottom: 0.75rem;
}

.plaque-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.02em;
    color: #1A0C08;
    text-shadow: 0 1px 0 rgba(240, 224, 200, 0.4);
    margin-bottom: 0.5rem;
}

.plaque-subtitle {
    font-family: 'Libre Caslon Text', serif;
    font-size: 1rem;
    color: #2A0C10;
    font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.scroll-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8A6030;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1px solid #8A6030;
    border-bottom: 1px solid #8A6030;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Exhibition Main */
#exhibition {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Exhibit Sections */
.exhibit {
    margin-bottom: 4rem;
}

.full-width .display-case {
    width: 100%;
}

.paired-exhibit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Display Case */
.display-case {
    position: relative;
    border: 2px solid #8A6030;
    background: linear-gradient(180deg, rgba(42, 12, 16, 0.6) 0%, rgba(26, 12, 8, 0.8) 100%);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3), 0 2px 12px rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.display-case.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Case Corners - brass */
.case-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #C4A050;
    border-style: solid;
}

.case-corner.top-left {
    top: -1px;
    left: -1px;
    border-width: 3px 0 0 3px;
}

.case-corner.top-right {
    top: -1px;
    right: -1px;
    border-width: 3px 3px 0 0;
}

.case-corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 3px 3px;
}

.case-corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-width: 0 3px 3px 0;
}

/* Case Content */
.section-plaque {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
}

.section-plaque .plaque-label {
    margin-bottom: 0;
}

.exhibit-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.02em;
    color: #F0E0C8;
    margin-bottom: 1.2rem;
}

.exhibit-body {
    font-family: 'Libre Caslon Text', serif;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    color: #C8B8A0;
    max-width: 700px;
}

/* Exhibit Diagrams */
.exhibit-diagram {
    margin-top: 2rem;
    text-align: center;
}

.diagram-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    opacity: 0.8;
}

/* Closing exhibit */
.closing-exhibit .case-content {
    text-align: center;
    padding: 2rem 0;
}

.closing-exhibit .exhibit-body {
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .paired-exhibit {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #exhibition {
        padding: 2rem 1rem 4rem;
    }

    .display-case {
        padding: 1.5rem;
    }

    .hero-plaque {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
    }
}
