@font-face {
    font-family: 'Oswald';
    src: url('../../assets/fonts/Oswald-Regular.woff2') format('woff2'),
    url('../../assets/fonts/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #000000;
    --fg: #ffffff;
    --accent: #0064E0;
    --muted: #B9B9B9;
    --radius-lg: 28px;
    --radius-md: 16px;
    --btn-height: 64px;
    --border-highlight: 6px;
    --shadow-soft: 0 8px 24px rgba(0,0,0,0.25);
    --tablet-max-width: 980px;
    --font: 'Oswald', sans-serif;
}



* { box-sizing: border-box; }
html, body {
    height: 100%;
    margin: 0;
    font-family: var(--font);
}

body.app {
    background: #000;
    color: #fff;
}

/* Shared layout shells */
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- TABLET THEME ---------- */
.tablet {
    color: #0C0D0E;
}

.tablet .container {
    width: 100%;
    max-width: var(--tablet-max-width);
    margin: 0 auto;
    padding: 36px 28px 28px 28px;
    flex: 1;
}

.tablet .title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0 0 20px 0;
}

.tablet .subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 28px;
}

.tablet .panel {
    color:white;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.tablet .code-input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 14px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.tablet input[type="text"] {
    height: 64px;
    font-size: 30px;
    padding: 0 16px;
    text-align: center;
    border-radius: 30px;
    border: 3px solid #FFF;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.00) 0%, rgba(29, 29, 29, 0.50) 46.15%, #242424 73.56%, #3A3A3A 100%);
    color: white;
    width: 100%;
}

.tablet .menu-grid {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}

.tablet .menu-grid .btn{

    height: var(--btn-height);
    border-radius: 14px;
    border: 2px solid transparent;
    font-size: 38px;
    font-weight: 650;
    cursor: pointer;
    transition: 0.15s
                    ease;
    padding: 46px 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-family: 'oswald';
}

.tablet .btn {
    height: var(--btn-height);
    border: 2px solid transparent;
    font-size: 25px;
    font-weight: 650;
    cursor: pointer;
    transition: 0.15s ease;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'oswald';
    border-radius: 40px;
}

.tablet .btn-primary {
    background: #000000;
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    background: -moz-linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#000000", endColorstr="#413E3E", GradientType=1 );
    text-align: right;
    color: white;
}
.tablet .btn-primary:hover { filter: brightness(1.06); }

.tablet .btn-secondary {
    background: #FFFFFF;
    color: #0C0D0E;
    border-color: #D6DAE1;
}
.tablet .btn-secondary:hover { background: #F3F4F6; }

.tablet .btn-accent {
    background: var(--accent);
    color: #FFFFFF;
}
.tablet .btn-accent:hover { filter: brightness(1.06); }

.tablet .btn-danger {
    background: #525252;
    color: #FFFFFF;
    border-color: #0C0D0E;
    text-decoration: none;
}
.tablet .btn-danger.outline {
    background: transparent;
    border-color: #525252;
}

.tablet .btn-highlighted {
    border-color: var(--accent) !important;
    border-width: var(--border-highlight) !important;
}

.tablet .bottom-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 30px 0 8px 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
}

.tablet .bottom-bar .btn {
    min-width: 180px;
}

/* Picture grid */
.tablet .picture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.tablet .picture-card {
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid #E5E7EB;
    cursor: pointer;
    transition: 0.15s ease;
}
.tablet .picture-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.tablet .picture-card:hover { transform: translateY(-1px); }

/* Text blocks */
.tablet .text-block {
    font-size: 30px;
    line-height: 1.45;
}
.tablet .text-block-big {
    font-size: 50px;
    font-weight: 700;
    margin-top: 18px;
    display: inline-block;
}


.tablet .text-block .translated {
    color: var(--accent);
    font-weight: 650;
    margin-top: 16px;
}

/* Choice lists */
.tablet .choice-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.tablet .choice-btn {
    height: auto;
    min-height: 78px;
    padding: 25px 25px;
    line-height: 1.25;
    font-size: 35px;
    border-radius: 16px;
    background: #000000;
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    background: -moz-linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 1%, rgba(65, 62, 62, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#000000", endColorstr="#413E3E", GradientType=1 );
    text-align: right;
    color: white;
    border-style: solid;
    font-family: 'oswald';
}

.tablet .top-bar{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 3vh;
}

.tablet .top-bar .logo{
    width: 22vh;
    display: inline-block;
}

.tablet #view-pairing .panel{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.tablet #view-pairing .panel .logo{
    width: 22vh;
    margin-bottom: 3vh;
}

.tablet #view-pairing .panel .title{
    text-align: center;
    font-weight: normal;
}

/* ---------- SCREEN THEME ---------- */
.screen {
    background: var(--bg);
    color: var(--fg);
}

.screen .screen-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 80px;
    text-align: center;
}

.screen .screen-text {
    font-size: 64px;
    line-height: 1.25;
    font-weight: 500;
}

.screen .screen-text .big {
    font-size: 64px;
    font-weight: 700;
    margin-top: 18px;
    display: inline-block;
}

.screen .pair-code {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: 8px;
}

.screen .pair-sub {
    font-size: 28px;
    color: #CFCFCF;
    margin-top: 22px;
}

.screen .full-image {
    width: 60%;
    height: auto;
    border-radius: 30px;
    display: block;
    margin: 0 auto;
}

.screen .welcome-screen{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}

.screen .welcome-screen .glass{
    width: 60vh;
}
/* ---------- OVERLAYS / MODALS ---------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

.overlay .modal {
    background: #FFFFFF;
    color: #0C0D0E;
    border-radius: 18px;
    padding: 28px 26px;
    min-width: 320px;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.overlay .modal h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
}
.overlay .modal p {
    margin: 0 0 18px 0;
    font-size: 16px;
    color: #374151;
}

/* Screen offline banner */
.screen-offline-banner {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.08);
}

.landing-logo{
    width: 22vh;
    display: block;
    margin: 0 auto;
}

.screen-image-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000; /* fallback */
}

.mb-3{
    margin-bottom: 30px;
}

h2{
    text-align: center;
}
