/* Retro Spaceship Theme - Comic Book Style */
/* White/grey spaceship aesthetic with red buttons and comic book styling */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700&display=swap');

body.comic-spaceship-theme {
    font-family: 'Barlow Condensed', sans-serif;
}

body.comic-spaceship-theme .logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow: 
        3px 3px 0px #dc2626,
        6px 6px 0px rgba(220, 38, 38, 0.3);
    background: none;
    -webkit-text-fill-color: #1a1a1a;
    filter: none;
}

body.comic-spaceship-theme .logo-icon {
    display: inline-block; /* Show emoji for comic theme */
    filter: drop-shadow(3px 3px 0px #dc2626);
    animation: comicBounce 2s ease-in-out infinite;
}

@keyframes comicBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

body.comic-spaceship-theme .tagline {
    color: #4b5563;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .theme-selector {
    background: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 
        4px 4px 0px #dc2626,
        8px 8px 0px rgba(220, 38, 38, 0.2);
}

body.comic-spaceship-theme .theme-label {
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.comic-spaceship-theme .theme-label i {
    color: #dc2626;
}

body.comic-spaceship-theme .theme-select {
    background: #ffffff;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .theme-select:focus {
    outline: 3px solid #dc2626;
    outline-offset: 2px;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(220, 38, 38, 0.2);
}

body.comic-spaceship-theme .recommendation-banner {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 
        4px 4px 0px #dc2626,
        0 0 0 2px #ffffff;
    position: relative;
    overflow: visible;
}

body.comic-spaceship-theme .recommendation-banner::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(220, 38, 38, 0.1) 10px,
        rgba(220, 38, 38, 0.1) 20px
    );
    border-radius: 8px;
    z-index: -1;
}

body.comic-spaceship-theme .recommendation-banner i {
    color: #dc2626;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .recommendation-banner strong {
    color: #dc2626;
    font-weight: 800;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .recommendation-banner span {
    color: #374151;
    font-weight: 500;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

body.comic-spaceship-theme .calculator-card,
body.comic-spaceship-theme .results-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 4px solid #1a1a1a;
    border-radius: 12px;
    box-shadow: 
        6px 6px 0px #dc2626,
        12px 12px 0px rgba(220, 38, 38, 0.2),
        inset 0 0 0 2px #ffffff;
    position: relative;
    overflow: visible;
}

body.comic-spaceship-theme .calculator-card::after,
body.comic-spaceship-theme .results-card::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(220, 38, 38, 0.05) 2px,
        rgba(220, 38, 38, 0.05) 4px
    );
    border-radius: 12px;
    z-index: -1;
}

body.comic-spaceship-theme .calculator-card:hover,
body.comic-spaceship-theme .results-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        8px 8px 0px #dc2626,
        16px 16px 0px rgba(220, 38, 38, 0.2),
        inset 0 0 0 2px #ffffff;
}

body.comic-spaceship-theme .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow: 
        2px 2px 0px #dc2626,
        4px 4px 0px rgba(220, 38, 38, 0.3);
    border-bottom: 4px solid #dc2626;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
}

body.comic-spaceship-theme .section-title::after {
    content: '◊';
    position: absolute;
    right: 0;
    color: #dc2626;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    animation: comicBlink 1.5s ease-in-out infinite;
}

@keyframes comicBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

body.comic-spaceship-theme .input-group label {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

body.comic-spaceship-theme .input-group label i {
    color: #dc2626;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .input-field,
body.comic-spaceship-theme select.input-field {
    background: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 6px;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        2px 2px 0px #dc2626;
}

body.comic-spaceship-theme .input-field:focus,
body.comic-spaceship-theme select.input-field:focus {
    border-color: #dc2626;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        3px 3px 0px #dc2626,
        0 0 0 3px rgba(220, 38, 38, 0.2);
    outline: none;
}

body.comic-spaceship-theme .input-field::placeholder {
    color: #9ca3af;
}

body.comic-spaceship-theme .trip-btn {
    background: #f3f4f6;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        2px 2px 0px #6b7280;
    transition: all 0.2s ease;
}

body.comic-spaceship-theme .trip-btn:hover {
    background: #e5e7eb;
    transform: translate(-1px, -1px);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        3px 3px 0px #6b7280;
}

body.comic-spaceship-theme .trip-btn.active {
    background: #dc2626;
    border-color: #1a1a1a;
    color: #ffffff;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        3px 3px 0px #991b1b,
        6px 6px 0px rgba(153, 27, 27, 0.3);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

body.comic-spaceship-theme .slider {
    background: #e5e7eb;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .slider::-webkit-slider-thumb {
    background: #dc2626;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    box-shadow: 
        2px 2px 0px #991b1b,
        4px 4px 0px rgba(153, 27, 27, 0.3);
}

body.comic-spaceship-theme .slider::-moz-range-thumb {
    background: #dc2626;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    box-shadow: 
        2px 2px 0px #991b1b,
        4px 4px 0px rgba(153, 27, 27, 0.3);
}

body.comic-spaceship-theme .slider-labels {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

body.comic-spaceship-theme .recommended-g {
    color: #dc2626;
    font-weight: 800;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .zone-comfortable {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 2px 2px 0px #047857;
    color: #ffffff;
    border-right: 2px solid #047857;
}

body.comic-spaceship-theme .zone-comfortable span {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

body.comic-spaceship-theme .zone-tolerable {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 2px 2px 0px #b45309;
    color: #1a1a1a;
    border-right: 2px solid #b45309;
}

body.comic-spaceship-theme .zone-tolerable span {
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

body.comic-spaceship-theme .zone-extreme {
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 2px 2px 0px #991b1b;
    color: #ffffff;
    border-right: 2px solid #991b1b;
}

body.comic-spaceship-theme .zone-extreme span {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

body.comic-spaceship-theme .zone.active {
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    animation: comicPulse 1.5s ease-in-out infinite;
}

@keyframes comicPulse {
    0%, 100% { 
        transform: scaleY(1);
    }
    50% { 
        transform: scaleY(1.1);
    }
}

body.comic-spaceship-theme .calculate-btn {
    background: #dc2626;
    border: 4px solid #1a1a1a;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        4px 4px 0px #991b1b,
        8px 8px 0px rgba(153, 27, 27, 0.3);
    position: relative;
    overflow: visible;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

body.comic-spaceship-theme .calculate-btn:hover {
    background: #b91c1c;
    transform: translate(-2px, -2px);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        6px 6px 0px #991b1b,
        12px 12px 0px rgba(153, 27, 27, 0.3);
}

body.comic-spaceship-theme .calculate-btn:active {
    transform: translate(0, 0);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        2px 2px 0px #991b1b;
}

body.comic-spaceship-theme .result-box {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 3px solid #1a1a1a;
    border-radius: 10px;
    box-shadow: 
        3px 3px 0px #dc2626,
        6px 6px 0px rgba(220, 38, 38, 0.2),
        inset 0 0 0 2px #ffffff;
    position: relative;
    overflow: visible;
}

body.comic-spaceship-theme .result-box::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 3px;
    background: #dc2626;
    border-radius: 10px 10px 0 0;
}

body.comic-spaceship-theme .result-box:hover {
    transform: translate(-1px, -1px);
    box-shadow: 
        4px 4px 0px #dc2626,
        8px 8px 0px rgba(220, 38, 38, 0.2),
        inset 0 0 0 2px #ffffff;
}

body.comic-spaceship-theme .result-primary {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

body.comic-spaceship-theme .result-secondary {
    border-color: #1a1a1a;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

body.comic-spaceship-theme .result-icon {
    color: #dc2626;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.1));
}

body.comic-spaceship-theme .result-secondary .result-icon {
    color: #4b5563;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

body.comic-spaceship-theme .result-label {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

body.comic-spaceship-theme .result-value {
    font-family: 'Barlow Condensed', sans-serif;
    color: #1a1a1a;
    text-shadow: 
        2px 2px 0px #dc2626,
        4px 4px 0px rgba(220, 38, 38, 0.3);
    font-weight: 900;
    letter-spacing: 2px;
}

body.comic-spaceship-theme .result-subtitle {
    color: #6b7280;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-style: italic;
}

body.comic-spaceship-theme .comparison-title {
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 0px #dc2626,
        4px 4px 0px rgba(220, 38, 38, 0.3);
}

body.comic-spaceship-theme .comparison-bar {
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        2px 2px 0px #dc2626;
}

body.comic-spaceship-theme .traveler-segment {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.comic-spaceship-theme .earth-segment {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.comic-spaceship-theme .segment-label {
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 0, 0, 0.3);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
}

body.comic-spaceship-theme .comparison-note {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    font-style: italic;
}

body.comic-spaceship-theme #gForceValue {
    font-family: 'Barlow Condensed', sans-serif;
    color: #dc2626;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    font-weight: 900;
    letter-spacing: 1px;
}

body.comic-spaceship-theme #footer {
    border-top: 4px solid #dc2626;
    box-shadow: 0 -4px 0 rgba(220, 38, 38, 0.2);
}

body.comic-spaceship-theme .footer-content {
    color: #374151;
}

body.comic-spaceship-theme .footer-links a {
    color: #dc2626;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

body.comic-spaceship-theme .footer-links a:hover {
    color: #b91c1c;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .footer-copyright {
    color: #6b7280;
}

body.comic-spaceship-theme .journey-track {
    border: 3px solid #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    box-shadow: 
        4px 4px 0px #dc2626,
        0 0 0 2px #ffffff;
}

body.comic-spaceship-theme .journey-path {
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 2px 2px 0px #991b1b;
}

body.comic-spaceship-theme .journey-progress {
    background: #b91c1c;
    box-shadow: 2px 2px 0px #991b1b;
}

body.comic-spaceship-theme .journey-label {
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
}

body.comic-spaceship-theme .stat-label {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
}

body.comic-spaceship-theme .stat-value {
    color: #dc2626;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
}

body.comic-spaceship-theme .formula-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 3px solid #1a1a1a;
    box-shadow: 
        3px 3px 0px #dc2626,
        6px 6px 0px rgba(220, 38, 38, 0.2);
}

body.comic-spaceship-theme .formula-title {
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    text-shadow: 2px 2px 0px #dc2626;
}

body.comic-spaceship-theme .formula-equation {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-left-color: #dc2626;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', monospace;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}

body.comic-spaceship-theme .formula-explanation {
    color: #374151;
    font-family: 'Barlow Condensed', sans-serif;
}

body.comic-spaceship-theme .formula-constants {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left-color: #dc2626;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
}
