/**
 * KG999 Price - Main Stylesheet
 * Class prefix: pg34-
 * Color palette: #00FA9A | #95A5A6 | #34495E | #0A0A0A | #8FBC8F
 * Mobile-first design, max-width 430px
 */

/* Root variables */
:root {
    --pg34-primary: #00FA9A;
    --pg34-secondary: #8FBC8F;
    --pg34-accent: #00FA9A;
    --pg34-dark: #0A0A0A;
    --pg34-gray-dark: #34495E;
    --pg34-gray-mid: #95A5A6;
    --pg34-gray-light: #bdc3c7;
    --pg34-bg: #0A0A0A;
    --pg34-bg-card: #1a1a2e;
    --pg34-bg-section: #16213e;
    --pg34-text: #e0e0e0;
    --pg34-text-bright: #ffffff;
    --pg34-text-muted: #95A5A6;
    --pg34-border: #2a2a4a;
    --pg34-gold: #FFD700;
    --pg34-header-h: 56px;
    --pg34-bottom-h: 62px;
    --pg34-radius: 8px;
    --pg34-radius-lg: 12px;
    --pg34-shadow: 0 2px 12px rgba(0, 250, 154, 0.15);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--pg34-bg);
    color: var(--pg34-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
a { color: var(--pg34-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pg34-text-bright); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.pg34-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    border-bottom: 1px solid var(--pg34-border);
    height: var(--pg34-header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.2rem;
    max-width: 430px; margin: 0 auto;
}
.pg34-logo-wrap {
    display: flex; align-items: center; gap: 0.8rem;
}
.pg34-logo-wrap img { width: 28px; height: 28px; border-radius: 6px; }
.pg34-logo-text {
    font-size: 1.5rem; font-weight: 700; color: var(--pg34-primary);
    letter-spacing: 0.5px;
}
.pg34-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.pg34-btn-reg, .pg34-btn-login {
    padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem;
    font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.pg34-btn-reg {
    background: linear-gradient(135deg, #00FA9A, #00cc7a);
    color: #0A0A0A;
}
.pg34-btn-reg:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(0,250,154,0.4); }
.pg34-btn-login {
    background: transparent; color: var(--pg34-primary);
    border: 1px solid var(--pg34-primary);
}
.pg34-btn-login:hover { background: rgba(0,250,154,0.1); }
.pg34-menu-toggle {
    background: none; border: none; color: var(--pg34-primary);
    font-size: 2rem; cursor: pointer; padding: 0.4rem;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.pg34-menu-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0;
    transition: opacity 0.3s;
}
.pg34-mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
    background: linear-gradient(180deg, #0d0d1a, #1a1a2e);
    z-index: 9999; transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0.3s;
    visibility: hidden; overflow-y: auto; padding-top: 1rem;
}
.pg34-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--pg34-border);
}
.pg34-menu-header span { color: var(--pg34-primary); font-size: 1.6rem; font-weight: 700; }
.pg34-menu-close {
    background: none; border: none; color: var(--pg34-text-muted);
    font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.pg34-menu-links { padding: 0.8rem 0; }
.pg34-menu-links a {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.5rem; color: var(--pg34-text);
    font-size: 1.35rem; transition: all 0.2s; border-left: 3px solid transparent;
}
.pg34-menu-links a:hover, .pg34-menu-links a:focus {
    background: rgba(0,250,154,0.08); color: var(--pg34-primary);
    border-left-color: var(--pg34-primary);
}
.pg34-menu-links a i { font-size: 1.6rem; width: 22px; text-align: center; }

/* Main content */
.pg34-main {
    padding-top: var(--pg34-header-h);
    min-height: 100vh;
}

/* Slideshow */
.pg34-slideshow {
    position: relative; overflow: hidden; width: 100%;
    aspect-ratio: 16/9; background: var(--pg34-bg-card);
}
.pg34-slide {
    display: none; width: 100%; height: 100%; cursor: pointer;
}
.pg34-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg34-slide-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.pg34-slide-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: background 0.3s;
}
.pg34-dot-active { background: var(--pg34-primary); }

/* Section layout */
.pg34-section {
    padding: 2rem 1.2rem;
}
.pg34-section-title {
    font-size: 1.7rem; font-weight: 700; color: var(--pg34-text-bright);
    margin-bottom: 1.2rem; padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pg34-primary);
    display: flex; align-items: center; gap: 0.6rem;
}
.pg34-section-title i { color: var(--pg34-primary); }

/* Category header */
.pg34-cat-header {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 1rem; padding: 0.8rem 1.2rem;
    background: var(--pg34-bg-card); border-radius: var(--pg34-radius);
    border-left: 3px solid var(--pg34-primary);
}
.pg34-cat-header h2 {
    font-size: 1.5rem; color: var(--pg34-primary); font-weight: 700;
}

/* Game grid */
.pg34-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 0 0.4rem;
}
.pg34-game-item {
    display: flex; flex-direction: column; align-items: center;
    cursor: pointer; transition: transform 0.2s;
    border-radius: var(--pg34-radius); padding: 0.5rem;
}
.pg34-game-item:hover { transform: translateY(-2px); }
.pg34-game-item img {
    width: 100%; aspect-ratio: 1/1; border-radius: 10px;
    object-fit: cover; border: 2px solid var(--pg34-border);
    transition: border-color 0.2s;
}
.pg34-game-item:hover img { border-color: var(--pg34-primary); }
.pg34-game-name {
    font-size: 1.05rem; color: var(--pg34-text); text-align: center;
    margin-top: 0.4rem; line-height: 1.3; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}

/* Promo buttons & links */
.pg34-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00FA9A, #00cc7a);
    color: #0A0A0A; font-weight: 700; padding: 0.8rem 2rem;
    border-radius: 8px; font-size: 1.3rem; cursor: pointer;
    border: none; transition: all 0.3s; text-align: center;
}
.pg34-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,250,154,0.4);
}
.pg34-promo-text {
    color: var(--pg34-primary); font-weight: 700; cursor: pointer;
    border-bottom: 1px dashed var(--pg34-primary);
}
.pg34-promo-text:hover { color: var(--pg34-text-bright); }

/* Cards */
.pg34-card {
    background: var(--pg34-bg-card); border-radius: var(--pg34-radius-lg);
    padding: 1.5rem; border: 1px solid var(--pg34-border);
    margin-bottom: 1.2rem;
}
.pg34-card-title {
    font-size: 1.4rem; font-weight: 700; color: var(--pg34-text-bright);
    margin-bottom: 0.8rem;
}
.pg34-card p { color: var(--pg34-text-muted); line-height: 1.6; font-size: 1.3rem; }

/* Winner strip */
.pg34-winner-strip {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.8rem 1rem; background: var(--pg34-bg-card);
    border-radius: var(--pg34-radius); margin-bottom: 0.5rem;
    border-left: 3px solid var(--pg34-gold);
}
.pg34-winner-strip .pg34-w-name { font-size: 1.2rem; color: var(--pg34-text-bright); }
.pg34-winner-strip .pg34-w-game { font-size: 1.1rem; color: var(--pg34-primary); }
.pg34-winner-strip .pg34-w-amount { font-size: 1.3rem; color: var(--pg34-gold); font-weight: 700; }

/* Feature list */
.pg34-feature-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.pg34-feature-item {
    background: var(--pg34-bg-card); border-radius: var(--pg34-radius);
    padding: 1.2rem; text-align: center; border: 1px solid var(--pg34-border);
    transition: border-color 0.2s;
}
.pg34-feature-item:hover { border-color: var(--pg34-primary); }
.pg34-feature-item i { font-size: 2rem; color: var(--pg34-primary); margin-bottom: 0.5rem; display: block; }
.pg34-feature-item p { font-size: 1.1rem; color: var(--pg34-text); }

/* Testimonial */
.pg34-testimonial {
    background: var(--pg34-bg-section); border-radius: var(--pg34-radius-lg);
    padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--pg34-secondary);
}
.pg34-testimonial-text { font-size: 1.2rem; color: var(--pg34-text); font-style: italic; line-height: 1.5; }
.pg34-testimonial-author { font-size: 1.1rem; color: var(--pg34-primary); margin-top: 0.5rem; font-weight: 600; }

/* Payment methods */
.pg34-payment-grid {
    display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.pg34-payment-item {
    background: var(--pg34-bg-card); border-radius: var(--pg34-radius);
    padding: 0.8rem 1.2rem; border: 1px solid var(--pg34-border);
    font-size: 1.2rem; color: var(--pg34-text); display: flex;
    align-items: center; gap: 0.5rem;
}
.pg34-payment-item i { color: var(--pg34-primary); font-size: 1.6rem; }

/* Footer */
.pg34-footer {
    background: linear-gradient(180deg, #0d0d1a 0%, #050510 100%);
    border-top: 1px solid var(--pg34-border);
    padding: 2rem 1.2rem 6rem;
}
.pg34-footer-brand { margin-bottom: 1.5rem; }
.pg34-footer-brand p { font-size: 1.2rem; color: var(--pg34-text-muted); line-height: 1.5; }
.pg34-footer-links {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.pg34-footer-links a {
    padding: 0.5rem 1rem; background: var(--pg34-bg-card);
    border-radius: 6px; font-size: 1.1rem; color: var(--pg34-text);
    border: 1px solid var(--pg34-border); transition: all 0.2s;
}
.pg34-footer-links a:hover { border-color: var(--pg34-primary); color: var(--pg34-primary); }
.pg34-footer-promo {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
    justify-content: center;
}
.pg34-footer-promo .pg34-promo-btn { font-size: 1.1rem; padding: 0.6rem 1.4rem; }
.pg34-footer-copy {
    text-align: center; font-size: 1.1rem; color: var(--pg34-text-muted);
    padding-top: 1rem; border-top: 1px solid var(--pg34-border);
}

/* Bottom navigation */
.pg34-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
    border-top: 1px solid var(--pg34-border);
    display: flex; justify-content: space-around; align-items: center;
    height: var(--pg34-bottom-h); padding: 0 0.4rem;
    max-width: 430px; margin: 0 auto;
}
.pg34-bottom-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 54px;
    cursor: pointer; transition: all 0.2s; border: none;
    background: none; color: var(--pg34-text-muted); gap: 2px;
    border-radius: 8px; padding: 4px 0;
}
.pg34-bottom-btn i, .pg34-bottom-btn .material-symbols-outlined {
    font-size: 2.2rem; transition: color 0.2s;
}
.pg34-bottom-btn span { font-size: 1rem; }
.pg34-bottom-btn:hover, .pg34-bottom-btn.pg34-active {
    color: var(--pg34-primary);
}
.pg34-bottom-btn:hover i, .pg34-bottom-btn.pg34-active i,
.pg34-bottom-btn:hover .material-symbols-outlined, .pg34-bottom-btn.pg34-active .material-symbols-outlined {
    color: var(--pg34-primary);
}
.pg34-bottom-btn:active { transform: scale(0.92); }

/* Help page styles */
.pg34-help-section { padding: 1.5rem 1.2rem; }
.pg34-help-section h2 {
    font-size: 1.5rem; color: var(--pg34-primary); margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid var(--pg34-border);
}
.pg34-help-section p, .pg34-help-section li {
    font-size: 1.3rem; color: var(--pg34-text); line-height: 1.6; margin-bottom: 0.6rem;
}
.pg34-help-section ol { padding-left: 1.5rem; }
.pg34-help-section ol li { list-style: decimal; margin-bottom: 0.8rem; }
.pg34-faq-item {
    background: var(--pg34-bg-card); border-radius: var(--pg34-radius);
    padding: 1.2rem; margin-bottom: 0.8rem; border-left: 3px solid var(--pg34-primary);
}
.pg34-faq-item h3 { font-size: 1.3rem; color: var(--pg34-text-bright); margin-bottom: 0.5rem; }
.pg34-faq-item p { font-size: 1.2rem; color: var(--pg34-text-muted); }

/* App download CTA */
.pg34-app-cta {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: var(--pg34-radius-lg); padding: 1.5rem;
    text-align: center; border: 1px solid var(--pg34-primary);
}
.pg34-app-cta h3 { font-size: 1.5rem; color: var(--pg34-primary); margin-bottom: 0.8rem; }
.pg34-app-cta p { font-size: 1.2rem; color: var(--pg34-text); margin-bottom: 1rem; }

/* Internal link styling */
.pg34-internal-link {
    color: var(--pg34-secondary); border-bottom: 1px dotted var(--pg34-secondary);
}
.pg34-internal-link:hover { color: var(--pg34-primary); border-bottom-color: var(--pg34-primary); }

/* Desktop hide bottom nav */
@media (min-width: 769px) {
    .pg34-bottom-nav { display: none; }
    .pg34-main { padding-bottom: 0; }
    body { max-width: 430px; }
}
@media (max-width: 768px) {
    .pg34-main { padding-bottom: 80px; }
}

/* Animations */
@keyframes pg34-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.pg34-pulse { animation: pg34-pulse 2s infinite; }

@keyframes pg34-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0,250,154,0.3); }
    50% { box-shadow: 0 0 20px rgba(0,250,154,0.6); }
}
.pg34-glow { animation: pg34-glow 2s infinite; }

/* Utility */
.pg34-text-center { text-align: center; }
.pg34-mt-1 { margin-top: 0.5rem; }
.pg34-mt-2 { margin-top: 1rem; }
.pg34-mb-2 { margin-bottom: 1rem; }
.pg34-hidden { display: none; }
