/* ===== CSS Variables & Theme ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-hover: #f1f3f5;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #868e96;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --accent: #4285f4;
    --accent-hover: #3367d6;
    --accent-light: #e8f0fe;
    --danger: #ea4335;
    --danger-hover: #d93025;
    --success: #34a853;
    --warning: #fbbc04;
    --weekend-bg: #fff8f0;
    --today-bg: #e8f0fe;
    --today-border: #4285f4;
    --holiday-color: #ea4335;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --sidebar-width: 280px;
    --nav-height: 56px;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --transition: 0.2s ease;
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --bg-hover: #1f3a6e;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --border-color: #2d3748;
    --border-light: #2d3748;
    --accent: #5b9bff;
    --accent-hover: #4285f4;
    --accent-light: #1a365d;
    --danger: #ff6b6b;
    --danger-hover: #ea4335;
    --weekend-bg: #1e1e3a;
    --today-bg: #1a365d;
    --today-border: #5b9bff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    transition: background var(--transition), color var(--transition);
}

/* ===== Top Navigation ===== */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-icon { font-size: 1.5rem; }
.brand-plus { color: var(--accent); }

.nav-links { display: flex; gap: 4px; }

.nav-btn {
    padding: 7px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav-btn.icon-btn { font-size: 1.1rem; padding: 7px 10px; }

.nav-actions { display: flex; gap: 6px; align-items: center; }

/* ===== Layout ===== */
.main-container {
    display: flex;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
}

/* ===== Sidebar ===== */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border-light);
}

.sidebar-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Mini Calendar ===== */
.mini-calendar {
    user-select: none;
}

.mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mini-cal-header span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.mini-cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    transition: all var(--transition);
}

.mini-cal-nav:hover { background: var(--bg-hover); color: var(--text-primary); }

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
    font-size: 0.75rem;
}

.mini-cal-day-name {
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 0;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.mini-cal-day {
    padding: 4px 2px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.mini-cal-day:hover { background: var(--bg-hover); }
.mini-cal-day.today { background: var(--accent); color: #fff; font-weight: 600; }
.mini-cal-day.other-month { color: var(--text-muted); opacity: 0.4; }
.mini-cal-day.selected { outline: 2px solid var(--accent); }

/* ===== Styled Form Controls ===== */
.styled-select, .styled-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.85rem;
    transition: border var(--transition);
    outline: none;
}

.styled-select:focus, .styled-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.styled-textarea {
    resize: vertical;
    min-height: 60px;
}

.search-input { width: 200px; }

.year-select { width: 90px; }

/* ===== Toggle Labels ===== */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 0;
}

.toggle-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

/* ===== Buttons ===== */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); }
.btn-secondary:hover { background: var(--border-color); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); }
.btn-sm { padding: 5px 10px; font-size: 0.78rem; }

/* ===== Holiday List ===== */
.holiday-list {
    max-height: 150px;
    overflow-y: auto;
    margin-top: 10px;
}

.holiday-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
}

.holiday-item:last-child { border-bottom: none; }
.holiday-name { color: var(--text-primary); font-weight: 500; }
.holiday-date { color: var(--text-muted); font-size: 0.72rem; }

/* ===== Upcoming Events ===== */
.upcoming-events {
    max-height: 150px;
    overflow-y: auto;
}

.upcoming-event-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
}

.upcoming-event-item:last-child { border-bottom: none; }

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.upcoming-event-info { flex: 1; }
.upcoming-event-title { font-weight: 500; color: var(--text-primary); }
.upcoming-event-date { color: var(--text-muted); font-size: 0.72rem; }

/* ===== Countdown ===== */
.countdown-setup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.countdown-list {
    max-height: 120px;
    overflow-y: auto;
}

.countdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
}

.countdown-item:last-child { border-bottom: none; }
.countdown-name { font-weight: 500; color: var(--text-primary); }
.countdown-days { color: var(--accent); font-weight: 600; }
.countdown-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 4px;
}
.countdown-remove:hover { color: var(--danger); }

/* ===== Calendar Header ===== */
.calendar-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px 20px;
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.calendar-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 220px;
}

.nav-arrow {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.nav-arrow:hover { background: var(--bg-hover); color: var(--text-primary); }

.header-right {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== Month View Grid ===== */
.calendar-view { flex: 1; overflow: auto; }
.calendar-view.hidden { display: none; }

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 4px;
}

.calendar-weekdays.with-week-numbers {
    grid-template-columns: 40px repeat(7, 1fr);
}

.weekday-name {
    text-align: center;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weekday-name.weekend { color: var(--holiday-color); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    flex: 1;
    background: var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.calendar-grid.with-week-numbers {
    grid-template-columns: 40px repeat(7, 1fr);
}

.week-number-cell {
    background: var(--bg-tertiary);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.calendar-day {
    background: var(--bg-primary);
    min-height: 90px;
    padding: 6px 8px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
    display: flex;
    flex-direction: column;
}

.calendar-day:hover { background: var(--bg-hover); }
.calendar-day.other-month { opacity: 0.4; }
.calendar-day.weekend { background: var(--weekend-bg); }
.calendar-day.today { background: var(--today-bg); box-shadow: inset 0 2px 0 var(--today-border); }

.day-number {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.calendar-day.today .day-number {
    background: var(--accent);
    color: #fff;
}

.day-holiday {
    font-size: 0.65rem;
    color: var(--holiday-color);
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.day-events {
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    flex: 1;
}

.day-event {
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity var(--transition);
}

.day-event:hover { opacity: 0.85; }

.day-more {
    font-size: 0.65rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
}

.day-more:hover { color: var(--accent); }

.moon-phase {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* ===== Week View ===== */
.week-header {
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 4px;
}

.week-header-cell {
    text-align: center;
    padding: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.week-header-cell.today-header {
    color: var(--accent);
}

.week-header-date {
    font-size: 1.3rem;
    font-weight: 700;
}

.week-grid {
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr);
    gap: 1px;
    background: var(--border-light);
    border-radius: var(--radius-md);
    overflow: auto;
    border: 1px solid var(--border-light);
    flex: 1;
}

.time-label {
    background: var(--bg-secondary);
    padding: 4px 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.week-cell {
    background: var(--bg-primary);
    height: 48px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
}

.week-cell:hover { background: var(--bg-hover); }
.week-cell.today-col { background: var(--today-bg); }

.week-event {
    position: absolute;
    left: 2px;
    right: 2px;
    padding: 2px 4px;
    font-size: 0.65rem;
    border-radius: 3px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    z-index: 2;
}

/* ===== Year View ===== */
.year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
    overflow: auto;
}

.year-month {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.year-month:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.year-month-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-align: center;
}

.year-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
    font-size: 0.68rem;
}

.year-day-name {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.6rem;
    padding: 2px;
}

.year-day {
    padding: 3px 1px;
    color: var(--text-secondary);
    border-radius: 3px;
}

.year-day.today { background: var(--accent); color: #fff; font-weight: 700; }
.year-day.has-event { font-weight: 700; color: var(--accent); }
.year-day.holiday { color: var(--holiday-color); font-weight: 600; }
.year-day.other { opacity: 0.2; }

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.15s ease;
}

.modal-overlay.hidden { display: none; }

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.2s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.modal-close:hover { background: var(--bg-hover); color: var(--text-primary); }

.modal-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-row {
    display: flex;
    gap: 12px;
}

.modal-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-col label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 14px 22px;
    border-top: 1px solid var(--border-light);
}

.modal-footer .btn-danger { margin-right: auto; }

/* ===== Color Picker ===== */
.color-picker {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: var(--text-primary); box-shadow: 0 0 0 2px var(--bg-primary); }

/* ===== Calculator Tabs ===== */
.calc-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.calc-tab {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition);
}

.calc-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.calc-panel.hidden { display: none; }

.calc-result {
    margin-top: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.7;
    border: 1px solid var(--border-light);
}

.calc-result strong { color: var(--accent); }

/* ===== Search Results ===== */
.search-results {
    position: absolute;
    top: calc(var(--nav-height) + 65px);
    right: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 200;
    padding: 8px;
}

.search-results.hidden { display: none; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.search-result-item:hover { background: var(--bg-hover); }
.search-result-title { font-weight: 500; font-size: 0.85rem; }
.search-result-date { font-size: 0.75rem; color: var(--text-muted); }
.search-no-results { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 250px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--accent); }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ===== Drag & Drop ===== */
.calendar-day.drag-over {
    background: var(--accent-light) !important;
    box-shadow: inset 0 0 0 2px var(--accent);
}

.day-event.dragging { opacity: 0.5; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .sidebar { width: 240px; min-width: 240px; }
    .calendar-title { font-size: 1.3rem; min-width: 180px; }
    .year-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .sidebar { display: none; }
    .nav-links { gap: 2px; }
    .nav-btn { padding: 6px 10px; font-size: 0.8rem; }
    .calendar-title { font-size: 1.1rem; min-width: auto; }
    .search-input { width: 140px; }
    .year-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-day { min-height: 70px; padding: 4px; }
}

@media (max-width: 550px) {
    .top-nav { padding: 0 10px; gap: 4px; }
    .nav-actions { gap: 3px; }
    #dateCalcBtn, #exportBtn { display: none; }
    .header-right { display: none; }
    .calendar-header { gap: 8px; }
    .year-grid { grid-template-columns: 1fr; }
    .week-grid, .week-header { grid-template-columns: 40px repeat(7, 1fr); }
    .modal { width: 95%; }
}

/* ===== Print ===== */
@media print {
    .top-nav, .sidebar, .modal-overlay, .toast-container, .search-results { display: none !important; }
    .main-container { height: auto; }
    .calendar-main { padding: 0; }
    .calendar-day { min-height: 60px; }
    body { background: #fff; color: #000; }
}

/* ===== Site Footer ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 14px 24px;
    margin-top: auto;
    z-index: 10;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}
@media (max-width: 550px) {
    .footer-content { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-links { gap: 4px 10px; }
}
