/* ===== GALERIE AETHER – LE MUSÉE NUMÉRIQUE ===== */
.gallery-aether {
    position: relative;
    padding: 0;
    overflow: hidden;
    color: white;
	
}

/* Remplacer ou ajouter */
.gallery-aether .core-container {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

/* PARTICULES COSMIQUES */
.aether-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cosmic-particle {
    position: absolute;
    border-radius: 50%;

    /* animation flottante */
    animation: floatParticle linear infinite;

    /* couleur cyan néon */
    background: #00F3FF;

    /* glow cyan */
    box-shadow: 0 0 20px #00F3FF;
}

@keyframes floatParticle {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(var(--tx), var(--ty)) rotate(360deg); }
}

/* ===== PORTAL D'ENTRÉE ===== */
/* Conteneur principal du portail */
.aether-portal {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	margin-bottom: 80px;
}

/* Background avec grille et animation */
.portal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* grille cyan très légère */
    background-image: 
        repeating-linear-gradient(90deg, transparent 0%, transparent 49px, rgba(0,243,255,0.03) 49px, rgba(0,243,255,0.03) 50px),
        repeating-linear-gradient(0deg, transparent 0%, transparent 49px, rgba(0,243,255,0.03) 49px, rgba(0,243,255,0.03) 50px);

    animation: portalBreath 8s ease-in-out infinite;
}

/* Animation de respiration du portail */
@keyframes portalBreath {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Contenu du portail */
.portal-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 40px;
}

/* Sigil ou icône centrale */
.portal-sigil {
    margin-bottom: 30px;

    /* rotation continue */
    animation: sigilRotate 20s linear infinite;

    /* couleur et glow cyan */
    color: #00F3FF;
    filter: drop-shadow(0 0 30px rgba(0,243,255,0.5));
}

/* Animation rotation du sigil */
@keyframes sigilRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sigilRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Texte secondaire en majuscules */
.portal-caps {
    font-size: 0.8rem;
    letter-spacing: 18px;

    /* cyan néon */
    color: #00F3FF;

    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
    font-weight: 500;

    /* glow cyan */
    text-shadow: 0 0 30px rgba(0,243,255,0.5);
}

/* Titre principal */
.portal-title {
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 30px;

    /* texte blanc avec glow cyan léger */
    color: white;
    text-shadow: 0 0 50px rgba(0,243,255,0.4);
}

/* Emphasized / gradient text dans le titre */
.portal-title em {
    font-style: italic;

    /* gradient cyan → bleu clair → cyan néon */
    background: linear-gradient(135deg, #e0ffff, #00f3ff, #00c0ff);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;

    /* glow animé */
    animation: titleGlow 4s ease-in-out infinite;
}

/* Animation du glow cyan */
@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0,243,255,0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(0,243,255,0.8)); }
}

/* Divider central */
.portal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 35px;
}

.portal-divider span {
    width: 100px;
    height: 1px;

    /* ligne gradient cyan */
    background: linear-gradient(90deg, transparent, #00F3FF, transparent);
}

.portal-divider i {
    color: #00F3FF;
    font-size: 1.4rem;

    /* animation glow / pulsation cyan */
    animation: starPulse 3s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.portal-desc {
    font-size: 1.2rem;

    /* texte blanc avec légère teinte cyan */
    color: rgba(0, 243, 255, 0.9);

    margin-bottom: 50px;
    letter-spacing: 3px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    text-align: center; /* optionnel pour centrer le texte */
}

.portal-enter {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 50px;

    /* Bordure cyan translucide */
    border: 2px solid rgba(0, 243, 255, 0.6);
    border-radius: 60px;

    color: white;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;

    transition: all 0.6s;

    /* Fond sombre avec blur, style glassmorphism */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);

    position: relative;
    overflow: hidden;
}

.portal-enter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    /* gradient cyan lumineux */
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent
    );

    transition: left 0.8s;
}

.portal-enter:hover::before {
    left: 100%;
}

.portal-enter:hover {
    /* Fond cyan */
    background: #00F3FF;

    /* Bordure cyan */
    border-color: #00F3FF;

    /* Texte sombre pour contraste */
    color: #03050a;

    gap: 30px;

    /* Glow cyan futuriste */
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.5);

    /* Zoom léger au hover */
    transform: scale(1.05);

    transition: all 0.3s ease;
}

.portal-enter i {
    transition: transform 0.4s;
}

.portal-enter:hover i {
    transform: translateY(8px);
}

/* ===== CŒUR DE LA GALERIE ===== */
.gallery-core {
    position: relative;
    padding: 100px 0 120px;
    z-index: 5;
}

.core-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== PANTHÉON NUMÉRIQUE – 6 CHEFS-D'ŒUVRE ===== */
.pantheon {
    margin-bottom: 120px;
}

.pantheon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.pantheon-header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pantheon-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;

    /* couleur cyan néon */
    color: #00F3FF;

    opacity: 0.9;
    letter-spacing: -0.03em;
    line-height: 1;

    /* optionnel : léger glow pour futuriste */
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.pantheon-line {
    width: 80px;
    height: 2px;

    /* gradient cyan → transparent */
    background: linear-gradient(90deg, #00F3FF, transparent);
}

.pantheon-label {
    font-size: 0.85rem;
    letter-spacing: 10px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.pantheon-ornament {
    display: flex;
    gap: 15px;
    color: rgba(255, 87, 34, 0.3);
    font-size: 0.6rem;
}

.pantheon-ornament i {
    animation: ornamentPulse 3s ease-in-out infinite;
}

.pantheon-ornament i:nth-child(2) {
    animation-delay: 0.5s;
}

.pantheon-ornament i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes ornamentPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); color: #ff5722; }
}

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

.pantheon-cell {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);

    /* Background gradient bleu → cyan profond */
    background: linear-gradient(
        135deg,
        rgba(0, 200, 255, 0.96),
        rgba(0, 100, 180, 0.96)
    );

    /* Bordure cyan très légère */
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.pantheon-cell:hover {
    transform: translateY(-12px) scale(1.02);

    /* Glow cyan futuriste */
    box-shadow: 0 40px 70px -15px rgba(0, 243, 255, 0.4);

    /* Bordure cyan translucide */
 	border: 4px solid rgba(0, 243, 255, 0.5);
    /* Background gradient bleu/cyan profond */
    background: linear-gradient(
        135deg,
        rgba(0, 200, 255, 0.96),
        rgba(0, 100, 180, 0.96)
    );

    transition: all 0.3s ease; /* ajout pour un hover fluide */
}

.cell-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cell-media img,
.cell-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
    mix-blend-mode: normal;
}

.pantheon-cell:hover .cell-media img,
.pantheon-cell:hover .cell-media video {
    transform: scale(1.1);
}

.cell-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0,56,168,0.3) 0%,
        rgba(0,32,92,0.2) 40%,
        transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.cell-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;

    /* fond cyan semi-transparent */
    background: rgba(0, 243, 255, 0.95);

    padding: 8px 16px;
    border-radius: 40px;

    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    /* bordure cyan translucide */
    border: 1px solid rgba(0, 243, 255, 0.3);

    /* glow cyan autour */
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);

    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.cell-badge i {
    font-size: 0.8rem;
}

.pantheon-cell:hover .cell-badge {
    transform: scale(1.1);
    background: #00F3FF;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.8);
}

.cell-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 5;
    transform: translateY(0);
    transition: transform 0.5s;
}

.pantheon-cell:hover .cell-content {
    transform: translateY(-5px);
}

.cell-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cell-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1.5px;
}

.cell-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.4s;
    pointer-events: none;
    z-index: 10;
}

.pantheon-cell:hover{
    /* Bordure cyan */
    border-color: #00F3FF; /* cyan néon */

    /* Glow intérieur cyan */
    box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.3);
}

/* ===== SANCTUAIRE CENTRAL – MODAL PLEIN ÉCRAN ===== */
.sanctuary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sanctuary-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Bouton fermeture */
.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,87,34,0.5);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: #ff5722;
    border-color: #ff5722;
    color: white;
    transform: rotate(90deg);
}

/* Zone média principale */
.modal-media-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.modal-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media-wrapper img,
.modal-media-wrapper video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* Métadonnées flottantes */
.modal-metadata {
    position: absolute;
    bottom: 60px;
    left: 60px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(15px);
    padding: 30px 40px;
    border-radius: 16px;
    border-left: 6px solid #ff5722;
    max-width: 600px;
    z-index: 100;
    animation: metadataAppear 0.6s;
}

@keyframes metadataAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-category {
    font-size: 0.7rem;
    letter-spacing: 8px;
    color: #ff5722;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.modal-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.modal-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-details i {
    color: #ff5722;
}

.modal-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 500px;
}

/* Contrôles vidéo dans le modal */
.modal-video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    left: 30px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255,87,34,0.3);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 200;
}

.modal-media-wrapper:hover .modal-video-controls {
    opacity: 1;
    pointer-events: auto;
}

.modal-progress {
    flex: 1;
    position: relative;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
}

.modal-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ff5722;
    border-radius: 6px;
    width: 0%;
    transition: width 0.1s linear;
}

.modal-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ff5722;
    border-radius: 50%;
    box-shadow: 0 0 20px #ff5722;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-progress:hover .modal-progress-handle {
    opacity: 1;
}

.modal-control-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-control-btn:hover {
    background: rgba(255,87,34,0.3);
    color: #ff5722;
    transform: scale(1.1);
}

.modal-time {
    font-size: 0.8rem;
    color: white;
    font-family: monospace;
    letter-spacing: 1px;
}

/* Navigation latérale */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,87,34,0.5);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.modal-nav:hover {
    background: #ff5722;
    border-color: #ff5722;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 30px;
}

.modal-nav.next {
    right: 30px;
}

/* ===== CABINET DES MERVEILLES ===== */
.cabinet {
    margin-top: 100px;
}

.cabinet-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.cabinet-ornament-left,
.cabinet-ornament-right {
    display: flex;
    gap: 12px;
    color: rgba(0,243,255,0.25); /* cyan léger */
    font-size: 0.6rem;
}

.cabinet-ornament-left i,
.cabinet-ornament-right i {
    animation: ornamentSlide 4s ease-in-out infinite;
}

.cabinet-ornament-right i {
    animation-delay: 1s;
}

@keyframes ornamentSlide {
    0%, 100% { transform: translateX(0); opacity: 0.25; }
    50% { transform: translateX(10px); opacity: 1; color: #00F3FF; } /* cyan néon */
}

.cabinet-title {
    font-size: 0.9rem;
    letter-spacing: 16px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.cabinet-piece {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,243,255,0.15); /* cyan léger */
    transition: all 0.5s;
    background: linear-gradient(135deg, rgba(0,56,168,0.96), rgba(0,32,92,0.96));
}

.cabinet-piece:hover {
    border-color: #00F3FF; /* cyan néon */
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 50px -15px rgba(0,243,255,0.4); /* glow cyan */
    background: linear-gradient(135deg, rgba(0,70,190,0.96), rgba(0,100,180,0.96));
}

.piece-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.piece-media img,
.piece-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
    mix-blend-mode: normal;
}

.cabinet-piece:hover .piece-media img,
.cabinet-piece:hover .piece-media video {
    transform: scale(1.15);
}

.piece-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0,56,168,0.3) 0%,
        rgba(0,32,92,0.2) 50%,
        transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.piece-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;

    /* fond sombre futuriste */
    background: #9A32C7;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    z-index: 5;

    border: 1px solid rgba(255,255,255,0.3);

    /* glow subtil pour ressortir sur fond sombre */
    box-shadow: 0 0 10px rgba(6,47,48,0.6), 0 0 20px rgba(0,243,255,0.3);

    /* légère pulsation subtile */
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(6,47,48,0.6), 0 0 20px rgba(0,243,255,0.3); }
    50% { box-shadow: 0 0 15px rgba(6,47,48,0.7), 0 0 25px rgba(0,243,255,0.4); }
}

.piece-number {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #00F3FF; /* cyan néon */
    font-family: 'Space Grotesk', sans-serif;
    z-index: 5;
    text-shadow: 0 2px 10px black;
}

.piece-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 5;
    transform: translateY(0);
    transition: transform 0.4s;
}

.cabinet-piece:hover .piece-caption {
    transform: translateY(-5px);
}

.piece-caption h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.piece-caption p {
    font-size: 0.65rem;
    color: rgba(0,243,255,0.8); /* texte cyan clair */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== FRESQUE INFINIE ===== */
.fresque-infinie {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    background: #03050a;
    border-top: 1px solid rgba(0,243,255,0.2);
    border-bottom: 1px solid rgba(0,243,255,0.2);
}

.fresque-track {
    display: flex;
    gap: 30px;
    animation: fresqueScroll 50s linear infinite;
    width: fit-content;
}

.fresque-track:hover {
    animation-play-state: paused;
}

@keyframes fresqueScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.fresque-item {
    position: relative;
    width: 260px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0,243,255,0.2);
    cursor: pointer;
    transition: all 0.4s;
}

.fresque-item:hover {
    border-color: #00F3FF;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,243,255,0.4);
}

.fresque-item img,
.fresque-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.fresque-item:hover img,
.fresque-item:hover video {
    transform: scale(1.2);
}

.fresque-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: #00F3FF; /* texte cyan */
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
    .portal-title { font-size: 5rem; }
    .pantheon-grid { grid-template-columns: repeat(2, 1fr); }
    .cabinet-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
    .portal-title { font-size: 4rem; }
    .pantheon-grid { grid-template-columns: 1fr; }
    .cabinet-grid { grid-template-columns: repeat(3, 1fr); }
    .core-container { padding: 0 20px; }
    .modal-title { font-size: 2.2rem; }
    .modal-metadata { left: 30px; right: 30px; max-width: none; }
}

@media (max-width: 700px) {
    .portal-title { font-size: 2.8rem; }
    .portal-caps { letter-spacing: 8px; font-size: 0.6rem; }
    .cabinet-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-nav { width: 40px; height: 40px; font-size: 1rem; }
    .modal-close { top: 15px; right: 15px; width: 45px; height: 45px; }
    .modal-metadata { padding: 20px; bottom: 80px; }
}