/**
 * betso - Core Stylesheet
 * Version: 1.0.0
 * All classes use 'pga2-' prefix for namespace isolation
 * Color Palette: #FFBF00 | #262626 | #FF6347 | #FF9800 | #C71585
 */

/* CSS Variables */
:root {
    --pga2-primary: #FFBF00;
    --pga2-secondary: #262626;
    --pga2-accent: #FF6347;
    --pga2-orange: #FF9800;
    --pga2-magenta: #C71585;
    --pga2-bg-dark: #262626;
    --pga2-bg-light: #1a1a1a;
    --pga2-text-light: #ffffff;
    --pga2-text-gold: #FFBF00;
    --pga2-gradient: linear-gradient(135deg, #FFBF00, #FF9800);
    --pga2-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pga2-radius: 8px;
    --pga2-radius-lg: 12px;
}

/* Reset and 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;
    background-color: var(--pga2-bg-dark);
    color: var(--pga2-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.pga2-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pga2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #262626 0%, #1a1a1a 100%);
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--pga2-primary);
    transition: all 0.3s ease;
}

.pga2-header-scrolled {
    background: rgba(38, 38, 38, 0.98);
    box-shadow: var(--pga2-shadow);
}

.pga2-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.pga2-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pga2-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pga2-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pga2-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pga2-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--pga2-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pga2-btn-register {
    background: var(--pga2-gradient);
    color: var(--pga2-bg-dark);
}

.pga2-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.5);
}

.pga2-btn-login {
    background: transparent;
    color: var(--pga2-primary);
    border: 2px solid var(--pga2-primary);
}

.pga2-btn-login:hover {
    background: var(--pga2-primary);
    color: var(--pga2-bg-dark);
}

.pga2-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--pga2-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.pga2-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--pga2-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.pga2-menu-active {
    right: 0;
}

.pga2-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;
}

.pga2-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pga2-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 191, 0, 0.3);
}

.pga2-menu-close {
    background: transparent;
    border: none;
    color: var(--pga2-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.pga2-menu-nav {
    list-style: none;
}

.pga2-menu-nav li {
    margin-bottom: 1rem;
}

.pga2-menu-nav a {
    color: var(--pga2-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    padding: 1rem;
    display: block;
    border-radius: var(--pga2-radius);
    transition: all 0.3s ease;
}

.pga2-menu-nav a:hover {
    background: rgba(255, 191, 0, 0.1);
    color: var(--pga2-primary);
    padding-left: 1.5rem;
}

/* Main Content */
.pga2-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.pga2-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.pga2-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.pga2-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.pga2-slide-active {
    opacity: 1;
    position: relative;
}

.pga2-slide img {
    width: 100%;
    height: auto;
    border-radius: 0;
    cursor: pointer;
}

.pga2-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.pga2-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pga2-dot-active {
    background: var(--pga2-primary);
    transform: scale(1.2);
}

/* Section Titles */
.pga2-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pga2-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.pga2-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--pga2-gradient);
    border-radius: 2px;
}

/* Game Grid */
.pga2-game-section {
    padding: 2rem 0;
}

.pga2-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--pga2-orange);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--pga2-orange);
}

.pga2-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
}

.pga2-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pga2-game-item:hover {
    transform: scale(1.05);
}

.pga2-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pga2-radius);
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pga2-game-item:hover img {
    border-color: var(--pga2-primary);
}

.pga2-game-name {
    font-size: 1.1rem;
    color: var(--pga2-text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Sections */
.pga2-content-section {
    padding: 2rem 1.5rem;
    background: var(--pga2-bg-light);
    margin: 1.5rem 0;
    border-radius: var(--pga2-radius-lg);
}

.pga2-content-section h2 {
    color: var(--pga2-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pga2-content-section p {
    color: var(--pga2-text-light);
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pga2-content-section a {
    color: var(--pga2-primary);
    text-decoration: underline;
}

.pga2-content-section a:hover {
    color: var(--pga2-orange);
}

/* Promo Link Styles */
.pga2-promo-link {
    color: var(--pga2-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pga2-promo-link:hover {
    color: var(--pga2-orange);
    text-decoration: underline;
}

.pga2-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--pga2-gradient);
    color: var(--pga2-bg-dark);
    font-weight: 700;
    font-size: 1.6rem;
    border-radius: var(--pga2-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.pga2-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 191, 0, 0.6);
}

/* RTP Section */
.pga2-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pga2-rtp-item {
    background: rgba(255, 191, 0, 0.1);
    padding: 1rem;
    border-radius: var(--pga2-radius);
    text-align: center;
}

.pga2-rtp-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--pga2-primary);
}

.pga2-rtp-label {
    font-size: 1.2rem;
    color: var(--pga2-text-light);
}

/* Features List */
.pga2-features-list {
    list-style: none;
}

.pga2-features-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 191, 0, 0.1);
}

.pga2-features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--pga2-primary);
}

/* Footer */
.pga2-footer {
    background: var(--pga2-bg-light);
    padding: 2rem 1.5rem;
    padding-bottom: 8rem;
    border-top: 2px solid var(--pga2-primary);
}

.pga2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.pga2-footer-links a {
    color: var(--pga2-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: var(--pga2-radius);
    transition: all 0.3s ease;
}

.pga2-footer-links a:hover {
    background: rgba(255, 191, 0, 0.1);
    color: var(--pga2-primary);
}

.pga2-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 191, 0, 0.2);
    border-bottom: 1px solid rgba(255, 191, 0, 0.2);
}

.pga2-partners img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pga2-partners img:hover {
    opacity: 1;
}

.pga2-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Bottom Navigation */
.pga2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: 64px;
    background: linear-gradient(180deg, #1a1a1a 0%, #262626 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--pga2-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.pga2-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;
    text-decoration: none;
    color: var(--pga2-text-light);
    border-radius: 8px;
}

.pga2-nav-item:hover {
    background: rgba(255, 191, 0, 0.1);
    transform: scale(1.1);
}

.pga2-nav-item.active {
    color: var(--pga2-primary);
}

.pga2-nav-item .material-icons,
.pga2-nav-item ion-icon,
.pga2-nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.pga2-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Utility Classes */
.pga2-text-center { text-align: center; }
.pga2-text-gold { color: var(--pga2-primary); }
.pga2-mb-1 { margin-bottom: 1rem; }
.pga2-mb-2 { margin-bottom: 2rem; }
.pga2-mt-2 { margin-top: 2rem; }
.pga2-py-2 { padding: 2rem 0; }

/* Desktop - Hide Bottom Nav */
@media (min-width: 769px) {
    .pga2-bottom-nav {
        display: none;
    }

    .pga2-main {
        padding-bottom: 2rem;
    }

    .pga2-footer {
        padding-bottom: 2rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pga2-main {
        padding-bottom: 80px;
    }
}

/* Card Styles */
.pga2-card {
    background: var(--pga2-bg-light);
    border-radius: var(--pga2-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 191, 0, 0.2);
    transition: border-color 0.3s ease;
}

.pga2-card:hover {
    border-color: var(--pga2-primary);
}

.pga2-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pga2-primary);
    margin-bottom: 1rem;
}

/* Achievement Badge */
.pga2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(199, 21, 133, 0.2);
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--pga2-magenta);
}

/* Trick/Tips Box */
.pga2-trick-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 99, 71, 0.1));
    border-left: 4px solid var(--pga2-orange);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0 var(--pga2-radius) var(--pga2-radius) 0;
}

/* FAQ Accordion */
.pga2-faq-item {
    background: var(--pga2-bg-light);
    margin-bottom: 1rem;
    border-radius: var(--pga2-radius);
    overflow: hidden;
}

.pga2-faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--pga2-text-light);
}

.pga2-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    line-height: 1.6;
}
