/*
Theme Name: 010PH APP
Theme URI: https://010phapp.com/
Author: 010PH APP
Description: 010PH APP Android download mobile access style.
Version: 1.0.0
Text Domain: ph010
*/

/* =========================================================
   010PH APP FULL STYLE
   Orange / Gold Mobile APP Download Layout
========================================================= */

:root {
    --bg: #fff7eb;
    --bg-soft: #fff0d8;
    --bg-card: #ffffff;
    --bg-card-2: #fffaf2;

    --dark: #431400;
    --dark-2: #612000;
    --text: #4b1a00;
    --muted: #81502a;

    --primary: #ff6500;
    --primary-2: #ff8a00;
    --gold: #ffb000;
    --gold-2: #ffd37a;

    --border: rgba(255, 139, 0, 0.22);
    --shadow: 0 18px 42px rgba(99, 39, 0, 0.12);
    --shadow-soft: 0 10px 26px rgba(99, 39, 0, 0.08);

    --radius: 24px;
    --radius-lg: 32px;

    --container: 1200px;
}

/* =========================================================
   Reset / Base
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 176, 0, 0.24), transparent 32%),
        linear-gradient(180deg, #fff7eb 0%, #fff2df 42%, #fff8ed 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.lang-fil,
body.lang-en {
    background:
        radial-gradient(circle at top left, rgba(255, 176, 0, 0.22), transparent 30%),
        linear-gradient(180deg, #fff7eb 0%, #fff2df 42%, #fff8ed 100%);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-2);
}

p {
    margin: 0 0 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    color: var(--dark);
    line-height: 1.15;
}

h1 {
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: -1.6px;
}

h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -1px;
}

h3 {
    font-size: 21px;
}

.site-wrap {
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.site-main,
.app-main {
    width: 100%;
}

/* =========================================================
   Header
========================================================= */

.app-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(255, 247, 235, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 156, 40, 0.22);
    box-shadow: 0 10px 30px rgba(92, 35, 0, 0.08);
}

.app-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.app-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.app-logo img {
    width: 150px;
    height: auto;
    max-height: 52px;
    display: block;
    object-fit: contain;
}

.app-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.app-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 11px;
    border-radius: 999px;
    color: #4b1600;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.22s ease;
}

.app-nav a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #ff7a00, #ffb000);
    box-shadow: 0 8px 18px rgba(255, 119, 0, 0.25);
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-flags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #fff1db;
    border: 1px solid rgba(255, 143, 0, 0.25);
}

.lang-flags a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(96, 43, 0, 0.08);
    transition: 0.22s ease;
}

.lang-flags a:hover,
.lang-flags a.active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fff7e8, #ffe0ac);
    border-color: #ff9d00;
    box-shadow: 0 8px 18px rgba(255, 145, 0, 0.22);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #ff5a00, #ffb000);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28);
    transition: 0.22s ease;
}

.header-cta:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.36);
}

.app-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7a00, #ffb000);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.24);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.app-menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #ffffff;
    transition: 0.22s ease;
}

.app-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.app-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.app-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Buttons / Shared
========================================================= */

.hero-actions,
.content-actions,
.center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.center-actions {
    justify-content: center;
}

.hero-btn-primary,
.hero-btn-secondary,
.site-btn {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none;
    line-height: 1;
    transition: 0.22s ease;
}

.hero-btn-primary,
.site-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #ff5a00, #ffb000);
    box-shadow: 0 14px 30px rgba(255, 94, 0, 0.32);
}

.hero-btn-primary:hover,
.site-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(255, 94, 0, 0.42);
}

.hero-btn-secondary {
    color: #4d1700;
    background: #ffffff;
    border: 1px solid rgba(255, 143, 0, 0.25);
    box-shadow: var(--shadow-soft);
}

.hero-btn-secondary:hover {
    color: #4d1700;
    transform: translateY(-2px);
    background: #fff2dc;
}

.site-btn.large {
    min-height: 58px;
    padding: 0 32px;
    font-size: 16px;
}

/* =========================================================
   Hero
========================================================= */

.app-hero {
    position: relative;
    padding: 74px 0 56px;
}

.app-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 180, 0, 0.22), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(255, 94, 0, 0.16), transparent 32%);
    pointer-events: none;
}

.inner-hero {
    padding: 62px 0 48px;
}

.app-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.app-hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #7d2d00;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff4dc, #ffe0a2);
    border: 1px solid rgba(255, 151, 0, 0.28);
    box-shadow: 0 8px 18px rgba(255, 134, 0, 0.10);
}

.app-hero-content h1 {
    max-width: 760px;
}

.app-hero-content p {
    max-width: 740px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #612000;
    font-size: 13px;
    font-weight: 900;
    background: #ffffff;
    border: 1px solid rgba(255, 148, 0, 0.22);
    box-shadow: 0 8px 18px rgba(84, 33, 0, 0.07);
}

.app-hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,226,171,0.9));
    border: 1px solid rgba(255, 151, 0, 0.28);
    box-shadow: var(--shadow);
}

.app-hero-media::after {
    content: "";
    position: absolute;
    inset: auto 28px -16px 28px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 103, 0, 0.18);
    filter: blur(12px);
    z-index: -1;
}

.app-hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: contain;
    border-radius: 24px;
    background: #fff7e8;
}

/* =========================================================
   Sections
========================================================= */

.app-section {
    padding: 64px 0;
}

.app-section.soft-bg {
    background:
        radial-gradient(circle at top right, rgba(255, 178, 0, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 238, 210, 0.72), rgba(255, 248, 237, 0.72));
}

.section-head {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.app-two-col {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 38px;
    align-items: center;
}

.app-two-col.reverse {
    grid-template-columns: 0.98fr 1.02fr;
}

.content-block {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.content-block p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.85;
}

.image-card {
    padding: 12px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff, #ffe7b9);
    border: 1px solid rgba(255, 147, 0, 0.24);
    box-shadow: var(--shadow);
}

.image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: contain;
    border-radius: 24px;
    background: #fff7e8;
}

/* =========================================================
   Feature Cards
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: 0.24s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff5a00, #ffb000);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 18px;
    background: #fff4df;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    color: var(--dark);
}

.feature-card p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
}

.feature-card a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #ff6500, #ffad00);
    box-shadow: 0 8px 18px rgba(255, 100, 0, 0.22);
}

.feature-card a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================================
   Step Cards
========================================================= */

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step-card {
    position: relative;
    min-height: 230px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff 0%, #fff6e7 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.step-card span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
    background: linear-gradient(135deg, #ff5a00, #ffb000);
    box-shadow: 0 10px 20px rgba(255, 98, 0, 0.25);
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   Notice Cards
========================================================= */

.notice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.notice-card {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.notice-card h3 {
    position: relative;
    padding-left: 18px;
    margin-bottom: 11px;
    font-size: 19px;
}

.notice-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5a00, #ffb000);
}

.notice-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   Game Cards
========================================================= */

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.game-card {
    padding: 14px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.game-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 220;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 15px;
    background: #fff3df;
}

.game-card h3 {
    margin: 0 0 8px;
    padding: 0 4px;
    font-size: 19px;
}

.game-card p {
    margin: 0;
    padding: 0 4px 6px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* =========================================================
   Footer
========================================================= */

.app-footer {
    position: relative;
    margin-top: 70px;
    color: #fff8ee;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.26), transparent 32%),
        linear-gradient(135deg, #451300 0%, #7b2500 45%, #ff6a00 100%);
    overflow: hidden;
}

.footer-cta {
    padding: 34px 18px 0;
}

.footer-cta-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 30px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #fff7e8, #ffe0a8);
    color: #421300;
    box-shadow: 0 20px 46px rgba(45, 12, 0, 0.22);
    border: 1px solid rgba(255, 188, 70, 0.55);
}

.footer-cta-text h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 950;
    color: #421300;
}

.footer-cta-text p {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: #693000;
}

.footer-cta-btn {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #ff5a00, #ffae00);
    box-shadow: 0 14px 30px rgba(255, 94, 0, 0.36);
    transition: 0.22s ease;
}

.footer-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(255, 94, 0, 0.46);
}

.footer-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 18px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(5, 1fr);
    gap: 28px;
    align-items: start;
}

.footer-brand {
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 160px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    margin: 0;
    color: #fff0d7;
    font-size: 15px;
    line-height: 1.75;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    color: #552000;
    font-size: 12px;
    font-weight: 900;
    background: #ffe4ad;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-main-btn {
    margin-top: 20px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a1600;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff, #ffe1a7);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    transition: 0.22s ease;
}

.footer-main-btn:hover {
    color: #4a1600;
    transform: translateY(-2px);
}

.footer-col h3 {
    margin: 4px 0 14px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 950;
}

.footer-col a {
    display: block;
    margin: 0 0 11px;
    color: #ffe9c7;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-policy-row {
    margin-top: 34px;
    padding: 18px 20px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-policy-row span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
}

.footer-policy-row a {
    color: #ffe6bf;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.footer-policy-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-notice {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    color: #fff0d8;
    font-size: 14px;
    line-height: 1.6;
    background: rgba(30, 8, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-bottom p {
    margin: 0;
    color: #ffe8c5;
    font-size: 14px;
}

.back-to-top {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #4b1600;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #fff7e8, #ffd37a);
    box-shadow: 0 10px 20px rgba(0,0,0,0.14);
    transition: 0.22s ease;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* =========================================================
   Mobile Floating Bottom Bar
========================================================= */

.mobile-float-bar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 998;
    width: min(94vw, 460px);
    transform: translateX(-50%);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 247, 235, 0.96);
    border: 1px solid rgba(255, 146, 0, 0.24);
    box-shadow: 0 18px 42px rgba(70, 25, 0, 0.24);
    backdrop-filter: blur(12px);
}

.mobile-float-bar a {
    min-height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff6200, #ffb000);
    box-shadow: 0 8px 18px rgba(255, 98, 0, 0.25);
}

.mobile-float-bar a:hover {
    color: #ffffff;
}

.mobile-float-bar span {
    font-size: 18px;
    line-height: 1;
}

.mobile-float-bar strong {
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
}

/* =========================================================
   WordPress Default Compatibility
========================================================= */

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1120px) {
    .app-nav a {
        padding: 9px 8px;
        font-size: 13px;
    }

    .app-logo img {
        width: 135px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .notice-grid,
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .app-header-inner {
        padding: 10px 14px;
    }

    .app-logo img {
        width: 132px;
        max-height: 48px;
    }

    .app-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        background: #fff7eb;
        border: 1px solid rgba(255, 148, 0, 0.22);
        box-shadow: 0 18px 40px rgba(73, 28, 0, 0.18);
    }

    .app-nav.is-open {
        display: flex;
    }

    .app-nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px;
        border-radius: 16px;
        background: #ffffff;
        color: #4b1600;
        box-shadow: 0 6px 16px rgba(77, 35, 0, 0.06);
    }

    .app-nav a:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #ff7a00, #ffb000);
    }

    .header-cta {
        display: none;
    }

    .app-menu-toggle {
        display: inline-flex;
    }

    .lang-flags a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .app-hero-grid,
    .app-two-col,
    .app-two-col.reverse {
        grid-template-columns: 1fr;
    }

    .app-hero {
        padding: 50px 0 42px;
    }

    .inner-hero {
        padding: 44px 0 38px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .app-footer {
        margin-top: 48px;
        padding-bottom: 82px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-float-bar {
        display: grid;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 24px);
    }

    .app-section {
        padding: 44px 0;
    }

    .section-head {
        margin-bottom: 24px;
        text-align: left;
    }

    .section-head p {
        font-size: 16px;
    }

    .app-hero-content p {
        font-size: 16px;
    }

    .feature-grid,
    .game-grid,
    .notice-grid,
    .step-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .content-block {
        padding: 24px;
        border-radius: 24px;
    }

    .app-hero-media,
    .image-card {
        border-radius: 24px;
    }

    .app-hero-media img,
    .image-card img {
        border-radius: 18px;
    }

    .hero-actions,
    .content-actions,
    .center-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary,
    .site-btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .footer-cta {
        padding: 24px 12px 0;
    }

    .footer-main {
        padding: 34px 12px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand {
        padding: 18px;
        border-radius: 22px;
    }

    .footer-logo img {
        width: 138px;
    }

    .footer-col {
        padding: 16px 18px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-col h3 {
        margin-top: 0;
    }

    .footer-col a {
        margin-bottom: 10px;
    }

    .footer-policy-row {
        padding: 16px;
        border-radius: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-notice {
        padding: 14px 16px;
    }

    .mobile-float-bar {
        bottom: 10px;
        width: calc(100vw - 20px);
        border-radius: 18px;
        gap: 6px;
    }

    .mobile-float-bar a {
        min-height: 48px;
        border-radius: 14px;
        flex-direction: column;
        gap: 3px;
    }

    .mobile-float-bar span {
        font-size: 17px;
    }

    .mobile-float-bar strong {
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .app-header-inner {
        gap: 8px;
    }

    .app-logo img {
        width: 118px;
        max-height: 44px;
    }

    .app-header-actions {
        gap: 7px;
    }

    .lang-flags {
        gap: 4px;
        padding: 3px;
    }

    .lang-flags a {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .app-menu-toggle {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .app-nav {
        left: 10px;
        right: 10px;
        top: calc(100% + 8px);
        padding: 12px;
        border-radius: 18px;
    }

    .app-nav a {
        padding: 13px 14px;
        font-size: 14px;
    }

    .app-hero {
        padding: 38px 0 34px;
    }

    .inner-hero {
        padding: 34px 0 30px;
    }

    h1 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    h2 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    .eyebrow {
        min-height: 30px;
        padding: 0 11px;
        font-size: 11px;
    }

    .hero-points span {
        min-height: 30px;
        font-size: 12px;
    }

    .feature-card,
    .step-card,
    .notice-card,
    .game-card {
        border-radius: 20px;
    }

    .feature-card img,
    .game-card img {
        border-radius: 15px;
    }
}
.lang-flags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #fff1db;
    border: 1px solid rgba(255, 143, 0, 0.25);
}

.lang-flags a {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(96, 43, 0, 0.08);
    overflow: hidden;
    transition: 0.22s ease;
}

.lang-flags a img {
    width: 24px;
    height: 24px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.lang-flags a:hover,
.lang-flags a.active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fff7e8, #ffe0ac);
    border-color: #ff9d00;
    box-shadow: 0 8px 18px rgba(255, 145, 0, 0.22);
}
.floating-back-top {
    position: fixed;
    right: 18px;
    bottom: 92px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a00, #ff3d00);
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 12px 28px rgba(120, 36, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
}

.floating-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(120, 36, 0, 0.36);
}

@media (max-width: 768px) {
    .floating-back-top {
        right: 14px;
        bottom: 82px;
        width: 42px;
        height: 42px;
        font-size: 20px;
        line-height: 42px;
    }
}
/* =========================================================
   010PH Floating Social + Bottom APP Download
========================================================= */

body {
    padding-bottom: 88px;
}

/* 右下角 TG / FB / 客服 */
.right-social-float {
    position: fixed;
    right: 18px;
    bottom: 178px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-social-item {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .3px;
    box-shadow: 0 12px 28px rgba(76, 24, 0, .25);
    border: 2px solid rgba(255, 255, 255, .75);
    transition: transform .2s ease, box-shadow .2s ease;
}

.right-social-item:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 36px rgba(76, 24, 0, .34);
}

.right-social-item.tg {
    background: linear-gradient(135deg, #1da1f2, #0077cc);
}

.right-social-item.fb {
    background: linear-gradient(135deg, #1877f2, #0b49b5);
}

.right-social-item.cs {
    background: linear-gradient(135deg, #ff8a00, #ff3d00);
}

/* 返回顶部按钮位置 */
.floating-back-top {
    position: fixed;
    right: 18px;
    bottom: 118px;
    z-index: 9997;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, .75);
    background: linear-gradient(135deg, #ffb21a, #ff4b00);
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(76, 24, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.floating-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-back-top:hover {
    transform: translateY(-3px);
}

/* 底部完整 APP 下载悬浮 */
.bottom-app-float {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9996;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(255, 246, 234, .16), rgba(255, 246, 234, .96));
    backdrop-filter: blur(10px);
}

.bottom-app-inner {
    max-width: 760px;
    margin: 0 auto;
    min-height: 68px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 24px;
    background: linear-gradient(135deg, #4b1600, #8f2e00 42%, #ff7a00);
    border: 1px solid rgba(255, 218, 130, .65);
    box-shadow: 0 14px 38px rgba(66, 18, 0, .35);
}

.bottom-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff2cc, #ffc14d);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .8);
}

.bottom-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 如果 app-icon.webp 暂时没有上传，也能显示一个占位 */
.bottom-app-icon img[src=""],
.bottom-app-icon img:not([src]) {
    display: none;
}

.bottom-app-text {
    min-width: 0;
    color: #ffffff;
}

.bottom-app-text strong {
    display: block;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
    color: #ffffff;
}

.bottom-app-text span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: rgba(255, 255, 255, .86);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7d6, #ffc83d);
    color: #5b1c00;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 18px rgba(0,0,0,.18);
}

.bottom-app-btn:hover {
    transform: translateY(-1px);
}

/* 手机端优化 */
@media (max-width: 640px) {
    body {
        padding-bottom: 82px;
    }

    .right-social-float {
        right: 12px;
        bottom: 166px;
        gap: 8px;
    }

    .right-social-item {
        width: 43px;
        height: 43px;
        border-radius: 16px;
        font-size: 13px;
    }

    .floating-back-top {
        right: 12px;
        bottom: 110px;
        width: 43px;
        height: 43px;
        border-radius: 16px;
        font-size: 22px;
    }

    .bottom-app-float {
        padding: 8px 10px;
    }

    .bottom-app-inner {
        min-height: 64px;
        grid-template-columns: 50px 1fr auto;
        gap: 9px;
        padding: 9px 10px;
        border-radius: 22px;
    }

    .bottom-app-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .bottom-app-text strong {
        font-size: 15px;
    }

    .bottom-app-text span {
        font-size: 12px;
    }

    .bottom-app-btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
}