/**
 * Bet 100 - Design Stylesheet
 * CSS class prefix: pgc9-
 * Color palette: #6A5ACD (primary) | #262626 (background)
 */

/* CSS Variables */
:root {
    --pgc9-primary: #6A5ACD;
    --pgc9-primary-dark: #5548A8;
    --pgc9-primary-light: #8B7FD4;
    --pgc9-bg: #262626;
    --pgc9-bg-light: #333333;
    --pgc9-bg-lighter: #404040;
    --pgc9-text: #FFFFFF;
    --pgc9-text-muted: #B0B0B0;
    --pgc9-accent: #FFD700;
    --pgc9-success: #4CAF50;
    --pgc9-error: #F44336;
    --pgc9-gradient: linear-gradient(135deg, #6A5ACD 0%, #5548A8 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--pgc9-bg);
    color: var(--pgc9-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.pgc9-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.pgc9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pgc9-bg);
    border-bottom: 1px solid var(--pgc9-bg-light);
    z-index: 1000;
    padding: 1rem 1.6rem;
}

.pgc9-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.pgc9-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgc9-logo img {
    width: 32px;
    height: 32px;
}

.pgc9-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgc9-primary);
}

.pgc9-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.pgc9-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 0.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pgc9-btn-primary {
    background: var(--pgc9-gradient);
    color: var(--pgc9-text);
}

.pgc9-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.4);
}

.pgc9-btn-secondary {
    background: transparent;
    color: var(--pgc9-primary);
    border: 2px solid var(--pgc9-primary);
}

.pgc9-btn-secondary:hover {
    background: var(--pgc9-primary);
    color: var(--pgc9-text);
}

.pgc9-menu-toggle {
    background: none;
    border: none;
    color: var(--pgc9-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.pgc9-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pgc9-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.pgc9-menu-open {
    right: 0;
}

.pgc9-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.pgc9-overlay-active {
    display: block;
}

.pgc9-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pgc9-bg-lighter);
}

.pgc9-menu-close {
    background: none;
    border: none;
    color: var(--pgc9-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.pgc9-menu-links {
    list-style: none;
}

.pgc9-menu-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--pgc9-text);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--pgc9-bg-lighter);
    transition: color 0.3s ease;
}

.pgc9-menu-link:hover {
    color: var(--pgc9-primary);
}

/* Main Content */
main {
    padding-top: 7rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.pgc9-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 1rem 0 2rem;
}

.pgc9-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.pgc9-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.pgc9-slide img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.pgc9-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.pgc9-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgc9-indicator-active {
    background: var(--pgc9-primary);
    width: 24px;
    border-radius: 4px;
}

/* Game Grid */
.pgc9-section {
    padding: 2rem 1.6rem;
}

.pgc9-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--pgc9-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgc9-section-title i {
    color: var(--pgc9-primary);
}

.pgc9-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pgc9-game-card {
    background: var(--pgc9-bg-light);
    border-radius: 0.8rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgc9-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
}

.pgc9-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pgc9-game-name {
    padding: 0.8rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--pgc9-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.pgc9-content-section {
    background: var(--pgc9-bg-light);
    border-radius: 1rem;
    padding: 2rem;
    margin: 1.5rem 1.6rem;
}

.pgc9-content-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pgc9-primary);
}

.pgc9-content-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--pgc9-text-muted);
    margin-bottom: 1rem;
}

.pgc9-content-text strong {
    color: var(--pgc9-primary);
}

.pgc9-link {
    color: var(--pgc9-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pgc9-link:hover {
    color: var(--pgc9-primary-light);
}

/* Footer */
.pgc9-footer {
    background: var(--pgc9-bg-light);
    padding: 2rem 1.6rem 1rem;
    margin-top: 2rem;
}

.pgc9-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pgc9-footer-link {
    color: var(--pgc9-text-muted);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.pgc9-footer-link:hover {
    color: var(--pgc9-primary);
}

.pgc9-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.pgc9-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pgc9-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.pgc9-copyright {
    text-align: center;
    color: var(--pgc9-text-muted);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pgc9-bg-lighter);
}

/* Bottom Navigation */
.pgc9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pgc9-bg);
    border-top: 1px solid var(--pgc9-bg-light);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
}

@media (min-width: 769px) {
    .pgc9-bottom-nav {
        display: none;
    }
}

.pgc9-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--pgc9-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.pgc9-nav-btn:hover,
.pgc9-nav-btn-active {
    color: var(--pgc9-primary);
    background: rgba(106, 90, 205, 0.1);
}

.pgc9-nav-btn i {
    font-size: 24px;
}

.pgc9-nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Utility Classes */
.pgc9-text-center {
    text-align: center;
}

.pgc9-mt-1 {
    margin-top: 0.5rem;
}

.pgc9-mt-2 {
    margin-top: 1rem;
}

.pgc9-mt-3 {
    margin-top: 1.5rem;
}

.pgc9-mb-1 {
    margin-bottom: 0.5rem;
}

.pgc9-mb-2 {
    margin-bottom: 1rem;
}

.pgc9-mb-3 {
    margin-bottom: 1.5rem;
}

/* H1 Title */
h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--pgc9-text);
}

/* Lists */
.pgc9-list {
    list-style: none;
    padding-left: 0;
}

.pgc9-list-item {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--pgc9-text-muted);
}

.pgc9-list-item:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pgc9-primary);
    font-weight: bold;
}

/* FAQ */
.pgc9-faq-item {
    background: var(--pgc9-bg-lighter);
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pgc9-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pgc9-primary);
    margin-bottom: 0.8rem;
}

.pgc9-faq-answer {
    font-size: 1.4rem;
    color: var(--pgc9-text-muted);
    line-height: 1.6;
}

/* Promotional Banner */
.pgc9-promo-banner {
    background: var(--pgc9-gradient);
    border-radius: 1rem;
    padding: 2rem;
    margin: 1.5rem 1.6rem;
    text-align: center;
}

.pgc9-promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--pgc9-text);
}

.pgc9-promo-text {
    font-size: 1.4rem;
    color: var(--pgc9-text);
    margin-bottom: 1.5rem;
}
