/**
 * Big Win APK - Main Stylesheet
 * @version 1.0.0
 * @prefix pg8b-
 */

/* CSS Variables */
:root {
    --pg8b-primary: #A0522D;
    --pg8b-secondary: #CD5C5C;
    --pg8b-accent: #FF7F50;
    --pg8b-bg-dark: #141414;
    --pg8b-bg-light: #1a1a1a;
    --pg8b-text-light: #F0F8FF;
    --pg8b-text-muted: #CED4DA;
    --pg8b-border: #2a2a2a;
    --pg8b-gradient: linear-gradient(135deg, #A0522D 0%, #CD5C5C 100%);
    --pg8b-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--pg8b-bg-dark);
    color: var(--pg8b-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.pg8b-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pg8b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg8b-bg-dark) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pg8b-border);
}

.pg8b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.pg8b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg8b-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pg8b-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--pg8b-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg8b-header-actions {
    display: flex;
    gap: 0.8rem;
}

.pg8b-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.pg8b-btn-primary {
    background: var(--pg8b-gradient);
    color: var(--pg8b-text-light);
}

.pg8b-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--pg8b-shadow);
}

.pg8b-btn-outline {
    background: transparent;
    color: var(--pg8b-accent);
    border: 2px solid var(--pg8b-accent);
}

.pg8b-btn-outline:hover {
    background: var(--pg8b-accent);
    color: var(--pg8b-bg-dark);
}

/* Menu Toggle */
.pg8b-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.pg8b-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--pg8b-text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.pg8b-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg8b-bg-light);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 8rem 2rem 2rem;
}

.pg8b-menu-active {
    left: 0;
}

.pg8b-mobile-menu a {
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--pg8b-border);
    font-size: 1.5rem;
    color: var(--pg8b-text-light);
    transition: color 0.3s ease;
}

.pg8b-mobile-menu a:hover {
    color: var(--pg8b-accent);
}

.pg8b-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Main Content */
.pg8b-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.pg8b-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.pg8b-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pg8b-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.pg8b-slide-active {
    opacity: 1;
    position: relative;
}

.pg8b-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}

.pg8b-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
}

.pg8b-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pg8b-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg8b-dot-active {
    background: var(--pg8b-accent);
    transform: scale(1.2);
}

/* Section Titles */
.pg8b-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    color: var(--pg8b-text-light);
    position: relative;
    padding-left: 1.5rem;
}

.pg8b-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--pg8b-gradient);
    border-radius: 2px;
}

/* Game Grid */
.pg8b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg8b-game-card {
    background: var(--pg8b-bg-light);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--pg8b-border);
}

.pg8b-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--pg8b-accent);
    box-shadow: 0 8px 20px rgba(255, 127, 80, 0.2);
}

.pg8b-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pg8b-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--pg8b-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Label */
.pg8b-category-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--pg8b-gradient);
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Content Sections */
.pg8b-content-section {
    background: var(--pg8b-bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid var(--pg8b-border);
}

.pg8b-content-section h2 {
    font-size: 1.8rem;
    color: var(--pg8b-accent);
    margin-bottom: 1rem;
}

.pg8b-content-section p {
    color: var(--pg8b-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Features List */
.pg8b-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pg8b-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(160, 82, 45, 0.1);
    border-radius: 8px;
}

.pg8b-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pg8b-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.pg8b-feature-icon i {
    font-size: 1.8rem;
    color: var(--pg8b-text-light);
}

/* FAQ Section */
.pg8b-faq-item {
    background: var(--pg8b-bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--pg8b-border);
}

.pg8b-faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--pg8b-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg8b-faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--pg8b-text-muted);
    line-height: 1.6;
}

/* Promo Links */
.pg8b-promo-link {
    color: var(--pg8b-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg8b-promo-link:hover {
    color: var(--pg8b-secondary);
    text-decoration: underline;
}

/* CTA Section */
.pg8b-cta {
    background: var(--pg8b-gradient);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

.pg8b-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--pg8b-text-light);
}

.pg8b-cta p {
    color: rgba(240, 248, 255, 0.9);
    margin-bottom: 1.5rem;
}

.pg8b-cta .pg8b-btn {
    font-size: 1.6rem;
    padding: 1rem 3rem;
    background: var(--pg8b-text-light);
    color: var(--pg8b-primary);
}

/* Footer */
.pg8b-footer {
    background: var(--pg8b-bg-light);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--pg8b-border);
}

.pg8b-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

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

.pg8b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.pg8b-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--pg8b-bg-dark);
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--pg8b-text-muted);
    transition: all 0.3s ease;
}

.pg8b-footer-links a:hover {
    background: var(--pg8b-primary);
    color: var(--pg8b-text-light);
}

.pg8b-copyright {
    text-align: center;
    color: var(--pg8b-text-muted);
    font-size: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pg8b-border);
}

/* Bottom Navigation */
.pg8b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--pg8b-bg-light) 0%, var(--pg8b-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--pg8b-border);
    padding-bottom: env(safe-area-inset-bottom);
}

.pg8b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--pg8b-text-muted);
}

.pg8b-nav-item:hover,
.pg8b-nav-item.active {
    color: var(--pg8b-accent);
    transform: scale(1.1);
}

.pg8b-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg8b-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Testimonials */
.pg8b-testimonial {
    background: var(--pg8b-bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--pg8b-accent);
}

.pg8b-testimonial-author {
    font-weight: 600;
    color: var(--pg8b-text-light);
    margin-bottom: 0.5rem;
}

.pg8b-testimonial-text {
    color: var(--pg8b-text-muted);
    font-size: 1.4rem;
    line-height: 1.5;
}

/* Payment Methods */
.pg8b-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pg8b-payment-item {
    background: var(--pg8b-bg-dark);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--pg8b-border);
}

.pg8b-payment-item i {
    font-size: 2.4rem;
    color: var(--pg8b-accent);
    margin-bottom: 0.5rem;
}

.pg8b-payment-item span {
    display: block;
    font-size: 1.2rem;
    color: var(--pg8b-text-muted);
}

/* Winners Section */
.pg8b-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--pg8b-bg-dark);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.pg8b-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pg8b-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--pg8b-text-light);
}

.pg8b-winner-info {
    flex: 1;
}

.pg8b-winner-name {
    font-weight: 600;
    color: var(--pg8b-text-light);
    font-size: 1.4rem;
}

.pg8b-winner-game {
    color: var(--pg8b-text-muted);
    font-size: 1.2rem;
}

.pg8b-winner-amount {
    color: var(--pg8b-accent);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
    .pg8b-container {
        max-width: 600px;
    }

    .pg8b-bottom-nav {
        display: none;
    }

    .pg8b-main {
        padding-bottom: 2rem;
    }

    .pg8b-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .pg8b-header-inner {
        max-width: 600px;
    }
}

/* Animation Classes */
.pg8b-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.pg8b-text-center {
    text-align: center;
}

.pg8b-mt-2 {
    margin-top: 2rem;
}

.pg8b-mb-2 {
    margin-bottom: 2rem;
}

.pg8b-hidden {
    display: none;
}
