/* ============================================
   CSS Variables - 淡绿色系系统
   ============================================ */
:root {
    /* Primary Green Palette */
    --primary-50: #ECFDF5;
    --primary-100: #D1FAE5;
    --primary-200: #A7F3D0;
    --primary-300: #6EE7B7;
    --primary-400: #34D399;
    --primary-500: #10B981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065F46;
    --primary-900: #064E3B;

    /* Cyan Secondary */
    --cyan-500: #06B6D4;
    --cyan-600: #0891B2;

    /* Text Colors */
    --text-primary: #064E3B;
    --text-secondary: #065F46;
    --text-muted: #6B7280;
    --text-on-gradient: #FFFFFF;

    /* Background Colors */
    --bg-primary: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);

    /* Border Colors */
    --border-light: rgba(16, 185, 129, 0.15);
    --border-medium: rgba(16, 185, 129, 0.25);
    --border-dark: rgba(16, 185, 129, 0.4);
    --border-focus: rgba(16, 185, 129, 0.6);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-primary-hover: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --gradient-header: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --gradient-danger: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    --gradient-progress: linear-gradient(90deg, #10B981 0%, #06B6D4 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(16, 185, 129, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
    --shadow-glow-intense: 0 0 30px rgba(16, 185, 129, 0.5);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset and Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    background-attachment: fixed;
    min-height: 100vh;
    padding: var(--spacing-lg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-700);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Header
   ============================================ */
header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-on-gradient);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

header h1 {
    background: var(--gradient-header);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: var(--spacing-xs);
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Icon Button */
.icon-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
    font-size: 1.3rem;
    color: var(--primary-600);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-500);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Glassmorphism Cards
   ============================================ */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
}

.card h2 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-700);
    font-size: 1.5rem;
}

/* ============================================
   Form Groups
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ============================================
   API Actions
   ============================================ */
.api-actions {
    margin-bottom: var(--spacing-md);
}

.register-link {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

.register-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
}

.register-link:active {
    transform: translateY(0);
}

/* ============================================
   Input Group
   ============================================ */
.input-group {
    display: flex;
    gap: var(--spacing-sm);
}

.input-group input {
    flex: 1;
}

/* ============================================
   Input Styles
   ============================================ */
input[type="password"],
input[type="text"],
textarea,
select.model-select {
    width: 100%;
    padding: 12px var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 14px;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    font-family: inherit;
}

input[type="password"]:focus,
input[type="text"]:focus,
textarea:focus,
select.model-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), var(--shadow-glow);
    background: white;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Prompt Presets
   ============================================ */
.prompt-presets {
    margin-top: var(--spacing-md);
}

.preset-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.preset-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-600);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    font-weight: 500;
}

.preset-btn:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.preset-btn:active {
    transform: translateY(0);
}

/* ============================================
   File Drop Zone
   ============================================ */
.file-drop-zone {
    position: relative;
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.file-drop-zone:hover {
    border-color: var(--primary-500);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    transform: scale(1.01);
}

.file-drop-zone.dragover {
    border-color: var(--primary-500);
    border-style: solid;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.file-drop-content {
    pointer-events: none;
}

.file-drop-zone svg {
    color: var(--primary-500);
    margin-bottom: var(--spacing-md);
}

.drop-zone-text {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.browse-link {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.browse-link:hover {
    text-decoration: underline;
}

.drop-zone-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.file-drop-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ============================================
   File Info
   ============================================ */
.file-info {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-100);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--primary-800);
    border: 1px solid var(--border-light);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 12px var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover:not(:disabled) {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.6);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-secondary {
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-100);
    border-color: var(--primary-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    width: 100%;
    padding: 16px var(--spacing-xl);
    font-size: 18px;
}

/* Button Group */
.button-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.button-group .btn {
    flex: 1;
    min-width: 150px;
}

/* Danger Button */
.btn-danger {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.6);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Status Text
   ============================================ */
.status-text {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 13px;
    color: var(--text-secondary);
}

.status-text.success {
    color: var(--primary-600);
    font-weight: 600;
}

.status-text.error {
    color: var(--accent-red, #EF4444);
}

/* ============================================
   Progress Bar
   ============================================ */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--primary-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--border-light);
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-progress);
    transition: width var(--transition-base);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#progressText {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

#progressText.success {
    color: var(--primary-700);
    font-weight: 600;
}

/* ============================================
   Results Display
   ============================================ */
.results-container {
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
    padding: var(--spacing-md);
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-medium);
}

.result-page {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.result-page:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(2px);
}

.result-page h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-700);
    font-size: 16px;
    font-weight: 700;
}

.streaming-indicator {
    display: none;
    font-size: 13px;
    color: var(--primary-600);
    font-weight: 500;
    margin-left: var(--spacing-sm);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.result-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 14px;
}

.result-actions {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
}

.loading-text {
    text-align: center;
    color: var(--primary-600);
    font-weight: 600;
    padding: var(--spacing-lg);
}

.error-text {
    text-align: center;
    color: var(--accent-red, #EF4444);
    font-weight: 600;
    padding: var(--spacing-lg);
}

.extracted-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 14px;
    padding: var(--spacing-md);
}


/* ============================================
   Loading Overlay
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-200);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loadingText {
    margin-top: var(--spacing-lg);
    color: var(--primary-800);
    font-size: 18px;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
footer {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-primary);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content p {
    margin: var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--primary-700);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-500);
    text-decoration: underline;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
    background: var(--primary-500);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Changelog Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: var(--spacing-lg);
    animation: fadeIn var(--transition-base) ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: slideUp var(--transition-base) ease;
    border: 1px solid var(--border-light);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 2px solid var(--border-light);
    background: var(--primary-50);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-700);
    font-size: 1.5rem;
}

.close-btn {
    background: white;
    border: 2px solid var(--border-light);
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    border-color: var(--primary-400);
    transform: scale(1.1);
}

.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1;
}

/* Changelog Styles */
.changelog-version {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.changelog-version:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.version-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-600);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-left: 3px solid transparent;
    padding-left: var(--spacing-md);
    margin-left: calc(-1 * var(--spacing-md));
    transition: all var(--transition-base);
}

.changelog-item:hover {
    border-left-color: var(--primary-500);
    background: var(--primary-50);
}

.change-type {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-100);
    color: var(--primary-700);
    white-space: nowrap;
}

.change-description {
    flex: 1;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   Scrollbar Styles
   ============================================ */
.results-container::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.results-container::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: var(--primary-100);
    border-radius: var(--radius-full);
}

.results-container::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-400);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.results-container::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 600px) {
    body {
        padding: var(--spacing-md);
    }

    header h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .card {
        padding: var(--spacing-lg);
    }

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

    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
        min-width: auto;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions button {
        width: 100%;
    }

    .modal-content {
        max-height: 90vh;
        margin: var(--spacing-sm);
    }

    .modal-header {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .modal-body {
        padding: var(--spacing-lg);
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .version-number {
        font-size: 1.2rem;
    }

    .changelog-item {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .change-type {
        align-self: flex-start;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.border-glow:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), var(--shadow-glow);
}

.hidden {
    display: none !important;
}

/* ============================================
   Update Banner
   ============================================ */
.update-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 -4px 12px rgba(16, 185, 129, 0.3);
    z-index: 9999;
    animation: slideUpBanner 0.3s ease;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.update-banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.update-banner-text {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.update-banner .btn-primary {
    background: white;
    color: var(--primary-600);
    border: none;
}

.update-banner .btn-primary:hover {
    background: var(--primary-100);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.update-banner .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.update-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}
