/**
 * Mobile Optimization Styles - Sprint 9
 * Full mobile optimization styles
 */

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.8);

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    background: var(--color-bg-card, var(--color-bg-card));
    box-shadow: 4px 0 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;

.mobile-menu.open .mobile-menu-content {
    transform: translateX(0);

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border, #444);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));

.mobile-menu-header h3 {
    margin: 0;
    color: var(--color-text-primary, var(--color-text-primary));
    font-family: var(--font-heading, 'Orbitron', sans-serif);

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--color-text-primary, var(--color-text-primary));
    font-size: 2rem;
    cursor: pointer;
    width: calc(var(--spacing-2xl) * 1.375);
    height: calc(var(--spacing-2xl) * 1.375);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: var(--color-bg-hover, #333);

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;

.mobile-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-text-primary, var(--color-text-primary));
    text-decoration: none;
    border-bottom: 1px solid var(--color-border, #444);
    transition: all 0.2s;
    min-height: calc(var(--spacing-2xl) * 1.375);
    display: flex;
    align-items: center;

.mobile-menu-item:hover,
.mobile-menu-item:focus {
    background: var(--color-bg-hover, #444);
    color: var(--color-info, #4a90e2);

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */

.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-card, var(--color-bg-card));
    border-top: 1px solid var(--color-border, #444);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);

.bottom-navigation .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: var(--color-text-secondary, var(--color-text-secondary));
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    min-width: calc(var(--spacing-3xl) * 1.25);
    min-height: calc(var(--spacing-3xl) * 1.25);
    justify-content: center;

.bottom-navigation .nav-item:hover,
.bottom-navigation .nav-item:focus,
.bottom-navigation .nav-item.active {
    color: var(--color-info, #4a90e2);

.nav-icon {
    font-size: 1.5rem;

.nav-label {
    font-size: 0.75rem;
    font-weight: 600;

/* ============================================
   TOUCH OPTIMIZATIONS
   ============================================ */

.touch-optimized {
    min-width: calc(var(--spacing-2xl) * 1.375) !important;
    min-height: calc(var(--spacing-2xl) * 1.375) !important;

.touch-active {
    background: var(--color-bg-hover, #444) !important;
    transform: scale(0.95);
    transition: transform 0.1s ease;

/* ============================================
   DEVICE CLASSES
   ============================================ */

.device-mobile {
    /* Mobile-specific styles */

.device-tablet {
    /* Tablet-specific styles */

.touch-enabled {
    /* Touch-specific styles */

/* ============================================
   MOBILE REDUCED ANIMATIONS
   ============================================ */

.mobile-reduced-animations * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;

.mobile-reduced-animations .loading-spinner {
    animation-duration: 0.5s !important;

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

@media (max-width: 768px) {
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;

    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;

    /* Adjust spacing */
    body {
        padding-bottom: 72px; /* Space for bottom navigation */

    /* Optimize modals for mobile */
    .modal-content {
        max-width: 95%;
        max-height: 90vh;

    /* Optimize panels for mobile */
    .information-panel {
        width: 100%;
        max-width: 100%;

@media (min-width: 768px) {
    /* Hide mobile-only elements on desktop */
    .mobile-only {
        display: none !important;

    /* Hide bottom navigation on desktop */
    .bottom-navigation {
        display: none !important;

/* ============================================
   PULL TO REFRESH
   ============================================ */

.pull-to-refresh-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-card, var(--color-bg-card));
    border: 1px solid var(--color-border, #444);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;

.pull-to-refresh-indicator.active {
    opacity: 1;

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

@media (max-width: 768px) {
    /* Reduce shadows on mobile */
    * {
        box-shadow: none !important;

    /* Simplify gradients */
    * {
        background-image: none !important;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}