/* 2222bet Core Stylesheet - pgc8- prefix */
/* Color Palette: #DEE2E6 (light) | #333333 (dark bg) | #FF91A4 (accent) */

:root {
    --pgc8-primary: #FF91A4;
    --pgc8-bg: #333333;
    --pgc8-bg-light: #3d3d3d;
    --pgc8-text: #DEE2E6;
    --pgc8-text-muted: #a0a4a8;
    --pgc8-accent: #FF91A4;
    --pgc8-accent-dark: #e07a8a;
    --pgc8-card-bg: #2a2a2a;
    --pgc8-border: #4a4a4a;
    --pgc8-success: #4caf50;
    --pgc8-warning: #ff9800;
    --pgc8-radius: 0.8rem;
    --pgc8-radius-sm: 0.4rem;
    --pgc8-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

*, *::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(--pgc8-bg);
    color: var(--pgc8-text);
    line-height: 1.5rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.pgc8-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 5.6rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 1000;
    border-bottom: 2px solid var(--pgc8-primary);
}

.pgc8-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.pgc8-logo-wrap img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.4rem;
}

.pgc8-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgc8-primary);
    letter-spacing: 0.5px;
}

.pgc8-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pgc8-btn-register {
    background: var(--pgc8-primary);
    color: #1a1a1a;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--pgc8-radius-sm);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pgc8-btn-register:hover {
    background: var(--pgc8-accent-dark);
    transform: scale(1.05);
}

.pgc8-btn-login {
    background: transparent;
    color: var(--pgc8-primary);
    border: 1.5px solid var(--pgc8-primary);
    padding: 0.5rem 1.0rem;
    border-radius: var(--pgc8-radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pgc8-btn-login:hover {
    background: rgba(255,145,164,0.1);
}

.pgc8-menu-btn {
    background: none;
    border: none;
    color: var(--pgc8-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
}

/* === MOBILE MENU === */
.pgc8-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.pgc8-menu-active {
    right: 0;
}

.pgc8-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pgc8-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pgc8-menu-close {
    background: none;
    border: none;
    color: var(--pgc8-text);
    font-size: 2.8rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.pgc8-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pgc8-primary);
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.pgc8-menu-links {
    list-style: none;
}

.pgc8-menu-links li {
    border-bottom: 1px solid var(--pgc8-border);
}

.pgc8-menu-links a {
    display: block;
    padding: 1.2rem 0;
    color: var(--pgc8-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s;
}

.pgc8-menu-links a:hover {
    color: var(--pgc8-primary);
}

/* === MAIN CONTENT === */
.pgc8-main {
    padding-top: 5.6rem;
    min-height: 100vh;
}

/* === CAROUSEL === */
.pgc8-carousel {
    position: relative;
    width: 100%;
    height: 20rem;
    overflow: hidden;
}

.pgc8-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.pgc8-slide-active {
    opacity: 1;
}

.pgc8-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgc8-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.pgc8-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.pgc8-dot-active {
    background: var(--pgc8-primary);
}

/* === SECTIONS === */
.pgc8-section {
    padding: 2rem 1.2rem;
}

.pgc8-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgc8-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pgc8-primary);
}

/* === GAME GRID === */
.pgc8-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pgc8-text);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pgc8-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.pgc8-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.pgc8-game-item:hover {
    transform: scale(1.05);
}

.pgc8-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pgc8-radius-sm);
    object-fit: cover;
    border: 1px solid var(--pgc8-border);
}

.pgc8-game-name {
    font-size: 1.1rem;
    color: var(--pgc8-text);
    margin-top: 0.3rem;
    line-height: 1.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === CARDS === */
.pgc8-card {
    background: var(--pgc8-card-bg);
    border-radius: var(--pgc8-radius);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--pgc8-border);
}

.pgc8-card h2, .pgc8-card h3 {
    color: var(--pgc8-primary);
    margin-bottom: 0.8rem;
}

.pgc8-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--pgc8-text-muted);
}

/* === PROMO BUTTONS === */
.pgc8-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--pgc8-primary), var(--pgc8-accent-dark));
    color: #1a1a1a;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}

.pgc8-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,145,164,0.4);
}

.pgc8-promo-link {
    color: var(--pgc8-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dashed var(--pgc8-primary);
}

.pgc8-promo-link:hover {
    color: var(--pgc8-accent-dark);
}

/* === FOOTER === */
.pgc8-footer {
    background: #1a1a1a;
    padding: 2rem 1.2rem;
    border-top: 2px solid var(--pgc8-primary);
}

.pgc8-footer-brand {
    font-size: 1.3rem;
    color: var(--pgc8-text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.pgc8-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.pgc8-footer-link {
    display: inline-block;
    background: var(--pgc8-bg-light);
    color: var(--pgc8-text);
    padding: 0.5rem 1rem;
    border-radius: var(--pgc8-radius-sm);
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s;
}

.pgc8-footer-link:hover {
    background: var(--pgc8-primary);
    color: #1a1a1a;
}

.pgc8-footer-copy {
    font-size: 1.1rem;
    color: var(--pgc8-text-muted);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--pgc8-border);
}

/* === BOTTOM NAV === */
.pgc8-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 6rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--pgc8-primary);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}

.pgc8-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 5rem;
    background: none;
    border: none;
    color: var(--pgc8-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.2rem;
}

.pgc8-bottom-nav-btn:hover,
.pgc8-bottom-nav-btn:focus {
    color: var(--pgc8-primary);
    transform: scale(1.05);
}

.pgc8-bottom-nav-btn.active {
    color: var(--pgc8-primary);
}

.pgc8-bottom-nav-btn .pgc8-nav-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.pgc8-bottom-nav-btn .pgc8-nav-label {
    font-size: 1rem;
    line-height: 1.2;
}

/* === UTILITIES === */
.pgc8-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.pgc8-text-center {
    text-align: center;
}

.pgc8-mt-1 { margin-top: 0.5rem; }
.pgc8-mt-2 { margin-top: 1rem; }
.pgc8-mt-3 { margin-top: 1.5rem; }
.pgc8-mb-1 { margin-bottom: 0.5rem; }
.pgc8-mb-2 { margin-bottom: 1rem; }
.pgc8-mb-3 { margin-bottom: 1.5rem; }

.pgc8-highlight {
    color: var(--pgc8-primary);
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (min-width: 769px) {
    .pgc8-bottom-nav {
        display: none;
    }
    .pgc8-header {
        max-width: 430px;
    }
}

@media (max-width: 768px) {
    .pgc8-main {
        padding-bottom: 8rem;
    }
}

/* === HELP PAGE STYLES === */
.pgc8-help-section {
    padding: 2rem 1.2rem;
}

.pgc8-help-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pgc8-primary);
    margin-bottom: 1rem;
}

.pgc8-help-content {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--pgc8-text);
}

.pgc8-help-content p {
    margin-bottom: 1rem;
}

.pgc8-help-content ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.pgc8-help-content li {
    margin-bottom: 0.5rem;
}

.pgc8-faq-item {
    background: var(--pgc8-card-bg);
    border-radius: var(--pgc8-radius-sm);
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--pgc8-primary);
}

.pgc8-faq-q {
    font-weight: 700;
    color: var(--pgc8-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pgc8-faq-a {
    font-size: 1.2rem;
    color: var(--pgc8-text-muted);
    line-height: 1.6;
}

/* === INTERNAL LINKS === */
.pgc8-internal-link {
    color: var(--pgc8-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--pgc8-primary);
}

.pgc8-internal-link:hover {
    color: #fff;
}

/* === WINNER LIST === */
.pgc8-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--pgc8-border);
}

.pgc8-winner-name {
    font-size: 1.2rem;
    color: var(--pgc8-text);
    flex: 1;
}

.pgc8-winner-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pgc8-success);
}

/* === RTP BAR === */
.pgc8-rtp-bar {
    background: var(--pgc8-bg-light);
    border-radius: 1rem;
    height: 0.8rem;
    overflow: hidden;
    margin-top: 0.4rem;
}

.pgc8-rtp-fill {
    height: 100%;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--pgc8-primary), var(--pgc8-success));
}

/* === TESTIMONIAL === */
.pgc8-testimonial {
    background: var(--pgc8-card-bg);
    border-radius: var(--pgc8-radius);
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--pgc8-border);
}

.pgc8-testimonial-text {
    font-size: 1.2rem;
    color: var(--pgc8-text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.pgc8-testimonial-author {
    font-size: 1.1rem;
    color: var(--pgc8-primary);
    font-weight: 600;
}

/* === PAYMENT === */
.pgc8-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.pgc8-payment-item {
    background: var(--pgc8-bg-light);
    padding: 0.6rem 1.2rem;
    border-radius: var(--pgc8-radius-sm);
    font-size: 1.2rem;
    color: var(--pgc8-text);
    border: 1px solid var(--pgc8-border);
}

/* === APP CTA === */
.pgc8-app-cta {
    background: linear-gradient(135deg, var(--pgc8-primary) 0%, #ff6b81 100%);
    border-radius: var(--pgc8-radius);
    padding: 2rem;
    text-align: center;
}

.pgc8-app-cta h3 {
    color: #1a1a1a;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.pgc8-app-cta p {
    color: #2a2a2a;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.pgc8-app-download-btn {
    display: inline-block;
    background: #1a1a1a;
    color: var(--pgc8-primary);
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.pgc8-app-download-btn:hover {
    background: #2a2a2a;
    transform: scale(1.05);
}
