/*
--------------------------
Thaumyrium - Global Styles
--------------------------
*/

:root {
    --color-background: #151719;
    --color-surface:#292A2B;
    --color-gold: #B99A60;
    --color-marble:#D8D2C5; 
    --color-stone: #65716D;
    --color-accent: #784D45;
}

/* Basic Reset */

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

/* Main Page */

body {
    background-color: var(--color-background);
    color: var(--color-marble);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Navigation */ 

header {
    width: 100%;
    background-color: var(--color-background);
    border-bottom: 1px solid rgba(185, 154, 96, 0.25);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav > a {
    color: var(--color-gold);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul a {
    color: var(--color-marble);
    text-decoration: none;
    transition: color 0.2s ease; 
}

nav ul a:hover {
    color: var(--color-gold);
}

/* Mobile Navigation Button */ 

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger Menu Animation */

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Homepage Hero Section */

.hero {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;

    background:
        linear-gradient(
            rgba(21, 23, 25, 0.45), 
            rgba(21, 23, 25, 0.95)
        ),
        radial-gradient(
            ellipse at center,
            #3b3830 0%,
            #202224 55%, 
            #151719 100%
        );
}

.hero-content {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.hero-subtitle{
    color: var(--color-marble);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--color-marble);
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: 0.12em;
    margin-bottom: 0;
}

.hero-description {
    color: var(--color-marble);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0;
}

.hero-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    transition: background-color 0.25s, color 0.25s;
}

.hero-button:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

/* Game Introduction */

.game-intro {
    background-color: var(--color-background);
    padding: 100px 30px;
}

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

.section-subtitle {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
}

.intro-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 25px;
}

.intro-description {
    max-width: 750px;
    margin: 0 auto;
    color: var(--color-stone);
    font-size: 1.05rem;
}

.feature-grid { 
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-top: 70px;
}

.feature {
    padding: 30px 25px;
    background-color: var(--color-surface);
    border: 1px solid rgba(185, 154, 96, 0.2);
    text-align: left;
    transition: border-color 0.25s, transform 0.25s;
}

.feature:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.feature h3 { 
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
}

.feature p { 
    color: var(--color-marble);
    font-size: 0.95rem;
}

/* World Preview */

.world-preview {
    padding: 100px 30px;
    background-color: var(--color-surface);
}

.world-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.world-text h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 25px;
}

.world-text > p:not(.section-subtitle) {
    color: var(--color-stone);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.world-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    transition: background-color 0.25s, color 0.25s;
}

.world-button:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

.world-image-placeholder {
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(
            ellipse at center,
            #454139 0%,
            #292A2B 65%,
            #202224 100%
        );
    border: 1px solid rgba(185, 154, 96, 0.25);
}

.world-image-placeholder span {
    color: var(--color-stone);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* Gameplay Preview */

.gameplay-preview {
    padding: 100px 30px;
    background-color: var(--color-background);
}

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

.gameplay-content h2 {
    color: var(--color-marble);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.gameplay-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-stone);
    font-size: 1.05rem;
}

.gameplay-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
    text-align: left;
}

.gameplay-card { 
    padding: 35px 30px;
    background-color: var(--color-surface);
    border: 1px solid rgba(185, 154, 96, 0.2);
    transition: border-color 0.25s, transform 0.25s;
}

.gameplay-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.gameplay-card-number {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.gameplay-card h3 {
    color: var(--color-marble);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
}

.gameplay-card p {
    color: var(--color-stone);
    font-size: 0.95rem;
}

.gameplay-button {
    display: inline-block;
    margin-top: 50px;
    padding: 14px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    transition: background-color 0.25s, color 0.25s;
}

.gameplay-button:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

/* Beginner's Guide Preview */

.guide-preview {
    padding: 100px 30px;
    background-color: var(--color-surface);
}

.guide-content { 
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.guide-text h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 25px;
}

.guide-text > p:not(.section-subtitle) {
    color: var(--color-stone);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.guide-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    transition: background-color 0.25s, color 0.25s;
}

.guide-button:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

/* Media Preview */ 

.media-preview {
    padding: 100px 30px;
    background-color: var(--color-background);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.media-content {
    max-width: 550px;
    margin-left: auto;
}

.media-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 25px;
}

.media-description {
    color: var(--color-stone);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.media-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    transition: background-color 0.25s, color 0.25s;
}

.media-button:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

.media-teaser { 
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 30px;
    background: 
        radial-gradient(
            ellipse at center,
            #454139 0%,
            #292A2B 65%,
            #202224 100%
        );
    border: 1px solid rgba(185, 154, 96, 0.25);
}

.media-teaser span {
    color: var(--color-marble);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}

.media-teaser p {
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

/* Keyboard Focus */ 

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Footer */

footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid rgba(185, 154, 96, 0.25);
    color: var(--color-stone);
    font-size: 0.9rem;
}

/* Footer Social Media */

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-social {
    text-align: center;
}

.footer-social h3 {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-marble);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
}

/* Footer Company Link */ 

.footer-content p a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content p a:hover {
    color: var(--color-marble);
}

/*
----------
About Page
----------
*/

/* Page Hero */ 

.page-hero {
    min-height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 30px;

    background: 
        linear-gradient(
            rgba(21, 23, 25, 0.45),
            rgba(21, 23, 25, 0.95)
        ),
        radial-gradient(
            ellipse at center,
            #3b3830 0%,
            #202224 55%,
            #151719 100%
        );
}

.page-hero-content {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.page-hero h1 {
    color: var(--color-marble);
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: 0.12em;
}

.page-hero .hero-description {
    max-width: 700px;
    margin: 0;
}

/* Game Overview */

.about-overview {
    padding: 110px 30px;
    background-color: var(--color-background);
}

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

.about-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.about-content > p:last-child {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Game Experience */ 

.about-experience { 
    padding: 110px 30px;
    background-color: var(--color-surface);
}

.about-experience-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-experience-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 60px;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    text-align: left;
}

.about-feature {
    padding: 35px 30px;
    background-color: var(--color-background);
    border: 1px solid rgba(185, 154, 96, 0.2);
    transition: border-color 0.25s, transform 0.25s;
}

.about-feature:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.about-feature h3 {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.about-feature p {
    color: var(--color-stone);
    font-size: 0.95rem;
    line-height: 1.8;
}

/*
----------
World Page
----------
*/

/* World Overview */

.world-overview {
    padding: 110px 25px;
    background: var(--color-background);
}

.world-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.world-overview .world-page-content {
    max-width: 900px;
    text-align: center;
}

.world-page-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.world-page-content > p:last-child {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* World Realms */

.world-realms {
    padding: 110px 25px;
    background: var(--color-surface);
}

.world-realms .world-page-content {
    text-align: center;
}

.world-realms .world-page-content h2 {
    margin-bottom: 60px;
}

.world-realm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.world-realm {
    padding: 20px;
    background: var(--color-background);
    border: 1px solid rgba(185, 154, 96, 0.2);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.world-realm:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.world-realm h3 {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 25px 0 15px;
}

.world-realm p {
    color: var(--color-stone);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* World Realm Image Placeholders */

.world-realm-image {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #292A2B,
        #151719
    );
    border: 1px solid rgba(185, 154, 96, 0.15);
}

.world-realm-image span {
    color: var(--color-marble);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

/* World Connection */

.world-connection {
    padding: 10px 25px;
    background: var(--color-background);
    text-align: center;
}

.world-connection .world-page-content {
    max-width: 900px;
}

/* 
-------------
Gameplay Page
-------------
*/

/* Gameplay Overview */

.gameplay-overview {
    padding: 110px 25px;
    background: var(--color-background);
}

.gameplay-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gameplay-overview .gameplay-page-content {
    max-width: 900px;
    text-align: center;
}

/* Shared Gameplay Headings */

.gameplay-page-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.gameplay-page-content > p:last-child {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Gameplay Features */

.gameplay-features {
    padding: 110px 25px;
    background: var(--color-surface);
}

.gameplay-features .gameplay-page-content {
    text-align: center;
}

.gameplay-features .gameplay-page-content h2 {
    margin-bottom: 60px;
}

.gameplay-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gameplay-feature {
    padding: 20px;
    background: var(--color-background);
    border: 1px solid rgba(185, 154, 96, 0.2);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gameplay-feature:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.gameplay-feature h3 {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 25px 0 15px;
}

.gameplay-feature p {
    color: var(--color-stone);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Gameplay Image Placeholders */ 

.gameplay-feature-image {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #292A2B,
        #151719
    );
    border: 1px solid rgba(185, 154, 96, 0.15);
}

.gameplay-feature-image span {
    color: var(--color-marble);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

/* Gameplay Closing Section */

.gameplay-approach {
    padding: 110px 25px;
    background: var(--color-background);
    text-align: center;
}

.gameplay-approach .gameplay-page-content {
    max-width: 900px;
}

/*
----------------
Beginner's Guide
----------------
*/

/* Guide Overview */ 

.guide-overview {
    padding: 110px 25px;
    background: var(--color-background);
}

.guide-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.guide-overview .guide-page-content {
    max-width: 900px;
    text-align: center;
}

/* Shared Guide Headings */

.guide-page-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem,4vw,3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.guide-page-content > p:last-child {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Guide Topics */

.guide-topics {
    padding: 110px 25px;
    background: var(--color-surface);
}

.guide-topics .guide-page-content {
    text-align: center;
}

.guide-topics .guide-page-content h2 {
    margin-bottom: 60px;
}

.guide-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.guide-topic {
    padding: 20px;
    background: var(--color-background);
    border: 1px solid rgba(185, 154, 96, 0.2);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.guide-topic:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.guide-topic h3 {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 25px 0 15px;
}

.guide-topic p {
    color: var(--color-stone);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Guide Image Placeholders */

.guide-topic-image {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #292A2B,
        #151719
    );
    border: 1px solid rgba(185, 154, 96, 0.15);
}

.guide-topic-image span {
    color: var(--color-marble);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

/* Guide Help Section */

.guide-help {
    padding: 110px 25px;
    background: var(--color-background);
    text-align: center;
}

.guide-help .guide-page-content {
    max-width: 900px;
}

/* 
----------
Media Page
----------
*/

/* Media Overview */

.media-overview {
    padding: 110px 25px;
    background: var(--color-background);
}

.media-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.media-overview .media-page-content {
    max-width: 900px;
    text-align: center;
}

/* Shared Media Headings */ 

.media-page-content h2 {
    color: var(--color-marble);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.media-page-content > p:last-child {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Media Galleries */ 

.media-gallery,
.media-artwork {
    padding: 110px 25px;
    background: var(--color-surface);
}

.media-gallery .media-page-content,
.media-artwork .media-page-content,
.media-videos .media-page-content {
    text-align: center;
}

.media-gallery .media-page-content h2,
.media-artwork .media-page-content h2,
.media-videos .media-page-content h2 {
    margin-bottom: 60px;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.media-gallery-item {
    padding: 20px;
    background: var(--color-background);
    border: 1px solid rgba(185, 154, 96, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.media-gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

/* Gallery Image Placeholders */ 

.media-gallery-placeholder {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg, 
        #292A2B,
        #151719
    );
    border: 1px solid rgba(185, 154, 96, 0.15);
}

.media-gallery-placeholder span {
    color: var(--color-marble);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

/* Artwork Section */ 

.media-artwork {
    background: var(--color-background);
}

/* Videos Section */

.media-videos { 
    padding: 110px 25px;
    background: var(--color-surface);
}

.media-video-placeholder {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #292A2B,
        #151719
    );
    border: 1px solid rgba(185, 154, 96, 0.2);
}

.media-video-placeholder span {
    color: var(--color-marble);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

/* Media Lightbox */ 

.media-gallery-button {
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.media-gallery-button .media-gallery-placeholder {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.media-gallery-button:hover .media-gallery-placeholder {
    transform: scale(1.02);
    border-color: var(--color-gold);
}

.media-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.95);
}

.media-lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.lightbox-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 500px;
    background: linear-gradient(
        135deg,
        var(--color-surface),
        var(--color-background)
    );
    border: 1px solid rgba(185, 154, 96, 0.3);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--color-marble);
    text-align: center;
}

.lightbox-close,
.lightbox-previous,
.lightbox-next {
    color: var(--color-gold);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-previous:hover,
.lightbox-next:hover {
    color: var(--color-marble);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
}

.lightbox-previous,
.lightbox-next {
    font-size: 32px;
    padding: 10px;
}

/* Media Gallery Keyboard Focus */ 

.media-gallery-button:focus-visible,
.lightbox-close:focus-visible,
.lightbox-previous:focus-visible,
.lightbox-next:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Reduced motion */ 

@media (prefers-reduced-motion: reduce) {
    .media-gallery-button .media-gallery-placeholder,
    .lightbox-close,
    .lightbox-previous,
    .lightbox-next {
        transition: none;
    }

    .media-gallery-button:hover .media-gallery-placeholder {
        transform: none;
    }
}