@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&display=swap');

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

/* ─── CANVAS BACKGROUND ──────────────────────────── */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── DARK THEME (padrão) ────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
    background: #050510;
    color: #d0d8ff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: crosshair;
    transition: background 0.4s ease, color 0.4s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(80, 0, 120, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 74, 28, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #050510 0%, #0a0a1a 60%, #0d0820 100%);
    z-index: 0;
    transition: transform 0.3s ease-out, opacity 0.4s ease;
    will-change: transform;
    transform: translate(calc(var(--bg-x, 0px) * -1), calc(var(--bg-y, 0px) * -1));
}

/* ─── LIGHT THEME ────────────────────────────────── */
body.light-theme {
    background: #f0ebe0;
    color: #1a1100;
    cursor: default;
}

body.light-theme::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232, 74, 28, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 74, 28, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #f0ebe0 0%, #ede5d5 60%, #e8dfc8 100%);
    transform: none;
}

body.light-theme .main-content-wrapper {
    background: rgba(255, 252, 247, 0.92);
    border-color: rgba(232, 74, 28, 0.2);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06), inset 0 0 60px rgba(232, 74, 28, 0.02);
}

body.light-theme .stress-meter {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.3);
    box-shadow: 0 0 0 1px rgba(232, 74, 28, 0.15), 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .time-status-card {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .card {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .card:hover {
    box-shadow: 0 8px 32px rgba(232, 74, 28, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 74, 28, 0.4);
}

body.light-theme .weights-section {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .message-card {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme footer {
    background: rgba(240, 235, 224, 0.95);
    border-color: rgba(232, 74, 28, 0.12);
}

body.light-theme .current-time {
    color: #1a1100;
    text-shadow: none;
}

body.light-theme .peak-status {
    color: #5a4030;
}

body.light-theme .weights-description {
    color: #5a4030;
}

body.light-theme .weights-remaining {
    color: #5a4030;
}

body.light-theme .weight-label {
    color: #7a6050;
}

body.light-theme .weight-value {
    color: #1a1100;
    text-shadow: none;
}

body.light-theme .weight-btn {
    border-color: rgba(232, 74, 28, 0.35);
    background: rgba(232, 74, 28, 0.06);
}

body.light-theme .weight-btn:hover:not(:disabled) {
    background: rgba(232, 74, 28, 0.15);
    border-color: rgba(232, 74, 28, 0.6);
    box-shadow: 0 0 8px rgba(232, 74, 28, 0.2);
}

body.light-theme .card-description {
    color: #7a6050;
}

body.light-theme .message-content p {
    color: #5a4030;
}

body.light-theme .last-update-stress {
    color: #9a8070;
}

body.light-theme .meter-scale {
    color: #9a8070;
}

body.light-theme .footer-content p {
    color: #7a6050;
}

body.light-theme .footer-content h4 {
    text-shadow: none;
}

body.light-theme .links a {
    color: #7a6050;
}

body.light-theme .copyright {
    color: #b0a090;
    border-top-color: rgba(232, 74, 28, 0.1);
}

body.light-theme .card::before {
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.3), transparent);
}

body.light-theme .weights-section::before {
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.3), transparent);
}

body.light-theme .message-card::before {
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.3), transparent);
}

/* ─── THEME TOGGLE ───────────────────────────────── */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(232, 74, 28, 0.1);
    border: 1px solid rgba(232, 74, 28, 0.4);
    border-radius: 20px;
    color: #E84A1C;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.theme-toggle:hover {
    background: rgba(232, 74, 28, 0.2);
    border-color: rgba(232, 74, 28, 0.7);
    box-shadow: 0 0 12px rgba(232, 74, 28, 0.25);
}

.theme-icon {
    font-size: 0.9rem;
    font-style: normal;
}

body.light-theme .theme-toggle {
    background: rgba(232, 74, 28, 0.08);
    border-color: rgba(232, 74, 28, 0.35);
    box-shadow: none;
}

/* ─── LAYOUT ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

header h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #E84A1C;
    letter-spacing: 3px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.main-content-wrapper {
    background: rgba(5, 5, 25, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 4px;
    padding: 40px;
    margin-bottom: 40px;
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(232, 74, 28, 0.25);
    box-shadow:
        0 0 0 1px rgba(232, 74, 28, 0.05),
        0 0 30px rgba(232, 74, 28, 0.05),
        inset 0 0 60px rgba(80, 0, 120, 0.05);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ─── STRESS SECTION ─────────────────────────────── */
.stress-section {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stress-meter {
    background: rgba(8, 8, 28, 0.95);
    border-radius: 4px;
    padding: 25px;
    box-shadow:
        0 0 0 1px rgba(232, 74, 28, 0.35),
        0 0 20px rgba(232, 74, 28, 0.1),
        inset 0 0 30px rgba(232, 74, 28, 0.02);
    border: 1px solid rgba(232, 74, 28, 0.35);
    text-align: center;
    flex: 2;
    width: 549px;
    min-width: 549px;
    max-width: 549px;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.stress-meter h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.meter-container {
    position: relative;
    display: inline-block;
}

/* Medidor reduzido: 240x120 (era 300x150) */
.meter {
    width: 240px;
    height: 120px;
    position: relative;
    background: linear-gradient(90deg, #00c2a8 0%, #ffe066 50%, #E84A1C 100%);
    border-radius: 120px 120px 0 0;
    margin-bottom: 16px;
    box-shadow:
        0 0 20px rgba(232, 74, 28, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.6);
    filter: brightness(0.9) saturate(1.2);
}

.meter-needle {
    position: absolute;
    width: 3px;
    height: 96px;
    background: #ffffff;
    bottom: 0;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-90deg);
    transition: transform 1s ease-in-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.4);
}

.meter-scale {
    position: absolute;
    bottom: -26px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #7090a0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.stress-value {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    margin-top: 16px;
    color: #E84A1C;
    letter-spacing: 2px;
}

.last-update-stress {
    font-size: 0.72rem;
    color: #4a6070;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.emoji-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.emoji {
    font-size: 1.8rem;
    opacity: 1;
    transition: all 0.4s ease;
    cursor: default;
}

/* emoji que representa o nível atual pulsa */
.emoji.active:last-of-type,
.emoji.current {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(232, 74, 28, 0.5));
}

/* ─── TIME CARD ──────────────────────────────────── */
.time-status-card {
    background: rgba(8, 8, 28, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 25px;
    border: 1px solid rgba(232, 74, 28, 0.2);
    box-shadow: 0 0 20px rgba(232, 74, 28, 0.06);
    text-align: center;
    flex: 1;
    width: 262px;
    min-width: 262px;
    max-width: 262px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.time-status-card h3 {
    font-family: 'Anton', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.current-time {
    font-family: 'Anton', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 3px;
    transition: color 0.4s ease;
}

.peak-status {
    font-size: 0.85rem;
    font-weight: 500;
    color: #7080a0;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s ease;
}

/* ─── DASHBOARD ──────────────────────────────────── */
.dashboard {
    display: grid;
    grid-template-columns: 262px 262px 262px;
    gap: 25px;
    margin-bottom: 40px;
    width: 836px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: rgba(8, 8, 28, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 25px;
    border: 1px solid rgba(232, 74, 28, 0.18);
    box-shadow: 0 0 20px rgba(232, 74, 28, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.4s ease;
    width: 262px;
    min-width: 262px;
    max-width: 262px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.5), transparent);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(232, 74, 28, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(232, 74, 28, 0.4);
}

.card h3 {
    font-family: 'Anton', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.live-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.live-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.live-content span {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #E84A1C;
    letter-spacing: 2px;
}

.live-indicator {
    background: rgba(232, 74, 28, 0.12);
    color: #E84A1C;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    animation: pulse 2s infinite;
    border: 1px solid rgba(232, 74, 28, 0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-description {
    font-size: 0.75rem;
    color: #4a6070;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
    max-height: 60px;
    overflow-y: auto;
    padding: 0 5px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

.card-description.long-message {
    font-size: 0.7rem;
    max-height: 80px;
}

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

/* ─── WEIGHTS ────────────────────────────────────── */
.weights-section {
    background: rgba(8, 8, 28, 0.95);
    border-radius: 4px;
    padding: 30px;
    border: 1px solid rgba(232, 74, 28, 0.22);
    box-shadow: 0 0 20px rgba(232, 74, 28, 0.06);
    text-align: center;
    margin-bottom: 30px;
    width: 836px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.weights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.5), transparent);
}

.weights-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.weights-description {
    font-size: 0.85rem;
    color: #7090a0;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s ease;
}

.weights-description strong { color: #E84A1C; }

.weights-remaining {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #7090a0;
    margin-bottom: 20px;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.weights-remaining span {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    color: #E84A1C;
    font-size: 1.2rem;
}

.weights-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.weight-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.weight-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: #a0b0c0;
    letter-spacing: 2px;
    text-transform: uppercase;
    min-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.5;
    transition: color 0.4s ease;
}

.weight-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weight-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(232, 74, 28, 0.4);
    background: rgba(232, 74, 28, 0.08);
    color: #E84A1C;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.weight-btn:hover:not(:disabled) {
    background: rgba(232, 74, 28, 0.2);
    border-color: rgba(232, 74, 28, 0.7);
    box-shadow: 0 0 12px rgba(232, 74, 28, 0.25);
}

.weight-btn:active:not(:disabled) { transform: scale(0.92); }

.weight-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.weight-value {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    min-width: 30px;
    text-align: center;
    transition: color 0.4s ease;
}

.weights-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.weights-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #E84A1C, #ff8c00);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(232, 74, 28, 0.4);
}

/* ─── METRO SECTION ──────────────────────────────── */
.metro-section {
    background: rgba(8, 8, 28, 0.95);
    border-radius: 4px;
    padding: 30px;
    border: 1px solid rgba(232, 74, 28, 0.22);
    box-shadow: 0 0 20px rgba(232, 74, 28, 0.06);
    margin-bottom: 30px;
    width: 836px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.metro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.5), transparent);
}

.metro-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.metro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metro-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #4a6070;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 20px 0;
}

.metro-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.metro-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.metro-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0;
}

.metro-info {
    flex: 1;
    min-width: 0;
}

.metro-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c0c8e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.metro-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metro-status-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Status colors */
.metro-status.normal    { color: #4ecdc4; }
.metro-status.alerta    { color: #ffa500; }
.metro-status.critico   { color: #ff4d6d; }
.metro-status-dot.normal  { background: #4ecdc4; box-shadow: 0 0 6px rgba(78, 205, 196, 0.6); }
.metro-status-dot.alerta  { background: #ffa500; box-shadow: 0 0 6px rgba(255, 165, 0, 0.6); }
.metro-status-dot.critico { background: #ff4d6d; box-shadow: 0 0 6px rgba(255, 77, 109, 0.6); }

/* Light theme overrides */
body.light-theme .metro-section {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(232, 74, 28, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
body.light-theme .metro-card {
    border-color: rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .metro-card:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}
body.light-theme .metro-name { color: #1a1100; }

/* ─── MESSAGE CARD ───────────────────────────────── */
.message-card {
    background: rgba(8, 8, 28, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 30px;
    border: 1px solid rgba(232, 74, 28, 0.2);
    box-shadow: 0 0 30px rgba(232, 74, 28, 0.06);
    text-align: center;
    margin-bottom: 40px;
    width: 836px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 74, 28, 0.5), transparent);
}

.message-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.message-content p {
    font-size: 0.95rem;
    color: #8090b0;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s ease;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
    background: rgba(5, 5, 20, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid rgba(232, 74, 28, 0.1);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-content h4 {
    font-family: 'Anton', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #E84A1C;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer-content p {
    color: #4a6070;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s ease;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links a {
    color: #4a6070;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.links a:hover { color: #E84A1C; }

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 74, 28, 0.08);
    color: #2a3040;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
    .container { padding: 15px; }

    header h1 { font-size: 2rem; }

    .main-content-wrapper { width: 100%; padding: 20px; }

    .stress-section { flex-direction: column; align-items: center; gap: 20px; }

    .stress-meter { min-width: 300px; max-width: 100%; flex: 1; width: 100%; }

    .time-status-card { min-width: 300px; max-width: 100%; flex: 1; width: 100%; }

    .meter { width: 200px; height: 100px; }
    .meter-needle { height: 80px; }

    .dashboard { grid-template-columns: 1fr; max-width: 100%; width: 100%; }

    .card { min-width: 100%; max-width: 100%; width: 100%; }

    .message-card { max-width: 100%; width: 100%; }

    .weights-section { width: 100%; max-width: 100%; padding: 20px; }

    .weights-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
