/* ============================================================
 * okada login app - layout-b364.css
 * All custom classes use the "pgb3-" prefix.
 * Mobile-first: optimized for max-width 430px viewports.
 * Color palette: #FF91A4 / #FA8072 / #2C3E50 / #FF1493 / #CED4DA
 * ============================================================ */

:root {
    --pgb3-primary: #FF91A4;
    --pgb3-coral: #FA8072;
    --pgb3-deep: #2C3E50;
    --pgb3-magenta: #FF1493;
    --pgb3-mist: #CED4DA;
    --pgb3-bg: #1c2a39;
    --pgb3-bg-alt: #233446;
    --pgb3-text: #f3eef0;
    --pgb3-muted: #b8c2cf;
    --pgb3-gold: #ffd479;
    --pgb3-shadow: 0 6px 22px rgba(0, 0, 0, .28);
    --pgb3-radius: 14px;
    --pgb3-header-h: 58px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
    background: linear-gradient(160deg, var(--pgb3-bg) 0%, var(--pgb3-deep) 100%);
    color: var(--pgb3-text);
    font-size: 1.5rem;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---------- Layout primitives ---------- */
.pgb3-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 14px;
}
.pgb3-wrapper {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}
.pgb3-section {
    padding: 26px 0 12px;
}

/* ---------- Header / top nav ---------- */
.pgb3-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--pgb3-header-h);
    background: rgba(28, 42, 57, .96);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--pgb3-magenta);
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.pgb3-header-inner {
    max-width: 430px;
    height: 100%;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.pgb3-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pgb3-text);
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: .3px;
}
.pgb3-logo img {
    width: 30px; height: 30px; border-radius: 8px;
    box-shadow: 0 0 0 2px var(--pgb3-magenta);
}
.pgb3-logo .pgb3-logo-accent { color: var(--pgb3-primary); }
.pgb3-actions { display: flex; align-items: center; gap: 6px; }

.pgb3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 7px 14px;
    border-radius: 30px;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s;
    color: #fff;
    background: linear-gradient(135deg, var(--pgb3-primary), var(--pgb3-magenta));
    box-shadow: 0 3px 10px rgba(255, 20, 147, .35);
    min-height: 34px;
}
.pgb3-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pgb3-btn:active { transform: scale(.96); }
.pgb3-btn-ghost {
    background: transparent;
    border: 1.5px solid var(--pgb3-primary);
    color: var(--pgb3-primary);
    box-shadow: none;
}
.pgb3-btn-block {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.5rem;
}
.pgb3-btn-lg { padding: 11px 22px; font-size: 1.45rem; }

.pgb3-iconbtn {
    background: transparent;
    border: none;
    color: var(--pgb3-text);
    font-size: 1.9rem;
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

/* ---------- Mobile menu drawer ---------- */
.pgb3-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    z-index: 9998;
}
.pgb3-backdrop-show { opacity: 1; visibility: visible; }

.pgb3-mobilemenu {
    position: fixed;
    top: 0; right: -82%;
    width: 78%;
    max-width: 320px;
    height: 100%;
    background: var(--pgb3-bg-alt);
    z-index: 9999;
    transition: right .3s ease;
    padding: 22px 18px;
    overflow-y: auto;
    border-left: 2px solid var(--pgb3-magenta);
}
.pgb3-menu-open { right: 0; }
.pgb3-mobilemenu h3 {
    color: var(--pgb3-primary);
    font-size: 1.5rem;
    margin: 18px 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pgb3-mobilemenu a {
    display: block;
    padding: 11px 10px;
    border-radius: 8px;
    color: var(--pgb3-text);
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .15s;
}
.pgb3-mobilemenu a:hover { background: rgba(255, 145, 164, .12); }

/* ---------- Hero / Carousel ---------- */
.pgb3-hero {
    margin-top: calc(var(--pgb3-header-h) + 12px);
}
.pgb3-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--pgb3-shadow);
    aspect-ratio: 16 / 9;
}
.pgb3-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--pgb3-fade, 380ms) ease;
}
.pgb3-slide img {
    width: 100%; height: 100%; object-fit: cover;
}
.pgb3-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 26px 16px 14px;
    background: linear-gradient(to top, rgba(28,42,57,.92), transparent);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
}
.pgb3-slide-active { opacity: 1; }
.pgb3-dot-row {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 6px;
}
.pgb3-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.pgb3-dot-active { background: var(--pgb3-primary); transform: scale(1.3); }

/* ---------- Hero CTA banner ---------- */
.pgb3-hero-cta {
    margin: 16px 0 4px;
    padding: 18px 16px;
    background: linear-gradient(135deg, rgba(255,20,147,.18), rgba(250,128,114,.18));
    border: 1px solid rgba(255,145,164,.35);
    border-radius: var(--pgb3-radius);
    text-align: center;
}
.pgb3-hero-cta h1 {
    font-size: 1.85rem;
    margin-bottom: 6px;
    color: #fff;
}
.pgb3-hero-cta p {
    color: var(--pgb3-muted);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

/* ---------- Section headings ---------- */
.pgb3-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}
.pgb3-section-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pgb3-section-title i { color: var(--pgb3-primary); }
.pgb3-section-more {
    color: var(--pgb3-primary);
    font-size: 1.25rem;
}

/* ---------- Category filter chips ---------- */
.pgb3-chips {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 6px 0 12px;
    scrollbar-width: none;
}
.pgb3-chips::-webkit-scrollbar { display: none; }
.pgb3-chip {
    flex: 0 0 auto;
    padding: 6px 13px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    color: var(--pgb3-muted);
    font-size: 1.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .15s;
}
.pgb3-chip-active {
    background: linear-gradient(135deg, var(--pgb3-primary), var(--pgb3-magenta));
    color: #fff;
    border-color: transparent;
}

/* ---------- Game grid ---------- */
.pgb3-cat-block { margin-bottom: 8px; }
.pgb3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.pgb3-card {
    background: var(--pgb3-bg-alt);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .15s, box-shadow .2s, border-color .2s;
}
.pgb3-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 20, 147, .25);
    border-color: var(--pgb3-primary);
}
.pgb3-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0f1620;
}
.pgb3-card-name {
    padding: 6px 7px 8px;
    font-size: 1.15rem;
    color: var(--pgb3-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
.pgb3-card-badge {
    position: absolute;
    top: 5px; left: 5px;
    background: linear-gradient(135deg, var(--pgb3-coral), var(--pgb3-magenta));
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ---------- Featured game banner ---------- */
.pgb3-featured {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255,145,164,.12), rgba(44,62,80,.4));
    border: 1px solid rgba(255,145,164,.25);
    border-radius: var(--pgb3-radius);
    margin-bottom: 12px;
}
.pgb3-featured img {
    width: 96px; height: 96px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.pgb3-featured-body { flex: 1; min-width: 0; }
.pgb3-featured-body h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}
.pgb3-featured-body p {
    color: var(--pgb3-muted);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* ---------- Info / feature blocks ---------- */
.pgb3-info {
    padding: 18px 16px;
    background: rgba(255,255,255,.04);
    border-radius: var(--pgb3-radius);
    border-left: 3px solid var(--pgb3-primary);
    margin-bottom: 12px;
}
.pgb3-info h2 {
    font-size: 1.75rem;
    color: var(--pgb3-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.pgb3-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 14px 0 6px;
}
.pgb3-info p {
    color: var(--pgb3-muted);
    margin-bottom: 10px;
    font-size: 1.35rem;
}
.pgb3-info ul { margin: 6px 0 12px 4px; }
.pgb3-info li {
    color: var(--pgb3-muted);
    padding: 5px 0 5px 18px;
    position: relative;
    font-size: 1.3rem;
}
.pgb3-info li::before {
    content: "▸";
    color: var(--pgb3-primary);
    position: absolute;
    left: 0;
}
.pgb3-info a {
    color: var(--pgb3-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Feature card grid ---------- */
.pgb3-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.pgb3-feat-card {
    background: var(--pgb3-bg-alt);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.06);
}
.pgb3-feat-card i {
    font-size: 2.6rem;
    color: var(--pgb3-primary);
    margin-bottom: 6px;
}
.pgb3-feat-card h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.pgb3-feat-card p {
    color: var(--pgb3-muted);
    font-size: 1.15rem;
}

/* ---------- RTP / stats ---------- */
.pgb3-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}
.pgb3-rtp-card {
    background: var(--pgb3-bg-alt);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.06);
}
.pgb3-rtp-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pgb3-gold);
    display: block;
    margin-bottom: 2px;
}
.pgb3-rtp-label {
    font-size: 1.15rem;
    color: var(--pgb3-muted);
}

/* ---------- Testimonials ---------- */
.pgb3-testi {
    background: var(--pgb3-bg-alt);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 9px;
    border: 1px solid rgba(255,255,255,.06);
}
.pgb3-testi-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
}
.pgb3-testi-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pgb3-primary), var(--pgb3-magenta));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.3rem;
}
.pgb3-testi-name {
    font-weight: 700; color: #fff; font-size: 1.3rem;
}
.pgb3-testi-stars { color: var(--pgb3-gold); font-size: 1.1rem; margin-left: auto; }
.pgb3-testi-text { color: var(--pgb3-muted); font-size: 1.25rem; }

/* ---------- Winners ticker ---------- */
.pgb3-winner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--pgb3-bg-alt);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 1.2rem;
}
.pgb3-winner-row span:first-child { color: #fff; font-weight: 600; }
.pgb3-winner-amount { color: var(--pgb3-gold); font-weight: 800; }

/* ---------- Payment icons ---------- */
.pgb3-pay-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pgb3-pay-pill {
    background: var(--pgb3-bg-alt);
    border: 1px solid rgba(255,255,255,.08);
    padding: 7px 13px;
    border-radius: 22px;
    font-size: 1.15rem;
    color: var(--pgb3-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pgb3-pay-pill i { color: var(--pgb3-primary); }

/* ---------- FAQ accordion ---------- */
.pgb3-faq-item {
    background: var(--pgb3-bg-alt);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
}
.pgb3-faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 14px;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.pgb3-faq-q .pgb3-faq-ic { color: var(--pgb3-primary); transition: transform .2s; }
.pgb3-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 14px;
    color: var(--pgb3-muted);
    font-size: 1.25rem;
}
.pgb3-faq-open .pgb3-faq-a { max-height: 360px; padding-bottom: 12px; }
.pgb3-faq-open .pgb3-faq-ic { transform: rotate(45deg); }

/* ---------- Promotional banner ---------- */
.pgb3-promo {
    background: linear-gradient(135deg, var(--pgb3-magenta), var(--pgb3-coral));
    border-radius: var(--pgb3-radius);
    padding: 18px 16px;
    text-align: center;
    margin: 14px 0;
    color: #fff;
    box-shadow: var(--pgb3-shadow);
}
.pgb3-promo h3 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}
.pgb3-promo p {
    font-size: 1.3rem;
    margin-bottom: 12px;
    opacity: .95;
}
.pgb3-promo .pgb3-btn {
    background: #fff;
    color: var(--pgb3-magenta);
}

/* ---------- App download CTA ---------- */
.pgb3-app-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: var(--pgb3-bg-alt);
    border-radius: var(--pgb3-radius);
    border: 1px solid rgba(255,145,164,.3);
    margin-bottom: 12px;
}
.pgb3-app-cta-icon {
    font-size: 3rem;
    color: var(--pgb3-primary);
}
.pgb3-app-cta-body { flex: 1; }
.pgb3-app-cta-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.pgb3-app-cta-body p { color: var(--pgb3-muted); font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.pgb3-footer {
    margin-top: 26px;
    padding: 26px 0 30px;
    background: #0f1620;
    border-top: 2px solid var(--pgb3-magenta);
}
.pgb3-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}
.pgb3-footer h4 {
    color: var(--pgb3-primary);
    font-size: 1.35rem;
    margin-bottom: 8px;
}
.pgb3-footer a {
    display: block;
    color: var(--pgb3-muted);
    font-size: 1.2rem;
    padding: 4px 0;
    transition: color .15s;
}
.pgb3-footer a:hover { color: var(--pgb3-primary); }
.pgb3-footer p {
    color: var(--pgb3-muted);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.pgb3-footer-promos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.pgb3-footer-promos .pgb3-btn { font-size: 1.15rem; padding: 6px 12px; }
.pgb3-footer-copy {
    text-align: center;
    color: var(--pgb3-muted);
    font-size: 1.15rem;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- Bottom navigation (mobile only) ---------- */
.pgb3-bottomnav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 62px;
    background: rgba(15, 22, 32, .98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--pgb3-magenta);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    transition: transform .25s ease;
}
.pgb3-bottomnav-hidden { transform: translateY(100%); }
.pgb3-bottomnav-btn {
    flex: 1;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--pgb3-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    font-size: 1rem;
    transition: color .15s, transform .15s;
}
.pgb3-bottomnav-btn i {
    font-size: 2.2rem;
}
.pgb3-bottomnav-btn:active { transform: scale(.92); }
.pgb3-bottomnav-btn:hover { color: var(--pgb3-primary); }
.pgb3-bottomnav-active { color: var(--pgb3-primary); }
.pgb3-bottomnav-active i { transform: translateY(-2px); }

/* ---------- Misc helpers ---------- */
.pgb3-text-link {
    color: var(--pgb3-primary);
    text-decoration: underline;
    cursor: pointer;
}
.pgb3-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 14px 0;
}

/* ---------- Mobile bottom padding clearance ---------- */
@media (max-width: 768px) {
    main.pgb3-main {
        padding-bottom: 80px;
    }
}

/* ---------- Desktop: hide bottom nav, widen container ---------- */
@media (min-width: 769px) {
    .pgb3-bottomnav { display: none; }
    .pgb3-container,
    .pgb3-header-inner,
    .pgb3-wrapper {
        max-width: 760px;
    }
    .pgb3-grid { grid-template-columns: repeat(5, 1fr); }
    .pgb3-feat-grid { grid-template-columns: repeat(4, 1fr); }
    .pgb3-rtp-grid { grid-template-columns: repeat(4, 1fr); }
    .pgb3-footer-grid { grid-template-columns: repeat(4, 1fr); }
}
