:root {
    --bg-dark: #020205;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(40px);
    --accent-primary: #007aff;
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    
    /* Family Colors */
    --renato: #007aff;
    --elizabeth: #ff2d55;
    --luiza: #ffcc00;
    --camila: #34c759;
    --pedro: #ff9500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 122, 255, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 45, 85, 0.1), transparent 40%),
        #020205;
    z-index: -1;
}

/* Header - Bold for TV */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px 30px 80px;
}

.date-text {
    font-size: 32px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-dim);
}

.clock-text {
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

/* Dashboard Grid */
.tv-dashboard {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 40px;
    padding: 0 80px 60px 80px;
    flex-grow: 1;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card General */
.card {
    border-radius: 40px;
    border: 1.5px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Weather Card */
.weather-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 0.6;
}

.temp-main {
    font-size: 90px;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.temp-main i { color: #ffcc00; font-size: 70px; }

.weather-forecast {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.f-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

/* Stoic Card */
.stoic-card {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 0.4;
    text-align: center;
}

.quote-icon { font-size: 40px; color: var(--accent-primary); margin-bottom: 20px; opacity: 0.5; }

#stoic-quote {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
}

#stoic-author {
    font-size: 20px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Calendar Full */
.calendar-full {
    padding: 40px;
    flex-grow: 1;
}

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

.calendar-header h2 { font-size: 40px; font-weight: 600; }

.cal-btn {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.5;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.day-name {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dim);
    padding-bottom: 20px;
}

.days-container {
    display: contents;
}

.day-cell {
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    background: rgba(255,255,255,0.02);
}

.day-cell.today { background: rgba(0, 122, 255, 0.15); border-color: var(--accent-primary); }

.dots-container {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.renato { background: var(--renato); }
.dot.elizabeth { background: var(--elizabeth); }
.dot.luiza { background: var(--luiza); }
.dot.camila { background: var(--camila); }
.dot.pedro { background: var(--pedro); }

.family-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.leg-item { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--text-dim); }
.leg-item::before { content: ''; width: 14px; height: 14px; border-radius: 50%; }
.leg-item.renato::before { background: var(--renato); }
.leg-item.elizabeth::before { background: var(--elizabeth); }
.leg-item.luiza::before { background: var(--luiza); }
.leg-item.camila::before { background: var(--camila); }
.leg-item.pedro::before { background: var(--pedro); }

/* Photos Card */
.photos-card { flex-grow: 1; }

.photo-container { position: relative; height: 100%; }

#slideshow-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease-in-out;
}

.photo-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

/* Upcoming Card */
.upcoming-card {
    padding: 30px;
    flex-grow: 0.5;
}

.card-header-mini {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.commitments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
}

.c-time { font-size: 18px; font-weight: 600; min-width: 60px; color: var(--text-dim); }
.c-info { font-size: 20px; }
.c-tag { width: 10px; height: 40px; border-radius: 5px; }
