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

:root {
    --ancient-gold: #D4AF37;
    --pharaoh-gold: #FFD700;
    --desert-sand: #C2B280;
    --dark-stone: #1a1612;
    --temple-stone: #2a2419;
    --sandstone: #3d3426;
    --papyrus: #F4E4C1;
    --obsidian: #0f0d0a;
    --copper: #B87333;
}

body {
    font-family: 'Crimson Text', serif;
    background: var(--obsidian);
    color: var(--papyrus);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pharaoh-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.pharaoh-gate:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-pyramid {
    max-width: 600px;
    width: 90%;
}

.gate-chamber {
    background: linear-gradient(135deg, var(--temple-stone), var(--sandstone));
    border: 3px solid var(--ancient-gold);
    padding: 48px 32px;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.ankh-symbol {
    margin-bottom: 24px;
}

.ankh-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border: 4px solid var(--pharaoh-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.9); }
}

.sacred-number {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--pharaoh-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.golden-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        transparent 0deg,
        rgba(255, 215, 0, 0.3) 45deg,
        transparent 90deg,
        rgba(255, 215, 0, 0.3) 135deg,
        transparent 180deg,
        rgba(255, 215, 0, 0.3) 225deg,
        transparent 270deg,
        rgba(255, 215, 0, 0.3) 315deg,
        transparent 360deg
    );
    animation: rotateRays 8s linear infinite;
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hieroglyph-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--papyrus);
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.papyrus-text {
    font-size: 18px;
    color: var(--desert-sand);
    margin-bottom: 32px;
    line-height: 1.6;
}

.royal-choices {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.golden-decree,
.stone-tablet {
    font-family: 'Cinzel', serif;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--ancient-gold);
    background: linear-gradient(135deg, var(--sandstone), var(--temple-stone));
    color: var(--papyrus);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.golden-decree.confirm {
    background: linear-gradient(135deg, #2a4015, #1a2a0f);
    border-color: #4a6b2a;
}

.golden-decree:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.scribe-note {
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.scribe-note p {
    font-size: 13px;
    color: var(--desert-sand);
    opacity: 0.8;
}

.main-content {
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    display: none;
}

.temple-header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(26, 22, 18, 0.95), rgba(42, 36, 25, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--ancient-gold);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.temple-pillars {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.pharaoh-seal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.scarab-emblem {
    width: 48px;
    height: 48px;
    border: 2px solid var(--ancient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
}

.scarab-core {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sacred-flame {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.dynasty-name {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--pharaoh-gold);
    text-decoration: none;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.8);
    transition: all 0.3s ease;
}

.dynasty-name:hover {
    text-shadow: 0 0 20px rgba(255, 215, 0, 1);
    transform: scale(1.05);
}

.scroll-menu {
    display: flex;
    gap: 32px;
}

.papyrus-link {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--papyrus);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.papyrus-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ancient-gold);
    transition: width 0.3s ease;
}

.papyrus-link:hover {
    color: var(--pharaoh-gold);
}

.papyrus-link:hover::after {
    width: 100%;
}

.menu-hieroglyph {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-hieroglyph span {
    width: 30px;
    height: 3px;
    background: var(--ancient-gold);
    transition: all 0.3s ease;
}

.pyramid-entrance {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(42, 36, 25, 0.4), transparent),
                linear-gradient(180deg, var(--obsidian), var(--dark-stone));
}

.desert-horizon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sand-spirits {
    width: 100%;
    height: 100%;
    position: relative;
}

.spirit {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8), rgba(255, 215, 0, 0.4));
    border-radius: 50%;
    animation: floatSpirit 20s linear infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.spirit:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.spirit:nth-child(2) { left: 30%; animation-delay: 2s; animation-duration: 18s; }
.spirit:nth-child(3) { left: 50%; animation-delay: 4s; animation-duration: 22s; }
.spirit:nth-child(4) { left: 70%; animation-delay: 6s; animation-duration: 16s; }
.spirit:nth-child(5) { left: 90%; animation-delay: 8s; animation-duration: 20s; }

@keyframes floatSpirit {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.obelisk-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.throne-content {
    max-width: 900px;
    margin: 0 auto;
}

.royal-cartouche {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--pharaoh-gold);
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.pharaoh-proclamation {
    font-family: 'Cinzel', serif;
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.2;
}

.decree-line {
    display: block;
    color: var(--papyrus);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.golden-inscription {
    color: var(--pharaoh-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 4px 8px rgba(0, 0, 0, 0.8);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 4px 8px rgba(0, 0, 0, 0.8); }
    50% { text-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 4px 8px rgba(0, 0, 0, 0.8); }
}

.scribe-scroll {
    font-size: 20px;
    color: var(--desert-sand);
    margin-bottom: 48px;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.royal-command {
    font-family: 'Cinzel', serif;
    padding: 20px 48px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ancient-gold), var(--pharaoh-gold));
    color: var(--obsidian);
    border: 3px solid var(--pharaoh-gold);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.royal-command:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.7);
}

.command-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.royal-command:hover .command-glow {
    left: 100%;
}

.temple-chamber {
    padding: 120px 20px;
    background: radial-gradient(ellipse at center, rgba(42, 36, 25, 0.3), transparent), var(--dark-stone);
}

.chamber-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sacred-portrait {
    position: relative;
}

.golden-frame {
    border: 4px solid var(--ancient-gold);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.golden-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.golden-frame:hover img {
    transform: scale(1.05);
}

.frame-radiance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

.chamber-inscription {
    padding: 40px;
}

.monument-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--pharaoh-gold);
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.hieroglyph-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--ancient-gold), transparent);
    margin-bottom: 32px;
}

.ancient-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--papyrus);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.treasure-hall {
    padding: 120px 20px;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.05), transparent 50%), var(--obsidian);
}

.dynasty-proclamation {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--papyrus);
    text-align: center;
    margin-bottom: 80px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.sacred-icon {
    color: var(--pharaoh-gold);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.sarcophagus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
}

.treasure-sarcophagus {
    background: linear-gradient(135deg, rgba(42, 36, 25, 0.8), rgba(61, 52, 38, 0.8));
    border: 2px solid var(--copper);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.treasure-sarcophagus:hover {
    border-color: var(--ancient-gold);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.4), inset 0 0 60px rgba(212, 175, 55, 0.1);
}

.sarcophagus-lid {
    text-align: center;
    margin-bottom: 24px;
}

.relic-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border: 3px solid var(--ancient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
}

.relic-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.relic-name {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.8);
}

.tomb-inscription {
    font-size: 16px;
    line-height: 1.8;
    color: var(--papyrus);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.oracle-vision {
    padding: 120px 20px;
    background: radial-gradient(ellipse at bottom, rgba(42, 36, 25, 0.4), transparent), var(--dark-stone);
}

.oracle-vision .monument-title {
    text-align: center;
    margin-bottom: 64px;
}

.vision-altar {
    max-width: 1000px;
    margin: 0 auto;
}

.sacred-mirror {
    position: relative;
    border: 4px solid var(--ancient-gold);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.sacred-mirror img {
    width: 100%;
    height: auto;
    display: block;
}

.mirror-veil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 13, 10, 0.7), rgba(42, 36, 25, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sacred-mirror:hover .mirror-veil {
    opacity: 1;
}

.awakening-spell {
    font-family: 'Cinzel', serif;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ancient-gold), var(--pharaoh-gold));
    color: var(--obsidian);
    border: 3px solid var(--pharaoh-gold);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.awakening-spell:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.scribe-library {
    padding: 120px 20px;
    background: radial-gradient(circle at center, rgba(61, 52, 38, 0.3), transparent), var(--obsidian);
}

.papyrus-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
}

.papyrus-scroll {
    background: linear-gradient(135deg, var(--temple-stone), var(--sandstone));
    border: 3px solid var(--ancient-gold);
    padding: 40px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.papyrus-scroll:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(212, 175, 55, 0.3), inset 0 0 60px rgba(0, 0, 0, 0.4);
}

.scroll-seal {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.scroll-seal h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.6);
}

.seal-mark {
    width: 60px;
    height: 3px;
    background: var(--ancient-gold);
    margin-top: 12px;
}

.papyrus-scroll p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--papyrus);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.golden-link {
    color: var(--pharaoh-gold);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.golden-link:hover {
    color: var(--ancient-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.law-chamber {
    padding: 120px 20px;
    background: radial-gradient(ellipse at center, rgba(42, 36, 25, 0.3), transparent), var(--dark-stone);
}

.chamber-arrangement {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.law-tablets {
    padding: 40px;
}

.decree-stones {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.stone-decree {
    background: linear-gradient(135deg, rgba(42, 36, 25, 0.5), rgba(61, 52, 38, 0.5));
    border-left: 4px solid var(--ancient-gold);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.stone-decree p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--papyrus);
}

.law-portrait {
    position: sticky;
    top: 120px;
}

.messenger-hall {
    padding: 120px 20px;
    background: radial-gradient(circle at bottom, rgba(61, 52, 38, 0.3), transparent), var(--obsidian);
}

.messenger-arrangement {
    max-width: 900px;
    margin: 0 auto;
}

.messenger-proclamation {
    text-align: center;
    margin-bottom: 64px;
}

.messenger-proclamation p {
    font-size: 18px;
    color: var(--desert-sand);
    margin-top: 16px;
}

.hieroglyph-form {
    background: linear-gradient(135deg, var(--temple-stone), var(--sandstone));
    border: 3px solid var(--ancient-gold);
    padding: 48px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.4);
}

.tablet-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tablet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.inscription-field {
    position: relative;
}

.inscription-field label {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--pharaoh-gold);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inscription-field input,
.inscription-field textarea {
    width: 100%;
    padding: 14px;
    font-family: 'Crimson Text', serif;
    font-size: 16px;
    background: rgba(15, 13, 10, 0.6);
    border: 2px solid var(--copper);
    color: var(--papyrus);
    transition: all 0.3s ease;
}

.inscription-field input:focus,
.inscription-field textarea:focus {
    outline: none;
    border-color: var(--ancient-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.inscription-field textarea {
    resize: vertical;
    min-height: 120px;
}

.royal-send {
    font-family: 'Cinzel', serif;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ancient-gold), var(--pharaoh-gold));
    color: var(--obsidian);
    border: 3px solid var(--pharaoh-gold);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.royal-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

.seal-gallery {
    padding: 80px 20px;
    background: var(--dark-stone);
}

.royal-seals {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.seal-emblem {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.seal-emblem:hover {
    transform: scale(1.1);
}

.emblem-aura {
    width: 100%;
    height: 100%;
    border: 2px solid var(--ancient-gold);
    border-radius: 50%;
    padding: 10px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
}

.emblem-aura img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tomb-foundation {
    background: linear-gradient(180deg, var(--obsidian), var(--dark-stone));
    border-top: 3px solid var(--ancient-gold);
    padding: 80px 20px 40px;
    position: relative;
}

.golden-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,
        transparent,
        var(--ancient-gold) 20%,
        var(--pharaoh-gold) 50%,
        var(--ancient-gold) 80%,
        transparent
    );
    animation: borderShine 3s linear infinite;
}

@keyframes borderShine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.tomb-contents {
    max-width: 1400px;
    margin: 0 auto;
}

.tomb-upper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.dynasty-legacy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legacy-emblem {
    display: flex;
    align-items: center;
    gap: 16px;
}

.legacy-scroll {
    font-size: 15px;
    line-height: 1.8;
    color: var(--desert-sand);
}

.messenger-shrine h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    margin-bottom: 16px;
}

.shrine-offering {
    display: flex;
    gap: 12px;
}

.shrine-offering input {
    flex: 1;
    padding: 12px;
    font-family: 'Crimson Text', serif;
    font-size: 15px;
    background: rgba(15, 13, 10, 0.6);
    border: 2px solid var(--copper);
    color: var(--papyrus);
}

.offering-submit {
    font-family: 'Cinzel', serif;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ancient-gold), var(--pharaoh-gold));
    color: var(--obsidian);
    border: 2px solid var(--pharaoh-gold);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.offering-submit:hover {
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
}

.tomb-passages {
    margin-bottom: 48px;
}

.passage-chamber h4 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    margin-bottom: 16px;
}

.passage-routes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.passage-routes a {
    font-size: 15px;
    color: var(--desert-sand);
    text-decoration: none;
    transition: all 0.3s ease;
}

.passage-routes a:hover {
    color: var(--pharaoh-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    padding-left: 8px;
}

.tomb-floor {
    padding-top: 32px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.floor-inscription {
    text-align: center;
}

.floor-inscription p {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--desert-sand);
    letter-spacing: 2px;
}

.royal-divider {
    width: 100px;
    height: 2px;
    background: var(--ancient-gold);
    margin: 16px auto 0;
}

.content {
    padding: 40px 10%;
}

.content-block h2 {
    color: #d4af37;
}

.content-block p,
ul {
    color: #f7c77e;
}

.play-ground-area {
    padding: 2rem;
    background: #3e272300;
}

.play-game {
    max-width: 940px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .chamber-layout,
    .chamber-arrangement,
    .tomb-upper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pharaoh-proclamation {
        font-size: 48px;
    }

    .monument-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .scroll-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(180deg, var(--temple-stone), var(--sandstone));
        border-bottom: 2px solid var(--ancient-gold);
        padding: 24px;
        gap: 16px;
    }

    .scroll-menu.active {
        display: flex;
    }

    .menu-hieroglyph {
        display: flex;
    }

    .temple-pillars {
        padding: 16px 20px;
    }

    .pharaoh-proclamation {
        font-size: 36px;
    }

    .monument-title {
        font-size: 28px;
    }

    .sarcophagus-grid,
    .papyrus-collection {
        grid-template-columns: 1fr;
    }

    .tablet-row {
        grid-template-columns: 1fr;
    }

    .royal-seals {
        gap: 24px;
    }

    .seal-emblem {
        width: 60px;
        height: 60px;
    }
}
