/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {

    --nav-height: 70px;
    --archive-bar-height: 55px;
    --container-width: 1300px;

    --color-bg-deep: #0b0f1a;
    --color-bg-soft: #121829;

    --color-blue: #2f80ff;
    --color-purple: #7b4dff;
    --color-gold: #d4af37;

    --color-text-primary: #f2f4f8;
    --color-text-muted: #9aa3b2;

    --gradient-archive: linear-gradient(
        135deg,
        var(--color-blue),
        var(--color-purple),
        var(--color-gold)
    );

    --glass-bg: rgba(18, 24, 41, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: var(--color-text-primary);
}

button {
cursor: pointer;
}
/* =====================================================
   GLOBAL BACKGROUND LAYER
===================================================== */

body {
    position: relative;
    color: var(--color-text-primary);
	padding-top: calc(var(--nav-height) + 50px);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background: url('/assets/images/entropia-museum-main-background.jpg') no-repeat center top;
    background-size: cover;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(212, 175, 55, 0.7); /* museum gold */
    z-index: 9999;
	box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

/* Global link styling */

a {
color: #ffffff;
text-decoration: underline;
transition: color 0.2s ease;
}

a:hover {
color: #bfc6d2;   /* soft grey */
}

a:visited {
color: #d4af37;   /* gold */
}

/* Smooth page fade */

#pageWrapper {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#pageWrapper.page-visible {
    opacity: 1;
}

#pageWrapper.page-fade-out {
    opacity: 0;
}

.index-contribute {
    padding-top: 30px;
    text-align: center;
}

.index-contribute-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap; /* prevents clipping */
}

.index-contribute-links .btn-gradient {
    white-space: nowrap; /* keeps text on one line */
}

/* =========================
   MAP PAGE + TIMELINE
========================= */

.maps-page {
    
}

.maps-timeline {
    display: flex;
	position: relative;
    width: 100%;
    flex-direction: column;
    gap: clamp(60px, 10vw, 140px);
}

/* =========================
   TIMELINE SPINE
========================= */


/* vertical glowing line */
.maps-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 215, 0, 0.4),
        rgba(255, 215, 0, 0.8),
        rgba(255, 215, 0, 0.4),
        transparent
    );

    transform: translateX(-50%);
    opacity: 0.6;
}

/* =========================
   MAP BLOCK
========================= */

.map-block {
    display: grid;
	position: relative;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
    width: 100%;
	padding: 10px;
	background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);

    box-shadow:
        0 0 0 1px rgba(255, 215, 0, 0.1),
        0 10px 30px rgba(0,0,0,0.4);
}

/* LEFT items → connect to center */
.map-block.left::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(50% - 1px);
    width: 80px;
    height: 2px;

    background: linear-gradient(to right, transparent, #ffd700);
    transform: translateY(-50%);
}

/* RIGHT items → connect to center */
.map-block.right::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% - 1px);
    width: 80px;
    height: 2px;

    background: linear-gradient(to left, transparent, #ffd700);
    transform: translateY(-50%);
}

.map-block.right {
    grid-template-columns: 1fr auto;
}


.map-block.right .map-content {
    justify-self: end;
    
}

/* KEEP THIS (THIS WAS YOUR WORKING PART) */

.map-block.left .map-image { grid-column: 1; }
.map-block.left .map-content { grid-column: 2; }

.map-block.right .map-image { grid-column: 2; }
.map-block.right .map-content { grid-column: 1; }

/* =========================
   MAP META
========================= */

.map-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

/* =========================
   IMAGE + CONTENT
========================= */

.map-image {
    max-width: 500px;
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 🔴 THIS IS THE ONLY REAL FIX */

.map-content {
    max-width: 600px;   /* stops full width stretch */
    
}

/* =========================
   OFFSET SYSTEM
========================= */

.map-block.offset {
    margin-top: clamp(40px, 8vw, 120px);
}

/* REMOVE the extra right offset */
.map-block.right.offset {
    margin-top: 0;
}

@keyframes pulseLine {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.maps-timeline::before {
    animation: pulseLine 4s ease-in-out infinite;
}

/* =========================
   YEAR NODE (ISOLATED)
========================= */

.maps-page .history-era-header {
    position: relative;
    text-align: center;
    margin: 80px 0;
}

.maps-page .history-era-header h2 {
    display: inline-block;
    font-size: 28px;
    color: #ffd700;
    padding: 10px 25px;

    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 30px;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);

    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
	transition: all 0.3s ease;
}

.maps-page .history-era-header h2:hover {
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

/* lines */
.maps-page .history-era-header::before,
.maps-page .history-era-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.6));
}

.maps-page .history-era-header::before {
    left: 0;
}

.maps-page .history-era-header::after {
    right: 0;
    background: linear-gradient(to left, transparent, rgba(255,215,0,0.6));
}

/* =========================
   MOBILE FIX (REAL FIX)
========================= */

@media (max-width: 768px) {

	.maps-timeline {

		width: 100%;

	}	

    .maps-page .map-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    /* kill ALL grid behaviour */
    .maps-page .map-block.left,
    .maps-page .map-block.right {
        grid-template-columns: none !important;
    }

    /* reset ordering */
    .maps-page .map-image,
    .maps-page .map-content {
        width: 100% !important;
        max-width: 100% !important;
        order: unset !important;
    }

    /* ensure image is visible and sized correctly */
    .maps-page .map-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* remove timeline connectors on mobile (they break layout visually) */
    .maps-page .map-block::after {
        display: none !important;
    }

    /* optional: soften spacing */
    .maps-page .map-block.offset {
        margin-top: 40px !important;
    }
}

/* ===============================
   ITEMS PAGE LAYOUT
================================ */

.items-page {
    max-width: 1200px;
    margin:0 auto;
	padding:60px 20px 40px 20px;
	min-height:100vh;
}

/* HEADER */

.items-header {
    margin-bottom: 25px;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.items-description {
    color: #ccc;
    max-width: 800px;
}

/* SEARCH */

.items-search {
    margin-bottom: 20px;
}

#itemsSearchForm {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#itemsSearchInput {
    padding: 8px 10px;
    min-width: 220px;
}

#itemsType {
    padding: 8px;
}

.items-search button {
    padding: 8px 14px;
    cursor: pointer;
}

/* LIST */

.items-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ITEM CARD */

.item-card {
    padding: 12px 15px;
    border-radius: 6px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.2s ease;
	display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    .items-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .items-list {
        grid-template-columns: 1fr;
    }
}

.item-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* TITLE */

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* META */

.item-meta {
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    gap: 10px;
}

/* NO RESULTS */

.items-no-results {
    padding: 20px;
    text-align: center;
    color: #bbb;
}

/* PAGINATION */

.items-pagination {
    margin-top: 20px;
}

.items-pagination a {
    margin-right: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
}

.items-pagination a.active {
    background: #caa84a;
    color: #000;
}

.items-dots {
    margin: 0 5px;
    color: #888;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    z-index: 99999; /* VERY IMPORTANT */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.modal-content-items {
    background: linear-gradient(180deg, #0b1a2a 0%, #08121d 100%);
    border: 2px solid #c6a84a;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(198, 168, 74, 0.2);

    padding: 20px 25px; /* FIXED TOP SPACING */
    max-width: 700px;   /* SMALLER */
    width: 90%;
    margin: 80px auto;  /* PUSH DOWN FROM TOP */
}

#modalBody {
    color: #fff;
}

#closeModal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* HEADER */
.item-modal-header {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

/* GRID BOXES */

.item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.item-grid div {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(198,168,74,0.2);
    padding: 8px 10px;
}

/* LABEL TEXT */
.item-grid span {
    color: #c6a84a;
    font-size: 12px;
    text-transform: uppercase;
}

/* DESCRIPTION */
.item-desc {
    margin: 20px 0;
    line-height: 1.6;
    color: #cccccc;
}

/* SECTION TITLES */
.item-section-title,
.item-section h3 {
    font-size: 15px;
    margin: 15px 0 8px;
    color: #c6a84a;
    border-bottom: 1px solid rgba(198,168,74,0.25);
    padding-bottom: 4px;
}

/* STAT BOXES */

.item-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-stats div {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(198,168,74,0.2);
    padding: 5px 10px;
    font-size: 13px;
}

/* STAT VALUES (GOLD POP) */
.item-stats b {
    color: #c6a84a;
}

/* CLOSE BUTTON */
.modal-close {
    color: #c6a84a;
    font-size: 22px;
    cursor: pointer;
}

.modal-close:hover {
    color: #ffffff;
}


/* ===============================
   INDEX CTA CONTAINERS
================================ */

.cta-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 30px;

    background: rgba(10, 20, 40, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.15);

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.cta-title {
    color: #ffd700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-text {
    color: #cfd8e3;
    margin-bottom: 15px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 34px;

    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #ffffff;
    text-decoration: none !important;

    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 8px;

    transition: all 0.25s ease;
}

/* Hover */
.cta-button:hover {
    color: #ffffff;

    background: linear-gradient(180deg, #222 0%, #111 100%);
    border-color: rgba(255, 255, 255, 0.35);

    box-shadow: 
        0 0 12px rgba(255, 255, 255, 0.15),
        0 0 2px rgba(255, 255, 255, 0.2) inset;
}

/* Active (click) */
.cta-button:active {
    transform: scale(0.97);

    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.1),
        inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.cta-note {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 12px;
}

/* ===============================
   OVERVIEW STATS SIDE PANEL - INDEX
================================ */

.index-top-section .container{
max-width:1500px !important;
}

.index-top-heading{
max-width:1100px;
margin: 0 auto !important;

}

/* Title */
.index-top-heading h1 {
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

/* Paragraphs */
.index-top-heading p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
	margin: 0 !important;
}

/* Remove extra spacing between paragraphs */
.index-top-heading p:last-of-type {
    margin-bottom: 15px !important;
}

/* Button spacing */
.index-top-actions {
    margin-top: 20px !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
	padding-bottom: 30px !important;
}



.index-top-layout{
display:flex;
align-items:flex-start;
justify-content:center;
gap:40px;
}

.index-side-panel{
width:360px;
flex:0 0 360px;
}

.index-side-panel-box{
padding:28px 24px;
background:rgba(5,15,35,0.55);
border:1px solid rgba(212,175,55,0.22);
border-top:3px solid rgba(212,175,55,0.75);

backdrop-filter:blur(8px);
box-shadow:
0 12px 35px rgba(0,0,0,0.45),
0 0 25px rgba(212,175,55,0.08);
text-align:left;
}

.index-side-panel-box h3{
margin:0 0 20px;
font-size:1.4rem;
}

.index-stats-list{
display:flex;
flex-direction:column;
gap:12px;
}

.index-stat-item{
display:flex;
justify-content:space-between;
align-items:center;
gap:16px;
padding:10px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.index-stat-item:last-child{
border-bottom:none;
padding-bottom:0;
}

.index-stat-label{
font-weight:600;
}

.index-stat-value{
font-weight:700;
color:#d4af37;
white-space:nowrap;
}

.index-main-column{
flex:1;
min-width:0;
max-width:920px;
}

.index-main-column .archive-requests{
max-width:100%;
margin:0;
}

.index-top-actions{
margin-top:40px;
}

@media (max-width: 1000px){
.index-top-layout{
flex-direction:column;
align-items:stretch;
}

.index-side-panel{
width:100%;
flex:none;
}

.index-main-column{
max-width:100%;
}
}

/* ===============================
   OAUTH
================================ */

/* OAuth container */

.oauth-container{
display:flex;
flex-direction:column;
gap:14px;
margin-bottom:20px;
}

.oauth-btn{
display:flex;
align-items:center;
justify-content:center;
gap:12px;
width:100%;
padding:14px 16px;
font-weight:600;
font-size:16px;
border-radius:10px;
text-decoration:none !important;
cursor:pointer;
transition:all .2s ease;
}

.oauth-btn span{
color:inherit;
}

/* ICON */

.oauth-icon{
width:22px;
height:22px;
flex-shrink:0;
}

/* DISCORD */

.discord-btn{
background:#5865F2;
color:#fff !important;
border:none;
}

.discord-btn:hover{
background:#4752C4;
}

/* GOOGLE */

.google-btn{
background:#ffffff;
border:1px solid #dadce0;
color:#3c4043 !important;
box-shadow:0 1px 2px rgba(0,0,0,0.15);
}

.google-btn:hover{
background:#cbd1d6 !important;
}

.oauth-btn.google-btn{
background:#ffffff;
border:1px solid #dadce0;
color:#3c4043 !important;
box-shadow:0 1px 2px rgba(0,0,0,0.15);
}

/* divider */

.oauth-divider{
display:flex;
align-items:center;
margin:24px 0;
color:#aaa;
font-size:13px;
}

.oauth-divider::before,
.oauth-divider::after{
content:"";
flex:1;
height:1px;
background:#333;
}

.oauth-divider span{
padding:0 12px;
}

/* ===============================
   CURATOR STATEMENT - INDEX
================================ */

.curator-statement{
max-width:1200px;
margin:60px auto 0;
padding:50px 40px 90px !important;
background:rgba(5,15,35,0.55);
border:1px solid rgba(212,175,55,0.22);
border-top:3px solid rgba(212,175,55,0.75);
border-radius:18px;
backdrop-filter:blur(8px);
box-shadow:
0 12px 35px rgba(0,0,0,0.45),
0 0 25px rgba(212,175,55,0.08);
position:relative;
overflow:hidden;
margin-bottom:60px !important;
}

.curator-statement::before{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(circle at top center,
rgba(212,175,55,0.08) 0%,
rgba(212,175,55,0.02) 22%,
rgba(0,0,0,0) 60%);
pointer-events:none;
}

.curator-statement > *{
position:relative;
z-index:1;
}

.curator-statement h2,
.curator-statement h3{
color:#d4af37;
margin-bottom:28px;
text-shadow:0 0 12px rgba(212,175,55,0.15);
}

.curator-statement p{
max-width:1000px;
margin:0 auto 28px;
font-size:1.08rem;
line-height:1.9;
color:rgba(255,255,255,0.82);
}

.curator-statement p:last-of-type{
margin-bottom:0;
}

@media(max-width:768px){
.curator-statement{
padding:35px 22px;
margin-top:40px;
border-radius:14px;
}

.curator-statement p{
font-size:1rem;
line-height:1.75;
margin-bottom:22px;
}
}

/* ===============================
   MAGAZINE + GUIDE PAGE LAYOUT
================================ */

.magazines-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
margin-top:40px;
justify-items:center;
}

.magazine-card{
width:280px;
display:flex; /* ADD */
}

.magazine-frame{
background:linear-gradient(180deg,#0f1f33 0%,#132a44 100%);
padding:18px 18px 22px;
border-radius:12px;
box-shadow:0 12px 30px rgba(0,0,0,.5);
display:flex;
flex-direction:column;
align-items:center;
transition:all .25s ease;
position:relative;
overflow:hidden;
height:100%; /* ADD */
}

.magazine-frame:hover{
transform:translateY(-6px) scale(1.02);
box-shadow:
0 20px 45px rgba(0,0,0,.65),
0 0 20px rgba(0,140,255,.25);
}

.magazine-frame::before{
content:'';
position:absolute;
inset:0;
border-radius:12px;
background:radial-gradient(circle at 50% 0%, rgba(0,140,255,.25), transparent 70%);
opacity:0;
transition:opacity .3s ease;
pointer-events:none;
}

.magazine-frame:hover::before{
opacity:1;
}

.magazine-cover{
width:220px !important;
height:310px !important;
object-fit:cover;
display:block;
}

.magazine-frame:hover .magazine-cover{
transform:scale(1.03);
transition:transform .25s ease;
}

.magazine-meta{
margin-top:16px;
padding:0 8px;
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
flex:1; /* ADD */
width:100%; /* ADD */
}

.magazine-title{
font-size:18px;
line-height:1.35;
text-align:center;
margin:0;
}

.magazine-date{
font-size:15px;
opacity:.85;
}

/* THE WRAPPER: This holds the fake scrollbar in place */
.magazine-desc {
  font-size: 14px;
  opacity: .8;
  height: 100%;    /* Take full height of wrapper */
  margin-top: 0;   /* Remove this so it doesn't double-up */
  line-height: 1.4;
  padding-right: 25px; 
  box-sizing: border-box;
  overflow-y: scroll;
  scrollbar-width: none;
}
.magazine-desc::-webkit-scrollbar { display: none; }

/* The Track (Background) */
/* 1. THE WRAPPER - Now handles the spacing */
.desc-wrapper {
  position: relative;
  width: 100%;
  margin-top: 8px; /* Move margin here so everything starts together */
  height: 120px;   /* Match your description height exactly */
}

/* 2. THE TRACK (The Grey Line) */
.desc-wrapper::before {
  content: "";
  position: absolute;
  right: 13px; 
  top: 0;          /* Aligned to top of wrapper */
  width: 4px;
  height: 100%;    /* Stays exactly 120px because the wrapper is 120px */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  z-index: 1;
}

/* 4. THE THUMB (Hit-box) */
.custom-thumb {
  position: absolute;
  right: 0; 
  top: 0;          /* Starts at the very top of the track */
  width: 30px; 
  height: 40px;    /* The size of your gold handle */
  cursor: grab;
  z-index: 100;
  display: flex;
  justify-content: center;
  touch-action: none;
}

/* 4. THE GOLD BAR (The Visual Part) */
.thumb-visual {
  width: 6px; 
  height: 100%;
  background-color: #d4af37;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  pointer-events: none;
}


.custom-thumb:active {
  cursor: grabbing;
}


/* KEEP WEBKIT FOR CHROME/EDGE CONSISTENCY */
.magazine-desc::-webkit-scrollbar { width: 10px; }
.magazine-desc::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); border-radius: 8px; }
.magazine-desc::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 8px; }


.magazine-meta .btn-outline{
margin-top:auto; /* CHANGE from 6px */
}

/* RESPONSIVE */

@media(max-width:1200px){
.magazines-grid{grid-template-columns:repeat(3,1fr);}
}

@media(max-width:900px){
.magazines-grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:550px){
.magazines-grid{grid-template-columns:1fr;}
}

/* ===============================
   SUPPORT US CONTAINER (DONATE)
================================ */

#supportToggle{
	display:block;
	width:100%;
	background: transparent !important;
}

#supportToggle:hover{
    background: #2f80ff !important;
    color: #fff;
}

#supportClose{
	background: transparent !important;
}

#supportClose:hover{
    background: #2f80ff !important;
    color: #fff;
}

.support-container{
width:100%;
background:linear-gradient(to bottom,#0a1224,#050b18);
border-bottom:1px solid rgba(255,215,0,0.25);
max-height:0;
overflow:hidden;
transition:max-height .45s ease;
}

.support-container .container{
padding-top:50px;
}

#supportContainer.open{
max-height:500px;
}

.support-intro{
padding-top:30px;
}

.support-inner{
max-width:900px;
margin:0 auto;
padding:60px 20px;
text-align:center;
min-height:200px;
}

.support-inner h2{
color:var(--color-gold);
margin-bottom:18px;
}

.support-inner p{
color:#ccc;
max-width:650px;
margin:0 auto 30px auto;
}

.support-progress{
max-width:500px;
margin:0 auto 25px auto;
}

.support-progress-text{
display:flex;
justify-content:space-between;
font-size:14px;
color:#ccc;
margin-bottom:8px;
}

.support-bar{
height:10px;
background:#111a2c;
border-radius:6px;
overflow:hidden;
}

.support-bar-fill{
height:100%;
background:linear-gradient(90deg,#caa84c,#ffd700);
width:0%;
transition:width .6s ease;
}

.support-actions{
margin-top:40px;
margin-bottom:20px;
}

/* ===============================
   MUSEUM EVENT BANNER
================================ */

#museum-event-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.75);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.museum-event-box{
background:#0b1220;
border:1px solid #d4af37;
padding:40px;
max-width:520px;
width:90%;
text-align:center;
box-shadow:0 0 25px rgba(0,0,0,0.7);
}

.museum-event-box h2{
color:#ffffff;
font-size:28px;
margin-bottom:15px;
}

.museum-event-box p{
color:#cfd6e6;
line-height:1.5;
margin-bottom:15px;
}

.event-time{
color:#d4af37;
font-weight:600;
}

.event-buttons{
margin-top:20px;
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

.event-button{
background:linear-gradient(90deg,#4e7bff,#9a66ff);
color:#fff;
padding:12px 22px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.2s;
}

.event-button:hover{
opacity:0.85;
}

.event-close{
background:none;
border:1px solid #d4af37;
color:#d4af37;
padding:12px 22px;
border-radius:30px;
cursor:pointer;
}

/* ===============================
   COOKIE CONSENT BANNER
================================ */

.cookie-banner{
    position:fixed;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    width:min(900px,90%);
    z-index:9999;

    background:rgba(10,18,32,0.85);
    backdrop-filter:blur(10px);

    border:1px solid rgba(255,200,80,0.25);
    

    box-shadow:
        0 10px 40px rgba(0,0,0,0.6),
        inset 0 0 20px rgba(255,200,80,0.05);
}

.cookie-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 24px;
    flex-wrap:wrap;
}

.cookie-text{
    color:#d5dbe6;
    font-size:14px;
    line-height:1.4;
}

.cookie-text a{
    color:var(--color-gold);
    text-decoration:none;
}

.cookie-text a:hover{
    text-decoration:underline;
}

/* buttons */

.cookie-actions{
    display:flex;
    gap:12px;
}

.cookie-btn{
    border-radius:30px;
    padding:8px 18px;
    font-size:13px;
    cursor:pointer;
    border:none;
    transition:all .2s ease;
}

/* reject */

.cookie-reject{
    background:transparent;
    border:1px solid rgba(255,255,255,0.25);
    color:#d0d6df;
}

.cookie-reject:hover{
    border-color:rgba(255,200,80,0.6);
    color:#fff;
}

/* accept */

.cookie-accept{
    background:linear-gradient(
        45deg,
        #4f7cff,
        #b77cff,
        #ffbf5f
    );
    color:#fff;
    font-weight:600;
}

.cookie-accept:hover{
    transform:scale(1.05);
}

.cookie-banner{
    animation:cookieFade .6s ease;
}

@keyframes cookieFade{
    from{
        opacity:0;
        transform:translate(-50%,20px);
    }
    to{
        opacity:1;
        transform:translate(-50%,0);
    }
}

/* =============================
   LOGIN (Frontend Styled)
============================= */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
    padding: 20px;
}

.login-wrapper .card {
    background: rgba(18, 24, 41, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 40px 35px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 0 40px rgba(0,0,0,0.6),
        0 0 80px rgba(47,128,255,0.05);
}

/* Title */
.login-wrapper h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Inputs */
.login-wrapper input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 14px;
    transition: border 0.2s ease, background 0.2s ease;
}

.login-wrapper input:focus {
    outline: none;
    border: 1px solid #2f80ff;
    background: rgba(255,255,255,0.08);
}

/* Buttons */
.login-wrapper button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Primary */
.login-wrapper button:first-of-type {
    background: linear-gradient(135deg, #2f80ff, #7b4dff);
    color: #fff;
}

.login-wrapper button:first-of-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(123,77,255,0.4);
}

/* Secondary (Forgot Password) */
.login-wrapper button:last-of-type {
    background: rgba(123,77,255,0.15);
    color: #d4af37;
}

.login-wrapper button:last-of-type:hover {
    background: rgba(123,77,255,0.25);
}

/* =====================================================
   CONTAINERS
===================================================== */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===============================
   PRIMARY NAVIGATION
================================= */


.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Logo */
.nav-logo a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f2f4f8;
    text-decoration: none;
	display:flex;
	flex-direction:column;
	align-self:center;
}

.nav-logo img {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.logo-wrapper{
	display:flex;
	flex-direction:column;
	line-height:1;
	}

.site-tagline{
	font-size:11px;
	color:#d4af37;
	letter-spacing:1px;
	margin-top:2px;
	line-height:1;
}

.nav-transparent {
    background: transparent;
}


.nav-hidden {
    transform: translateY(-100%);
}


/* Auth Buttons */
.nav-auth {
    display: flex;
    gap: 1rem;
}

/* --- BRINGING BACK THE COLORS --- */

/* 1. Login Link (The Blue Outline Style) */
.nav-auth-item[href*="login"] {
    color: var(--color-blue) !important;
    border: 1px solid var(--color-blue);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-auth-item[href*="login"]:hover {
    background: var(--color-blue);
    color: #fff !important;
}

/* 2. Register Link (The Gold Gradient Style) */
.nav-auth-item[href*="register"] {
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple), var(--color-gold));
    color: #fff !important;
    padding: 9px 22px; /* Slightly thicker for the "Primary" look */
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-auth-item[href*="register"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 77, 255, 0.4);
}

.btn-outline {
    padding: 8px 18px;
    border: 1px solid #2f80ff;
    border-radius: 30px;
    font-size: 1.10rem;
    color: #2f80ff;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #2f80ff;
    color: #fff;
}

.btn-gradient {
    padding: 8px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, #2f80ff, #7b4dff, #d4af37);
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(123, 77, 255, 0.4);
}


/* Body offset for fixed nav */
.page-index {
	margin-top: -80px;
}

.page-internal {
    padding-top: 70px;
}

/* Global Action Rail */

/* =========================
   ACTION BOX WRAPPER
========================= */

.action-box-wrapper {
    position: fixed;
    top: calc(var(--nav-height) + 70px);
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

/* OPEN STATE */
.action-box-wrapper.open {
    transform: translateX(0);
}

/* =========================
   TOGGLE BUTTON
========================= */

.action-toggle {
    position: absolute;
    left: -50px; /* 🔴 was -40px (adjust for new width) */
    top: 50%;
    transform: translateY(-50%);
    width: 50px;   /* 🔴 was 40px */
    height: 70px;  /* 🔴 was 60px */

    background: rgba(5, 15, 35, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.6);
    backdrop-filter: blur(8px);

    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px 0 0 8px; /* 🔴 slightly smoother */
    font-size: 20px; /* 🔴 slightly bigger arrow */
    user-select: none;

    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    animation: actionPulse 2.5s infinite;
}

/* hover */
.action-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.8);
}

/* keyframes (separate, required) */
@keyframes actionPulse {
    0%   { box-shadow: 0 0 10px rgba(212,175,55,0.5); }
    50%  { box-shadow: 0 0 20px rgba(255,215,0,0.8); }
    100% { box-shadow: 0 0 10px rgba(212,175,55,0.5); }
}

/* 🔴 CORRECT arrow direction */
.action-toggle::before {
    content: "❮"; /* points LEFT when closed */
}

/* 🔴 flip when open */
.action-box-wrapper.open .action-toggle::before {
    content: "❯"; /* points RIGHT when open */
}

/* =========================
   ACTION BOX
========================= */

.action-box {
    position: relative;
    top: auto;
    right: auto;

    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: rgba(5, 15, 35, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.08);
    z-index: 900;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

.action-box a {
    flex: 0 0 auto;   /* <-- THIS is the fix */
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}

.action-box .btn-outline{
    width:100%;
    max-width:none; /* <-- THIS FIXES IT */
	padding:12px 20px; /* force consistency */
}

.action-box.hidden {
    display: none !important;
	opacity: 0;
    transform: translateX(15px);
    pointer-events: none;
}

.action-box a,
.action-box .btn-outline{
display:flex;
align-items:center;
justify-content:center;

width:100%;
box-sizing:border-box;
}

/* --- BASE NAVBAR (DESKTOP) --- */
.nav2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 24, 41, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s ease, background 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
}

/* Vertical dividers between links */
.nav2-row1 a:not(:last-child)::after,
.nav2-row2 a:not(:last-child)::after,
.nav2-row3 a:not(:last-child)::after {
    content: "";
    display: inline-block;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin-left: 20px;
    pointer-events: none;
}

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

.nav2-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 40px;
}

.nav2-row1,
.nav2-row2,
.nav2-row3 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav2-row1 {
    border-bottom: 2px solid rgba(255,255,255,0.1);
    width: max-content;
}

.nav2-row2 {
    margin-top: 2px;
    padding-top: 6px;
    /* border-bottom: 2px solid rgba(255,255,255,0.1); - HASH THIS OUT UNTIL I ADD ROW3 */
    width: max-content;
}

.nav2-row3 {
    margin-top: 2px;
    padding-top: 6px;
}

/* Unified Link Styles */
.nav2 a,
.nav2-row2 a,
.nav2-row3 a {
    min-height: 30px;
    font-size: 1.10rem;
    color: #9aa3b2;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav2 a:hover,
.nav2-row2 a:hover,
.nav2-row3 a:hover {
    color: #2f80ff;
}

.nav2 a.active,
.nav2-row2 a.active,
.nav2-row3 a.active {
    color: #d4af37;
}

/* STOP THE SQUASHING */
.nav-logo,
.nav-auth-wrapper {
    flex-shrink: 0;
}

/* Toggle hidden on Desktop */
.nav2-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav2-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #9aa3b2;
}

/* Hide the mobile-specific auth inside the drawer on desktop */
.mobile-only-auth { display: none !important; }

/* --- MOBILE BREAKPOINT (992px) --- */
@media (max-width: 1200px) {
    /* 1. Show the hamburger */
    .nav2-toggle { 
        display: flex !important; 
    }
    
    /* 2. Hide the main desktop panel */
    .desktop-only-auth { 
        display: none !important; 
    }

    /* 3. The Compact Drawer */
    .nav2-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 24, 41, 0.95); /* Slightly transparent */
        backdrop-filter: blur(10px);         /* Modern Blur */
        border-bottom: 2px solid #2f80ff;    /* Modern "Energy" accent */
        
        /* SCROLL LOGIC */
        max-height: 80vh; /* Limits menu to 80% of screen height */
        overflow-y: auto; /* Adds scrollbar if content exceeds max-height */
        
        padding: 10px 0; /* Reduced top/bottom padding of the whole drawer */
        margin-left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav2-links.mobile-active { 
        display: flex !important; 
    }

    /* 4. Compact the Rows */
    .nav2-row1, .nav2-row2 {
        display: flex !important;
        flex-direction: column;
        align-items: center; /* Centers the buttons in the drawer */
        width: 100%;
        border: none !important;
        padding: 0; 
        gap: 8px; /* Adds space BETWEEN the buttons */
		    /* KILL THE GHOST LINES */
		border-top: none !important;    /* This kills the line above Login */
		border-bottom: none !important; /* Ensures no double-lines at the bottom */
    }

    /* 5. Tighten the Links */
    .nav2-links a {
        min-height: 44px; /* Better for thumb tapping */
        width: 92% !important; /* FORCES both rows to be the same width */
        margin: 0 auto !important;
        padding: 0 20px;
        display: flex;
        align-items: center;
        border: 1px solid rgba(255,255,255,0.1) !important; /* The border you wanted */
        
        background: rgba(255,255,255,0.03);
        box-sizing: border-box; /* Keeps the border from breaking the width */
		text-decoration: none !important;
    }
	
    .nav2-links a:hover {
        background: rgba(47, 128, 255, 0.1) !important;
        padding-left: 32px !important;    /* Modern "Slide-in" effect */
        color: #2f80ff !important;
    }	

    /* Remove the 2px vertical spacers on mobile */
    .nav2-row1 a::after, .nav2-row2 a::after {
        display: none !important;
    }

    /* 6. Mobile Auth Panel */
    .mobile-only-auth { 
        display: flex !important; 
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
        gap: 8px;
        
    }
	
    /* FORCE the Auth buttons to match the menu style and stop the blue outlines */
    .mobile-only-auth .nav-auth-item {
        width: 92% !important;
        /* RESERVES 1px space with a transparent border so it never jumps */
        border: 1px solid rgba(255, 255, 255, 0.1) !important; 
        border-radius: 0 !important; 
        background: rgba(255, 255, 255, 0.03) !important; 
        padding: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
        color: #9aa3b2 !important;
        /* CRITICAL: Keeps the 1px border INSIDE the 44px height */
        box-sizing: border-box !important; 
        transition: border-color 0.2s ease, background 0.2s ease !important;
    }

    /* Keep the gold 'Master' color if active/special */
    .mobile-only-auth span.nav-auth-item {
        color: #d4af37 !important; 
        font-weight: bold;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important; /* Slightly stronger line for the Welcome msg */
    }	

	/* --- Ensure Hover Colors match the Main Navbar (#2f80ff) --- */

	.mobile-only-auth a.nav-auth-item:hover {
		color: #2f80ff !important;
		background: rgba(47, 128, 255, 0.1) !important;
		
		/* 1. Use OUTLINE instead of border to prevent displacement */
		outline: 1px solid #2f80ff !important;
		outline-offset: -1px; /* Draws it exactly where the border was */
		border-color: transparent !important; /* Hides the physical border */
		
		/* 2. Force-reset any inherited V1 styles that cause movement */
		margin: 0 auto !important;
		padding: 0 20px !important;
		transform: none !important;
		box-shadow: 0 0 10px rgba(47, 128, 255, 0.2) !important;
		
		cursor: pointer !important;
	}

	/* Ensure the 'Welcome' text (span) does NOT change color on hover */
	.mobile-only-auth span.nav-auth-item:hover {
		color: #d4af37 !important;
		background: transparent !important;
		cursor: default !important;
		border-bottom: none !important; /* Kills the line if it's under the 'Welcome' text */
		padding-bottom: 0 !important;
		margin-bottom: 5px !important; /* Keeps a small gap without a line */		
	}
	
    .nav2-links a:hover, .mobile-only-auth a.nav-auth-item:hover {
        border-color: #2f80ff !important; /* Glow color */
        background: rgba(47, 128, 255, 0.1) !important;
        color: #2f80ff !important;
        box-shadow: 0 0 15px rgba(47, 128, 255, 0.2); /* Subtle glow */
    }	
	
}


/* ======================================
   Action Box (Mobile Only)
====================================== */

@media (max-width: 1200px) {


    .action-box-wrapper {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;

        transform: none; /* 🔴 disable slide on mobile */
    }
	
	.action-toggle {
        display: none;
    }

	.action-box {
		top: auto;
		bottom: 0;
		right: 5px;
		left: 5px;

		flex-direction: row;
		justify-content: center;
	}

.action-box a{
flex: 1 1 calc(33.333% - 10px);
max-width: calc(33.333% - 10px);

text-align: center;
white-space: normal;   /* allow wrapping */
word-break: break-word;
padding: 10px 12px;
box-sizing: border-box;
}

}

@media (max-width: 992px) {

	.action-box {
		top: auto;
		bottom: 0;
		right: 5px;
		left: 5px;

		flex-direction: row;
		justify-content: center;
	}

.action-box a{
flex: 1 1 calc(33.333% - 10px);
max-width: calc(33.333% - 10px);

text-align: center;
white-space: normal;   /* allow wrapping */
word-break: break-word;
padding: 10px 12px;
box-sizing: border-box;
}

}

@media (max-width: 768px) {
    .hide-mobile-action {
        display: none !important;
    }
	
@media (max-width: 768px){

.action-box{
flex-wrap: wrap;
justify-content: center;
gap: 10px;
padding: 10px;
}

.action-box::-webkit-scrollbar{
display:none; /* Chrome */
}

.action-box a{
flex: 1 1 calc(33.333% - 10px);
max-width: calc(33.333% - 10px);

text-align: center;
white-space: normal;   /* allow wrapping */
word-break: break-word;
padding: 10px 12px;
box-sizing: border-box;
}

}
	
}

/* =====================================================
   ARCHIVE REQUESTS (INDEX PAGE)
===================================================== */

.archive-requests{
    max-width:700px;
    margin:40px auto;
    padding:20px 24px;
    background:rgba(18,24,41,0.6);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:6px;
    text-align:left;
}

.archive-requests h4{
    margin-top:20px;
    margin-bottom:6px;
    color:#d4af37;
    font-weight:600;
}

.archive-requests ul{
    margin:0;
    padding-left:18px;
}

.archive-requests li{
    color:#9aa3b2;
    margin-bottom:4px;
}

.archive-intro{
    color:#cbd2df;
    margin-bottom:10px;
}

/* =====================================================
   BODY SPACING (for fixed nav)
===================================================== */

.page-internal {
    padding-top: var(--nav-height);
}

/* =====================================================
   GENERIC SECTION SYSTEM
===================================================== */

.section {
    padding: 8rem 2rem;
	background: rgba(10, 10, 14, 0.75);
    backdrop-filter: blur(4px);
}

/* First section */
.section:first-of-type {
    background: rgba(11, 15, 26, 0.7);
}

/* Odd sections except first */
.section:nth-of-type(odd):not(:first-of-type) {
    background: rgba(11, 15, 26, 0.8);
}

/* Even sections */
.section:nth-of-type(even) {
    background: rgba(11, 15, 26, 0.7);
}

.section-alt {
    background: rgba(18, 18, 24, 0.82);
}

.section-large {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.section h1 {
    font-size: clamp(1.5rem, 4vw, 3.0rem);
    margin-bottom: 1.8rem;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--color-gold);
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.section a {
	color: #ffffff;
	text-decoration: underline;
	transition: color 0.2s ease;
	word-break: break-word;
	overflow-wrap: anywhere;
	}

.section a:hover {
	color: #bfc6d2;
	}

.section a:visited {
	color: #d4af37;
	}

/* ===============================
   INDEX LONG-FORM REFINEMENT
   (Non-destructive enhancement)
================================= */

/* Constrain reading width for archive-style sections */
.section > .container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Improve paragraph readability */
.section p {
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Improve heading spacing inside sections */
.section h1,
.section h2 {
    margin-bottom: 1.8rem;
}

/* Add consistent vertical breathing room */
.section {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Hero CTA override only */
.section-large .btn-gradient {
    padding: 18px 48px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    min-width: 280px;
    text-align: center;
	text-decoration: none;
    background: linear-gradient(
        135deg,
        var(--color-blue),
        var(--color-purple),
        var(--color-gold)
    );

    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-large .btn-gradient:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px rgba(123, 77, 255, 0.35),
        0 6px 20px rgba(212, 175, 55, 0.25);
}

/* ===============================
   FOOTER
================================= */

.site-footer {
    background: rgba(18, 24, 41, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    /*margin-top: 4rem;*/
    color: #9aa3b2;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Brand */
.footer-brand h3 {
    color: #f2f4f8;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #9aa3b2;
}

/* Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: #9aa3b2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #d4af37;
}

/* Disclaimer */
.footer-disclaimer p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #7f8aa3;
    max-width: 900px;
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: #6f7a92;
}

/* =====================================================
   Nav Auth Wrapper desktop
===================================================== */

/* Align welcome block properly inside nav */

.nav-auth-wrapper {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 14px;
}

.nav-auth-wrapper .nav-auth-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Ensure SVG aligns vertically */
.nav-auth-wrapper svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* Remove pill styling from welcome text only */
.nav-auth-wrapper .nav-auth-item:first-child {
    padding: 0;
    background: none;
    border: none;
}

.nav-auth-item {
    padding: 8px 20px;
    border: 1px solid var(--color-blue);
    border-radius: 30px;
    color: var(--color-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-auth-item:hover {
    background: var(--color-blue);
    color: #fff;
}

/* ===============================
   MODAL OVERLAY
================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 5000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===============================
   MODAL CONTENT
================================ */

.modal-content {
    background: #0b111c;
    border: 1px solid #d4af37;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.35s ease;
}

/* Make textarea full width */
.modal-content form textarea {
    width: 100%;
    flex: 0 0 100%;
}

/* Force submit button to new line below textarea */
.modal-content form button[type="submit"] {
    flex: 0 0 100%;
    width: 220px;
    margin-top: 10px;
}

/* Force TinyMCE editor to full width inside modal */
.modal-content .tox-tinymce {
    width: 100% !important;
    max-width: 100% !important;
}

/* Make sure the form stacks vertically */
.modal-content form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Close Button */

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 22px;
    cursor: pointer;
}

/* ===============================
   MODAL FORM STYLING
================================ */

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.modal-content form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.modal-content form label {
    color: #ccc;
    font-size: 0.9rem;
}

.modal-content form input[type="text"],
.modal-content form select {
    background: #0f1624;
    border: 1px solid #333;
    color: #e6e6e6;
    padding: 6px 10px;
}

.modal-content form input[type="file"] {
    color: #ccc;
}

/* Styled Submit Button */
.modal-content form button[type="submit"] {
    background: linear-gradient(90deg, #6c4df6, #d4af37);
    border: none;
    padding: 8px 18px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-content form button[type="submit"]:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =====================================
   GALLERY + STORY LAYOUT
===================================== */

.gallery-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.gallery-section .btn-gradient {
    padding: 18px 48px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    min-width: 280px;
    text-align: center;

    background: linear-gradient(
        135deg,
        var(--color-blue),
        var(--color-purple),
        var(--color-gold)
    );

    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-section .btn-gradient:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px rgba(123, 77, 255, 0.35),
        0 6px 20px rgba(212, 175, 55, 0.25);
}

/* 1600px main container */
.gallery-outer-container {
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Stack layout */
.gallery-stream {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 100px;
	  max-width: 1200px; /*set the main max-width*/
	  margin-left: auto; /*together with margin-right auto-centers it.*/
	  margin-right: auto;
}


/* 1200 x 800 inner box */
.gallery-inner-box {
    position: relative;

    /* ADD THESE THREE LINES */
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 16px;

    /* NEW BACKGROUND STYLE */
    background: linear-gradient(
        145deg,
        rgba(15, 20, 40, 0.95),
        rgba(25, 30, 60, 0.95)
    );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 0 60px rgba(0,0,0,0.4);
}

/* Image */
.gallery-inner-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: inline-block;

    /* Reveal starting state */
    clip-path: inset(100% 0 0 0);

    /* Merge transitions */
    transition: transform 0.6s ease, clip-path 1.6s cubic-bezier(.2,.8,.2,1);
}

/* ===============================
   GALLERY AD CONTAINER
================================ */
.ad-gallery-frame {
    padding: 25px;
    border-radius: 22px;

    /* CONTRAST BACKGROUND LAYER */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85),
        rgba(20, 25, 50, 0.95)
    );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.15);

    display: block;                /* changed from inline-block */
    width: 100%;
    height: auto;                  /* fixed collapsing */
    min-height: 220px;             /* ensures visible presence */

    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: ambientGlow 4s ease-in-out infinite;
}

.ad-gallery-inner-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(15, 20, 40, 0.95),
        rgba(25, 30, 60, 0.95)
    );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 0 60px rgba(0,0,0,0.4);

    width: 100%;
    height: auto;                 /* fixed collapsing */
    min-height: 180px;            /* keeps structure stable */
    padding: 40px;
}

.gallery-ad-container {
    width: 100%;
	align-self: stretch;
}

/* Make it behave like gallery-item */
.gallery-stream > .gallery-ad-container {
    width: 100%;
}

/* AD BOX */

.ad-box {
    width: 100%;
    margin: 60px 0; /* clear spacing above + below */
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: #aaa;
    font-size: 16px;
    position: relative;	
}

/* Sponsored tag */

.ad-box::before {
    content: "Sponsored";
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* =====================================
   VIEW GALLERY + STORY LAYOUT
===================================== */

.view-gallery-frame {
    padding: 25px;
    border-radius: 22px;

    /* CONTRAST BACKGROUND LAYER */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85),
        rgba(20, 25, 50, 0.95)
    );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.15);

    display: inline-block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: ambientGlow 4s ease-in-out infinite;

    width: 100%;
    height: auto;              /* FIXED: prevent collapse */
    position: relative;
    z-index: 2;                /* Ensures above background overlay */
}

.view-gallery-frame:hover {
    transform: translateY(-12px);
    box-shadow:
        0 40px 120px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.25);
}

.view-gallery-item {
    opacity: 1;                /* FIXED: visible by default */
    width: 100%;
    display: flex;
    justify-content: center;

    transform: translateY(0);  /* FIXED: remove hidden offset */
    transition: opacity 0.6s ease, transform 0.6s ease;

    position: relative;
    z-index: 2;
}

.view-gallery-inner-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(15, 20, 40, 0.95),
        rgba(25, 30, 60, 0.95)
    );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 0 60px rgba(0,0,0,0.4);

    width: 100%;
}

/* Image */
.view-gallery-inner-box img {
    max-width: 100%;
    height: auto;              /* FIXED: prevent height collapse */
    width: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;

    /* FIXED: image visible by default */
    clip-path: inset(0 0 0 0);

    transition: transform 0.6s ease, clip-path 1.6s cubic-bezier(.2,.8,.2,1);
}

.page-internal .gallery-section.text-center {
    padding-bottom: 40px;
}

.page-internal .gallery-section + .gallery-section {
    padding-top: 0;
}

.exhibit-sub-header {
    text-align: center; /* This centers the text */
    font-size: 1.2rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 20px; /* Optional: adds space before the description */
    font-style: italic;
    display: block;      /* Ensures it takes up the full width to center correctly */
}

/* AVATAR NAME FIXES */
.exhibit-avatar-name {
    display: flex;
    align-items: left; /* Vertically centers the SVG icon with the text */
    justify-content: left; /* Keeps everything centered in your description div */
    gap: 8px; /* Adds space between the name, dash, and the icon */
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
}

/* Ensures the inner spans from your function don't break the line */
.exhibit-avatar-name span {
    display: inline-flex;
    align-items: center;
}

/*------------------------*/

.gallery-item.visible .gallery-inner-box img {
    clip-path: inset(0 0 0 0);
}

/* Slight premium hover effect */
.gallery-inner-box:hover img {
    transform: scale(1.03);
}

/* Overlay for date */
.gallery-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px; /* This is the "Magic" fix for the right-side gap */
    
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 8px;
	max-height: 70%;
    overflow-y: auto;
}
}

/* SOCIAL SHARE */

.share-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    padding-top: 20px !important;
	width: 100%;
}

.share-box {
    display: flex;
    gap: 24px;
    padding: 20px 30px;
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(15,20,40,0.9),
        rgba(10,15,30,0.9)
    );
    box-shadow:
        0 20px 50px rgba(0,0,0,0.6),
        inset 0 0 30px rgba(0,0,0,0.4);

    width: fit-content;
    margin: 40px auto 0 auto; /* this centers it and adds top space */
}

.share-box a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
	color: rgba(255,255,255,0.75);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-box a svg {
    width: 30px;
    height: 30px;
}

.share-box a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
	color: #ffffff;
}

@media (max-width: 768px) {

    .share-box {
        gap: 14px;
        padding: 14px 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .share-box a {
        width: 32px;
        height: 32px;
    }

    .share-box a svg {
        width: 22px;
        height: 22px;
    }

}

/* ===============================
   GALLERY VIEW DESCRIPTION
================================ */

.gallery-view-description {
    margin: 40px auto 0 auto;
    max-width: 820px;
    padding: 28px 32px;

    background: linear-gradient(
        145deg,
        rgba(10, 15, 35, 0.95),
        rgba(20, 25, 50, 0.95)
    );

    border-radius: 20px;

    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.12);

    text-align: left;
}

.gallery-view-description p {
    margin: 0;
    color: #cfcfd6;
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 768px) {


    .gallery-date {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .gallery-overlay h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .gallery-overlay p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* ===============================
   MOBILE FIX – MOVE OVERLAY BELOW IMAGE
================================ */

@media (max-width: 768px) {

    .gallery-inner-box {
        display: block;
    }

    .gallery-overlay {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        
        /* THIS forces it to drop below the video */
        position: relative !important; 
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 0 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        padding: 12px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(4px);
        box-sizing: border-box;
    }

    .gallery-overlay p {
        max-width: 95% !important; /* remove that 420px limit */
    }

    .gallery-inner-box img {
        display: block;
        width: 100%;
        height: auto;

        /* Make image rounded only on top */
        border-radius: 16px 16px 0 0;
    }
	
		.gallery-frame a {
			text-decoration: none;
			color: inherit;
		}

		.gallery-frame a h3,
		.gallery-frame a h4,
		.gallery-frame a p {
			text-decoration: none;
		}	

}

/* Bigger year/month */
.gallery-date {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin: 0;
}

/* =====================================
   OUTER CONTRAST FRAME
===================================== */

.gallery-frame {
    padding: 25px;
    border-radius: 22px;

    /* CONTRAST BACKGROUND LAYER */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85),
        rgba(20, 25, 50, 0.95)
    );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.15);

    display: inline-block;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	animation: ambientGlow 4s ease-in-out infinite;
	width: 100%;
	height: 100%;
}

.gallery-frame:hover {
    transform: translateY(-12px);
    box-shadow:
        0 40px 120px rgba(0,0,0,0.7),
        0 0 40px rgba(123, 77, 255, 0.25);
}

@keyframes ambientGlow {
    0% {
        box-shadow:
            0 30px 80px rgba(0,0,0,0.6),
            0 0 25px rgba(123, 77, 255, 0.25);
    }
    50% {
        box-shadow:
            0 30px 80px rgba(0,0,0,0.6),
            0 0 60px rgba(123, 77, 255, 0.45);
    }
    100% {
        box-shadow:
            0 30px 80px rgba(0,0,0,0.6),
            0 0 25px rgba(123, 77, 255, 0.25);
    }
}



.gallery-item {
    opacity: 0;
	width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-outer-container,
.gallery-section,
.section {
    overflow: visible !important;
}

/* =====================================
   STORY OVERRIDES
===================================== */

.story-section .gallery-inner-box {
    width: 100%;
    height: auto;
    display: block;
    padding: 50px;
    align-items: unset;
    justify-content: unset;
	text-decoration: none !important;
}

.story-section .gallery-item a {
    text-decoration: none !important;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Title takes available space */
.story-title {
    font-size: 40px;      /* ACTUALLY BIG */
    font-weight: 700;
    color: var(--color-gold);
    margin: 0;
	text-decoration: none !important;
    flex: 1;              /* This is important */
}

/* Avatar forced right */
.story-avatar {
    font-size: 36px;      /* BIGGER like you asked */
    font-weight: 600;
    color: #d0d6ff;

    text-align: right;
    margin-left: 40px;
    white-space: nowrap;  /* prevents wrapping */
}

@media (max-width: 768px) {

    .story-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .story-title {
        font-size: 26px;
        line-height: 1.2;
        color: var(--color-gold); /* keep gold */
    }

    .story-avatar {
        font-size: 20px;
        margin-left: 0;
        white-space: normal;
        text-align: left;
        color: #d0d6ff; /* keep avatar color */
    }

}

.story-content {
    line-height: 1.8;
    font-size: 17px;
    color: #ddd;
	padding: 15px;
	text-decoration: none !important;
}

/* =====================================
   STORY WIDTH + LAYOUT FIX
===================================== */

.story-section .gallery-outer-container {
    max-width: 1200px;   /* readable article width */
}

.story-section .gallery-stream {
    gap: 60px;          /* less vertical spacing */
}

/* =====================================
   FORM CARD (Reusable Glass Form)
===================================== */

.form-section h2 {
    font-size: 2.6rem;
    margin-bottom: 50px;
}

.form-card label {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-gold);
    letter-spacing: 0.5px;
}

.form-card input[type="text"],
.form-card select,
.form-card input[type="file"] {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 15, 30, 0.85);
    color: #ffffff;
    transition: all 0.2s ease;
}

.form-card input[type="text"]:focus,
.form-card select:focus {
    outline: none;
    border: 1px solid var(--color-purple);
    box-shadow: 0 0 12px rgba(123, 77, 255, 0.4);
}

.form-card select {
    max-width: 320px;
}

.form-card select option {
    background: #0f1624;
    color: #ffffff;
}

/* ====================================
   GALLERY + STORY ADD FORM (ISOLATED)
==================================== */

.gallery-add-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-row {
    display: flex;
    gap: 40px;
}

.gallery-field {
    flex: 1;
    margin-bottom: 40px;
}

.gallery-label {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 14px;
}

/* Big dark controls */
.gallery-input {
    width: 100%;
    height: 64px;
    padding: 0 22px;

    font-size: 20px;
    font-weight: 500;

    background: #0b1220;
    color: #ffffff;

    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 14px;

    box-shadow: inset 0 0 12px rgba(0,0,0,0.6);

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    transition: all 0.25s ease;
}

.gallery-input:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow:
        0 0 20px rgba(123,77,255,0.5),
        inset 0 0 12px rgba(0,0,0,0.6);
}

.gallery-input option {
    background: #0b1220;
    color: #ffffff;
    font-size: 18px;
}

/* VIDEO PAGES FIX */

.video-ratio-box {
    position: relative !important;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 18px;
}

.video-ratio-box.large {
    padding-top: 56.25%;
}

.video-ratio-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.main-card-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* Sits above the video but below overlay text if needed */
}

/* On hover, give the whole card a subtle lift so they know it's a button */
.gallery-frame:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
    cursor: pointer;
}
/* =====================================
   RESOURCES PAGE
===================================== */

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 60px;
}

.resource-section {
    margin-bottom: 80px;
}

.resource-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 30px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 30px;
}

.resource-card {
    padding: 40px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(15, 20, 40, 0.95),
        rgba(25, 30, 60, 0.95)
    );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 0 40px rgba(0,0,0,0.4);

    transition: transform 0.3s ease;
}

.resource-card p {
    font-size: 16px;
    color: #cfd3ff;
    margin-bottom: 20px;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 70px rgba(0,0,0,0.7),
        0 0 30px rgba(123,77,255,0.2);
}

.resource-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}


/* =====================================
   RESOURCES LAYOUT FIX
===================================== */

.resources-container {
    max-width: 1600px;   /* same breathing space as gallery */
    margin: 0 auto;
    padding: 0 4rem;
}

/* =====================================
   GALLERY SCROLL FILTER BAR
===================================== */

.gallery-scroll-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;

    backdrop-filter: blur(12px);
    background: rgba(10, 14, 28, 0.95);

    padding: 14px 0;

    display: flex;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-scroll-filter.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-filter-form {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gallery-filter-select {
    height: 42px;
    padding: 0 14px;

    background: #0b1220;
    color: #ffffff;

    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
}

/* =========================
   HISTORY PAGE LAYOUT
   ========================= */

.history-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 0;
}

.history-disclaimer {
	padding-top: 40px;
	margin-top: 40px;
	color: #9aa7b6;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.95rem;
	opacity: 0.9;}

/* =========================
   INTRO SECTION
   ========================= */

.history-intro{
	position:relative;
	text-align:center;
	padding:120px 0 80px;
	margin-bottom:60px;
	overflow:hidden;

	mask-image: radial-gradient(
	ellipse at center,
	rgba(0,0,0,1) 40%,
	rgba(0,0,0,0.85) 65%,
	rgba(0,0,0,0) 100%
	);

	-webkit-mask-image: radial-gradient(
	ellipse at center,
	rgba(0,0,0,1) 40%,
	rgba(0,0,0,0.85) 65%,
	rgba(0,0,0,0) 100%
	);
}

.history-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5,10,18,0.75),
        rgba(5,10,18,0.85)
    );
    z-index: 0;
}

.history-intro h1,
.history-intro p {
    position: relative;
    z-index: 1;
}

.history-intro h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.history-intro p {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0.9;
}

@media (max-width:768px){

.history-intro h1{
color:#ffd95a;
text-shadow:0 0 8px rgba(0,0,0,0.9);
}

.history-intro p{
color:#ffffff;
text-shadow:0 0 6px rgba(0,0,0,0.9);
}

}

#\32 021 .history-spine{
    border-left:3px solid #6a5cff !important;
    background:rgba(106,92,255,0.06) !important;
}

#\32 022 .history-spine{
    border-left:3px solid #00bcd4 !important;
    background:rgba(0,188,212,0.06) !important;
}

#\32 023 .history-spine{
    border-left:3px solid #4caf50 !important;
    background:rgba(76,175,80,0.06) !important;
}

#\32 024 .history-spine{
    border-left:3px solid #ff9800 !important;
    background:rgba(255,152,0,0.06) !important;
}

#\32 025 .history-spine{
    border-left:3px solid #e91e63 !important;
    background:rgba(233,30,99,0.06) !important;
}

#\32 026 .history-spine{
    border-left:3px solid #ffd700 !important;
    background:rgba(255,215,0,0.06) !important;
}

/* corner images UE5 page */

.corner-img2{
position:absolute;
width:260px;
height:260px;
background-size:cover;
background-position:center;
box-shadow:0 0 30px rgba(0,0,0,0.6);
filter: drop-shadow(0 0 8px rgba(180,120,255,0.6))
        drop-shadow(0 0 12px rgba(255,215,120,0.4));
mask-image: radial-gradient(circle at center,
rgba(0,0,0,1) 40%,
rgba(0,0,0,0) 100%);		
}

/* top left */

.corner-tl2{
top:0;
left:0;
background-image:url('/assets/images/afe729ab22b3aac6_org.jpg');

clip-path: polygon(
0 0,100% 0,0 100%);
}

/* top right */

.corner-tr2{
top:0;
right:0;
background-image:url('/assets/images/HUD_IT7.jpg');

clip-path: polygon(
0 0,100% 0,100% 100%);
}

/* bottom left */

.corner-bl2{
bottom:0;
left:0;
background-image:url('/assets/images/maxresdefault.jpg');

clip-path: polygon(
0 0,0 100%,100% 100%);
}

/* bottom right */

.corner-br2{
bottom:0;
right:0;
background-image:url('/assets/images/euu_outpost_test_04.jpg');

clip-path: polygon(
100% 0,0 100%,100% 100%);
}

.corner-img2::before{
content:"";
position:absolute;
width:160%;
height:2px;

background:linear-gradient(
90deg,
#d4af37,
#b48cff
);

box-shadow:
0 0 6px rgba(212,175,55,0.6),
0 0 12px rgba(180,140,255,0.6);

top:50%;
left:-30%;
transform:rotate(-45deg);
pointer-events:none;
}

.corner-img2::after{
content:"";
position:absolute;
inset:0;

background:
linear-gradient(135deg,
rgba(180,120,255,0.6) 0%,
rgba(255,215,120,0.6) 10%,
rgba(0,0,0,0) 35%
);

mix-blend-mode:screen;
pointer-events:none;
}

.corner-tr2::before,
.corner-bl2::before{
transform:rotate(45deg);
}

/* corner images history page */

.corner-img{
position:absolute;
width:260px;
height:260px;
background-size:cover;
background-position:center;
box-shadow:0 0 30px rgba(0,0,0,0.6);
filter: drop-shadow(0 0 8px rgba(180,120,255,0.6))
        drop-shadow(0 0 12px rgba(255,215,120,0.4));
mask-image: radial-gradient(circle at center,
rgba(0,0,0,1) 40%,
rgba(0,0,0,0) 100%);		
}

/* top left */

.corner-tl{
top:0;
left:0;
background-image:url('/assets/images/history1.jpg');

clip-path: polygon(
0 0,100% 0,0 100%);
}

/* top right */

.corner-tr{
top:0;
right:0;
background-image:url('/assets/images/history2.jpg');

clip-path: polygon(
0 0,100% 0,100% 100%);
}

/* bottom left */

.corner-bl{
bottom:0;
left:0;
background-image:url('/assets/images/history3.jpg');

clip-path: polygon(
0 0,0 100%,100% 100%);
}

/* bottom right */

.corner-br{
bottom:0;
right:0;
background-image:url('/assets/images/history4.jpg');

clip-path: polygon(
100% 0,0 100%,100% 100%);
}

.corner-img::before{
content:"";
position:absolute;
width:160%;
height:2px;

background:linear-gradient(
90deg,
#d4af37,
#b48cff
);

box-shadow:
0 0 6px rgba(212,175,55,0.6),
0 0 12px rgba(180,140,255,0.6);

top:50%;
left:-30%;
transform:rotate(-45deg);
pointer-events:none;
}

.corner-img::after{
content:"";
position:absolute;
inset:0;

background:
linear-gradient(135deg,
rgba(180,120,255,0.6) 0%,
rgba(255,215,120,0.6) 10%,
rgba(0,0,0,0) 35%
);

mix-blend-mode:screen;
pointer-events:none;
}

.corner-tr::before,
.corner-bl::before{
transform:rotate(45deg);
}

/* =========================
   CORNER IMAGES MAG PAGE
   ========================= */

/* shared image setup */
.corner-tl-mag,
.corner-tr-mag,
.corner-bl-mag,
.corner-br-mag{
background-image:url('/assets/images/magazines-entropia-times.jpeg');
background-size:200% 200%;
background-repeat:no-repeat;
}

/* top left */
.corner-tl-mag{
top:0;
left:0;
background-position:top left;

clip-path: polygon(0 0,100% 0,0 100%);
}

/* top right */
.corner-tr-mag{
top:0;
right:0;
background-position:top right;

clip-path: polygon(0 0,100% 0,100% 100%);
}

/* bottom left */
.corner-bl-mag{
bottom:0;
left:0;
background-position:bottom left;

clip-path: polygon(0 0,0 100%,100% 100%);
}

/* bottom right */
.corner-br-mag{
bottom:0;
right:0;
background-position:bottom right;

clip-path: polygon(100% 0,0 100%,100% 100%);
}

.corner-tr-mag::before,
.corner-bl-mag::before{
transform:rotate(45deg) !important;
}

/* =========================
   ERA NAVIGATION
   ========================= */
   
.history-era-nav {
display:flex;
justify-content:center;
gap:1.5rem;
margin:40px 0;
flex-wrap:wrap;
}

.history-era-nav a{
color:#d4af37;
text-decoration:none;
font-weight:500;
position:relative;
padding:0 14px;
}

.history-era-nav a::before{
content:"";
position:absolute;
left:0;
bottom:-4px;
width:0;
height:2px;
background:#d4af37;
transition:width 0.25s ease;
}

.history-era-nav a::after{
content:"";
position:absolute;
right:-10px;
top:50%;
transform:translateY(-50%);
width:2px;
height:18px;
background:rgba(212,175,55,0.4);
}

.history-era-nav a:last-child::after{
display:none;
}

.history-era-nav a:hover::before{
width:100%;
}

.history-era-nav a:hover {
border-bottom:1px solid #d4af37;
}

/* =========================
   ERA NAVIGATION BACK TO TOP
   ========================= */

#backToTop{
position:fixed;
bottom:30px;
right:30px;

width:42px;
height:42px;

border:1px solid #d4af37;
background:rgba(10,20,40,0.85);

color:#d4af37;
font-size:20px;

cursor:pointer;
display:none;

box-shadow:0 0 10px rgba(212,175,55,0.3);
}

#backToTop:hover{
box-shadow:0 0 15px rgba(180,140,255,0.6);
}

/* =========================
   ERA HEADERS
   ========================= */

.history-era {
    margin-bottom: 80px;
}

.history-era-header {
    text-align: center;
    margin-bottom: 28px;
}

.history-era-header h2 {
    font-size: 1.9rem;
    margin-bottom: 4px;
}

.history-era-years {
    font-size: 0.95rem;
    opacity: 0.7;
}


/* =========================
   TIMELINE CONTAINER
   ========================= */

.history-era-intro{
max-width:900px;
margin:10px auto 30px;
opacity:0.85;
line-height:1.6;
text-align:center;
}

.history-spine {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(8,18,35,0.92),
        rgba(4,10,22,0.92)
    );
    border: 1px solid rgba(70,120,255,0.25);
    padding: 36px 36px 36px 50px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.5),
        0 20px 60px rgba(0,0,0,0.6);
}


/* =========================
   TIMELINE EVENTS
   ========================= */

.history-event {
    position: relative;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.history-event:first-child {
    border-top: none;
}


/* Date row */

.history-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}


/* Event text */

.history-content {
    line-height: 1.65;
    opacity: 0.95;
}


/* =========================
   TIMELINE DOT MARKERS
   ========================= */

.history-event::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #38b6ff;
    box-shadow:
        0 0 6px rgba(56,182,255,0.8),
        0 0 14px rgba(56,182,255,0.6);
}


/* =========================
   EXPANDABLE DETAILS
   ========================= */

/* HISTORY DETAILS TEXT */

	.history-details{
		display:grid;
		grid-template-rows:0fr;
		transition:grid-template-rows .35s ease;
	}
	
	.history-details p {
		line-height: 1.9 !important;
		font-size: 1.05rem !important;
		padding: 20px 25px !important;
		margin: 0 auto !important;
		text-align: left !important;
	}

	.history-details>*{
		overflow:hidden;
		opacity:0;
		color:#cfe6ff;
		font-size:.95rem;
		line-height:1.7;
		background:rgba(10,20,40,.45);
		border-left:3px solid rgba(70,140,255,.45);
		padding:12px 14px;
		transition:opacity .25s ease;
	}

	.history-event.history-event-open .history-details{
		grid-template-rows:1fr;
	}

	.history-event.history-event-open .history-details>*{
		opacity:1;
		margin-top:10px;
	}

	.history-event.history-event-open .history-details {
		grid-template-rows: 1fr;

	}

	.history-event.history-event-open .history-details > * {
		opacity: 1;
		margin-top: 10px;

	}


/* =========================
   TOGGLE BUTTON
   ========================= */

.history-toggle-btn {
    margin-left: 12px;
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid rgba(70,140,255,0.35);
    background: rgba(70,140,255,0.12);
    color: #9fd4ff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-toggle-btn:hover {
    background: rgba(70,140,255,0.28);
    border-color: rgba(120,180,255,0.55);

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .history-page {
        padding: 60px 18px;
    }

    .history-intro h1 {
        font-size: 2rem;
    }

    .history-spine {
        padding: 24px 22px 24px 28px;
    }

}

/* =========================================
   VERSION UPDATES PAGE LAYOUT
========================================= */

.vu-header{
text-align:center;
margin-bottom:40px;
}

.vu-page{
max-width:1200px;
margin:0 auto;
padding:60px 20px 40px 20px;
min-height:100vh;
}

.vu-description{
max-width:900px;
margin:auto;
opacity:.85;
}

.vu-search{
display:flex;
justify-content:center;
margin:60px 0 40px 0;
}

.vu-search form{
display:flex;
align-items:center;
gap:14px;
background:rgba(10,18,32,0.85);
padding:16px 18px;
border:1px solid rgba(255,255,255,0.08);
backdrop-filter:blur(6px);
box-shadow:0 0 20px rgba(0,0,0,0.6);
}

/* INPUT */

.vu-search input{
width:520px;
max-width:70vw;
font-size:18px;
padding:14px 16px;
background:#081426;
border:1px solid rgba(255,255,255,0.12);
color:#fff;
outline:none;
transition:all .25s ease;
}

/* placeholder */

.vu-search input::placeholder{
color:#9aa7bd;
}

/* glow on focus */

.vu-search input:focus{
border-color:#4c7cff;
box-shadow:0 0 12px rgba(76,124,255,0.35);
background:#0a1930;
}

/* SEARCH BUTTON */

.vu-search button{
font-size:16px;
font-weight:600;
padding:14px 28px;
border:none;
cursor:pointer;
color:#fff;

background:linear-gradient(
135deg,
#4c7cff,
#8f6bff
);

transition:all .25s ease;
}

/* hover glow */

.vu-search button:hover{
transform:translateY(-1px);
box-shadow:0 6px 16px rgba(76,124,255,0.35);
}

.vu-match-count{
display:inline-block;
margin-top:6px;
margin-bottom:6px;
padding:4px 10px;
font-size:0.75rem;
font-weight:600;
letter-spacing:0.5px;
text-transform:uppercase;
background:#1b2b3f;
color:#c9a84a;
border:1px solid #2e4159;
}

.vu-highlight{
background:#c9a84a;
color:#000;
padding:2px 4px;
font-weight:600;
}

.vu-no-results{
text-align:center;
padding:80px 40px;
background:#0d1a2b;
border:1px solid #24364f;

max-width:700px;
margin:80px auto;
}

.vu-no-results h2{
color:#c9a84a;
margin-bottom:10px;
font-size:1.5rem;
}

.vu-no-results p{
color:#9aa3b2;
font-size:0.95rem;
}

.vu-search-box{
display:flex;
flex-direction:column;
align-items:center;
}

.vu-search-tip{
font-size:1.0rem !important;
color:#8c97a8;
margin-top:10px;
text-align:center;
max-width:600px;
padding: 5px;
}

.vu-item{
border:1px solid #2b3b55;
margin-bottom:14px;
background:#0e1523;
}

.vu-item:hover{
border-color:#3b6cff;
}

.vu-meta{
padding:10px 15px;
font-size:13px;
opacity:.75;
display:flex;
gap:20px;
position:relative;
align-items:center;
}

.vu-title{
padding:14px 15px;
font-size:18px;
font-weight:600;
display:flex;
justify-content:space-between;
cursor:pointer;
}

.vu-historic{
border-color:#d6b44c;
box-shadow:0 0 8px rgba(214,180,76,.35);
}

.vu-historic .vu-meta::after{
content:"★";
color:#c9a84a;
font-size:1.8rem;
margin-left:auto;
text-shadow:0 0 6px rgba(201,168,74,0.6);
}

.vu-content{
max-height:0;
overflow:hidden;
transition:max-height .45s ease;
border-top:1px solid #1c2d4a;
margin-top:10px;
padding-left:40px;
padding-right:20px;
padding-top:0;
padding-bottom:0;
}

.vu-content.open{
padding-top:30px;
padding-bottom:50px;
}

.vu-content img{
max-width:100%;
height:auto;
}

.vu-pagination{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:6px;
margin-top:40px;
margin-bottom:60px;   /* add this line */
max-width:900px;
margin-left:auto;
margin-right:auto;
}

.vu-pagination a{
padding:8px 12px;
border:1px solid #2b3b55;
color:#fff;
text-decoration:none;
font-size:14px;
background:#0e1523;
}

.vu-pagination a:hover{
background:#16223b;
}

.vu-pagination a.active{
background:linear-gradient(135deg,#3b6cff,#b38cff);
border:none;
}

.vu-dots{
padding:8px 10px;
opacity:.6;
}

.vu-toggle{
padding:6px 14px;
font-size:13px;
border-radius:4px;
border:1px solid #3b6cff;
background:transparent;
color:#7da8ff;
cursor:pointer;
transition:.2s;
}

.vu-toggle:hover{
background:#3b6cff;
color:#fff;
}

.vu-source{
margin-top:30px;
}

.vu-source-btn{
display:inline-block;
padding:12px 22px;
border-radius:8px;
background:linear-gradient(135deg,#4f7cff,#b38cff);
color:#fff;
text-decoration:none;
font-size:14px;
font-weight:500;
transition:all .2s ease;
}

.vu-source-btn:hover{
transform:translateY(-1px);
opacity:.95;
}

/* =========================================
   TODAYS EXHIBIT
========================================= */

.exhibit-display{
    text-align:center;
    padding:30px;
        background:
        radial-gradient(circle at center,
        rgba(20,30,50,0.9),
        rgba(5,10,20,0.95));
    border-radius:10px;
}

.exhibit-frame{
    display:inline-block;
    padding:14px;
    background:linear-gradient(
        145deg,
        #caa84c,
        #e8c76b,
        #b8942d
    );
    border:4px solid #8a6b1f;
    border-radius:6px;
    box-shadow:
        0 0 25px rgba(0,0,0,0.7),
        inset 0 0 8px rgba(255,215,0,0.6);
}

.exhibit-frame img{
    display:block;
    max-width:100%;
    height:auto;
    border:3px solid #3a2c0a;
}

/* =========================================
   ATTRACTIONS PAGE LAYOUT
========================================= */

.attraction-card {
    width: 100%;
	gap: 50px;
    margin-top: 50px;	
}

.attraction-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.attraction-description{
    line-height:1.6;
    margin-top:10px;
    white-space:pre-line;
}

.attraction-left {
    flex: 2;
}

.attraction-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attraction-preview img{
    border:2px solid rgba(212,175,55,0.6);
    box-shadow:0 0 12px rgba(0,0,0,0.5);
}

.attraction-preview-box {
    width: 100%;
    height: 250px;
    background: #0b0b0b;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
	
}

.attraction-preview-box canvas {
    width: 100%;
    height: auto;
}

/* Force 1 per row on attractions page */

.resources-section .attraction-grid {
    grid-template-columns: 1fr;
	gap: 50px;
    margin-top: 30px;
}


/* ===============================
   LARGE TABLETS
=============================== */
@media (max-width: 1200px) {

    .attraction-layout {
        gap: 30px;
    }

}

/* ===============================
   TABLETS
=============================== */
@media (max-width: 992px) {

    .attraction-layout {
        flex-direction: column;
        gap: 25px;
    }

    .attraction-left,
    .attraction-preview {
        flex: none;
        width: 100%;
    }

    .attraction-preview {
        justify-content: center;
    }

    .attraction-preview-box {
        max-width: 420px;
        margin: 0 auto;
    }

}

/* ===============================
   MOBILE
=============================== */

@media (max-width: 768px) {

	.resources-container {
		padding: 0 1.2rem;
	}

    .attraction-layout {
        flex-direction: column;
        gap: 20px;
    }

    .attraction-left {
        width: 100%;
        flex: unset;
    }

    .attraction-preview {
        width: 100%;
        flex: unset;
    }

	.attraction-card {
		padding: 20px;
		margin: 0;
	}

}

@media (max-width: 480px) {


    .attraction-layout {
        flex-direction: column;
        gap: 20px;
    }

    .attraction-left,
    .attraction-preview {
        width: 100%;
        flex: none;
    }

    .attraction-preview-box {
        height: auto;
        padding: 10px;
    }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

	
}

@media (min-width: 993px) {
    .nav-auth-item {
        padding: 8px 20px;
        border: 1px solid var(--color-blue);
        border-radius: 30px;
        color: var(--color-blue) !important;
        transition: all 0.3s ease;
    }
    .nav-auth-item:hover {
        background: var(--color-blue);
        color: #fff !important;
    }
	

    /* THE PUSH: This pushes the Login/Register buttons to the far right */
    .nav-auth-item:first-of-type {
        margin-left: auto; 
    }
	

    /* This forces the Auth Group to stay on the far right */
    .nav-auth-wrapper {
        margin-left: auto;
        display: flex;
        gap: 1rem;
        align-items: center;
    }
}

/* --- MOBILE STYLING (992px) --- */
@media (max-width: 992px) {



    /* Make Auth items look like regular links on Mobile */
	.nav-links .nav-auth-item,
    .nav-auth-wrapper .nav-auth-item {
        border: none;
        padding: 0;
        color: var(--color-text-muted);
        background: none;
    }
	
}

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

    .section {
        padding: 6rem 1.5rem;
    }

	.site-logo {
		height: 120px;
		width: auto;
		display: block;
	}

    :root {
        --nav-height: 70px;
    }

    .site-logo img {
        height: 50px;
    }
	
	.nav-logo img {
		height: 50px;
	}

}
	


@media (max-width: 480px) {
    .section h1 {
        font-size: 2.2rem;
    }

}

/* Responsive scaling */
@media (max-width: 1200px) {
  .site-logo { 
		height: 36px; 
	}	
	
}

@media (max-width: 992px) {
  .site-logo { 
		height: 32px; 
	}
	
}

@media (max-width: 768px) {
  .site-logo { 
		height: 28px; 
	}
	
}

@media (max-width: 576px) {
	.site-logo { 
		height: 24px; 
	}

}

/* =========================================
   NOTIFICATION SYSTEM (ENTROPIA STYLE)
========================================= */

#notificationStack {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

/* MAIN BOX */
.notification {
    min-width: 280px;
    max-width: 340px;

    background: linear-gradient(135deg, #0a1a2f, #091424);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-left: 4px solid #ffd700;

    padding: 14px 16px;

    /* ❌ REMOVE RADIUS */
    border-radius: 0;

    color: #e6ecf5;

    /* 🔥 GLOW EDGE */
    box-shadow:
        0 0 10px rgba(0,0,0,0.7),
        0 0 12px rgba(255, 215, 0, 0.15);

    opacity: 0;
    transform: translateX(60px);
    transition: all 0.35s ease;

    position: relative;

    /* subtle inner line */
    outline: 1px solid rgba(255, 215, 0, 0.05);
}

/* SHOW */
.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* TITLE */
.notification .title {
    font-weight: 600;
    font-size: 15px;
    color: #ffd700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* MESSAGE */
.notification .message {
    font-size: 14px;
    color: #cfd8e3;
    line-height: 1.4;
}

/* CLOSE BUTTON */
.notification .close {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;

    font-size: 14px;
    color: #aaa;

    transition: all 0.2s ease;
}

.notification .close:hover {
    color: #ffd700;
}

/* =========================================
   TYPE VARIANTS
========================================= */

/* APPROVAL (clean gold) */
.notification[data-type="approval"] {
    border-left-color: #ffd700;
}

/* REWARD (stronger glow) */
.notification[data-type="reward"] {
    border-left-color: #ffcc00;

    box-shadow:
        0 0 12px rgba(0,0,0,0.7),
        0 0 18px rgba(255, 215, 0, 0.25);
}

/* TEST / OTHER */
.notification[data-type="test"] {
    border-left-color: #4fc3f7;
}