/* Space Calculator Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Intro Page Styles */
.intro-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px 0;
}

.intro-content {
    text-align: center;
    max-width: 600px;
    padding: 15px 10px;
    position: relative;
    z-index: 10;
}

.intro-header {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.intro-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    margin-bottom: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

.intro-subtitle {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.intro-description {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
    display: block;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #00d4ff;
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 0.6rem;
    line-height: 1.2;
}

.intro-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
}

.highlight-icon {
    font-size: 0.9rem;
}

.intro-actions {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.intro-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.intro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.intro-btn:hover::before {
    left: 100%;
}

.intro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #00e5ff, #00aacc);
}

.intro-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-arrow {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.intro-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.intro-note {
    margin-top: 6px;
    color: #a0a0a0;
    font-size: 0.6rem;
    font-style: italic;
}

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

.intro-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.intro-planets {
    position: absolute;
    width: 100%;
    height: 100%;
}

.intro-planets::before {
    content: '🌍';
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.intro-planets::after {
    content: '🪐';
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 1.5rem;
    animation: float 8s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .intro-content {
        max-width: 100%;
        padding: 8px 5px;
    }
    
    .intro-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .intro-subtitle {
        font-size: 0.6rem;
    }
    
    .intro-header {
        margin-bottom: 10px;
    }
    
    .intro-description {
        margin-bottom: 10px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .feature-card {
        padding: 6px 4px;
        border-radius: 6px;
    }
    
    .feature-icon {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .feature-card h3 {
        font-size: 0.6rem;
        margin-bottom: 2px;
    }
    
    .feature-card p {
        font-size: 0.5rem;
        line-height: 1.1;
    }
    
    .intro-highlights {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .highlight-item {
        font-size: 0.55rem;
        gap: 3px;
    }
    
    .highlight-icon {
        font-size: 0.7rem;
    }
    
    .intro-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
        gap: 4px;
        border-radius: 15px;
    }
    
    .btn-arrow {
        font-size: 0.8rem;
    }
    
    .intro-note {
        font-size: 0.5rem;
        margin-top: 4px;
    }
    
    .intro-planets::before {
        font-size: 1rem;
    }
    
    .intro-planets::after {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .intro-content {
        padding: 5px 4px;
    }
    
    .intro-title {
        font-size: 1rem;
    }
    
    .intro-subtitle {
        font-size: 0.55rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .feature-card {
        padding: 4px 3px;
    }
    
    .feature-icon {
        font-size: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 0.55rem;
    }
    
    .feature-card p {
        font-size: 0.45rem;
    }
    
    .intro-highlights {
        flex-direction: column;
        gap: 4px;
    }
    
    .highlight-item {
        font-size: 0.5rem;
    }
    
    .intro-btn {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    
    .intro-note {
        font-size: 0.45rem;
    }
}

/* Main Interface Styles */
.main-interface {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
}

body {
    font-family: 'Space Mono', monospace;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Animated Background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="white"/><circle cx="80" cy="40" r="0.3" fill="white"/><circle cx="40" cy="80" r="0.4" fill="white"/><circle cx="90" cy="90" r="0.2" fill="white"/><circle cx="10" cy="70" r="0.6" fill="white"/><circle cx="60" cy="10" r="0.3" fill="white"/><circle cx="30" cy="50" r="0.4" fill="white"/><circle cx="70" cy="70" r="0.2" fill="white"/></svg>') repeat;
    background-size: 200px 200px;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="white"/><circle cx="80" cy="40" r="0.3" fill="white"/><circle cx="40" cy="80" r="0.4" fill="white"/><circle cx="90" cy="90" r="0.2" fill="white"/><circle cx="10" cy="70" r="0.6" fill="white"/><circle cx="60" cy="10" r="0.3" fill="white"/><circle cx="30" cy="50" r="0.4" fill="white"/><circle cx="70" cy="70" r="0.2" fill="white"/></svg>') repeat;
    background-size: 200px 200px;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 10px;
}

.title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2px;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 0.7rem;
    color: #a0a0a0;
    font-weight: 400;
}

.calculator-container {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.mode-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    gap: 5px;
}

.mode-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mode-btn.active {
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.calculator {
    display: none;
}

.calculator.active {
    display: block;
}

/* Basic Calculator Styles */
.display {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.previous-operand {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-bottom: 2px;
    min-height: 1rem;
}

.current-operand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

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

.btn {
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Mono', monospace;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-number {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-number:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-operator {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #ffffff;
    border: none;
}

.btn-operator:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-equals {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #ffffff;
    border: none;
    grid-row: span 2;
}

.btn-equals:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.btn-clear, .btn-delete {
    background: linear-gradient(45deg, #ffa726, #ff9800);
    color: #ffffff;
    border: none;
}

.btn-clear:hover, .btn-delete:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.4);
}

.btn-zero {
    grid-column: span 2;
}

/* Scientific Calculator Styles */
.scientific-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.btn-memory {
    background: linear-gradient(45deg, #ff9800, #ffb74d);
    color: #ffffff;
    border: none;
    font-size: 0.7rem;
}

.btn-memory:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.4);
}

.btn-function {
    background: linear-gradient(45deg, #9c27b0, #ba68c8);
    color: #ffffff;
    border: none;
    font-size: 0.7rem;
}

.btn-function:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(156, 39, 176, 0.4);
}

.btn-constant {
    background: linear-gradient(45deg, #2196f3, #64b5f6);
    color: #ffffff;
    border: none;
    font-size: 0.7rem;
}

.btn-constant:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.4);
}

/* Enhanced Conversions Calculator Styles */
.conversion-header {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.conversion-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.conversion-subtitle {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin: 0;
    font-style: italic;
}

.conversion-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.conversion-category-selector {
    flex: 1;
    min-width: 200px;
}

.conversion-category-selector label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 600;
}

.conversion-category-selector select {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversion-category-selector select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.conversion-category-selector select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.conversion-category-selector select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 5px;
}

.quick-convert-buttons {
    display: flex;
    gap: 8px;
}

.quick-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.conversion-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.conversion-input-section {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group-enhanced {
    display: flex;
    flex-direction: column;
}

.input-group-enhanced label {
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 600;
}

.input-group-enhanced input {
    padding: 10px 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: text;
    user-select: text;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.input-group-enhanced input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.input-group-enhanced input::placeholder {
    color: #666;
}

.unit-selector-group {
    display: flex;
    flex-direction: column;
}

.unit-selector-group label {
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 600;
}

.unit-selector-group select {
    padding: 10px 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unit-selector-group select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.unit-selector-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.unit-selector-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.conversion-arrow {
    font-size: 1.5rem;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.conversion-output-section {
    flex: 1;
    min-width: 250px;
}

.conversion-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.conversion-results-header h4 {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #00d4ff;
    margin: 0;
}

.result-count {
    font-size: 0.7rem;
    color: #a0a0a0;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.result-display-enhanced {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.placeholder-message {
    text-align: center;
    padding: 40px 20px;
    color: #a0a0a0;
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.placeholder-message p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.result-item-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00d4ff;
    transition: all 0.3s ease;
}

.result-item-enhanced:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.result-item-enhanced:last-child {
    margin-bottom: 0;
}

.result-label-enhanced {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-value-enhanced {
    color: #00d4ff;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.conversion-features {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #a0a0a0;
}

.feature-icon {
    font-size: 0.9rem;
}

/* Orbital Calculator Styles */
.orbital-header {
    text-align: center;
    margin-bottom: 10px;
}

.orbital-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: #00d4ff;
    margin-bottom: 5px;
}

/* Orbital Calculator Styles */
.orbital-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.orbital-inputs {
    flex: 1;
    min-width: 200px;
}

.input-group {
    margin-bottom: 8px;
}

.input-group label {
    display: block;
    margin-bottom: 3px;
    color: #a0a0a0;
    font-size: 0.7rem;
}

.input-group input {
    width: 100%;
    padding: 6px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
}

.input-group input::placeholder {
    color: #a0a0a0;
}

.btn-calculate {
    width: 100%;
    padding: 6px;
    font-size: 0.9rem;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.orbital-results {
    flex: 1;
    min-width: 200px;
}

.footer {
    text-align: center;
    margin-top: 10px;
    color: #a0a0a0;
    font-size: 0.7rem;
}

.heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .calculator-container {
        padding: 20px;
    }
    
    .buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 15px;
        font-size: 1.2rem;
    }
    
    .current-operand {
        font-size: 2rem;
    }
    
    .conversion-input {
        flex-direction: column;
    }
    
    .orbital-container {
        flex-direction: column;
    }
    
    .mode-selector {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .current-operand {
        font-size: 1.5rem;
    }
}
