/**
 * 888sport free bet - Theme Stylesheet
 * Prefix: pg79-
 * Color Palette: #34495E | #E0E0E0 | #FFE4B5 | #F4A460
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --pg79-primary: #34495E;
    --pg79-bg: #34495E;
    --pg79-text: #E0E0E0;
    --pg79-accent: #FFE4B5;
    --pg79-highlight: #F4A460;
    --pg79-dark: #2C3E50;
    --pg79-darker: #1A252F;
    --pg79-card-bg: #3D566E;
    --pg79-border: #4A6274;
    --pg79-success: #27AE60;
    --pg79-warning: #F39C12;
    --pg79-font-base: 62.5%;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--pg79-font-base); scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg79-bg);
    color: var(--pg79-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Container */
.pg79-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg79-wrapper { width: 100%; position: relative; }

/* Header */
.pg79-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pg79-darker);
    border-bottom: 2px solid var(--pg79-highlight);
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    max-width: 430px;
    margin: 0 auto;
}
.pg79-header-left { display: flex; align-items: center; gap: 0.6rem; }
.pg79-logo { width: 28px; height: 28px; border-radius: 6px; }
.pg79-site-name { color: var(--pg79-accent); font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.pg79-header-right { display: flex; align-items: center; gap: 0.5rem; }
.pg79-btn-reg {
    background: var(--pg79-highlight);
    color: var(--pg79-darker);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.pg79-btn-reg:hover { background: var(--pg79-accent); transform: scale(1.05); }
.pg79-btn-login {
    background: transparent;
    color: var(--pg79-accent);
    border: 1.5px solid var(--pg79-accent);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.pg79-btn-login:hover { background: var(--pg79-accent); color: var(--pg79-darker); }
.pg79-menu-toggle {
    background: none; border: none; color: var(--pg79-accent);
    font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.pg79-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}
.pg79-mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    background: var(--pg79-darker);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 1.5rem;
    overflow-y: auto;
}
.pg79-mobile-menu-header {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0 1.2rem 1.5rem;
    border-bottom: 1px solid var(--pg79-border);
}
.pg79-mobile-menu-header img { width: 32px; height: 32px; border-radius: 6px; }
.pg79-mobile-menu-header span { color: var(--pg79-accent); font-size: 1.4rem; font-weight: 700; }
.pg79-mobile-menu nav { padding: 1rem 0; }
.pg79-mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--pg79-text);
    text-decoration: none;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}
.pg79-mobile-menu a:hover { background: var(--pg79-card-bg); color: var(--pg79-accent); }

/* Main Content */
.pg79-main {
    padding-top: 52px;
    min-height: 100vh;
}
@media (max-width: 768px) {
    .pg79-main { padding-bottom: 72px; }
}

/* Carousel */
.pg79-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 1rem 0;
}
.pg79-slide {
    display: none;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}
.pg79-slide img { width: 100%; height: auto; display: block; border-radius: 10px; }
.pg79-slide-active { display: block; }
.pg79-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.pg79-slide-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.pg79-dot-active { background: var(--pg79-highlight); }

/* Section Titles */
.pg79-section-title {
    color: var(--pg79-accent);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pg79-highlight);
}
.pg79-section-subtitle {
    color: var(--pg79-accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.2rem 0 0.8rem;
}

/* Game Grid */
.pg79-game-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin: 0.8rem 0 1.5rem;
}
.pg79-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 8px;
    padding: 0.4rem;
}
.pg79-game-item:hover { transform: scale(1.05); }
.pg79-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid var(--pg79-border);
    object-fit: cover;
}
.pg79-game-item span {
    display: block;
    font-size: 1rem;
    color: var(--pg79-text);
    margin-top: 0.3rem;
    line-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Labels */
.pg79-cat-label {
    display: inline-block;
    background: var(--pg79-highlight);
    color: var(--pg79-darker);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin: 1rem 0 0.5rem;
}

/* Cards */
.pg79-card {
    background: var(--pg79-card-bg);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 0.8rem 0;
    border: 1px solid var(--pg79-border);
}
.pg79-card-title {
    color: var(--pg79-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Promo Buttons */
.pg79-promo-btn {
    display: inline-block;
    background: var(--pg79-highlight);
    color: var(--pg79-darker);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}
.pg79-promo-btn:hover { background: var(--pg79-accent); transform: scale(1.03); }
.pg79-promo-text {
    color: var(--pg79-highlight);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}
.pg79-promo-text:hover { color: var(--pg79-accent); }

/* CTA Banner */
.pg79-cta-banner {
    background: linear-gradient(135deg, var(--pg79-darker), var(--pg79-card-bg));
    border: 2px solid var(--pg79-highlight);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}
.pg79-cta-banner h3 {
    color: var(--pg79-accent);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.pg79-cta-banner p {
    color: var(--pg79-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Info Section */
.pg79-info-section { margin: 1.2rem 0; }
.pg79-info-section h2 { color: var(--pg79-accent); margin-bottom: 0.8rem; }
.pg79-info-section p { line-height: 1.6; margin-bottom: 0.8rem; }
.pg79-info-section ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.pg79-info-section li { margin-bottom: 0.5rem; line-height: 1.5; }

/* Footer */
.pg79-footer {
    background: var(--pg79-darker);
    border-top: 2px solid var(--pg79-highlight);
    padding: 1.5rem 1rem 6rem;
    margin-top: 2rem;
}
.pg79-footer-brand {
    color: var(--pg79-accent);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.pg79-footer-desc {
    color: var(--pg79-text);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.pg79-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.pg79-footer-links a {
    color: var(--pg79-highlight);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--pg79-border);
    border-radius: 4px;
    transition: all 0.2s;
}
.pg79-footer-links a:hover { background: var(--pg79-card-bg); color: var(--pg79-accent); }
.pg79-footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
}

/* Bottom Navigation */
.pg79-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pg79-darker);
    border-top: 2px solid var(--pg79-highlight);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 430px;
    margin: 0 auto;
}
.pg79-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 54px;
    background: none;
    border: none;
    color: var(--pg79-text);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    padding: 0.2rem;
}
.pg79-bottom-btn:hover { color: var(--pg79-accent); background: rgba(255,255,255,0.05); }
.pg79-bottom-btn-active { color: var(--pg79-highlight); }
.pg79-bottom-btn i, .pg79-bottom-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}
.pg79-bottom-btn span {
    font-size: 10px;
    white-space: nowrap;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .pg79-bottom-nav { display: none; }
}

/* Responsive Grid */
.pg79-grid { display: grid; gap: 1rem; }
.pg79-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg79-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Text utilities */
.pg79-text-center { text-align: center; }
.pg79-text-accent { color: var(--pg79-accent); }
.pg79-text-highlight { color: var(--pg79-highlight); }
.pg79-text-sm { font-size: 1.1rem; }
.pg79-text-bold { font-weight: 700; }

/* Spacing */
.pg79-mt-1 { margin-top: 0.5rem; }
.pg79-mt-2 { margin-top: 1rem; }
.pg79-mt-3 { margin-top: 1.5rem; }
.pg79-mb-1 { margin-bottom: 0.5rem; }
.pg79-mb-2 { margin-bottom: 1rem; }
.pg79-p-1 { padding: 0.5rem; }
.pg79-p-2 { padding: 1rem; }

/* FAQ Accordion */
.pg79-faq-item {
    background: var(--pg79-card-bg);
    border-radius: 8px;
    margin-bottom: 0.6rem;
    border: 1px solid var(--pg79-border);
    overflow: hidden;
}
.pg79-faq-q {
    padding: 1rem;
    color: var(--pg79-accent);
    font-weight: 600;
    cursor: pointer;
    font-size: 1.3rem;
}
.pg79-faq-a {
    padding: 0 1rem 1rem;
    color: var(--pg79-text);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Winner List */
.pg79-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pg79-winner-item img { width: 36px; height: 36px; border-radius: 50%; }
.pg79-winner-name { flex: 1; font-size: 1.2rem; }
.pg79-winner-amount { color: var(--pg79-highlight); font-weight: 700; font-size: 1.2rem; }

/* Payment Icons */
.pg79-payment-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.8rem 0;
}
.pg79-payment-item {
    background: var(--pg79-card-bg);
    border: 1px solid var(--pg79-border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    color: var(--pg79-text);
}

/* Testimonial */
.pg79-testimonial {
    background: var(--pg79-card-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--pg79-highlight);
}
.pg79-testimonial-author { color: var(--pg79-accent); font-weight: 600; font-size: 1.2rem; }
.pg79-testimonial-text { color: var(--pg79-text); font-size: 1.2rem; margin-top: 0.4rem; line-height: 1.5; }

/* App Download CTA */
.pg79-app-cta {
    background: linear-gradient(135deg, var(--pg79-highlight), #E8A040);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    margin: 1.2rem 0;
}
.pg79-app-cta h3 { color: var(--pg79-darker); font-size: 1.5rem; margin-bottom: 0.5rem; }
.pg79-app-cta p { color: var(--pg79-darker); font-size: 1.2rem; margin-bottom: 0.8rem; }

/* Internal link style */
.pg79-internal-link {
    color: var(--pg79-accent);
    text-decoration: underline;
    transition: color 0.2s;
}
.pg79-internal-link:hover { color: var(--pg79-highlight); }
