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

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4B3;
    --gold-dark: #B8860B;
    --bronze: #CD7F32;
    --sandstone: #C2B280;
    --desert-sand: #EDC9AF;
    --papyrus: #F5E6D3;
    --deep-blue: #1B4D89;
    --royal-blue: #2C5F99;
    --night-sky: #0A1628;
    --stone-gray: #4A4A4A;
    --dark-stone: #2B2B2B;
    --hieroglyph-red: #8B3A3A;
}

body {
    font-family: 'Philosopher', serif;
    background: linear-gradient(135deg, var(--night-sky) 0%, var(--deep-blue) 100%);
    color: var(--papyrus);
    overflow-x: hidden;
    line-height: 1.6;
}

.pyramid-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--night-sky) 0%, var(--deep-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.pyramid-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.pyramid-shape {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: pyramidRotate 3s infinite ease-in-out;
}

@keyframes pyramidRotate {
    0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
    50% { transform: rotateX(360deg) rotateY(360deg); }
}

.pyramid-face {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--gold-primary);
    opacity: 0.8;
}

.pyramid-front {
    transform: translateZ(20px);
}

.pyramid-back {
    transform: translateZ(-20px) rotateY(180deg);
}

.pyramid-left {
    transform: rotateY(-90deg) translateZ(20px);
}

.pyramid-right {
    transform: rotateY(90deg) translateZ(20px);
}

.loader-hieroglyphs {
    margin-top: 30px;
    font-size: 28px;
    letter-spacing: 10px;
    animation: glyphPulse 1.5s infinite;
}

@keyframes glyphPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ancient-gate-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.98) 0%, rgba(27, 77, 137, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.ancient-gate-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.papyrus-scroll {
    background: linear-gradient(145deg, var(--papyrus) 0%, var(--desert-sand) 100%);
    border: 3px solid var(--gold-primary);
    border-radius: 20px;
    padding: 50px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4),
                inset 0 0 30px rgba(184, 134, 11, 0.1);
    position: relative;
    animation: scrollUnfurl 0.8s ease-out;
}

@keyframes scrollUnfurl {
    from {
        transform: scale(0.8) rotateX(90deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
}

.papyrus-scroll::before,
.papyrus-scroll::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    border: 2px solid var(--gold-dark);
}

.papyrus-scroll::before {
    top: -10px;
    left: -10px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.papyrus-scroll::after {
    bottom: -10px;
    right: -10px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.ankh-symbol {
    font-size: 38px;
    color: var(--gold-primary);
    animation: ankhGlow 2s infinite;
}

@keyframes ankhGlow {
    0%, 100% { text-shadow: 0 0 10px var(--gold-primary); }
    50% { text-shadow: 0 0 20px var(--gold-primary), 0 0 30px var(--gold-light); }
}

.pharaoh-text {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--deep-blue);
    letter-spacing: 2px;
}

.scroll-body {
    margin: 30px 0;
}

.hieroglyph-heading {
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
}

.golden-text {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.royal-text {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--deep-blue);
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.papyrus-message {
    text-align: center;
    margin: 25px 0;
}

.ancient-text {
    font-size: 17px;
    color: var(--stone-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.priest-text {
    font-size: 15px;
    color: var(--bronze);
    font-style: italic;
}

.temple-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.temple-btn {
    padding: 16px 30px;
    font-size: 16px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.temple-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.temple-btn:hover::before {
    width: 300px;
    height: 300px;
}

.sarcophagus-yes {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-color: var(--gold-dark);
    color: var(--night-sky);
}

.sarcophagus-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.sarcophagus-no {
    background: linear-gradient(135deg, var(--stone-gray) 0%, var(--dark-stone) 100%);
    border-color: var(--dark-stone);
    color: var(--papyrus);
}

.sarcophagus-no:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 74, 74, 0.5);
}

.scroll-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--gold-primary);
}

.scribe-note {
    font-size: 13px;
    color: var(--bronze);
    font-style: italic;
    line-height: 1.5;
}

.pharaoh-header {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(27, 77, 137, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dynasty-brand {
    text-decoration: none;
}

.dynasty-name {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transition: all 0.3s ease;
}

.dynasty-brand:hover .dynasty-name {
    color: var(--gold-light);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.9);
}

.hieroglyph-menu {
    display: flex;
    gap: 35px;
}

.menu-inscription {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--papyrus);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.menu-inscription::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.menu-inscription:hover {
    color: var(--gold-primary);
}

.menu-inscription:hover::after {
    width: 100%;
}

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

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

.temple-entrance {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.desert-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--night-sky) 0%, var(--deep-blue) 50%, var(--royal-blue) 100%);
    animation: skyShift 20s infinite alternate;
}

@keyframes skyShift {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.1) translateY(-20px); }
}

.entrance-chamber {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    position: relative;
    z-index: 1;
}

.chamber-content {
    text-align: center;
}

.scarab-badge {
    font-size: 80px;
    display: inline-block;
    animation: scarabFloat 3s infinite ease-in-out;
    filter: drop-shadow(0 0 20px var(--gold-primary));
}

@keyframes scarabFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.monument-title {
    font-family: 'Cinzel', serif;
    margin: 30px 0;
}

.gold-inscription {
    display: block;
    font-size: 68px;
    font-weight: 900;
    color: var(--gold-primary);
    letter-spacing: 8px;
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5),
        3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: goldShimmer 3s infinite;
}

@keyframes goldShimmer {
    0%, 100% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5), 3px 3px 6px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 0 0 30px rgba(244, 228, 179, 1), 0 0 60px rgba(212, 175, 55, 0.8), 3px 3px 8px rgba(0, 0, 0, 0.6); }
}

.stone-inscription {
    display: block;
    font-size: 78px;
    font-weight: 900;
    color: var(--papyrus);
    letter-spacing: 6px;
    text-shadow:
        0 0 15px rgba(245, 230, 211, 0.6),
        2px 2px 5px rgba(0, 0, 0, 0.7);
}

.oracle-message {
    font-size: 20px;
    color: var(--desert-sand);
    max-width: 700px;
    margin: 30px auto;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.ritual-action {
    margin-top: 45px;
}

.sarcophagus-link {
    display: inline-block;
    padding: 18px 50px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 3px solid;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    letter-spacing: 2px;
}

.primary-tomb {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-color: var(--gold-dark);
    color: var(--night-sky);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.primary-tomb::before {
    content: '';
    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;
}

.primary-tomb:hover::before {
    left: 100%;
}

.primary-tomb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.chamber {
    padding: 80px 0;
    position: relative;
}

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

.chamber-heading {
    text-align: center;
    margin-bottom: 60px;
}

.chamber-seal {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--night-sky);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.dynasty-heading {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 20px;
}

.golden-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 auto;
}

.tablet-arrangement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.stone-tablet {
    background: linear-gradient(145deg, rgba(194, 178, 128, 0.15) 0%, rgba(205, 127, 50, 0.1) 100%);
    border: 2px solid var(--bronze);
    border-radius: 15px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stone-tablet::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold-primary), var(--bronze));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stone-tablet:hover::before {
    opacity: 0.3;
}

.stone-tablet:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.tablet-top {
    margin-bottom: 20px;
}

.tablet-inscription {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 2px;
}

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

.chronicle-layout {
    display: flex;
    justify-content: center;
}

.chronicle-slab {
    background: linear-gradient(145deg, rgba(194, 178, 128, 0.15) 0%, rgba(205, 127, 50, 0.1) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    padding: 45px;
    max-width: 900px;
}

.chronicle-writing {
    color: var(--desert-sand);
    font-size: 17px;
    line-height: 1.9;
    text-align: center;
}

.treasure-arrangement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.treasure-box {
    background: linear-gradient(145deg, rgba(27, 77, 137, 0.3) 0%, rgba(44, 95, 153, 0.2) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
}

.treasure-box::after {
    content: '𓂀';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    color: var(--gold-primary);
    opacity: 0.2;
}

.treasure-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
    border-color: var(--gold-light);
}

.treasure-label {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

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

.sacred-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.sacred-scroll {
    background: linear-gradient(145deg, rgba(194, 178, 128, 0.15) 0%, rgba(205, 127, 50, 0.1) 100%);
    border: 2px solid var(--bronze);
    border-radius: 15px;
    padding: 40px;
}

.sacred-writing {
    color: var(--desert-sand);
    font-size: 16px;
    line-height: 1.9;
}

.throne-platform {
    position: relative;
}

.throne-structure {
    background: linear-gradient(145deg, rgba(10, 22, 40, 0.8) 0%, rgba(27, 77, 137, 0.6) 100%);
    border: 3px solid var(--gold-primary);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.throne-crown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.throne-status {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-primary);
}

.throne-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 2px;
}

.arena-ground {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.kingdom-arrangement {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.portrait-frame {
    position: relative;
    border: 4px solid var(--gold-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
}

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

.scrolls-wrapper {
    background: linear-gradient(145deg, rgba(194, 178, 128, 0.15) 0%, rgba(205, 127, 50, 0.1) 100%);
    border: 2px solid var(--bronze);
    border-radius: 15px;
    padding: 40px;
}

.scroll-section {
    margin-bottom: 35px;
}

.scroll-section:last-child {
    margin-bottom: 0;
}

.kingdom-inscription {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.kingdom-narrative {
    color: var(--desert-sand);
    font-size: 16px;
    line-height: 1.9;
}

.ancient-foundation {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(27, 77, 137, 0.95) 100%);
    padding: 60px 0 30px;
    position: relative;
    margin-top: 80px;
}

.foundation-band {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
        var(--gold-primary) 0%,
        var(--bronze) 25%,
        var(--gold-primary) 50%,
        var(--bronze) 75%,
        var(--gold-primary) 100%);
}

.foundation-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.foundation-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bronze);
}

.foundation-dynasty {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
}

.foundation-passages {
    display: flex;
    gap: 30px;
}

.passage-link {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    color: var(--desert-sand);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

.passage-link:hover {
    color: var(--gold-primary);
}

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

.foundation-decree {
    margin-bottom: 35px;
}

.foundation-decree p {
    color: var(--sandstone);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.foundation-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--bronze);
}

.foundation-seal {
    font-size: 14px;
    color: var(--sandstone);
}

.foundation-emblems {
    display: flex;
    gap: 15px;
    align-items: center;
}

.emblem {
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.emblem:hover {
    opacity: 1;
    transform: scale(1.1);
}

.emblem img {
    height: 40px;
    width: auto;
}
.content {
    padding: 40px 10%;
   
}
.content-block {}

.content-block h2 {
    color: #fffba8;
    font-size: 2rem;
}

.content-block p,
ul {
    color: rgb(185, 135, 49);
    font-size: 1.2rem;
}

.play-ground-area {
    padding: 2rem;
    background: black;
}

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

a {
    text-decoration: none;
}
@media (max-width: 1024px) {
    .sacred-layout,
    .kingdom-arrangement {
        grid-template-columns: 1fr;
    }

    .gold-inscription {
        font-size: 52px;
    }

    .stone-inscription {
        font-size: 62px;
    }
}

@media (max-width: 768px) {
    .hieroglyph-menu {
        display: none;
    }

    .menu-cartouche {
        display: flex;
    }

    .hieroglyph-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(10, 22, 40, 0.98) 0%, rgba(27, 77, 137, 0.98) 100%);
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .papyrus-scroll {
        padding: 35px 25px;
    }

    .gold-inscription {
        font-size: 42px;
    }

    .stone-inscription {
        font-size: 50px;
    }

    .dynasty-heading {
        font-size: 36px;
    }

    .tablet-arrangement,
    .treasure-arrangement {
        grid-template-columns: 1fr;
    }

    .foundation-main {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .foundation-passages {
        flex-direction: column;
        gap: 15px;
    }

    .foundation-base {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dynasty-name {
        font-size: 22px;
    }

    .pharaoh-text {
        font-size: 20px;
    }

    .gold-inscription {
        font-size: 36px;
    }

    .stone-inscription {
        font-size: 42px;
    }

    .oracle-message {
        font-size: 16px;
    }

    .sarcophagus-link {
        padding: 14px 35px;
        font-size: 16px;
    }

    .dynasty-heading {
        font-size: 28px;
    }

    .stone-tablet,
    .treasure-box,
    .chronicle-slab,
    .sacred-scroll,
    .scrolls-wrapper {
        padding: 25px;
    }
}
