@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

:root {
    --bg-color: #0e0f12;
    --bg-color-rgb: 14 15 18;
    --bg-elevated: #1a1a1a;
    --bg-elevated-rgb: 26 26 26;
    --card-bg: #1a1c20;
    --card-bg-rgb: 26 28 32;
    --secondary-color: #f5f5f5;
    --secondary-color-rgb: 245 245 245;
    --secondary-variant: #e0e0e0;
    --on-secondary: #111111;
    --error-color: #cf6679;
    --error-bg: rgba(207, 102, 121, 0.18);
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #808080;
    --focus-color: #f5f8fc;
    --focus-color-rgb: 245 248 252;
    --focus-bg: #303030;
    --border-color: #333333;
    --app-font-family: "Inter", "Segoe UI", Arial, sans-serif;
    --tv-safe-gutter: clamp(28px, 3vw, 56px);
    --tv-safe-gutter-wide: clamp(32px, 3.6vw, 72px);
    --tv-card-radius: clamp(14px, 1.1vw, 22px);
    --tv-card-gap: clamp(12px, 1vw, 18px);
    --tv-button-height: clamp(54px, 3.7vw, 68px);
    --tv-button-padding-x: clamp(22px, 2vw, 34px);
    --tv-control-size: clamp(58px, 4vw, 74px);
    --tv-control-icon-size: clamp(28px, 2vw, 36px);
    --tv-caption-text: clamp(14px, 0.95vw, 18px);
    --tv-secondary-text: clamp(16px, 1.08vw, 21px);
    --tv-body-text: clamp(18px, 1.18vw, 24px);
    --tv-subtitle-text: clamp(24px, 1.7vw, 32px);
    --tv-title-text: clamp(42px, 2.9vw, 60px);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--app-font-family);
    overflow: hidden;
}

#app {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.screen {
    display: none;
    width: 100vw;
    height: 100vh;
}

.row {
    margin: 40px;
}

.card {
    display: inline-block;
    width: 250px;
    height: 140px;
    margin-right: 20px;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card.focused {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(245, 249, 255, 0.9);
}

*:focus {
    outline: none !important;
}
