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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #0c0908;
    color: #d4c9b8;
}

#stars-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
    pointer-events: none;
}

.steam {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background:
        radial-gradient(ellipse 80% 30% at 50% 100%, rgba(180, 140, 80, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 30% 50%, rgba(160, 120, 60, 0.15) 0%, transparent 60%);
    animation: drift 14s infinite ease-in-out alternate;
}

@keyframes drift {
    0%   { transform: translateY(0) scale(1); opacity: 0.1; }
    50%  { transform: translateY(-20px) scale(1.05); opacity: 0.18; }
    100% { transform: translateY(0) scale(1); opacity: 0.1; }
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.7) 100%);
}

.center {
    position: relative;
    z-index: 10;
    padding: 1rem;
}

.plate {
    position: relative;
    padding: 2.5rem 3.5rem;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(180, 140, 80, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 70%, rgba(100, 70, 40, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(42, 31, 24, 0.6) 0%, rgba(20, 15, 12, 0.8) 100%);
    border: 2px solid rgba(184, 115, 51, 0.35);
    border-radius: 3px;
    text-align: center;
    max-width: 520px;
    box-shadow:
        0 0 30px rgba(0,0,0,0.5),
        inset 0 0 40px rgba(42, 31, 24, 0.3),
        inset 0 1px 0 rgba(184, 115, 51, 0.1);
}

.rivet {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d4a050, #8b6b4a);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.15);
}
.rivet.tl { top: -5px; left: -5px; }
.rivet.tr { top: -5px; right: -5px; }
.rivet.bl { bottom: -5px; left: -5px; }
.rivet.br { bottom: -5px; right: -5px; }

.dragon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 25px rgba(200, 160, 80, 0.25));
    animation: hover 3s infinite ease-in-out;
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #d4c9b8;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(212, 160, 80, 0.15);
}

.blurb {
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(180, 140, 80, 0.5);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

.btn {
    position: relative;
    background: linear-gradient(180deg, #3d291f 0%, #2a1f18 50%, #1c1512 100%);
    border: 1px solid rgba(184, 115, 51, 0.4);
    color: rgba(212, 201, 184, 0.8);
    padding: 0.9rem 2.5rem;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Georgia', serif;
    border-radius: 2px;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(212, 160, 80, 0.1),
        inset 0 -2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn:hover {
    border-color: rgba(212, 160, 80, 0.6);
    color: #e8ddd0;
    box-shadow:
        0 4px 16px rgba(0,0,0,0.5),
        0 0 20px rgba(184, 115, 51, 0.1),
        inset 0 1px 0 rgba(212, 160, 80, 0.2),
        inset 0 -2px 4px rgba(0,0,0,0.3);
}

.btn:active {
    transform: scale(0.97);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.5),
        inset 0 2px 6px rgba(0,0,0,0.4);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.close {
    position: absolute;
    top: 20px; right: 28px;
    background: none;
    border: 1px solid rgba(212, 160, 80, 0.2);
    color: rgba(212, 201, 184, 0.4);
    width: 40px; height: 40px;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-family: 'Georgia', serif;
}

.close:hover {
    color: #e8ddd0;
    border-color: rgba(212, 160, 80, 0.5);
    box-shadow: 0 0 15px rgba(212, 160, 80, 0.1);
}

.video-box {
    width: 90%;
    max-width: 800px;
    border: 1px solid rgba(184, 115, 51, 0.2);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.6), 0 0 30px rgba(184, 115, 51, 0.06);
    transform: scale(0.92);
    transition: transform 0.35s ease;
}

.overlay.show .video-box {
    transform: scale(1);
}

.video-box video {
    width: 100%;
    display: block;
}
