@import url("theme.css");



body {
    overflow: hidden;
}


.app-splash {
    position: absolute;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-bg);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s var(--ease-out), visibility 0s linear 0s;
}

.app-splash.is-hiding {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.app-splash.is-done {
    display: none;
}

.app-splash__logo {
    width: 32cqi;
    max-width: 148px;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app.is-revealed .app-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
    .app-splash,
    .app-content,
    .app.is-revealed .app-content {
        transition: none;
    }
}

.app {
    --side: 6.25cqi;
    --nav-height: 16cqi;
}


.app-header {
    position: relative;
    flex-shrink: 0;
    padding: 0;
    display: block;
    height: 63cqi;
}

.brand-wrap {
    position: absolute;
    left: 4.72cqi;
    top: 14cqi;
    width: 49.4cqi;
}

.brand-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left top;
    user-select: none;
    pointer-events: none;
}

.lang-btn {
    position: absolute;
    top: 2.6cqi;
    right: 5.5cqi;
    width: 11cqi;
    height: 11cqi;
    border-radius: 50%;
    background: #e9f4f2;
    color: #1a9c8a;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 3.8cqi;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 2;
    -webkit-font-smoothing: antialiased;
}

.lang-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}


.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0 calc(var(--nav-height) + var(--safe-bottom));
}

.actions {
    padding: 0 var(--side);
    display: flex;
    flex-direction: column;
    gap: 4.6cqi;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 11.1cqi;
    border-radius: 2.6cqi;
    font-size: 4.35cqi;
    font-weight: 700;
    letter-spacing: 0.15px;
    transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
    user-select: none;
}

.btn:active {
    transform: scale(0.985);
    opacity: 0.92;
}

.btn-primary {
    background: var(--app-teal);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: var(--app-teal-dark);
}

.btn-outline {
    background: #fff;
    color: var(--app-orange-hot);
    border: 0.35cqi solid var(--app-orange-border);
}


.promo-section {
    margin-top: auto;
    padding: 0 0 4.4cqi;
}

.promo-track {
    display: flex;
    align-items: stretch;
    gap: 1.61cqi;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
}


.promo-track::before,
.promo-track::after {
    content: "";
    display: block;
    flex: none;
    width: var(--side);
    min-width: var(--side);
    height: 1px;
}

.promo-track::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 auto;
    width: 37.9cqi;
    height: 22cqi;
    box-sizing: border-box;
    border-radius: 3.2cqi;
    border: 0.62cqi solid #e8a020;
    box-shadow: inset 0 0 0 0.62cqi #fff;
    display: flex;
    align-items: center;
    gap: 1.4cqi;
    padding: 0 2cqi 0 2.4cqi;
    scroll-snap-align: start;
    color: #fff;
    background: linear-gradient(95deg, #4ec4e8 0%, #2eb5a8 55%, #1aa89a 100%);
}

.promo-card--2 {
    background: linear-gradient(95deg, #5bc8ea 0%, #2fb9b0 100%);
}

.promo-card--3 {
    background: linear-gradient(95deg, #3bb8c4 0%, #1a9e90 100%);
}

.promo-thumb {
    flex: 0 0 12.9cqi;
    width: 12.9cqi;
    height: 12.9cqi;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
}

.promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.promo-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 2.85cqi;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.bottom-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--nav-height) + var(--safe-bottom));
    padding: 4.6cqi 1.5cqi var(--safe-bottom);
    background: #ffffff;
    border-top: 1px solid #cfcfcf;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    z-index: 20;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.4cqi;
    color: var(--app-nav);
    min-width: 0;
}

.nav-item:active {
    opacity: 0.7;
}

.nav-icon {
    width: 5.9cqi;
    height: 5.9cqi;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.nav-icon--fast {
    width: 11cqi;
    height: 5.9cqi;
}

.nav-label {
    font-size: 2.6cqi;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.1px;
}
