/**
 * OKBET PH - Main Stylesheet
 * Website: okbetph.click
 * Class Prefix: pg84-
 * Version: 1.0.0
 */

/* CSS Variables with prefix */
:root {
    --pg84-primary: #26A69A;
    --pg84-secondary: #80CBC4;
    --pg84-dark: #1C2833;
    --pg84-light: #E6E6FA;
    --pg84-muted: #CED4DA;
    --pg84-accent: #9400D3;
    --pg84-bg: #1C2833;
    --pg84-text: #E6E6FA;
    --pg84-card-bg: #2C3E50;
    --pg84-border: #34495E;
    --pg84-success: #27AE60;
    --pg84-warning: #F39C12;
    --pg84-danger: #E74C3C;
}

/* Base styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg84-bg);
    color: var(--pg84-text);
    line-height: 1.5;
    font-size: 1.6rem;
}

* {
    box-sizing: border-box;
}

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

.pg84-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Header styles */
.pg84-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--pg84-dark) 0%, #2C3E50 100%);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.pg84-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.pg84-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.pg84-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg84-primary);
    letter-spacing: 0.5px;
}

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

.pg84-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    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;
}

.pg84-btn-register {
    background: linear-gradient(135deg, var(--pg84-accent) 0%, #7B1FA2 100%);
    color: #fff;
}

.pg84-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 0, 211, 0.4);
}

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

.pg84-btn-login:hover {
    background: var(--pg84-primary);
    color: var(--pg84-dark);
}

.pg84-menu-btn {
    background: transparent;
    border: none;
    color: var(--pg84-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.pg84-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;
}

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

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

.pg84-menu-title {
    font-size: 1.8rem;
    color: var(--pg84-primary);
    font-weight: 700;
}

.pg84-close-btn {
    background: transparent;
    border: none;
    color: var(--pg84-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.pg84-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.pg84-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--pg84-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

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

/* Carousel styles */
.pg84-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.pg84-slide {
    display: none;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

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

.pg84-slide:first-child {
    display: block;
}

/* Section styles */
.pg84-section {
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.pg84-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pg84-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.2rem;
}

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

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

.pg84-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pg84-game-item:hover {
    transform: scale(1.05);
}

.pg84-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--pg84-border);
    transition: border-color 0.3s ease;
}

.pg84-game-item:hover .pg84-game-icon {
    border-color: var(--pg84-primary);
}

.pg84-game-name {
    font-size: 1.2rem;
    color: var(--pg84-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card styles */
.pg84-card {
    background: var(--pg84-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--pg84-border);
}

.pg84-card-title {
    font-size: 1.8rem;
    color: var(--pg84-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pg84-card-text {
    font-size: 1.4rem;
    color: var(--pg84-muted);
    line-height: 1.6;
}

/* Promo link styles */
.pg84-promo-link {
    color: var(--pg84-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg84-promo-link:hover {
    color: var(--pg84-accent);
}

.pg84-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--pg84-primary) 0%, var(--pg84-accent) 100%);
    color: #fff;
    padding: 1.2rem 2.4rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pg84-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.4);
}

/* Footer styles */
.pg84-footer {
    background: var(--pg84-dark);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--pg84-border);
}

.pg84-footer-brand {
    font-size: 1.4rem;
    color: var(--pg84-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.pg84-footer-link {
    padding: 0.8rem 1.2rem;
    background: var(--pg84-card-bg);
    border-radius: 8px;
    color: var(--pg84-text);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.pg84-footer-link:hover {
    background: var(--pg84-primary);
    color: var(--pg84-dark);
}

.pg84-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pg84-footer-nav a {
    color: var(--pg84-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.pg84-footer-nav a:hover {
    color: var(--pg84-primary);
}

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

/* Bottom Navigation */
.pg84-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #2C3E50 0%, var(--pg84-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--pg84-border);
}

.pg84-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(--pg84-muted);
    text-decoration: none;
}

.pg84-nav-item:hover {
    color: var(--pg84-primary);
    transform: scale(1.1);
}

.pg84-nav-item.pg84-active {
    color: var(--pg84-primary);
}

.pg84-nav-item i,
.pg84-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg84-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Utilities */
.pg84-text-center {
    text-align: center;
}

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

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

.pg84-hidden {
    display: none;
}

/* List styles */
.pg84-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg84-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--pg84-border);
    font-size: 1.4rem;
}

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

/* FAQ styles */
.pg84-faq-item {
    background: var(--pg84-card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.pg84-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.4rem;
    color: var(--pg84-muted);
    line-height: 1.6;
}

/* Feature card */
.pg84-feature-card {
    background: linear-gradient(135deg, var(--pg84-card-bg) 0%, #34495E 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--pg84-primary);
}

.pg84-feature-icon {
    font-size: 2.8rem;
    color: var(--pg84-primary);
    margin-bottom: 1rem;
}

.pg84-feature-title {
    font-size: 1.6rem;
    color: var(--pg84-text);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.pg84-feature-desc {
    font-size: 1.3rem;
    color: var(--pg84-muted);
    line-height: 1.5;
}

/* Testimonial */
.pg84-testimonial {
    background: var(--pg84-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pg84-testimonial-text {
    font-size: 1.4rem;
    color: var(--pg84-text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pg84-testimonial-author {
    font-size: 1.3rem;
    color: var(--pg84-primary);
    font-weight: 600;
}

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

.pg84-payment-item {
    background: var(--pg84-card-bg);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

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

.pg84-payment-name {
    font-size: 1.2rem;
    color: var(--pg84-text);
}

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

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

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

.pg84-winner-game {
    font-size: 1.3rem;
    color: var(--pg84-text);
    font-weight: 500;
}

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

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

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

/* Mobile specific */
@media (max-width: 768px) {
    .pg84-main {
        padding-bottom: 80px;
    }

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

    .pg84-game-name {
        font-size: 1.1rem;
    }
}

/* Touch feedback */
.sitea85-touch-btn {
    transition: transform 0.2s ease;
}

.sitea85-touch-btn:active {
    transform: scale(0.95);
}
