/**
 * Bet100 - Main Stylesheet
 * Prefix: pgbe-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --pgbe-primary: #FF7F50;
    --pgbe-secondary: #FF8C00;
    --pgbe-accent: #FFB74D;
    --pgbe-text: #FFFFFF;
    --pgbe-text-muted: #B0B0B0;
    --pgbe-bg: #0E1621;
    --pgbe-bg-secondary: #1A2535;
    --pgbe-bg-card: #162231;
    --pgbe-border: #2A3A4D;
    --pgbe-success: #4CAF50;
    --pgbe-gradient: linear-gradient(135deg, #FF7F50 0%, #FF8C00 100%);
    --pgbe-radius: 8px;
    --pgbe-radius-lg: 12px;
    --pgbe-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 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, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--pgbe-text);
    background-color: var(--pgbe-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }

p {
    margin-bottom: 1rem;
    color: var(--pgbe-text-muted);
}

a {
    color: var(--pgbe-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pgbe-accent);
}

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

.pgbe-wrapper {
    padding: 2rem 0;
}

/* Header */
.pgbe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pgbe-bg-secondary);
    border-bottom: 1px solid var(--pgbe-border);
    padding: 0.8rem 1.5rem;
}

.pgbe-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

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

.pgbe-logo img {
    width: 32px;
    height: 32px;
}

.pgbe-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgbe-primary);
}

.pgbe-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgbe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--pgbe-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 36px;
}

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

.pgbe-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--pgbe-shadow);
}

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

.pgbe-btn-outline:hover {
    background: var(--pgbe-primary);
    color: var(--pgbe-bg);
}

.pgbe-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--pgbe-text);
    cursor: pointer;
    font-size: 2rem;
}

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

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

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

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

.pgbe-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pgbe-border);
}

.pgbe-menu-close {
    background: none;
    border: none;
    color: var(--pgbe-text);
    font-size: 2rem;
    cursor: pointer;
}

.pgbe-menu-nav {
    list-style: none;
}

.pgbe-menu-nav li {
    margin-bottom: 0.5rem;
}

.pgbe-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--pgbe-text);
    border-radius: var(--pgbe-radius);
    transition: all 0.3s ease;
}

.pgbe-menu-nav a:hover {
    background: var(--pgbe-bg-card);
    color: var(--pgbe-primary);
}

/* Carousel */
.pgbe-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--pgbe-radius-lg);
    margin-bottom: 2rem;
}

.pgbe-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.pgbe-slide {
    min-width: 100%;
    position: relative;
}

.pgbe-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.pgbe-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.pgbe-slide-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pgbe-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

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

.appbe1-dot-active {
    background: var(--pgbe-primary);
    transform: scale(1.2);
}

/* Game Grid */
.pgbe-game-section {
    margin-bottom: 3rem;
}

.pgbe-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--pgbe-border);
}

.pgbe-section-title i {
    font-size: 2rem;
    color: var(--pgbe-primary);
}

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

.pgbe-game-card {
    background: var(--pgbe-bg-card);
    border-radius: var(--pgbe-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.pgbe-game-card:hover {
    transform: translateY(-3px);
}

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

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

/* Content Sections */
.pgbe-content-section {
    background: var(--pgbe-bg-card);
    border-radius: var(--pgbe-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.pgbe-feature-list {
    list-style: none;
}

.pgbe-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--pgbe-border);
}

.pgbe-feature-list li:last-child {
    border-bottom: none;
}

.pgbe-feature-list i {
    font-size: 2rem;
    color: var(--pgbe-primary);
    flex-shrink: 0;
}

/* Testimonials */
.pgbe-testimonial {
    background: var(--pgbe-bg-secondary);
    border-radius: var(--pgbe-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pgbe-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.pgbe-testimonial-name {
    font-weight: 600;
}

.pgbe-testimonial-rating {
    color: var(--pgbe-accent);
}

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

.pgbe-payment-item {
    background: var(--pgbe-bg-secondary);
    border-radius: var(--pgbe-radius);
    padding: 1rem;
    text-align: center;
}

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

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

.pgbe-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.pgbe-footer-brand {
    margin-bottom: 1.5rem;
}

.pgbe-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pgbe-footer-link {
    padding: 0.5rem 1rem;
    background: var(--pgbe-bg-card);
    border-radius: var(--pgbe-radius);
    font-size: 1.2rem;
    color: var(--pgbe-text);
    transition: all 0.3s ease;
}

.pgbe-footer-link:hover {
    background: var(--pgbe-primary);
}

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

/* Bottom Navigation */
.pgbe-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pgbe-bg-secondary);
    border-top: 1px solid var(--pgbe-border);
    padding: 0.5rem 0;
    display: none;
}

.pgbe-bottom-nav-items {
    display: flex;
    justify-content: space-around;
    max-width: 430px;
    margin: 0 auto;
}

.pgbe-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    color: var(--pgbe-text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
}

.pgbe-nav-item:hover,
.pgbe-nav-item.active {
    color: var(--pgbe-primary);
    transform: scale(1.05);
}

.pgbe-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.pgbe-nav-item span {
    font-size: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .pgbe-bottom-nav {
        display: block;
    }

    main {
        padding-bottom: 80px;
    }

    .pgbe-header {
        padding: 0.6rem 1rem;
    }

    .pgbe-container {
        padding: 0 1rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .pgbe-container {
        max-width: 768px;
    }

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

    .pgbe-payment-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Utility Classes */
.pgbe-text-center { text-align: center; }
.pgbe-text-primary { color: var(--pgbe-primary); }
.pgbe-text-muted { color: var(--pgbe-text-muted); }
.pgbe-mb-1 { margin-bottom: 1rem; }
.pgbe-mb-2 { margin-bottom: 2rem; }
.pgbe-mt-2 { margin-top: 2rem; }
.pgbe-hidden { display: none; }

/* Promo CTA */
.pgbe-promo-cta {
    background: var(--pgbe-gradient);
    border-radius: var(--pgbe-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.pgbe-promo-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pgbe-promo-cta .pgbe-btn {
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
    background: var(--pgbe-text);
    color: var(--pgbe-primary);
}

/* RTP Table */
.pgbe-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.pgbe-rtp-table th,
.pgbe-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--pgbe-border);
}

.pgbe-rtp-table th {
    background: var(--pgbe-bg-secondary);
    font-weight: 600;
    color: var(--pgbe-primary);
}

.pgbe-rtp-bar {
    height: 8px;
    background: var(--pgbe-bg);
    border-radius: 4px;
    overflow: hidden;
}

.pgbe-rtp-bar-fill {
    height: 100%;
    background: var(--pgbe-gradient);
    border-radius: 4px;
}

/* Winner Showcase */
.pgbe-winner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--pgbe-bg-card);
    border-radius: var(--pgbe-radius);
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.pgbe-winner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--pgbe-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

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

.pgbe-winner-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

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

/* App Download Section */
.pgbe-app-section {
    background: linear-gradient(135deg, var(--pgbe-bg-secondary) 0%, var(--pgbe-bg-card) 100%);
    border-radius: var(--pgbe-radius-lg);
    padding: 2rem;
    text-align: center;
}

.pgbe-app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pgbe-app-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--pgbe-bg);
    border-radius: var(--pgbe-radius);
    color: var(--pgbe-text);
    transition: all 0.3s ease;
}

.pgbe-app-btn:hover {
    background: var(--pgbe-primary);
    transform: translateY(-2px);
}

.pgbe-app-btn i {
    font-size: 2rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pgbe-animate {
    animation: fadeIn 0.5s ease forwards;
}
