/* Ancient Egypt Old Kingdom Theme - Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.7;
    color: #3e2723;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f5e6d3 0%, #e8d5b7 100%);
}

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

/* Age Gate - Pharaoh's Gate */
.pharaoh-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b6914 0%, #d4af37 50%, #8b6914 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.pharaoh-gate.active {
    opacity: 1;
    visibility: visible;
}

.gate-pyramid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-chamber {
    background: linear-gradient(135deg, #faf3e0 0%, #f5e6d3 100%);
    padding: 50px;
    border-radius: 0;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 80px rgba(139, 105, 20, 0.5), inset 0 0 30px rgba(212, 175, 55, 0.2);
    border: 6px solid #8b6914;
    border-top: 12px solid #d4af37;
    border-bottom: 12px solid #d4af37;
}

.ankh-symbol {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.ankh-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 12px 35px rgba(139, 105, 20, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    border: 4px solid #8b6914;
}

.golden-rays {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    animation: rays-pulse 3s infinite;
}

@keyframes rays-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.15) rotate(180deg); opacity: 0.4; }
}

.sacred-number {
    font-size: 28px;
    font-weight: 900;
    color: #3e2723;
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hieroglyph-title {
    font-size: 32px;
    font-weight: 800;
    color: #8b6914;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.papyrus-text {
    font-size: 17px;
    color: #5d4e37;
    margin-bottom: 35px;
    line-height: 1.6;
}

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

.golden-decree, .stone-tablet {
    padding: 16px 35px;
    border: none;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.golden-decree {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    color: #3e2723;
    box-shadow: 0 6px 25px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 3px solid #8b6914;
}

.golden-decree:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 105, 20, 0.5);
}

.stone-tablet {
    background: #e8d5b7;
    color: #5d4e37;
    border: 3px solid #a0826d;
}

.stone-tablet:hover {
    background: #d4c4a8;
    transform: translateY(-2px);
}

.scribe-note p {
    font-size: 15px;
    color: #8b7355;
    font-style: italic;
}

/* Main Content */
.main-content {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Navigation - Temple Header */
.temple-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #faf3e0 0%, #f5e6d3 50%, #faf3e0 100%);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 6px 25px rgba(139, 105, 20, 0.3);
    border-bottom: 5px solid #d4af37;
    border-top: 3px solid #8b6914;
}

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

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

.scarab-emblem {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 3px solid #8b6914;
}

.scarab-core {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sacred-flame {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.dynasty-name {
    font-size: 32px;
    font-weight: 800;
    color: #8b6914;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(139, 105, 20, 0.2);
}

.dynasty-name:hover {
    color: #d4af37;
    transform: scale(1.05);
}

.scroll-menu {
    display: flex;
    gap: 45px;
    align-items: center;
}

.papyrus-link {
    text-decoration: none;
    color: #5d4e37;
    font-weight: 700;
    font-size: 17px;
    position: relative;
    transition: all 0.3s ease;
    padding: 12px 0;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
}

.papyrus-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #8b6914);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.papyrus-link:hover {
    color: #8b6914;
}

.papyrus-link:hover::after {
    transform: scaleX(1);
}

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

.menu-hieroglyph span {
    width: 28px;
    height: 3px;
    background: #8b6914;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Pyramid Entrance */
.pyramid-entrance {
    background: linear-gradient(180deg, #f5e6d3 0%, #e8d5b7 50%, #d4c4a8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 85px;
    border-bottom: 8px solid #d4af37;
}

.desert-horizon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.spirit {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #d4af37, #f4e4c1);
    border-radius: 50%;
    opacity: 0.5;
    animation: spirit-drift 8s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.spirit:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.spirit:nth-child(2) { top: 45%; left: 75%; animation-delay: 1.5s; }
.spirit:nth-child(3) { top: 25%; left: 55%; animation-delay: 3s; }
.spirit:nth-child(4) { top: 65%; left: 25%; animation-delay: 4.5s; }
.spirit:nth-child(5) { top: 75%; left: 65%; animation-delay: 6s; }

@keyframes spirit-drift {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
    50% { transform: translateY(-25px) scale(1.3); opacity: 0.8; }
}

.obelisk-center {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.throne-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.royal-cartouche {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    color: #3e2723;
    padding: 14px 30px;
    border-radius: 0;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 35px;
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 3px solid #8b6914;
    animation: cartouche-glow 4s infinite ease-in-out;
    font-family: 'Cinzel', serif;
}

@keyframes cartouche-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 12px 35px rgba(139, 105, 20, 0.6), inset 0 1px 8px rgba(255, 255, 255, 0.5); }
}

.pharaoh-proclamation {
    font-size: clamp(50px, 9vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 35px;
    font-family: 'Cinzel', serif;
}

.decree-line {
    display: block;
}

.decree-line:first-child {
    color: #5d4e37;
    font-size: clamp(34px, 5.5vw, 52px);
    font-weight: 600;
}

.golden-inscription {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 2px 2px 8px rgba(139, 105, 20, 0.3);
}

.scribe-scroll {
    font-size: 21px;
    color: #5d4e37;
    margin-bottom: 45px;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.royal-command {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    color: #3e2723;
    padding: 22px 50px;
    border: none;
    border-radius: 0;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 10px 35px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 4px solid #8b6914;
}

.royal-command:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(139, 105, 20, 0.5);
}

.command-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, #f4e4c1, #d4af37);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.royal-command:hover .command-glow {
    opacity: 0.4;
    animation: glow-pulse 1.5s infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

/* Temple Chamber - Overview Section */
.temple-chamber {
    padding: 130px 0;
    background: linear-gradient(180deg, #faf3e0 0%, #f5e6d3 100%);
    border-top: 5px solid #d4af37;
    border-bottom: 5px solid #d4af37;
}

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

.sacred-portrait {
    position: relative;
}

.golden-frame {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 105, 20, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.1);
    border: 6px solid #8b6914;
    border-top: 10px solid #d4af37;
    border-bottom: 10px solid #d4af37;
}

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

.frame-radiance {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: linear-gradient(135deg, #d4af37, #f4e4c1);
    z-index: -1;
    opacity: 0.4;
    animation: radiance-pulse 4s infinite ease-in-out;
}

@keyframes radiance-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

.chamber-inscription {
    padding: 0 25px;
}

.monument-title {
    font-size: 46px;
    font-weight: 800;
    color: #3e2723;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
    line-height: 1.2;
}

.hieroglyph-line {
    width: 90px;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #8b6914);
    margin-bottom: 35px;
    border-radius: 0;
}

.ancient-text {
    font-size: 19px;
    color: #5d4e37;
    line-height: 1.9;
}

/* Treasure Hall - Features Section */
.treasure-hall {
    padding: 130px 0;
    background: linear-gradient(180deg, #e8d5b7 0%, #d4c4a8 100%);
    border-bottom: 5px solid #d4af37;
}

.dynasty-proclamation {
    text-align: center;
    font-size: 52px;
    font-weight: 800;
    color: #3e2723;
    margin-bottom: 90px;
    font-family: 'Cinzel', serif;
}

.sacred-icon {
    color: #d4af37;
    margin: 0 25px;
    font-size: 44px;
    vertical-align: middle;
}

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

.treasure-sarcophagus {
    background: linear-gradient(135deg, #faf3e0 0%, #f5e6d3 100%);
    padding: 45px;
    border-radius: 0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(139, 105, 20, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.1);
    border: 4px solid #a0826d;
    border-top: 8px solid #d4af37;
    border-bottom: 8px solid #d4af37;
}

.treasure-sarcophagus:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 65px rgba(139, 105, 20, 0.25);
    border-color: #8b6914;
}

.sarcophagus-lid {
    margin-bottom: 25px;
}

.relic-icon {
    font-size: 52px;
    margin-bottom: 25px;
    display: block;
}

.relic-name {
    font-size: 26px;
    font-weight: 700;
    color: #8b6914;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.tomb-inscription {
    font-size: 17px;
    color: #5d4e37;
    line-height: 1.8;
}

/* Oracle Vision - Game Preview Section */
.oracle-vision {
    padding: 130px 0;
    background: linear-gradient(180deg, #faf3e0 0%, #f5e6d3 100%);
    text-align: center;
    border-bottom: 5px solid #d4af37;
}

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

.vision-altar {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.sacred-mirror {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(139, 105, 20, 0.3);
    border: 6px solid #8b6914;
    border-top: 10px solid #d4af37;
    border-bottom: 10px solid #d4af37;
}

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

.mirror-veil {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.9), rgba(212, 175, 55, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.awakening-spell {
    background: linear-gradient(135deg, #f4e4c1 0%, #d4af37 50%, #f4e4c1 100%);
    color: #3e2723;
    padding: 22px 45px;
    border: none;
    border-radius: 0;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    border: 4px solid #8b6914;
}

.awakening-spell:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

/* Scribe Library - About Section */
.scribe-library {
    padding: 130px 0;
    background: linear-gradient(180deg, #e8d5b7 0%, #d4c4a8 100%);
    border-bottom: 5px solid #d4af37;
}

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

.papyrus-scroll {
    background: linear-gradient(135deg, #faf3e0 0%, #f5e6d3 100%);
    padding: 45px;
    border-radius: 0;
    box-shadow: 0 15px 45px rgba(139, 105, 20, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.1);
    border: 4px solid #a0826d;
    border-left: 8px solid #d4af37;
    border-right: 8px solid #d4af37;
    transition: all 0.3s ease;
}

.papyrus-scroll:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 65px rgba(139, 105, 20, 0.25);
    border-color: #8b6914;
}

.scroll-seal {
    margin-bottom: 30px;
}

.scroll-seal h3 {
    font-size: 26px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 18px;
    font-family: 'Cinzel', serif;
}

.seal-mark {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #8b6914);
    border-radius: 0;
}

.papyrus-scroll p {
    font-size: 17px;
    color: #5d4e37;
    line-height: 1.8;
}

.golden-link {
    color: #8b6914;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

.golden-link:hover {
    color: #d4af37;
}

.golden-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #8b6914);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.golden-link:hover::after {
    transform: scaleX(1);
}

/* Law Chamber - Disclaimer Section */
.law-chamber {
    padding: 130px 0;
    background: linear-gradient(180deg, #faf3e0 0%, #f5e6d3 100%);
    border-bottom: 5px solid #d4af37;
}

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

.decree-stones {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.stone-decree {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5b7 100%);
    border-radius: 0;
    border-left: 6px solid #d4af37;
    border-right: 2px solid #a0826d;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.15);
}

.stone-decree:hover {
    background: linear-gradient(135deg, #e8d5b7 0%, #d4c4a8 100%);
    transform: translateX(12px);
    box-shadow: 0 12px 35px rgba(139, 105, 20, 0.2);
}

.stone-decree p {
    font-size: 17px;
    color: #5d4e37;
    line-height: 1.7;
    margin: 0;
}

.law-portrait {
    position: relative;
}

/* Messenger Hall - Contact Section */
.messenger-hall {
    padding: 130px 0;
    background: linear-gradient(180deg, #e8d5b7 0%, #d4c4a8 100%);
    border-bottom: 5px solid #d4af37;
}

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

.messenger-proclamation .monument-title {
    text-align: center;
    margin-bottom: 25px;
}

.messenger-proclamation p {
    font-size: 19px;
    color: #5d4e37;
    max-width: 650px;
    margin: 0 auto;
}

.hieroglyph-form {
    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(135deg, #faf3e0 0%, #f5e6d3 100%);
    padding: 60px;
    border-radius: 0;
    box-shadow: 0 25px 70px rgba(139, 105, 20, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);
    border: 5px solid #a0826d;
    border-top: 10px solid #d4af37;
    border-bottom: 10px solid #d4af37;
}

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

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

.inscription-field {
    position: relative;
}

.inscription-field label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #5d4e37;
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
}

.inscription-field input,
.inscription-field textarea {
    width: 100%;
    padding: 16px 22px;
    border: 3px solid #a0826d;
    border-radius: 0;
    font-size: 17px;
    font-family: 'Crimson Text', serif;
    transition: all 0.3s ease;
    background: #faf3e0;
}

.inscription-field input:focus,
.inscription-field textarea:focus {
    outline: none;
    border-color: #8b6914;
    background: white;
    box-shadow: 0 0 20px rgba(139, 105, 20, 0.2);
}

.royal-send {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
    color: #3e2723;
    padding: 20px 45px;
    border: none;
    border-radius: 0;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    align-self: flex-start;
    box-shadow: 0 10px 35px rgba(139, 105, 20, 0.4), inset 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 4px solid #8b6914;
}

.royal-send:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(139, 105, 20, 0.5);
}

/* Seal Gallery - Badges Section */
.seal-gallery {
    padding: 90px 0;
    background: linear-gradient(180deg, #faf3e0 0%, #f5e6d3 100%);
    border-bottom: 5px solid #d4af37;
}

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

.seal-emblem {
    display: block;
    transition: all 0.3s ease;
    opacity: 0.75;
}

.seal-emblem:hover {
    transform: scale(1.15);
    opacity: 1;
}

.emblem-aura {
    padding: 18px;
    border-radius: 0;
    background: linear-gradient(135deg, #d4af37, #f4e4c1);
    border: 3px solid #8b6914;
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.3);
}

.emblem-aura img {
    max-height: 65px;
    width: auto;
}

/* Tomb Foundation - Footer */
.tomb-foundation {
    background: linear-gradient(135deg, #3e2723, #5d4e37);
    color: #f5e6d3;
    position: relative;
    overflow: hidden;
}

.golden-border {
    height: 8px;
    background: linear-gradient(90deg, #d4af37, #f4e4c1, #d4af37);
    width: 100%;
}

.tomb-contents {
    padding: 90px 0 50px;
}

.tomb-upper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 90px;
    margin-bottom: 70px;
}

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

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

.legacy-emblem .dynasty-name {
    color: #f5e6d3;
    font-size: 36px;
}

.legacy-scroll {
    font-size: 17px;
    line-height: 1.8;
    color: #d4c4a8;
    max-width: 550px;
}

.messenger-shrine h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f5e6d3;
    font-family: 'Cinzel', serif;
}

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

.shrine-offering input {
    flex: 1;
    padding: 16px 22px;
    border: 3px solid #5d4e37;
    border-radius: 0;
    background: #3e2723;
    color: #f5e6d3;
    font-size: 17px;
}

.shrine-offering input:focus {
    outline: none;
    border-color: #d4af37;
}

.offering-submit {
    background: linear-gradient(135deg, #d4af37, #f4e4c1);
    color: #3e2723;
    padding: 16px 35px;
    border: none;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    border: 3px solid #8b6914;
}

.offering-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.tomb-passages {
    border-top: 3px solid #5d4e37;
    padding-top: 45px;
}

.passage-chamber h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #f5e6d3;
    font-family: 'Cinzel', serif;
}

.passage-routes {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.passage-routes a {
    color: #d4c4a8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.passage-routes a:hover {
    color: #d4af37;
}

.passage-routes a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #d4af37;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.passage-routes a:hover::after {
    transform: scaleX(1);
}

.tomb-floor {
    border-top: 3px solid #5d4e37;
    padding: 35px 0;
}

.floor-inscription {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.royal-divider {
    width: 220px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #8b6914);
    border-radius: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: linear-gradient(180deg, #faf3e0 0%, #f5e6d3 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 35px rgba(139, 105, 20, 0.3);
        border-bottom: 5px solid #d4af37;
    }
    
    .scroll-menu.active {
        left: 0;
    }
    
    .menu-hieroglyph {
        display: flex;
    }
    
    .menu-hieroglyph.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-hieroglyph.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-hieroglyph.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .chamber-layout,
    .chamber-arrangement {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sarcophagus-grid {
        grid-template-columns: 1fr;
    }
    
    .tablet-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tomb-upper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .floor-inscription {
        flex-direction: column;
        gap: 25px;
    }
    
    .royal-divider {
        width: 120px;
    }
    
    .pyramid-entrance {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 70px;
    }
    
    .hieroglyph-form {
        padding: 35px;
        margin: 0 20px;
    }
    
    .royal-choices {
        flex-direction: column;
    }
    
    .shrine-offering {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .royal-cartouche {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .royal-command {
        padding: 18px 35px;
        font-size: 17px;
    }
    
    .treasure-sarcophagus,
    .papyrus-scroll {
        padding: 30px;
    }
    
    .hieroglyph-form {
        padding: 30px;
    }
    
    .monument-title {
        font-size: 36px;
    }
    
    .dynasty-proclamation {
        font-size: 40px;
    }
}

.content {
    padding: 40px 10%;
}

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

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

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

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