﻿.mobile-body {
    margin: 0;
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.mobile-screen {
    width: 100%;
    max-width: 430px; /* ขนาดมือถือ */
    min-height: 100vh;
    background: #fff;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .mobile-screen {
        max-width: 390px;
        box-shadow: 0 0 20px rgba(0,0,0,.15);
    }

    .mobile-footer {
        max-width: 390px !important;
    }
}

/*.background-gradient {
    flex: 1;
    height: 100%;
    background-color: #F3F2F7;
    background-image: radial-gradient(116.13% 60.21% at 96.44% 0%, #FFD1B7 0%, #FFE0BB 22.12%, #F0E5EB 48.08%, #F2F1F6 100%);*/
    /*display: flex;*/
    /*justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 120px;
}*/

.background-gradient {
    flex: 1;
    min-height: 100vh;
    background-color: #F3F2F7;
    background-image: radial-gradient( 110% 55% at 100% 0%, #FFD1B7 0%, #FFE0BB 24%, #F0E5EB 52%, rgba(243, 242, 247, 0) 100% ), radial-gradient( 120% 60% at 0% 100%, #FFD1B7 0%, #FFE0BB 24%, #F0E5EB 52%, rgba(243, 242, 247, 0) 100% );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    padding-bottom: 120px;
}

.glass-element {
    /* width: 90%;*/
    /*height: 65%;*/
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/*.mobile-footer {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 92px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    border-radius: 32px 32px 0 0;*/
    /* โปร่งขึ้น */
    /*background: rgba(255,255,255,0.14);*/
    /* ลด blur */
    /*backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 -4px 18px rgba(0,0,0,.04);
    z-index: 999;
}*/

.mobile-footer {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 92px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    border-radius: 28px 28px 0 0;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    z-index: 999;
}

.footer-item {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    text-decoration: none;
    color: #5b4034;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: .25s ease;
}

    .footer-item i {
        font-size: 20px;
        line-height: 1;
    }

    .footer-item span {
        font-size: 9px;
        font-weight: 500;
    }

    .footer-item.active {
        background: rgba(255, 216, 184, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: none;
    }

.mobile-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: -1;
}

.header {
    font-family: 'Prompt','Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 24px;
    color: #584133;
}

.topic {
    font-family: 'Prompt','Jost', serif;
    font-weight: 600;
    font-size: 14px;
    color: #584133;
}
