/*
Theme Name: 010PH PH Theme
Theme URI: https://010ph.ph/
Author: 010PH
Author URI: https://010ph.ph/
Description: 010PH mobile access theme for app download, login, register, JILI Games, GCash, Maya, promos, VIP and support.
Version: 1.0.0
Text Domain: ph010
*/

/* =========================================================
   010PH GLOBAL STYLE
========================================================= */

:root {
    --primary: #ff6a00;
    --primary-2: #ff8a00;
    --primary-dark: #d93600;
    --red: #c82900;
    --gold: #ffc247;
    --gold-2: #ffe29b;

    --dark: #351000;
    --dark-2: #5a1b00;
    --text: #3b1800;
    --muted: #7a5a3a;

    --bg: #fff6ea;
    --bg-2: #fff0d8;
    --bg-3: #ffe3bc;
    --card: #ffffff;
    --soft: #fffaf3;

    --border: rgba(120, 55, 0, 0.14);
    --border-2: rgba(255, 106, 0, 0.22);

    --shadow: 0 18px 55px rgba(82, 28, 0, 0.14);
    --shadow-soft: 0 10px 30px rgba(82, 28, 0, 0.10);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;

    --container: 1180px;
    --header-height: 84px;
    --bottom-float-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 194, 71, 0.22), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #fffaf4 42%, #fff2dc 100%);
    color: var(--text);
    line-height: 1.72;
    font-size: 16px;
    padding-bottom: var(--bottom-float-height);
}

body.ph-menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

p {
    margin: 0 0 18px;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 16px;
    color: var(--dark);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(34px, 5vw, 58px);
}

h2 {
    font-size: clamp(26px, 3vw, 38px);
}

h3 {
    font-size: clamp(20px, 2vw, 26px);
}

ul,
ol {
    margin-top: 0;
}

strong {
    color: var(--dark);
}

.ph-main-content {
    min-height: 60vh;
}

.ph-container,
.ph-section-inner,
.ph-header-wrap,
.ph-footer-wrap,
.ph-footer-bottom {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.ph-skip-link {
    position: absolute;
    left: 14px;
    top: -100px;
    z-index: 9999;
    background: var(--dark);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.ph-skip-link:focus {
    top: 14px;
}

/* =========================================================
   HEADER
========================================================= */

.ph-site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 246, 234, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 106, 0, 0.18);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.ph-site-header.is-scrolled {
    background: rgba(255, 250, 244, 0.96);
    box-shadow: 0 10px 28px rgba(80, 27, 0, 0.10);
}

.ph-header-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ph-header-left {
    flex: 0 0 auto;
}

.ph-logo {
    display: flex;
    align-items: center;
    width: 168px;
    max-width: 42vw;
}

.ph-logo img {
    width: 168px;
    height: auto;
}

.ph-main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.ph-nav-list,
.ph-mobile-nav-list,
.ph-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ph-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ph-nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--dark-2);
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ph-nav-list a:hover {
    background: rgba(255, 106, 0, 0.10);
    color: var(--primary-dark);
}

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

.ph-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(83, 30, 0, 0.08);
}

.ph-language-switch a,
.ph-mobile-lang-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    border-radius: 999px;
    font-size: 18px;
    transition: all 0.2s ease;
}

.ph-language-switch a.active,
.ph-mobile-lang-row a.active {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    box-shadow: inset 0 -2px 0 rgba(80, 26, 0, 0.14);
}

.ph-header-cta,
.ph-mobile-download,
.ph-btn,
.ph-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    text-align: center;
    font-weight: 900;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ph-header-cta {
    min-height: 44px;
    padding: 10px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.26);
    white-space: nowrap;
}

.ph-header-cta:hover,
.ph-btn:hover,
.ph-footer-btn:hover,
.ph-mobile-download:hover {
    color: #fff;
    transform: translateY(-2px);
}

.ph-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(66, 16, 0, 0.18);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.ph-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ph-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ph-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ph-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.ph-mobile-panel {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 950;
    background: rgba(43, 14, 0, 0.52);
    padding: 16px;
}

.ph-mobile-card {
    width: min(460px, 100%);
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, #fff, #fff7eb);
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.ph-mobile-nav-list {
    display: grid;
    gap: 8px;
}

.ph-mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 900;
    color: var(--dark);
}

.ph-mobile-nav-list a::after {
    content: "›";
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
}

.ph-mobile-lang-row {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ph-mobile-download {
    margin-top: 14px;
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.22);
}

/* =========================================================
   HERO / PAGE COMMON
========================================================= */

.ph-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 44px;
}

.ph-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 194, 71, 0.34), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(255, 106, 0, 0.16), transparent 24%);
    pointer-events: none;
}

.ph-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 34px;
    align-items: center;
}

.ph-hero-text {
    max-width: 620px;
}

.ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 194, 71, 0.24);
    border: 1px solid rgba(255, 106, 0, 0.18);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 16px;
}

.ph-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.12);
}

.ph-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 720px;
}

.ph-hero-actions,
.ph-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
}

.ph-btn {
    min-height: 52px;
    padding: 14px 22px;
    font-size: 15px;
}

.ph-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 34px rgba(255, 106, 0, 0.26);
}

.ph-btn-secondary {
    color: var(--dark);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.ph-btn-secondary:hover {
    color: var(--primary-dark);
    background: #fffaf2;
}

.ph-hero-media {
    position: relative;
}

.ph-hero-media::before {
    content: "";
    position: absolute;
    inset: 8% 4% -4% 8%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.26), rgba(255, 194, 71, 0.34));
    border-radius: 36px;
    filter: blur(4px);
}

.ph-hero-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 14 / 9;
    object-fit: cover;
    border-radius: 34px;
    border: 8px solid #fff;
    box-shadow: var(--shadow);
}

/* =========================================================
   HOME DOMAIN LINKS
========================================================= */

.ph-domain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.ph-domain-grid a {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "dot name"
        "dot label";
    gap: 0 10px;
    align-items: center;
    min-height: 74px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fff7eb);
    border: 1px solid rgba(255, 106, 0, 0.20);
    box-shadow: 0 12px 26px rgba(79, 25, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-domain-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(79, 25, 0, 0.14);
}

.domain-dot {
    grid-area: dot;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.12);
}

.ph-domain-grid strong {
    grid-area: name;
    font-size: 15px;
    word-break: break-all;
}

.ph-domain-grid em {
    grid-area: label;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}

/* =========================================================
   SECTION COMMON
========================================================= */

.ph-section {
    padding: 52px 0;
}

.ph-section.alt {
    background: linear-gradient(180deg, rgba(255, 240, 216, 0.52), rgba(255, 250, 244, 0));
}

.ph-section-head {
    width: min(820px, 100%);
    margin-bottom: 26px;
}

.ph-section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.ph-grid {
    display: grid;
    gap: 18px;
}

.ph-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.ph-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ph-card {
    background: linear-gradient(180deg, #fff, #fffaf4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.ph-card:hover {
    border-color: var(--border-2);
}

.ph-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    font-weight: 900;
    margin-bottom: 14px;
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.18);
}

.ph-feature-card {
    overflow: hidden;
    padding: 0;
}

.ph-feature-card img {
    width: 100%;
    aspect-ratio: 12 / 7.2;
    object-fit: cover;
}

.ph-feature-card .ph-card-body {
    padding: 20px;
}

.ph-check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.ph-check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}

.ph-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.12);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 13px;
}

/* =========================================================
   CONTENT LAYOUT
========================================================= */

.ph-content-wrap {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 58px;
}

.ph-content-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(22px, 4vw, 42px);
}

.ph-content-card h2 {
    margin-top: 34px;
}

.ph-content-card h2:first-child {
    margin-top: 0;
}

.ph-content-card h3 {
    margin-top: 26px;
}

.ph-content-card p,
.ph-content-card li {
    color: #553119;
}

.ph-content-card a:not(.ph-btn) {
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* =========================================================
   GAME CARDS
========================================================= */

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

.ph-game-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ph-game-card img {
    width: 100%;
    aspect-ratio: 300 / 220;
    object-fit: cover;
    background: #fff2dc;
}

.ph-game-card-body {
    padding: 14px;
}

.ph-game-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.ph-game-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* =========================================================
   FAQ
========================================================= */

.ph-faq-list {
    display: grid;
    gap: 12px;
}

.ph-faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(82, 28, 0, 0.07);
    overflow: hidden;
}

.ph-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--dark);
    padding: 18px 20px;
    text-align: left;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ph-faq-question::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.12);
    color: var(--primary-dark);
    font-size: 20px;
    line-height: 1;
}

.ph-faq-item.active .ph-faq-question::after {
    content: "−";
}

.ph-faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
}

.ph-faq-answer p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   TABLE / INFO BOX
========================================================= */

.ph-info-box {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.10), rgba(255, 194, 71, 0.18));
    border: 1px solid rgba(255, 106, 0, 0.18);
    margin: 22px 0;
}

.ph-info-box p:last-child {
    margin-bottom: 0;
}

.ph-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    margin: 22px 0;
}

.ph-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.ph-table th,
.ph-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.ph-table th {
    background: #fff2dc;
    color: var(--dark);
}

.ph-table tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   FOOTER
========================================================= */

.ph-site-footer {
    margin-top: 40px;
    background:
        radial-gradient(circle at top left, rgba(255, 194, 71, 0.22), transparent 28%),
        linear-gradient(135deg, #3a1000, #7d2500 48%, #c74300 100%);
    color: rgba(255, 255, 255, 0.86);
    padding: 52px 0 22px;
}

.ph-footer-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 28px;
}

.ph-footer-logo {
    width: 170px;
    display: inline-flex;
    margin-bottom: 16px;
}

.ph-footer-logo img {
    width: 170px;
}

.ph-footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

.ph-footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ph-footer-btn {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 14px;
}

.ph-footer-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--gold));
}

.ph-footer-btn.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
}

.ph-footer-links h2,
.ph-footer-support h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
}

.ph-footer-menu,
.ph-footer-support ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.ph-footer-menu a,
.ph-footer-support a,
.ph-footer-legal a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.ph-footer-menu a:hover,
.ph-footer-support a:hover,
.ph-footer-legal a:hover {
    color: var(--gold);
}

.ph-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.ph-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ph-footer-social img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ph-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 34px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.ph-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
}

.ph-footer-legal {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
}

/* =========================================================
   RIGHT FLOAT ICONS
========================================================= */

.ph-right-float {
    position: fixed;
    right: 18px;
    bottom: calc(var(--bottom-float-height) + 22px);
    z-index: 850;
    display: grid;
    gap: 10px;
}

.ph-float-icon,
.ph-back-top {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(255, 106, 0, 0.22);
    background: #fff;
    box-shadow: 0 12px 28px rgba(70, 22, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ph-float-icon:hover,
.ph-back-top:hover {
    transform: translateY(-3px);
}

.ph-float-icon img,
.ph-back-top img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ph-back-top {
    opacity: 0;
    pointer-events: none;
}

.ph-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================================
   BOTTOM DOWNLOAD FLOAT
========================================================= */

.ph-bottom-download {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 840;
    width: min(680px, calc(100% - 28px));
    min-height: 70px;
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #fff2dc);
    border: 1px solid rgba(255, 106, 0, 0.26);
    box-shadow: 0 16px 44px rgba(82, 28, 0, 0.22);
}

.ph-bottom-download:hover {
    color: var(--dark);
}

.ph-bottom-download-img {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--gold));
}

.ph-bottom-download-img img {
    width: 96px;
    height: 54px;
    object-fit: cover;
}

.ph-bottom-download-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ph-bottom-download-text strong {
    font-size: 18px;
}

.ph-bottom-download-text em {
    font-style: normal;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}

/* =========================================================
   SIMPLE PAGE BLOCKS
========================================================= */

.ph-page-title {
    padding: 48px 0 28px;
    text-align: center;
}

.ph-page-title p {
    width: min(760px, 100%);
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.ph-mini-cta {
    margin: 28px 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.ph-mini-cta h2,
.ph-mini-cta h3,
.ph-mini-cta p {
    color: #fff;
    margin-bottom: 6px;
}

.ph-mini-cta .ph-btn {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: none;
}

.ph-mini-cta .ph-btn:hover {
    color: var(--primary-dark);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {
    .ph-main-nav {
        display: none;
    }

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

    .ph-header-cta {
        display: none;
    }

    .ph-header-wrap {
        min-height: 76px;
    }

    .ph-mobile-panel {
        inset: 76px 0 0;
    }

    :root {
        --header-height: 76px;
    }
}

@media (max-width: 900px) {
    .ph-hero {
        padding: 42px 0 32px;
    }

    .ph-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ph-hero-text {
        max-width: 100%;
    }

    .ph-grid-4,
    .ph-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ph-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ph-footer-wrap {
        grid-template-columns: 1fr;
    }

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

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

    .ph-container,
    .ph-section-inner,
    .ph-header-wrap,
    .ph-footer-wrap,
    .ph-footer-bottom {
        width: min(100% - 24px, var(--container));
    }

    .ph-logo,
    .ph-logo img {
        width: 138px;
    }

    .ph-language-switch {
        padding: 4px;
        gap: 3px;
    }

    .ph-language-switch a {
        width: 32px;
        height: 30px;
        font-size: 16px;
    }

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

    .ph-menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .ph-hero-inner,
    .ph-content-wrap {
        width: min(100% - 24px, var(--container));
    }

    .ph-hero p,
    .ph-page-title p,
    .ph-section-head p {
        font-size: 16px;
    }

    .ph-hero-actions,
    .ph-cta-row {
        align-items: stretch;
        flex-direction: column;
    }

    .ph-btn {
        width: 100%;
    }

    .ph-domain-grid,
    .ph-grid-2,
    .ph-grid-3,
    .ph-grid-4 {
        grid-template-columns: 1fr;
    }

    .ph-domain-grid a {
        min-height: 66px;
    }

    .ph-section {
        padding: 38px 0;
    }

    .ph-content-card {
        border-radius: 24px;
    }

    .ph-game-grid {
        grid-template-columns: 1fr;
    }

    .ph-right-float {
        right: 10px;
        bottom: 108px;
        gap: 8px;
    }

    .ph-float-icon,
    .ph-back-top {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .ph-float-icon img,
    .ph-back-top img {
        width: 28px;
        height: 28px;
    }

    .ph-bottom-download {
        bottom: 10px;
        width: calc(100% - 20px);
        grid-template-columns: 72px 1fr;
        min-height: 70px;
        padding: 8px 12px 8px 8px;
        border-radius: 20px;
    }

    .ph-bottom-download-img img {
        width: 72px;
        height: 52px;
    }

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

    .ph-bottom-download-text em {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .ph-language-switch {
        display: none;
    }

    .ph-mobile-lang-row {
        display: flex;
    }

    .ph-hero-media img {
        border-width: 5px;
        border-radius: 24px;
    }

    .ph-card {
        padding: 18px;
    }

    .ph-mini-cta {
        padding: 18px;
    }
}
.ph-language-switch,
.ph-mobile-lang-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-flag-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 106, 0, 0.22);
    box-shadow: 0 8px 18px rgba(120, 45, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ph-flag-btn:hover {
    transform: translateY(-2px);
    background: #fff7ed;
    box-shadow: 0 12px 24px rgba(120, 45, 0, 0.18);
}

.ph-flag-btn.active {
    background: linear-gradient(135deg, #ff7a00, #ffb000);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.32);
}

.ph-mobile-lang-row {
    justify-content: center;
    margin-top: 14px;
}
/* =========================================================
   010PH SIMPLE OFFICIAL DOMAIN LINKS
========================================================= */

.ph-simple-domain-links {
    width: 100%;
    margin: 24px 0;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff7ea 0%, #ffe4bf 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    box-shadow: 0 14px 34px rgba(120, 45, 0, 0.1);
}

.ph-simple-domain-btn {
    min-height: 64px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7b24 0%, #ff4a08 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 900;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 3px 0 rgba(90, 22, 0, 0.22);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        0 10px 24px rgba(255, 75, 8, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ph-simple-domain-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #ff8a32 0%, #ff3d00 100%);
    color: #ffffff;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 14px 30px rgba(255, 75, 8, 0.26);
}

@media (max-width: 768px) {
    .ph-simple-domain-links {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 11px;
        border-radius: 20px;
        margin: 20px 0;
    }

    .ph-simple-domain-btn {
        min-height: 54px;
        padding: 0 14px;
        font-size: 18px;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 380px) {
    .ph-simple-domain-btn {
        min-height: 50px;
        font-size: 16px;
    }
}
.ph-language-switch,
.ph-mobile-lang-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-flag-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 106, 0, 0.22);
    box-shadow: 0 8px 18px rgba(120, 45, 0, 0.12);
    text-decoration: none;
    overflow: hidden;
}

.ph-flag-btn img {
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 999px;
    object-fit: cover;
}

.ph-flag-btn.active {
    background: linear-gradient(135deg, #ff7a00, #ffb000);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.32);
}

.ph-flag-btn:hover {
    transform: translateY(-2px);
}
/* =========================================================
   010PH NEW BOTTOM FLOAT APP BAR
========================================================= */

.ph-bottom-appbar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 9998;
    width: min(720px, calc(100% - 28px));
    pointer-events: none;
}

.ph-bottom-appbar-link {
    pointer-events: auto;
    min-height: 78px;
    padding: 10px 12px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 213, 0.98));
    border: 1px solid rgba(255, 122, 0, 0.28);
    box-shadow:
        0 18px 42px rgba(92, 35, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.ph-bottom-app-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7a00, #ffb000);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.32);
    overflow: hidden;
    flex: 0 0 auto;
}

.ph-bottom-app-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.ph-bottom-app-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ph-bottom-app-copy strong {
    color: #421300;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ph-bottom-app-copy em {
    color: #9a4300;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ph-bottom-app-btn {
    min-width: 132px;
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ff7b24 0%, #ff4a08 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 0 rgba(80, 20, 0, 0.22);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        0 10px 22px rgba(255, 75, 8, 0.28);
}

.ph-bottom-appbar-link:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 52px rgba(92, 35, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.ph-bottom-appbar-link:hover .ph-bottom-app-btn {
    background: linear-gradient(180deg, #ff8b32 0%, #ff3d00 100%);
}

/* 给页面底部留空间，避免悬浮挡内容 */
body {
    padding-bottom: 108px;
}

@media (max-width: 640px) {
    .ph-bottom-appbar {
        width: calc(100% - 18px);
        bottom: 10px;
    }

    .ph-bottom-appbar-link {
        min-height: 66px;
        padding: 8px 9px;
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 9px;
        border-radius: 22px;
    }

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

    .ph-bottom-app-icon img {
        width: 46px;
        height: 46px;
    }

    .ph-bottom-app-copy strong {
        font-size: 16px;
    }

    .ph-bottom-app-copy em {
        font-size: 12px;
    }

    .ph-bottom-app-btn {
        min-width: 86px;
        height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }

    body {
        padding-bottom: 88px;
    }
}

@media (max-width: 380px) {
    .ph-bottom-app-copy em {
        display: none;
    }

    .ph-bottom-app-btn {
        min-width: 78px;
        font-size: 13px;
        padding: 0 10px;
    }
}