/* ==========================================================================
   TSCOBPD Theme System - Light & Dark Mode Support
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
    /* Color Palette - Dark Mode (Default) */
    --bg-primary: #050a14;
    --bg-secondary: #0B1C37;
    --bg-tertiary: #0a1628;
    --bg-card: linear-gradient(135deg, rgba(11, 28, 55, 0.8), rgba(5, 10, 20, 0.9));
    --bg-card-hover: linear-gradient(135deg, rgba(11, 28, 55, 0.9), rgba(5, 10, 20, 0.95));

    /* Accent Colors */
    --gold: #CC9933;
    --gold-warm: #d4a84b;
    --gold-light: rgba(204, 153, 51, 0.15);
    --gold-border: rgba(204, 153, 51, 0.2);
    --gold-glow: rgba(204, 153, 51, 0.3);

    /* Text Colors */
    --text-primary: #f5f0e8;
    --text-secondary: rgba(245, 240, 232, 0.6);
    --text-tertiary: rgba(245, 240, 232, 0.3);
    --text-inverse: #050a14;

    /* Border Colors */
    --border-primary: rgba(204, 153, 51, 0.15);
    --border-secondary: rgba(245, 240, 232, 0.08);
    --border-tertiary: rgba(245, 240, 232, 0.06);

    /* Status Colors */
    --success-bg: rgba(16, 185, 129, 0.2);
    --success-text: #10b981;
    --warning-bg: rgba(245, 158, 11, 0.2);
    --warning-text: #f59e0b;
    --error-bg: rgba(239, 68, 68, 0.2);
    --error-text: #ef4444;
    --info-bg: rgba(59, 130, 246, 0.2);
    --info-text: #3b82f6;
    --neutral-bg: rgba(107, 114, 128, 0.2);
    --neutral-text: #9ca3af;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 8px 24px rgba(204, 153, 51, 0.3);

    /* Input Colors */
    --input-bg: rgba(245, 240, 232, 0.05);
    --input-border: rgba(245, 240, 232, 0.12);
    --input-focus-bg: rgba(204, 153, 51, 0.08);
    --input-placeholder: rgba(245, 240, 232, 0.3);

    /* Overlay */
    --overlay-light: rgba(245, 240, 232, 0.03);
    --overlay-gold: rgba(204, 153, 51, 0.05);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   Light Mode Variables
   ========================================================================== */

[data-theme="light"] {
    /* Backgrounds */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    --bg-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 1));

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-primary: rgba(204, 153, 51, 0.25);
    --border-secondary: #e2e8f0;
    --border-tertiary: #f1f5f9;

    /* Accent Colors (Gold stays consistent) */
    --gold: #b8860b;
    --gold-warm: #d4a84b;
    --gold-light: rgba(184, 134, 11, 0.1);
    --gold-border: rgba(184, 134, 11, 0.3);
    --gold-glow: rgba(184, 134, 11, 0.2);

    /* Status Colors - brighter for light mode */
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-text: #059669;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --warning-text: #d97706;
    --error-bg: rgba(239, 68, 68, 0.1);
    --error-text: #dc2626;
    --info-bg: rgba(59, 130, 246, 0.1);
    --info-text: #2563eb;
    --neutral-bg: rgba(107, 114, 128, 0.1);
    --neutral-text: #6b7280;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 16px rgba(184, 134, 11, 0.2);

    /* Input Colors */
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus-bg: #fffbeb;
    --input-placeholder: #94a3b8;

    /* Overlay */
    --overlay-light: rgba(0, 0, 0, 0.02);
    --overlay-gold: rgba(184, 134, 11, 0.05);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.themed-page {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.theme-heading {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.theme-heading-gold {
    color: var(--gold);
}

.theme-text {
    color: var(--text-primary);
}

.theme-text-muted {
    color: var(--text-secondary);
}

.theme-text-faint {
    color: var(--text-tertiary);
}

.theme-text-gold {
    color: var(--gold);
}

/* Section Labels */
.theme-section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.theme-section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

/* Hero Label with gradient lines */
.theme-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.theme-hero-label::before,
.theme-hero-label::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.theme-hero-label::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.theme-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.theme-page-wrapper {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: var(--space-3xl);
}

[data-theme="dark"] .theme-page-wrapper {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
}

/* Hero Section */
.theme-hero {
    padding: 80px var(--space-lg) 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.theme-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--gold-light) 0%, transparent 60%);
    pointer-events: none;
}

.theme-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.theme-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.theme-card:hover {
    border-color: var(--gold-border);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .theme-card {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.theme-card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-card-header h2,
.theme-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-card-header i {
    color: var(--gold);
    font-size: 1rem;
}

.theme-card-body {
    padding: var(--space-lg);
}

/* Stat Card */
.theme-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

[data-theme="light"] .theme-stat-card {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.theme-stat-card h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.theme-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-tertiary);
}

.theme-stat-row:last-child {
    border-bottom: none;
}

.theme-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.theme-stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.theme-btn-gold {
    background: var(--gold);
    color: var(--text-inverse);
}

.theme-btn-gold:hover {
    background: var(--gold-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

[data-theme="light"] .theme-btn-gold {
    color: #ffffff;
}

.theme-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-tertiary);
}

.theme-btn-outline:hover {
    background: var(--overlay-light);
    border-color: var(--text-secondary);
}

.theme-btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.theme-btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Quick Action Links */
.theme-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--overlay-light);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.theme-quick-action:hover {
    background: var(--overlay-gold);
    border-color: var(--gold-border);
    transform: translateX(4px);
}

.theme-quick-action i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

/* ==========================================================================
   Badges
   ========================================================================== */

.theme-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.theme-badge-success {
    background: var(--success-bg);
    color: var(--success-text);
}

.theme-badge-warning {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.theme-badge-error {
    background: var(--error-bg);
    color: var(--error-text);
}

.theme-badge-info {
    background: var(--info-bg);
    color: var(--info-text);
}

.theme-badge-neutral {
    background: var(--neutral-bg);
    color: var(--neutral-text);
}

.theme-badge-gold {
    background: var(--gold-light);
    color: var(--gold);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.theme-form-group {
    margin-bottom: var(--space-lg);
}

.theme-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theme-form-label.required::after {
    content: " *";
    color: var(--warning-text);
}

.theme-form-input,
.theme-form-select,
.theme-form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.theme-form-input:focus,
.theme-form-select:focus,
.theme-form-textarea:focus {
    outline: none;
    background: var(--input-focus-bg);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.theme-form-input::placeholder,
.theme-form-textarea::placeholder {
    color: var(--input-placeholder);
}

.theme-form-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.theme-help-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

/* ==========================================================================
   Date Box
   ========================================================================== */

.theme-date-box {
    background: var(--gold-light);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    text-align: center;
    min-width: 60px;
}

.theme-date-box .day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.theme-date-box .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 2px;
}

.theme-date-box-gold {
    background: var(--gold);
    color: var(--text-inverse);
}

[data-theme="light"] .theme-date-box-gold {
    color: #ffffff;
}

.theme-date-box-gold .day,
.theme-date-box-gold .month {
    color: inherit;
}

/* ==========================================================================
   List Items
   ========================================================================== */

.theme-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-tertiary);
    align-items: center;
    transition: background var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.theme-list-item:hover {
    background: var(--overlay-gold);
}

.theme-list-item:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.theme-alert {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.theme-alert-warning {
    background: var(--warning-bg);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.theme-alert-error {
    background: var(--error-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.theme-alert-success {
    background: var(--success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.theme-alert-info {
    background: var(--info-bg);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.theme-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-alert-warning .theme-alert-icon {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-text);
}

.theme-alert-error .theme-alert-icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error-text);
}

.theme-alert-success .theme-alert-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-text);
}

.theme-alert-info .theme-alert-icon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info-text);
}

/* ==========================================================================
   Featured Banner
   ========================================================================== */

.theme-featured-banner {
    background: linear-gradient(135deg, var(--gold-light), var(--overlay-gold));
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.theme-featured-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ==========================================================================
   Chips/Tags
   ========================================================================== */

.theme-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    background: var(--overlay-light);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.theme-chip:hover {
    background: var(--overlay-gold);
    border-color: var(--gold-border);
    color: var(--text-primary);
}

.theme-chip i {
    color: var(--gold);
    opacity: 0.7;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.theme-empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--text-secondary);
}

.theme-empty-state i {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   Theme Toggle Button
   ========================================================================== */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--overlay-light);
    border: 1px solid var(--border-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-secondary);
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--overlay-gold);
    border-color: var(--gold-border);
    color: var(--gold);
    transform: rotate(15deg);
}

/* Hide/show icons based on theme */
[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-moon {
    display: block;
}

/* ==========================================================================
   Accordion
   ========================================================================== */

.theme-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-accordion-item {
    background: var(--overlay-light);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.theme-accordion-button {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.theme-accordion-button:hover {
    background: var(--overlay-gold);
}

.theme-accordion-button::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    transition: transform var(--transition-base);
}

.theme-accordion-button.active::after {
    transform: rotate(180deg);
}

.theme-accordion-button.active {
    background: var(--gold-light);
    color: var(--gold);
}

.theme-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.theme-accordion-content.open {
    max-height: 1000px;
}

.theme-accordion-body {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-secondary);
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.theme-tabs {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.theme-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.theme-tab:hover {
    background: var(--overlay-light);
    color: var(--text-primary);
}

.theme-tab.active {
    background: var(--gold);
    color: var(--text-inverse);
    box-shadow: var(--shadow-gold);
}

[data-theme="light"] .theme-tab.active {
    color: #ffffff;
}

.theme-tab-content {
    display: none;
}

.theme-tab-content.active {
    display: block;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.theme-modal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

[data-theme="light"] .theme-modal .modal-content {
    background: var(--bg-secondary);
}

.theme-modal .modal-header {
    background: linear-gradient(135deg, var(--gold-light), var(--overlay-gold));
    border-bottom: 1px solid var(--gold-border);
    padding: var(--space-lg) var(--space-xl);
}

.theme-modal .modal-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-modal .modal-title i {
    color: var(--gold);
}

.theme-modal .btn-close {
    filter: var(--text-primary) == '#f5f0e8' ? brightness(0) invert(1) : none;
    opacity: 0.6;
}

[data-theme="dark"] .theme-modal .btn-close {
    filter: brightness(0) invert(1);
}

.theme-modal .btn-close:hover {
    opacity: 1;
}

.theme-modal .modal-body {
    padding: var(--space-xl);
    color: var(--text-primary);
}

.theme-modal .modal-footer {
    border-top: 1px solid var(--border-secondary);
    padding: var(--space-lg) var(--space-xl);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.theme-animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.theme-animate-fade {
    animation: fadeIn 0.4s ease forwards;
}

/* Staggered animation support via inline styles */
/* Use: style="animation-delay: 0.1s" */

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 1024px) {
    .theme-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .theme-hero {
        padding: 60px var(--space-md) 40px;
    }

    .theme-container {
        padding: 0 var(--space-md);
    }

    .theme-hide-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    body.themed-page {
        background: white !important;
        color: black !important;
    }

    .theme-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }

    .theme-toggle,
    .theme-btn {
        display: none !important;
    }
}
