/* Estilos personalizados - Premium Glassmorphism Redesign */

/* === GLOBAL SETTINGS === */
body {
    background-color: #000;
    /* Overlay background for depth */
    background-image:
        linear-gradient(to bottom, rgba(5, 5, 8, 0.3), rgba(5, 5, 8, 0.9)),
        url('images/mars_futuristic.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

/* Ensure hero gets the image too if needed, or acts as a transparent window */
.hero-bg {
    /* Optional: can be treated as transparent if body has bg, 
       but forcing it ensures visibility if body bg fails or is covered */
    background-image: url('images/mars_futuristic.png');
    background-size: cover;
    background-position: center;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Orbitron', sans-serif !important;
}

#main-header nav a {
    font-family: 'Orbitron', monospace !important;
}

/* === GLASSMORPHISM PANELS === */

/* Replaces old opaque .panel */
.panel {
    background: rgba(20, 20, 25, 0.6);
    /* Translucent dark */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 1rem;
    /* Rounded corners instead of clip-path */
    /* Remove old clip-path to allow rounded corners and border */
    clip-path: none;
}

/* New card style for missions/news */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(234, 102, 18, 0.3);
    /* Brand orange */
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(234, 102, 18, 0.15);
}

/* Specific overrides for existing card classes to match glass style */
.card,
.card-hero {
    /* @apply glass-card; - Unavailable in CDN mode, manual copy: */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Ensure images don't bleed */
}

.card:hover,
.card-hero:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(234, 102, 18, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(234, 102, 18, 0.15);
}

/* === UTILITIES === */

.text-cyan-glow {
    color: #fff;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

.text-brand-glow {
    color: #ea6612;
    text-shadow: 0 0 15px rgba(234, 102, 18, 0.6);
}

/* === TIMELINE === */

.timeline-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    /* Hide scrollbar for cleaner look, show on hover usually but simple none here */
    scrollbar-width: thin;
    scrollbar-color: rgba(234, 102, 18, 0.5) rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
.timeline-container::-webkit-scrollbar {
    height: 6px;
}

.timeline-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background-color: rgba(234, 102, 18, 0.6);
    border-radius: 4px;
}

/* Timeline Cards */
.timeline-event-card-inner {
    background-color: rgba(20, 20, 25, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
}

.timeline-event-card-inner:hover {
    border-color: #ea6612 !important;
    box-shadow: 0 0 15px rgba(234, 102, 18, 0.3);
}

/* === PROSE (CONTENT) === */
/* Updated colors for better contrast on dark glass */

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Orbitron', sans-serif;
}

.prose p,
.prose li {
    color: rgba(255, 255, 255, 0.85);
}

.prose strong {
    color: #ffad6b;
    /* Brand light */
}

.prose a {
    color: #ffad6b;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 173, 107, 0.3);
    transition: all 0.2s;
}

.prose a:hover {
    color: #fff;
    border-bottom-color: #fff;
    text-shadow: 0 0 8px rgba(255, 173, 107, 0.6);
}

.prose blockquote {
    border-left: 3px solid #ea6612;
    background: rgba(234, 102, 18, 0.1);
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

/* === MARSPEDIA & CAROUSEL === */

#marspedia-overlay,
.carousel-btn {
    backdrop-filter: blur(8px);
}

.viewer-card-front,
.viewer-card-back {
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === MISC === */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* === VERTICAL HOLOGRAPHIC TIMELINE === */

.timeline-holo-line {
    position: absolute;
    left: 1.5rem;
    /* Adjust based on container padding */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(234, 102, 18, 0.5), transparent);
    box-shadow: 0 0 10px rgba(234, 102, 18, 0.3);
}

.timeline-holo-node {
    position: absolute;
    left: 1.5rem;
    transform: translateX(-50%);
    width: 1rem;
    height: 1rem;
    background-color: #ea6612;
    border-radius: 50%;
    box-shadow: 0 0 15px #ea6612;
    z-index: 10;
    border: 2px solid white;
}

.timeline-holo-node.secondary {
    background-color: #a9a4d4;
    box-shadow: 0 0 10px #a9a4d4;
    width: 0.75rem;
    height: 0.75rem;
    border: none;
}

.timeline-holo-card {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.timeline-holo-card:hover {
    background: rgba(30, 30, 35, 0.6);
    border-color: rgba(234, 102, 18, 0.3);
    transform: translateX(5px);
}

.timeline-duration-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* === NEWS CONTENT SPACING (Manual Override) === */
/* === NEWS & MISSION CONTENT SPACING (Manual Override) === */
#news-content h1,
#news-content h2,
#news-content h3,
#news-content h4,
#mission-content h1,
#mission-content h2,
#mission-content h3,
#mission-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffad6b;
    /* Brand light */
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

#news-content p,
#mission-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

#news-content ul,
#news-content ol,
#mission-content ul,
#mission-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

#news-content li,
#mission-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    /* Ensure bullets show */
}

#news-content strong,
#mission-content strong {
    color: white;
    font-weight: 700;
}

#news-content a,
#mission-content a {
    color: #ea6612;
    text-decoration: underline;
}

#news-content blockquote,
#mission-content blockquote {
    border-left: 4px solid #ea6612;
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* === MARSPEDIA 3D FLIP CARDS === */

.scene {
    perspective: 1000px;
}

.term-grid-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.term-grid-card.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Glassmorphism Base for Faces */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.card-face--front {
    /* Default glass style */
}

.card-face--front:hover {
    border-color: rgba(234, 102, 18, 0.3);
    box-shadow: 0 0 20px rgba(234, 102, 18, 0.15);
}

.card-face--back {
    transform: rotateY(180deg);
    background: rgba(20, 20, 25, 0.85);
    /* Darker for readability */
    border: 1px solid rgba(234, 102, 18, 0.3);
}

/* Entry Animation */
.card-enter {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === MARSPEDIA EXPAND ANIMATION === */

/* The dark backdrop behind the expanded card */
.marspedia-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 40;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.marspedia-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* The expanding clone card */
.term-card-clone {
    position: fixed;
    z-index: 50;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop effect */
    cursor: zoom-out;
}

.term-card-clone.is-expanded {
    /* Centered positioning is handled by JS, but we add scale/rotate here */
    transform: translate(-50%, -50%) scale(1) rotateY(180deg) !important;
    /* Move to exact center of viewport */
    top: 50% !important;
    left: 50% !important;
    width: 900px !important;
    height: 500px !important;
    margin: 0 !important;
}

@media (max-width: 640px) {
    .term-card-clone.is-expanded {
        width: 90vw !important;
        height: 60vh !important;
    }
}

/* === MISSION CONTROL (SALA DE CONTROL) === */

/* Map & Simulation Styles */
#map-container {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #020617;
    /* slate-950 */
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#zone-map {
    height: 100%;
    width: 100%;
    background: transparent;
}

/* Leaflet Tile Filter for Martian Look - Soft Natural Orange */
.leaflet-tile-pane {
    filter: grayscale(1) contrast(1.1) brightness(0.8) sepia(100%) hue-rotate(350deg) saturate(3.5);
}

/* Simulation Overlays */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 1rem;
    z-index: 400;
    /* Above map tiles */
}

.scanlines {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0));
    background-size: 100% 4px;
}

.vignette {
    box-shadow: inset 0 0 100px rgba(2, 6, 23, 0.9);
}

/* Hide default controls */
.leaflet-control-attribution,
.leaflet-control-zoom {
    display: none;
}

/* Radar Blip Marker */
/* Radar Blip Marker - NASA Style */
.radar-marker {
    background: transparent;
    /* No background on container */
    border-radius: 50%;
    width: 32px;
    /* Coincides with iconSize */
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    animation: none;
}

/* Pulsating Ring */
.radar-marker::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    animation: radarPulse 2.5s infinite ease-out;
    opacity: 0;
}

/* Core Center Dot */
.core-dot {
    width: 12px;
    height: 12px;
    background-color: #38bdf8;
    /* Cyan-400 */
    border: 2px solid rgba(0, 0, 0, 0.8);
    /* Contrast border */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(56, 189, 248, 1);
    z-index: 2;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Custom Popup */
.mission-popup .leaflet-popup-content-wrapper {
    background: rgba(20, 20, 25, 0.9) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    border-radius: 0.5rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.mission-popup .leaflet-popup-content {
    margin: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #38bdf8 !important;
    /* Cyan text */
}

.mission-popup .leaflet-popup-tip-container {
    display: none;
}

/* Mission Select Dropdown */
#mission-select {
    background-color: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

#mission-select option {
    background-color: #0f172a;
    /* Dark slate */
    color: white;
}

#mission-select:focus {
    border-color: #ea6612;
    box-shadow: 0 0 0 2px rgba(234, 102, 18, 0.2);
}

/* === ADMIN TABLES (GLASS) === */
.glass-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: white;
}

.glass-table thead tr {
    background-color: rgba(234, 102, 18, 0.2) !important;
    /* Brand orange tint */
}

.glass-table th {
    padding: 1rem;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    color: #38bdf8;
    /* Cyan-400 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.glass-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.02);
    font-family: 'Exo 2', sans-serif;
    vertical-align: middle;
}

/* Specific Calendar Opacity Overrides - Premium Dark Glass */
#calendar-page-wrapper .glass-panel,
#calendar-page-wrapper .glass-table td,
#calendar-page-wrapper .glass-table,
#calendar-details .glass-panel {
    background-color: rgba(13, 18, 30, 0.94) !important;
    /* Deep dark blue-black, very high opacity */
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Deep shadow for layering */
    border-radius: 1rem !important;
    /* Rounded corners */
}

#calendar-page-wrapper .glass-table tr:hover td {
    background-color: rgba(30, 41, 59, 0.98) !important;
    border-color: rgba(234, 102, 18, 0.3);
}

.glass-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.08);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

/* Pagination Links in Admin */
.admin-pagination a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-pagination a:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.5);
    color: #fff;
}

.admin-pagination a.active {
    background: #00e5ff;
    color: #000;
    font-weight: bold;
}

/* --- Dynamic Map Grid Labels --- */
.map-coord-label {
    position: absolute;
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    padding: 2px 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
    letter-spacing: 0.1em;
    transform: translate(-50%, -50%);
}

.map-coord-label.lat-label.left {
    left: 0;
    transform: translate(0, -50%);
    border-left: none;
    padding-left: 6px;
}

.map-coord-label.lat-label.right {
    right: 0;
    transform: translate(0, -50%);
    border-right: none;
    padding-right: 6px;
    text-align: right;
}

.map-coord-label.lon-label.top {
    top: 0;
    transform: translate(-50%, 0);
    border-top: none;
    padding-top: 4px;
}

.map-coord-label.lon-label.bottom {
    bottom: 0;
    transform: translate(-50%, 0);
    border-bottom: none;
    padding-bottom: 4px;
}

/* Force higher z-index for marker pane if needed, though usually automatic */
.leaflet-marker-pane {
    z-index: 600;
}

.leaflet-popup-pane {
    z-index: 700;
}

/* Ensure overlay labels are below markers but above tiles */
#map-overlay-labels {
    z-index: 500;
}


/* === CALENDAR SEASONS SHADING (RESTORED) === */
.season-spring {
    background: linear-gradient(to bottom right, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.02)) !important;
    border-color: rgba(74, 222, 128, 0.2) !important;
}

.season-spring:hover {
    border-color: rgba(74, 222, 128, 0.4) !important;
    box-shadow: 0 10px 20px -10px rgba(74, 222, 128, 0.2) !important;
}

.season-summer {
    background: linear-gradient(to bottom right, rgba(250, 204, 21, 0.1), rgba(250, 204, 21, 0.02)) !important;
    border-color: rgba(250, 204, 21, 0.2) !important;
}

.season-summer:hover {
    border-color: rgba(250, 204, 21, 0.4) !important;
    box-shadow: 0 10px 20px -10px rgba(250, 204, 21, 0.2) !important;
}

.season-autumn {
    background: linear-gradient(to bottom right, rgba(251, 146, 60, 0.1), rgba(251, 146, 60, 0.02)) !important;
    border-color: rgba(251, 146, 60, 0.2) !important;
}

.season-autumn:hover {
    border-color: rgba(251, 146, 60, 0.4) !important;
    box-shadow: 0 10px 20px -10px rgba(251, 146, 60, 0.2) !important;
}

.season-winter {
    background: linear-gradient(to bottom right, rgba(96, 165, 250, 0.1), rgba(96, 165, 250, 0.02)) !important;
    border-color: rgba(96, 165, 250, 0.2) !important;
}

.season-winter:hover {
    border-color: rgba(96, 165, 250, 0.4) !important;
    box-shadow: 0 10px 20px -10px rgba(96, 165, 250, 0.2) !important;
}

/* Launch Window Shading */
.launch-window {
    background: linear-gradient(to bottom right, rgba(129, 140, 248, 0.25), rgba(129, 140, 248, 0.1)) !important;
    border-color: rgba(129, 140, 248, 0.5) !important;
    box-shadow: inset 0 0 20px rgba(129, 140, 248, 0.2), 0 0 15px rgba(129, 140, 248, 0.1) !important;
}

.launch-window:hover {
    background: linear-gradient(to bottom right, rgba(129, 140, 248, 0.35), rgba(129, 140, 248, 0.15)) !important;
    border-color: rgba(129, 140, 248, 0.7) !important;
    box-shadow: 0 10px 30px -10px rgba(129, 140, 248, 0.4) !important;
}

/* Season Indicator Badge */
.season-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === CALENDAR EVENT DOTS === */
.event-dots-container {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 20;
}

/* Legend Styles */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.legend-item .event-dot {
    position: static;
    cursor: default;
    box-shadow: none !important;
}

.legend-item .event-dot::after {
    display: none !important;
}

.event-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.event-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    opacity: 0.4;
    animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

/* Color Categories */
.dot-mission {
    background-color: #22d3ee;
    box-shadow: 0 0 8px #22d3ee;
}

.dot-mission::after {
    background-color: #22d3ee;
}

.dot-science {
    background-color: #a855f7;
    box-shadow: 0 0 8px #a855f7;
}

.dot-science::after {
    background-color: #a855f7;
}

.dot-astronomy {
    background-color: #facc15;
    box-shadow: 0 0 8px #facc15;
}

.dot-astronomy::after {
    background-color: #facc15;
}

.dot-storm {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.dot-storm::after {
    background-color: #ef4444;
}

.dot-season {
    background-color: #ec4899;
    box-shadow: 0 0 8px #ec4899;
}

.dot-season::after {
    background-color: #ec4899;
}

.dot-other {
    background-color: #f8fafc;
    box-shadow: 0 0 8px #f8fafc;
}

.dot-other::after {
    background-color: #f8fafc;
}

.dot-launch {
    background-color: #818cf8;
    box-shadow: 0 0 8px #818cf8;
}

.dot-launch::after {
    background-color: #818cf8;
}

.dot-coincidence {
    background-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.dot-coincidence::after {
    background-color: #4ade80;
}

.season-badge-spring {
    background: rgba(74, 222, 128, 0.2);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.3);
}

.season-badge-summer {
    background: rgba(250, 204, 21, 0.2);
    color: #fde047;
    border-color: rgba(250, 204, 21, 0.3);
}

.season-badge-autumn {
    background: rgba(251, 146, 60, 0.2);
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.3);
}

.season-badge-winter {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.3);
}


/* Force admin pagination active style override if needed */
.admin-pagination a.active {
    background: #00e5ff !important;
    color: #000 !important;
}
/* Records Page - Unified Premium Dark Glass Cards */
.record-card {
    background-color: rgba(13, 18, 30, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-radius: 1rem;
    transition: all 0.3s ease;
    padding: 1.5rem; /* Ensure padding match */
    position: relative;
    overflow: hidden;
}

.record-card:hover {
    background-color: rgba(30, 41, 59, 0.98) !important;
    border-color: rgba(234, 102, 18, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

/* Remove gradient blobs visual noise inside cards for cleaner look */
.record-card .absolute {
    display: none;
}

/* Exception: Keep the medal/icon relative container visible */
.record-card .relative.z-10 {
    display: block !important;
}


/* --- News Content Table Styles (Dark Glass) --- */
#news-content table {
    width: 100%;
    border-collapse: separate; /* Changed to separate for rounded corners */
    border-spacing: 0;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    background: rgba(13, 18, 30, 0.6); /* Semi-transparent dark base */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem; /* Rounded container */
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#news-content thead tr {
    background-color: rgba(6, 182, 212, 0.15) !important; /* Force override inline styles */
}

#news-content th {
    background-color: transparent; /* Let row color show */
    color: #22d3ee; /* Brand light */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Orbitron', sans-serif;
}

#news-content td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    transition: background-color 0.2s;
}

#news-content tr:last-child td {
    border-bottom: none;
}

#news-content tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}

#news-content strong {
    color: white;
    font-weight: 700;
}

