html,
body {
    margin: 0;
}

body {
    background: #eaf6ff;
    font-family: "Nunito", Arial, sans-serif;
    min-height: 100vh;
}

html[lang="ka"] body {
    font-family: "Noto Sans Georgian", "Nunito", Arial, sans-serif;
}

.page {
    background: #42bdea url('/assets/img/bg-luveng-pattern.jpg') repeat;
    background-attachment: fixed;
    background-position: center top;
    background-size: 520px auto;
    box-shadow: 0 0 15px rgb(0 0 0 / 12%);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1200px;
    min-height: 100vh;
}

.toolbar {
    align-items: center;
    background: linear-gradient(90deg, #31b6f3 0%, #6fd0fc 100%);
    border-bottom: 2px solid #c5dfff;
    box-sizing: border-box;
    display: flex;
    gap: 8px;
    height: 65px;
    justify-content: flex-end;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.content {
    box-sizing: border-box;
    flex: 1;
}

.footer {
    align-items: center;
    background: linear-gradient(90deg, #31b6f3 0%, #6fd0fc 100%);
    border-top: 2px solid #c5dfff;
    box-sizing: border-box;
    display: flex;
    height: 150px;
    padding: 8px;
}

.footer-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
}

.footer-copy {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.footer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-title {
    color: rgb(255 255 255 / 92%);
    font-size: 11px;
    margin-top: 5px;
    font-weight: 900;
    line-height: 1;
}

.footer-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-menu {
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
    box-sizing: border-box;
    display: block;
    left: 0;
    padding: 10px 0 20px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(calc(-100% - 20px));
    transition: transform 0.18s ease;
    z-index: 2;
}

.site-menu--open {
    transform: translateY(0);
}

.site-menu-top {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.site-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
}

.site-menu-list--service {
    padding-top: 0;
}

.site-menu-divider {
    background: rgb(18 169 230 / 18%);
    height: 1px;
    margin: 10px 16px 8px;
}

.contact-page,
.feedback-page,
.legal-page,
.auth-page,
.premium-page,
.coming-soon-page,
.not-found-page {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    max-width: 560px;
    padding: 8px;
}

.not-found-page {
    align-items: center;
    flex: 1;
    justify-content: center;
    min-height: calc(100vh - 215px);
}

.premium-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-plan-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-plan-list--manage {
    align-items: stretch;
}

.premium-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-plan-action {
    margin-top: auto;
}

.premium-service-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-thread {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-page {
    justify-content: center;
    min-height: calc(100vh - 215px);
    min-height: calc(100svh - 215px);
}

.coming-soon-page {
    justify-content: center;
    min-height: calc(100vh - 215px);
    min-height: calc(100svh - 215px);
}

.home-card-list {
    box-sizing: border-box;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, minmax(0, 1fr));
    height: calc(100vh - 65px);
    height: calc(100svh - 65px);
    margin: 0 auto;
    max-width: 560px;
    padding: 8px;
}

.home-card--words {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.home-card--phrases {
    grid-column: 1;
    grid-row: 1 / span 3;
}

.home-card--test {
    grid-column: 2;
    grid-row: 3 / span 3;
}

.home-card--books {
    grid-column: 1;
    grid-row: 4 / span 2;
}

.home-card--personal {
    grid-column: 1 / -1;
    grid-row: 6 / span 2;
}

.home-info-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    max-width: 560px;
    padding: 8px;
}
