html, body {
    height: 100%; width: 100%; margin: 0; padding: 0; overflow: hidden;
    background: #000;
    color: var(--text-color); font-family: 'Segoe UI', sans-serif;
    -webkit-user-select: none; user-select: none;
    overscroll-behavior: none;
}

#page-wrapper {
    height: 100dvh;
    width: 100%;
    background: var(--bg-base);
    position: absolute; top: 0; left: 0;
    overflow-y: auto;
}

.page-content {
    min-height: 100%;
    padding-bottom: 150px;
    box-sizing: border-box;
    display: block;
}

:root {
    --bg-base: #1a0510;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-color: #ffffff;
    --text-sec: #ffccf2;
    --accent: #d6006e;
}

body.theme-blue { --bg-base: #020515; --accent: #00f2ff; --text-sec: #ccf9ff; }
body.theme-green { --bg-base: #021002; --accent: #00e676; --text-sec: #ccffda; }
body.theme-yellow { --bg-base: #141000; --accent: #ffb300; --text-sec: #ffecb3; }
body.theme-purple { --bg-base: #100010; --accent: #9c27b0; --text-sec: #e1bee7; }
body.theme-red { --bg-base: #1a0000; --accent: #d50000; --text-sec: #ffcdd2; }
body.theme-dark-blue { --bg-base: #010409; --accent: #2f81f7; --text-sec: #8b949e; }
body.theme-dark { --bg-base: #000000; --accent: #ffffff; --text-sec: #cccccc; }

.container {
    padding: 0 25px;
    max-width: 500px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

.app-header {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.platform-wrapper {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 5px 5px 5px 10px;
    margin-bottom: 10px;
    position: relative;
}

.platform-scroll {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 5px;
}

.platform-scroll::-webkit-scrollbar { display: none; }

.plat-btn {
    flex: 0 0 55px;
    text-align: center;
    padding: 12px 0;
    border-radius: 12px;
    color: var(--text-sec);
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
}

.plat-btn.active {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

.divider-line {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    margin: 0 5px;
}

.custom-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px;
    padding: 8px 4px;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.custom-tabs::-webkit-scrollbar { display: none; }

.custom-tab {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-sec);
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    text-align: center;
    white-space: nowrap;
    transition: 0.2s;
}

.custom-tab.active {
    background: var(--accent);
    color: #000;
    font-weight: 800;
    box-shadow: 0 0 10px var(--accent);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.form-label {
    font-size: 12px;
    color: var(--text-sec);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-control, .form-select {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    color: #ffffff !important;
    padding: 12px;
    border-radius: 12px;
    font-size: 15px;
}

.form-control::placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

.form-control:focus, .form-select:focus {
    background: rgba(0,0,0,0.6);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    color: #fff;
}

.total-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    text-align: center;
    margin: 15px 0;
    text-shadow: 0 0 10px var(--accent);
}

.btn-main {
    background: var(--accent);
    border: none;
    color: #000;
    width: 100%;
    display: block;
    padding: 14px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 0 15px var(--accent);
    text-transform: uppercase;
}

.btn-main:active { transform: scale(0.98); }

/* --- Bottom Navigation Styling --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(10, 15, 20, 0.95); /* မူရင်းအတိုင်း Glass Effect */
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888; /* မနှိပ်ရသေးခင်အရောင် */
    font-size: 11px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--accent); /* လက်ရှိ Page ရောက်နေရင် လင်းနေမည့်အရောင် */
    text-shadow: 0 0 10px var(--accent);
}

/* 🔥 အရေးကြီး - Page Content တွေ Bar အောက်ကွယ်မသွားစေရန် */
.page-content {
    padding-bottom: 80px !important; 
}

/* social.css တွင် ထည့်ရန် */
.social-grid-wrapper {
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.grid-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* တစ်တန်းလျှင် ၃ ခုစီ */
    gap: 12px;
}

.plat-grid-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.plat-grid-btn i {
    font-size: 24px;
    color: var(--text-sec);
}

.plat-grid-btn span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-sec);
}

/* Active ဖြစ်နေလျှင် လင်းနေမည့်ပုံစံ */
.plat-grid-btn.active {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.plat-grid-btn.active i, .plat-grid-btn.active span {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}
