/*!
 * 1xbetapps.click - view-a1cafe.css
 * Mobile-first (320-430px) styling. Custom classes / CSS vars use pga1- prefix.
 * Palette: #FFE135 (amber) | #2E8B57 (sea green) | #2E4057 (deep slate)
 *          #00FA9A (mint accent) | #FFCC33 (gold)
 * Comments in English only.
 */

:root {
    --pga1-amber: #FFE135;
    --pga1-sea: #2E8B57;
    --pga1-slate: #2E4057;
    --pga1-slate-deep: #1d2733;
    --pga1-mint: #00FA9A;
    --pga1-gold: #FFCC33;
    --pga1-ink: #0f1620;
    --pga1-paper: #f4f7fb;
    --pga1-line: rgba(255, 255, 255, 0.08);
    --pga1-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --pga1-radius: 14px;
    --pga1-max: 480px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
    background: var(--pga1-ink);
    color: var(--pga1-paper);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
}

a { color: var(--pga1-mint); text-decoration: none; }
a:hover, a:focus { color: var(--pga1-amber); }
img { max-width: 100%; display: block; }

/* Mobile canvas frame - keeps the 320-430px composition centered on wide screens */
.pga1-canvas {
    max-width: var(--pga1-max);
    margin: 0 auto;
    background: linear-gradient(180deg, #14202c 0%, #0f1620 60%, #0a1018 100%);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

/* ===================== Header ===================== */
.pga1-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(180deg, #1d2733 0%, #14202c 100%);
    border-bottom: 2px solid var(--pga1-amber);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.pga1-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    min-height: 56px;
}

.pga1-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.pga1-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--pga1-amber);
    background: var(--pga1-slate-deep);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 225, 53, 0.35);
}

.pga1-brand-name {
    font-weight: 800;
    font-size: 18px;
    line-height: 1.1;
    color: var(--pga1-amber);
    letter-spacing: 0.3px;
}
.pga1-brand-name small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--pga1-mint);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.pga1-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pga1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: inherit;
}
.pga1-btn-login {
    background: transparent;
    color: var(--pga1-paper);
    border: 1.5px solid var(--pga1-mint);
}
.pga1-btn-login:hover { background: rgba(0, 250, 154, 0.12); }

.pga1-btn-register {
    background: linear-gradient(135deg, var(--pga1-amber) 0%, var(--pga1-gold) 100%);
    color: var(--pga1-ink);
    box-shadow: 0 4px 14px rgba(255, 225, 53, 0.35);
}
.pga1-btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); }

.pga1-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--pga1-slate);
    color: var(--pga1-amber);
    border: 1px solid var(--pga1-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.pga1-menu-btn:hover { background: var(--pga1-slate-deep); }
.pga1-menu-btn svg { width: 20px; height: 20px; }

/* Compact route panel */
.pga1-route-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 10px;
    left: 10px;
    background: #18222e;
    border: 1px solid var(--pga1-line);
    border-radius: var(--pga1-radius);
    box-shadow: var(--pga1-shadow);
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 90;
}
.pga1-route-panel.pga1-route-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.pga1-route-link {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--pga1-paper);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}
.pga1-route-link:hover {
    background: rgba(255, 225, 53, 0.1);
    color: var(--pga1-amber);
    border-color: rgba(255, 225, 53, 0.25);
}

/* ===================== Main / sections ===================== */
.pga1-main {
    padding: 14px 12px 110px;
}

.pga1-section {
    margin: 18px 0;
}
.pga1-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pga1-line);
}
.pga1-section-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--pga1-amber);
    margin: 0;
    letter-spacing: 0.3px;
}
.pga1-section-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 250, 154, 0.15);
    color: var(--pga1-mint);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pga1-h1 {
    font-size: 24px;
    line-height: 1.2;
    margin: 6px 0 8px;
    color: var(--pga1-paper);
}
.pga1-h1 span { color: var(--pga1-amber); }

.pga1-lead {
    color: rgba(244, 247, 251, 0.82);
    font-size: 14px;
    margin: 0 0 12px;
}

/* ===================== Carousel ===================== */
.pga1-carousel {
    position: relative;
    border-radius: var(--pga1-radius);
    overflow: hidden;
    box-shadow: var(--pga1-shadow);
    border: 1px solid var(--pga1-line);
    margin: 12px 0 18px;
}
.pga1-carousel-viewport {
    overflow: hidden;
}
.pga1-carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.pga1-carousel-slide {
    flex: 0 0 100%;
    position: relative;
}
.pga1-carousel-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.pga1-carousel-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 14px 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.pga1-carousel-cap small {
    display: block;
    font-weight: 500;
    color: var(--pga1-mint);
    font-size: 11px;
    margin-bottom: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pga1-carousel-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 14px;
    background: var(--pga1-amber);
    color: var(--pga1-ink);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}
.pga1-carousel-dots {
    position: absolute;
    bottom: 8px;
    right: 10px;
    display: flex;
    gap: 6px;
}
.pga1-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
}
.pga1-dot-active {
    background: var(--pga1-amber);
    width: 18px;
    border-radius: 999px;
}

/* ===================== Game grid ===================== */
.pga1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (min-width: 360px) {
    .pga1-game-grid { gap: 10px; }
}

.pga1-game-card {
    background: linear-gradient(160deg, #1a2632 0%, #131d27 100%);
    border: 1px solid var(--pga1-line);
    border-radius: 12px;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pga1-game-card:hover,
.pga1-game-card:focus {
    transform: translateY(-2px);
    border-color: rgba(0, 250, 154, 0.5);
    box-shadow: 0 6px 16px rgba(0, 250, 154, 0.18);
}
.pga1-game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #0d141d;
    margin-bottom: 5px;
}
.pga1-game-name {
    font-size: 11px;
    line-height: 1.25;
    color: var(--pga1-paper);
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 28px;
}

/* Category badge strip */
.pga1-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(46, 139, 87, 0.18);
    color: var(--pga1-mint);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== Promo / feature cards ===================== */
.pga1-promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}
.pga1-promo-card {
    background: linear-gradient(150deg, #213244 0%, #16202c 100%);
    border: 1px solid var(--pga1-line);
    border-left: 3px solid var(--pga1-amber);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.pga1-promo-card:hover { transform: translateY(-2px); box-shadow: var(--pga1-shadow); }
.pga1-promo-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--pga1-amber);
    margin: 0 0 4px;
}
.pga1-promo-text {
    font-size: 12px;
    color: rgba(244, 247, 251, 0.75);
    margin: 0;
    line-height: 1.45;
}

/* Feature / info blocks */
.pga1-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
}
.pga1-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--pga1-line);
    border-radius: 12px;
    padding: 12px 14px;
}
.pga1-info-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--pga1-mint);
    font-weight: 700;
}
.pga1-info-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(244, 247, 251, 0.78);
    line-height: 1.5;
}

/* Checklist */
.pga1-check-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 8px;
}
.pga1-check-list li {
    position: relative;
    padding: 8px 10px 8px 30px;
    background: rgba(0, 250, 154, 0.06);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(244, 247, 251, 0.85);
    border: 1px solid rgba(0, 250, 154, 0.18);
}
.pga1-check-list li::before {
    content: "✓";
    position: absolute;
    left: 9px;
    top: 7px;
    color: var(--pga1-mint);
    font-weight: 900;
    font-size: 13px;
}

/* SEO prose blocks */
.pga1-prose {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--pga1-line);
    border-radius: 12px;
    padding: 14px;
    margin: 12px 0;
}
.pga1-prose h2 {
    color: var(--pga1-amber);
    font-size: 16px;
    margin: 0 0 8px;
}
.pga1-prose h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--pga1-mint);
    margin-right: 8px;
    vertical-align: -2px;
    border-radius: 2px;
}
.pga1-prose p {
    margin: 0 0 8px;
    font-size: 13.5px;
    color: rgba(244, 247, 251, 0.82);
    line-height: 1.6;
}
.pga1-prose p:last-child { margin-bottom: 0; }

/* ===================== Extended footer (homepage only) ===================== */
.pga1-ext-footer {
    margin: 26px 0 16px;
    padding: 16px 12px;
    background: linear-gradient(180deg, #16202c 0%, #0e161f 100%);
    border-top: 2px solid var(--pga1-sea);
    border-radius: var(--pga1-radius);
}
.pga1-ext-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}
.pga1-ext-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid var(--pga1-amber);
}
.pga1-ext-brand p {
    margin: 0;
    font-size: 12.5px;
    color: rgba(244, 247, 251, 0.78);
    line-height: 1.5;
}
.pga1-ext-group {
    margin: 12px 0;
}
.pga1-ext-group h4 {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--pga1-mint);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.pga1-ext-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.pga1-ext-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pga1-paper);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--pga1-line);
}
.pga1-ext-links a:hover {
    background: rgba(255, 225, 53, 0.1);
    color: var(--pga1-amber);
}
.pga1-ext-links a svg {
    width: 14px;
    height: 14px;
    color: var(--pga1-mint);
    flex-shrink: 0;
}
.pga1-ext-disclaimer {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(46, 139, 87, 0.1);
    border-left: 3px solid var(--pga1-sea);
    border-radius: 6px;
    font-size: 11.5px;
    color: rgba(244, 247, 251, 0.7);
    line-height: 1.5;
}

/* ===================== Bottom bar ===================== */
.pga1-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.pga1-bottom-inner {
    max-width: var(--pga1-max);
    width: 100%;
    background: linear-gradient(180deg, #1a2632 0%, #0d141d 100%);
    border-top: 2px solid var(--pga1-amber);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px 8px;
    gap: 2px;
    pointer-events: auto;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}
.pga1-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    color: rgba(244, 247, 251, 0.65);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    min-height: 52px;
    transition: color 0.18s ease, background 0.18s ease;
    font-family: inherit;
}
.pga1-nav-btn:hover { color: var(--pga1-mint); }
.pga1-nav-btn svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 8px;
    background: var(--pga1-slate);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pga1-nav-active {
    color: var(--pga1-amber) !important;
}
.pga1-nav-active svg {
    background: linear-gradient(135deg, var(--pga1-amber) 0%, var(--pga1-gold) 100%);
    color: var(--pga1-ink);
    box-shadow: 0 0 12px rgba(255, 225, 53, 0.55);
}

/* Hide bottom bar on very wide screens? No - keep mobile canvas; bar is constrained. */
@media (min-width: 600px) {
    .pga1-bottom-inner { border-left: 1px solid var(--pga1-line); border-right: 1px solid var(--pga1-line); }
}

/* Copyright strip */
.pga1-copyright {
    text-align: center;
    padding: 8px 12px 4px;
    font-size: 11px;
    color: rgba(244, 247, 251, 0.5);
    margin-bottom: 70px;
}

/* Utility */
.pga1-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.pga1-cta-row {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}
.pga1-cta-row .pga1-btn { flex: 1; }

.pga1-hidden { display: none !important; }
