

/* Theme Styles */
.theme-ocean { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.theme-sunset { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.theme-forest { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); color: white; }
.theme-midnight { background: linear-gradient(135deg, #2c3e50 0%, #000000 100%); color: white; }
.theme-minimal { background: #ffffff; color: #1f2937; border: 2px solid #e5e7eb; }

.theme-love {
    background-image: url('public/love.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-love #previewContent {
    background: rgba(252, 231, 243, 0.9);
    padding: 20px;
    border-radius: 15px;
    color: #ec4899;
    text-shadow: none;
}

.theme-snow {
    background-image: url('public/snowfall.gif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-snow #previewContent {
    background: rgba(219, 234, 254, 0.9);
    padding: 20px;
    border-radius: 15px;
    color: #1e40af;
    text-shadow: none;
}

/* Code Editor Styles */
.code-editor {
    border-radius: 12px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* VS Code Dark Theme */
.code-editor {
    background: #2d3748;
}

.code-editor.github-theme {
    background: #0d1117;
}

.code-editor.monokai-theme {
    background: #272822;
}

.code-editor.dracula-theme {
    background: #282a36;
}

.code-header {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-editor .code-header {
    background: #1a202c;
}

.code-editor.github-theme .code-header {
    background: #010409;
}

.code-editor.monokai-theme .code-header {
    background: #1e1f1c;
}

.code-editor.dracula-theme .code-header {
    background: #21222c;
}

.code-dots {
    display: flex;
    gap: 4px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27ca3f; }

.code-lang {
    color: #a0aec0;
    font-size: 11px;
    font-weight: 500;
}

.code-content {
    padding: 15px;
    font-size: 13px;
    line-height: 1.4;
    overflow-x: auto;
    text-align: left;
}

.code-content pre {
    margin: 0;
    padding: 0;
    white-space: pre;
    text-align: left;
}

.code-content code {
    font-family: 'JetBrains Mono', monospace;
    white-space: pre;
    text-align: left;
    display: block;
}

.code-editor .code-content {
    background: #2d3748;
    color: #e2e8f0;
}

.code-editor.github-theme .code-content {
    background: #0d1117;
    color: #c9d1d9;
}

.code-editor.monokai-theme .code-content {
    background: #272822;
    color: #f8f8f2;
}

.code-editor.dracula-theme .code-content {
    background: #282a36;
    color: #f8f8f2;
}

/* Preview Card */
.preview-card {
    min-height: 300px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.preview-card .code-editor {
    text-align: left;
}

/* Typography */
.poem-elegant { 
    font-family: 'Playfair Display', serif; 
    font-style: italic; 
    line-height: 1.6; 
    font-weight: bold; 
}

.quote-modern { 
    font-family: 'Inter', sans-serif; 
    font-weight: 500; 
    font-size: 1.3rem; 
    line-height: 1.5; 
}

.code-mono { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.8rem; 
    line-height: 1.4; 
}

/* Navigation */
.nav-blur { 
    backdrop-filter: blur(12px); 
    background: rgba(255, 255, 255, 0.8); 
}

.dark .nav-blur { 
    background: rgba(15, 23, 42, 0.8); 
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .preview-card {
        min-height: 250px;
        padding: 20px;
        margin: 0 10px;
    }
    
    .theme-love #previewContent,
    .theme-snow #previewContent {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .code-header {
        padding: 6px 10px;
    }
    
    .code-content {
        padding: 12px;
        font-size: 12px;
    }
    
    .code-dot {
        width: 8px;
        height: 8px;
    }
    
    .code-lang {
        font-size: 10px;
    }
    
    .poem-elegant {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .quote-modern {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .code-mono {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .preview-card {
        min-height: 200px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .theme-love #previewContent,
    .theme-snow #previewContent {
        padding: 12px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .code-content {
        padding: 10px;
        font-size: 11px;
    }
    
    .poem-elegant {
        font-size: 0.9rem;
    }
    
    .quote-modern {
        font-size: 1rem;
    }
    
    .code-mono {
        font-size: 0.7rem;
    }
}

