/* Mirror World - Cyber Gothic Theme */

:root {
    --primary: #2bee2b;
    --primary-dark: #1a9c1a;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text: #e0e0e0;
    --text-muted: #888;
    --border: rgba(255, 255, 255, 0.08);
    --error: #f87171;
    --success: #4ade80;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);
    color: var(--text);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mirror-icon {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

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

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(43, 238, 43, 0.3);
}

.tagline {
    color: var(--text-muted);
    font-size: 16px;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert.error {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--error);
}

.alert.success {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--success);
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

/* Form Styles */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.input-group .hint {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 238, 43, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: rgba(43, 238, 43, 0.15);
    border: 1px solid rgba(43, 238, 43, 0.3);
    border-radius: 8px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(43, 238, 43, 0.25);
    box-shadow: 0 0 20px rgba(43, 238, 43, 0.2);
}

.btn-export {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(43, 238, 43, 0.2), rgba(43, 238, 43, 0.1));
    border: 1px solid rgba(43, 238, 43, 0.4);
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-export:hover {
    background: linear-gradient(135deg, rgba(43, 238, 43, 0.3), rgba(43, 238, 43, 0.2));
    box-shadow: 0 0 30px rgba(43, 238, 43, 0.3);
    transform: translateY(-2px);
}

/* Profile Preview */
.profile-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.profile-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    min-height: 80px;
}

.profile-date {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Export Section */
.export-section {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.export-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.export-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Empty State */
.preview-card.empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.empty-state {
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

.disclaimer {
    font-size: 14px;
    color: var(--text-muted);
    padding: 16px 24px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 8px;
    display: inline-block;
}

.disclaimer strong {
    color: #fbbf24;
}
