/* ==========================================================================
   MARS DIGITAL TWIN - STYLESHEET
   Mars Agricultural Research Consortium (MARSAG)
   ========================================================================== */

:root {
    --mars-rust: #c85a32;
    --mars-rust-dark: #8e3215;
    --mars-sand: #cfbb9b;
    --mars-orange: #ff7733;
    --dark-bg: rgba(12, 9, 8, 0.92);
    --card-bg: rgba(20, 15, 13, 0.88);
    --border-color: rgba(200, 90, 50, 0.35);
    --text-primary: #f0eae1;
    --text-secondary: #baa895;
    --accent-glow: 0 0 16px rgba(255, 119, 51, 0.35);

    /* Category Palette */
    --cat-landers: #00e5ff;
    --cat-volcanoes: #ff3d00;
    --cat-canyons: #ffb300;
    --cat-ice: #80deea;
    --cat-craters: #ff7043;
    --cat-basins: #b388ff;
    --cat-curiosities: #00e676;
    --cat-terrae: #ffd54f;
    --cat-quad: #26c6da;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    user-select: none;
}

/* Cesium Fullscreen Viewport */
#cesiumContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.cesium-viewer-bottom {
    display: none !important;
}

/* Header Styling */
.app-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background: linear-gradient(180deg, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.5) 75%, transparent 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 90, 50, 0.25);
}

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

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
    cursor: pointer;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.digital-twin-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--mars-orange);
    border: 1px solid rgba(255, 119, 51, 0.5);
    background: rgba(255, 119, 51, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    text-shadow: 0 0 8px rgba(255, 119, 51, 0.6);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    background: rgba(30, 22, 19, 0.7);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn .icon {
    font-size: 15px;
    color: var(--mars-orange);
}

.nav-btn:hover {
    background: rgba(60, 36, 28, 0.85);
    border-color: var(--mars-orange);
    box-shadow: var(--accent-glow);
    color: #fff;
}

.nav-btn.highlight {
    background: linear-gradient(135deg, var(--mars-rust) 0%, var(--mars-rust-dark) 100%);
    border-color: var(--mars-orange);
    color: #fff;
}

.nav-btn.highlight:hover {
    background: linear-gradient(135deg, var(--mars-orange) 0%, var(--mars-rust) 100%);
    box-shadow: 0 0 20px rgba(255, 119, 51, 0.5);
}

/* Floating Resolution Notification Pill */
.res-notification {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    background: rgba(18, 14, 12, 0.92);
    border: 1px solid var(--mars-orange);
    border-radius: 20px;
    padding: 8px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 119, 51, 0.45);
    backdrop-filter: blur(14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.res-notification.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
}

/* Sleek Floating Search Console (Top Left) */
.search-console-container {
    position: absolute;
    top: 76px;
    left: 24px;
    z-index: 25;
    width: 440px;
    max-width: calc(100vw - 48px);
}

.search-bar-wrap {
    display: flex;
    align-items: center;
    background: rgba(18, 13, 11, 0.90);
    border: 1px solid rgba(200, 90, 50, 0.45);
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), var(--accent-glow);
    backdrop-filter: blur(14px);
    transition: all 0.25s ease;
}

.search-bar-wrap:focus-within {
    border-color: var(--mars-orange);
    box-shadow: 0 8px 35px rgba(255, 119, 51, 0.4);
}

.search-glyph {
    color: var(--mars-orange);
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.9;
}

.search-bar-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.search-bar-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.clear-search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    display: none;
}

.clear-search-btn.visible {
    display: block;
}

.clear-search-btn:hover {
    color: #fff;
}

/* Floating Autocomplete Dropdown */
.search-dropdown-results {
    margin-top: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    scrollbar-width: thin;
}

.search-dropdown-results.hidden {
    display: none;
}

.search-dropdown-results::-webkit-scrollbar {
    width: 5px;
}
.search-dropdown-results::-webkit-scrollbar-thumb {
    background: rgba(200, 90, 50, 0.4);
    border-radius: 3px;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    background: rgba(30, 22, 19, 0.5);
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.search-result-item:hover {
    background: rgba(70, 42, 34, 0.85);
    border-color: var(--mars-orange);
    transform: translateX(3px);
}

.res-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.res-icon {
    font-size: 16px;
}

.res-info {
    display: flex;
    flex-direction: column;
}

.res-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.res-type {
    font-size: 11px;
    color: var(--text-secondary);
}

.res-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Floating HUD Cards */
.hud-card {
    position: absolute;
    z-index: 15;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    padding: 18px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hud-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.96);
}

.hud-right-top {
    top: 76px;
    right: 24px;
}

.hud-right-mid {
    top: 76px;
    right: 24px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(200, 90, 50, 0.25);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.hud-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--mars-sand);
    text-transform: uppercase;
}

.hud-sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.close-hud {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.close-hud:hover {
    color: #fff;
}

/* Continents List */
.continents-scroll-list {
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    scrollbar-width: thin;
}

.continent-item {
    background: rgba(30, 22, 19, 0.65);
    border: 1px solid rgba(200, 90, 50, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.continent-item:hover {
    background: rgba(65, 38, 30, 0.9);
    border-color: var(--mars-orange);
    transform: translateX(3px);
}

.continent-item.terra {
    border-left: 4px solid var(--cat-terrae);
}

.continent-item.planitia {
    border-left: 4px solid var(--cat-landers);
}

.cont-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.cont-type {
    font-size: 11px;
    color: var(--text-secondary);
}

.panel-note {
    font-size: 11px;
    color: var(--mars-orange);
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(200, 90, 50, 0.2);
    line-height: 1.4;
}

/* Layer Switcher */
.layer-section {
    display: flex;
    flex-direction: column;
}

.extra-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--mars-sand);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.layer-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layer-radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(36, 25, 22, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.layer-radio:hover {
    background: rgba(56, 36, 30, 0.6);
}

.layer-radio input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--mars-orange);
}

.layer-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
}

.layer-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.overlay-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toggle-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(30, 22, 19, 0.6);
    border: 1px solid rgba(200, 90, 50, 0.25);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.toggle-control-row:hover {
    background: rgba(56, 36, 30, 0.7);
    border-color: var(--mars-orange);
}

.toggle-control-row input {
    accent-color: var(--mars-orange);
    width: 16px;
    height: 16px;
}

/* Landmark Intel Inspector Card */
.intel-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intel-header-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #fff;
    margin-top: 2px;
}

.intel-type {
    font-size: 12px;
    color: var(--mars-orange);
    font-weight: 600;
}

.intel-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.metric-card {
    background: rgba(14, 10, 9, 0.7);
    border: 1px solid rgba(200, 90, 50, 0.25);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 10px;
    font-family: 'Orbitron', monospace;
    color: var(--mars-sand);
    opacity: 0.8;
}

.metric-val {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.metric-val.highlight {
    color: var(--mars-orange);
}

.intel-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: var(--mars-sand);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.intel-section p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
}

.agri-box {
    background: rgba(30, 20, 16, 0.6);
    border: 1px solid rgba(255, 119, 51, 0.35);
    border-radius: 8px;
    padding: 10px 12px;
}

.agri-row {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 4px;
}

.agri-label {
    font-weight: 700;
    color: var(--mars-sand);
}

.agri-val {
    color: #fff;
}

.intel-actions {
    margin-top: 4px;
}

.btn-global-reset {
    width: 100%;
    background: rgba(36, 25, 22, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-global-reset:hover {
    background: var(--mars-rust);
    border-color: var(--mars-orange);
    color: #fff;
}

/* Category Badges */
.badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.badge.landers { background: rgba(0, 229, 255, 0.15); color: var(--cat-landers); border: 1px solid var(--cat-landers); }
.badge.volcanoes { background: rgba(255, 61, 0, 0.15); color: var(--cat-volcanoes); border: 1px solid var(--cat-volcanoes); }
.badge.canyons { background: rgba(255, 179, 0, 0.15); color: var(--cat-canyons); border: 1px solid var(--cat-canyons); }
.badge.ice { background: rgba(128, 222, 234, 0.15); color: var(--cat-ice); border: 1px solid var(--cat-ice); }
.badge.craters { background: rgba(255, 112, 67, 0.15); color: var(--cat-craters); border: 1px solid var(--cat-craters); }
.badge.basins { background: rgba(179, 136, 255, 0.15); color: var(--cat-basins); border: 1px solid var(--cat-basins); }
.badge.curiosities { background: rgba(0, 230, 118, 0.15); color: var(--cat-curiosities); border: 1px solid var(--cat-curiosities); }
.badge.terrae { background: rgba(255, 213, 79, 0.15); color: var(--cat-terrae); border: 1px solid var(--cat-terrae); }
.badge.quad { background: rgba(38, 198, 218, 0.15); color: var(--cat-quad); border: 1px solid var(--cat-quad); }

/* Telemetry HUD (Bottom Left) */
.hud-telemetry {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    background: rgba(14, 11, 10, 0.85);
    border: 1px solid rgba(200, 90, 50, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    gap: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
}

.telemetry-item .label {
    color: var(--mars-sand);
    font-size: 10px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.telemetry-item .val {
    color: #fff;
    font-weight: 700;
}

/* Sidebar Drawer */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 440px;
    max-width: 90vw;
    height: 100%;
    background: var(--dark-bg);
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(200, 90, 50, 0.2);
}

.sidebar-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--mars-orange);
    letter-spacing: 1px;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.close-sidebar:hover {
    color: #fff;
}

.sidebar-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: var(--mars-sand);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    background: rgba(200, 90, 50, 0.15);
    border: 1px solid rgba(200, 90, 50, 0.4);
    color: var(--mars-sand);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.accent-link {
    color: var(--mars-orange);
    text-decoration: underline;
    font-weight: 600;
}

.accent-link:hover {
    color: #ff9966;
}

.sidebar-actions {
    margin-top: auto;
    padding-top: 16px;
}

.action-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--mars-rust) 0%, var(--mars-rust-dark) 100%);
    border: 1px solid var(--mars-orange);
    border-radius: 6px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--mars-orange) 0%, var(--mars-rust) 100%);
    box-shadow: 0 0 20px rgba(255, 119, 51, 0.5);
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Modals */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-wrapper.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    width: 540px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-wrapper.active .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--mars-sand);
    letter-spacing: 0.5px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-secondary);
    cursor: pointer;
}

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

.modal-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mars-sand);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(10, 8, 7, 0.8);
    border: 1px solid rgba(200, 90, 50, 0.35);
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mars-orange);
    box-shadow: var(--accent-glow);
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(200, 90, 50, 0.3);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, var(--mars-rust) 0%, var(--mars-rust-dark) 100%);
    border: 1px solid var(--mars-orange);
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(200, 90, 50, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--mars-orange) 0%, var(--mars-rust) 100%);
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    background: rgba(60, 180, 100, 0.2);
    border: 2px solid #3cb464;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #3cb464;
}

.success-message h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
}

.success-message p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .app-header {
        padding: 0 12px;
    }
    .brand-logo {
        height: 30px;
    }
    .digital-twin-badge {
        display: none;
    }
    .nav-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    .search-console-container {
        width: calc(100vw - 32px);
        left: 16px;
        top: 72px;
    }
    .hud-right-top,
    .hud-right-mid {
        width: calc(100vw - 32px) !important;
        right: 16px !important;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .hud-telemetry-deck {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }
    .hud-telemetry-row {
        gap: 10px;
        font-size: 10px;
        padding: 8px 12px;
    }
    .res-slider-container {
        padding: 8px 12px 10px;
    }
    .res-slider-label {
        display: none;
    }
}

/* ==========================================================================
   RESOLUTION DROP & DYNAMIC FEATURE REVELATION STYLING
   ========================================================================== */

/* Resolution Level Pill in Header */
.res-level-pill {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.res-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.res-level-pill.tier-0 {
    color: var(--mars-sand);
    border: 1px solid rgba(207, 187, 155, 0.4);
    background: rgba(207, 187, 155, 0.08);
}
.res-level-pill.tier-0 .res-dot {
    background: var(--mars-sand);
    box-shadow: 0 0 6px var(--mars-sand);
}

.res-level-pill.tier-1 {
    color: var(--mars-orange);
    border: 1px solid rgba(255, 119, 51, 0.6);
    background: rgba(255, 119, 51, 0.15);
    box-shadow: 0 0 10px rgba(255, 119, 51, 0.25);
}
.res-level-pill.tier-1 .res-dot {
    background: var(--mars-orange);
    box-shadow: 0 0 8px var(--mars-orange);
}

.res-level-pill.tier-2 {
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.65);
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}
.res-level-pill.tier-2 .res-dot {
    background: #00e5ff;
    box-shadow: 0 0 10px #00e5ff;
    animation: pulseCyan 1.5s infinite;
}

.res-level-pill.tier-3 {
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.7);
    background: rgba(0, 230, 118, 0.2);
    box-shadow: 0 0 18px rgba(0, 230, 118, 0.45);
}
.res-level-pill.tier-3 .res-dot {
    background: #00e676;
    box-shadow: 0 0 12px #00e676;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseCyan {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes pulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

/* ==========================================================================
   BOTTOM TELEMETRY & RESOLUTION SLIDER DECK (UNDER TARGET)
   ========================================================================== */
.hud-telemetry-deck {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    width: 620px;
    max-width: calc(100vw - 48px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    overflow: hidden;
}

.hud-telemetry-row {
    background: rgba(14, 11, 10, 0.92);
    border: 1px solid rgba(200, 90, 50, 0.4);
    border-bottom: 1px solid rgba(200, 90, 50, 0.2);
    backdrop-filter: blur(14px);
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.hud-telemetry-row .telemetry-item {
    display: flex;
    flex-direction: column;
}

.hud-telemetry-row .telemetry-item .label {
    color: var(--mars-sand);
    font-size: 9px;
    opacity: 0.75;
    margin-bottom: 2px;
}

.hud-telemetry-row .telemetry-item .val {
    color: #fff;
    font-weight: 700;
}

.hud-telemetry-row .telemetry-item .val.highlight {
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Resolution Slider Container directly under Target */
.res-slider-container {
    background: rgba(18, 13, 11, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-top: none;
    backdrop-filter: blur(16px);
    padding: 12px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.res-slider-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
}

.res-slider-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.res-slider-icon {
    color: #00e5ff;
    font-size: 13px;
    animation: pulseCyan 1.6s infinite;
}

.res-slider-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--mars-sand);
}

.res-slider-current {
    font-size: 11px;
    font-weight: 700;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.res-slider-range-labels {
    font-size: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.range-arrow {
    color: rgba(200, 90, 50, 0.6);
}

.max-label.highlight {
    color: #00e5ff;
    font-weight: 700;
}

/* Custom Martian Range Slider */
.res-slider-input-wrap {
    width: 100%;
    padding: 4px 0;
}

.mars-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #c85a32 0%, #ff7733 45%, #00e5ff 100%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 229, 255, 0.25);
}

.mars-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00e5ff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px #00e5ff, 0 2px 6px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.mars-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: #ffffff;
    border-color: #00e5ff;
    box-shadow: 0 0 20px #00e5ff;
}

.mars-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00e5ff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px #00e5ff, 0 2px 6px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

/* Slider Ticks */
.res-slider-ticks {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 2px;
}

.slider-tick-item {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    padding: 2px 4px;
    border-radius: 3px;
}

.slider-tick-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.slider-tick-item.active {
    color: #00e5ff;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    background: rgba(0, 229, 255, 0.15);
}

/* Resolution Drop Button in Intel Inspector */
.drop-res-btn {
    background: linear-gradient(135deg, #00838f 0%, #004d40 100%) !important;
    border: 1px solid #00e5ff !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35) !important;
    margin-top: 8px;
    padding: 10px 16px !important;
    font-size: 14px !important;
}

.drop-res-btn:hover {
    background: linear-gradient(135deg, #00acc1 0%, #00695c 100%) !important;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.65) !important;
    transform: translateY(-2px);
}

/* Sub-features list in Intel Panel */
.intel-subfeatures-list {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ==========================================================================
   360° GROUND ROVER PANORAMA VIEWER STYLES
   ========================================================================== */

/* Intel Panel 360 Panorama Trigger Button */
.pano-btn {
    background: linear-gradient(135deg, #e65100 0%, #bf360c 100%) !important;
    border: 1px solid #ff7043 !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 18px rgba(255, 87, 34, 0.45) !important;
    margin-top: 8px;
    padding: 10px 16px !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.22s ease;
}

.pano-btn:hover {
    background: linear-gradient(135deg, #f4511e 0%, #d84315 100%) !important;
    box-shadow: 0 0 26px rgba(255, 112, 67, 0.75) !important;
    transform: translateY(-2px);
}

/* Modal Overlay Wrapper */
.pano-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: rgba(6, 4, 3, 0.94);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.pano-modal-wrapper.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

/* Main Container Window */
.pano-container {
    width: 100%;
    height: 100%;
    max-width: 1750px;
    max-height: 980px;
    background: #0d0a08;
    border: 1px solid rgba(255, 112, 67, 0.35);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(230, 81, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Header */
.pano-header {
    background: linear-gradient(90deg, #18110d 0%, #110b08 100%);
    border-bottom: 1px solid rgba(255, 112, 67, 0.25);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.pano-badge {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #ff9100;
    text-shadow: 0 0 6px rgba(255, 145, 0, 0.6);
    margin-bottom: 2px;
}

.pano-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.pano-meta {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pano-meta span {
    color: #ffd54f;
    font-weight: 600;
}

.pano-btn-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 112, 67, 0.3);
    color: #fff;
    padding: 7px 16px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pano-btn-close:hover {
    background: rgba(244, 67, 54, 0.25);
    border-color: #f44336;
    box-shadow: 0 0 12px rgba(244, 67, 54, 0.5);
}

/* Viewport Area */
.pano-viewport {
    flex: 1;
    position: relative;
    background: #020202;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.pano-viewport.dragging {
    cursor: grabbing;
}

#panoCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Spinner / Loading screen */
.pano-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 5, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.3s ease;
}

.pano-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.pano-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 112, 67, 0.2);
    border-top: 3px solid #ff7043;
    border-radius: 50%;
    animation: panoSpin 0.9s linear infinite;
    box-shadow: 0 0 20px rgba(255, 112, 67, 0.4);
}

@keyframes panoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pano-loading-text {
    margin-top: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    color: #ff9100;
    text-shadow: 0 0 8px rgba(255, 145, 0, 0.5);
}

/* Compass HUD */
.pano-compass-ring {
    position: absolute;
    top: 14px;
    left: 20px;
    background: rgba(12, 9, 8, 0.85);
    border: 1px solid rgba(255, 112, 67, 0.3);
    border-radius: 4px;
    padding: 6px 14px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    color: #ffb74d;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    z-index: 10;
    pointer-events: none;
}

.compass-needle {
    color: #00e5ff;
    font-size: 12px;
}

.pano-fov-text {
    color: var(--text-secondary);
    font-size: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 8px;
}

/* Viewport Controls */
.pano-viewport-controls {
    position: absolute;
    top: 14px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.pano-ctrl-btn {
    background: rgba(18, 13, 10, 0.85);
    border: 1px solid rgba(255, 112, 67, 0.35);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.pano-ctrl-btn:hover {
    background: rgba(255, 112, 67, 0.25);
    border-color: #ff7043;
    color: #00e5ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.pano-ctrl-btn.active {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00e5ff;
    color: #00e5ff;
}

/* Hotspots overlay */
.pano-hotspots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.pano-hotspot-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s ease;
}

.pano-hotspot-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.pano-hotspot-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00e5ff;
    border: 2px solid #fff;
    box-shadow: 0 0 12px #00e5ff, 0 0 20px rgba(0, 229, 255, 0.8);
    animation: panoPulseDot 1.8s infinite;
}

@keyframes panoPulseDot {
    0% { transform: scale(0.9); box-shadow: 0 0 8px #00e5ff; }
    50% { transform: scale(1.2); box-shadow: 0 0 18px #00e5ff, 0 0 26px rgba(0, 229, 255, 0.9); }
    100% { transform: scale(0.9); box-shadow: 0 0 8px #00e5ff; }
}

.pano-hotspot-label {
    margin-top: 5px;
    background: rgba(8, 6, 5, 0.9);
    border: 1px solid #00e5ff;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Hotspot Card Popup */
.pano-hotspot-card {
    position: absolute;
    bottom: 45px;
    left: 20px;
    width: 320px;
    background: rgba(14, 10, 8, 0.95);
    border: 1px solid #00e5ff;
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 229, 255, 0.3);
    z-index: 25;
    animation: panoFadeIn 0.2s ease;
}

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

.hotspot-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.hotspot-badge {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    color: #00e5ff;
    letter-spacing: 1px;
}

.hotspot-card-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.hotspot-card-close:hover {
    color: #fff;
}

.pano-hotspot-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #ffd54f;
    margin: 0 0 6px 0;
}

.pano-hotspot-card p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: #e0d0c8;
    line-height: 1.4;
    margin: 0;
}

/* Viewport Hint */
.pano-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 6, 5, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 4px 16px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

/* Description Bar */
.pano-desc-bar {
    background: #110d0a;
    border-top: 1px solid rgba(255, 112, 67, 0.2);
    padding: 8px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: #ded1cb;
    line-height: 1.4;
}

.pano-desc-bar p {
    margin: 0;
}

/* Bottom Gallery Strip */
.pano-footer {
    background: #090604;
    border-top: 1px solid rgba(255, 112, 67, 0.25);
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
}

.pano-strip-label {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--mars-sand);
    opacity: 0.8;
}

.pano-gallery-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pano-gallery-strip::-webkit-scrollbar {
    height: 4px;
}

.pano-gallery-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 112, 67, 0.4);
    border-radius: 2px;
}

.pano-thumb-card {
    flex: 0 0 190px;
    height: 72px;
    background: rgba(20, 15, 12, 0.85);
    border: 1px solid rgba(200, 90, 50, 0.25);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pano-thumb-card:hover {
    border-color: #ff7043;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.pano-thumb-card.active {
    border: 2px solid #00e5ff;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
    background: rgba(0, 229, 255, 0.1);
}

.pano-thumb-img {
    width: 68px;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.pano-thumb-meta {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.pano-thumb-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pano-thumb-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: #ff9100;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Recon Mode Switcher (360 Pan vs Surface Video) */
.recon-mode-toggle {
    display: flex;
    gap: 4px;
    background: rgba(18, 12, 10, 0.6);
    border: 1px solid rgba(255, 112, 67, 0.35);
    border-radius: 4px;
    padding: 3px;
    margin-right: 12px;
}

.recon-mode-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 14px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.recon-mode-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.recon-mode-btn.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(0, 184, 212, 0.2) 100%);
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: #00e5ff;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Fullscreen Ground Video Player Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
}

.video-container.hidden {
    display: none !important;
}

.ground-video-element {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #020202;
    outline: none;
}

/* Intel Panel Video Trigger Button */
.video-btn {
    background: linear-gradient(135deg, #4a148c 0%, #311b92 100%) !important;
    border: 1px solid #7c4dff !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 18px rgba(124, 77, 255, 0.45) !important;
    margin-top: 8px;
    padding: 10px 16px !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.22s ease;
}

.video-btn:hover {
    background: linear-gradient(135deg, #6200ea 0%, #4a148c 100%) !important;
    box-shadow: 0 0 26px rgba(124, 77, 255, 0.75) !important;
    transform: translateY(-2px);
}



