@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #0B1120;
    color: #1e293b;
    overflow-x: hidden;
    font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #131B2C;
}
.code-font {
    font-family: 'Fira Code', monospace;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #131B2C;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.CodeMirror { 
    height: 100% !important; 
    font-family: 'Fira Code', monospace !important;
    font-size: 13px !important;
    border-radius: 0.5rem;
    border: 1px solid #1e293b !important;
    background-color: #000000 !important;
}
.editor-container { 
    height: 100%; 
    position: relative; 
}
.editor-actions { 
    position: absolute; 
    top: 10px; 
    right: 15px; 
    z-index: 10; 
    display: flex; 
    gap: 8px; 
}
.editor-action-btn { 
    background: #131B2C; 
    border: 1px solid #1e293b; 
    color: #94a3b8; 
    padding: 6px 12px; 
    font-size: 0.75rem; 
    border-radius: 0.375rem;
    cursor: pointer; 
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.editor-action-btn:hover { 
    background: #0B1120; 
    color: #06b6d4;
    border-color: #06b6d4;
}
.output-actions { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
}
.toast { 
    padding: 12px 20px; 
    border-radius: 0.5rem; 
    margin-bottom: 10px; 
    font-weight: 500; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    animation: slideIn 0.3s ease-out; 
    max-width: 320px; 
    font-size: 0.875rem; 
}
.toast-success { 
    background: #131B2C; 
    border-left: 4px solid #10b981; 
    color: #ffffff; 
}
.toast-error { 
    background: #131B2C; 
    border-left: 4px solid #ef4444; 
    color: #ffffff; 
}
@keyframes slideIn { 
    from { transform: translateX(100%); opacity: 0; } 
    to { transform: translateX(0); opacity: 1; } 
}
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #1e293b;
    border-radius: 2px;
}
.corporate-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.corporate-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.corporate-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #f1f5f9;
    transition: .3s;
    border-radius: 24px;
}
.corporate-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
input:checked + .corporate-slider {
    background-color: #06b6d4;
}
input:checked + .corporate-slider:before {
    transform: translateX(20px);
}
.cyber-tab {
    background-color: transparent;
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.cyber-tab:hover {
    color: #f1f5f9;
    background-color: #0B1120;
}
.cyber-tab.active {
    background-color: #131B2C;
    color: #22d3ee;
    border-color: #1e293b;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Tilt Container */
.tilt-container {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.tilt-card {
    transition: transform 0.1s;
    transform-style: preserve-3d;
}
.glow-bg {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, rgba(11,17,32,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
