/**
 * OkPay Website Stylesheet
 * Prefix: pg7a7- - All classes use this prefix
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --pg7a7-primary: #26A69A;
    --pg7a7-secondary: #8470FF;
    --pg7a7-bg-dark: #1E1E1E;
    --pg7a7-bg-card: #2A2A2A;
    --pg7a7-text-light: #E0FFFF;
    --pg7a7-text-muted: #B2DFDB;
    --pg7a7-accent: #FFD700;
    --pg7a7-gradient: linear-gradient(135deg, #26A69A 0%, #8470FF 100%);
    --pg7a7-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --pg7a7-radius: 12px;
    --pg7a7-radius-sm: 8px;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--pg7a7-bg-dark);
    color: var(--pg7a7-text-light);
    line-height: 1.5rem;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

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

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

/* Container */
.pg7a7-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Styles */
.pg7a7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg7a7-bg-dark) 0%, rgba(30, 30, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    transition: box-shadow 0.3s ease;
}

.pg7a7-header-scrolled {
    box-shadow: var(--pg7a7-shadow);
}

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

.pg7a7-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg7a7-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.pg7a7-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pg7a7-btn-primary {
    background: var(--pg7a7-gradient);
    color: #fff;
}

.pg7a7-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(38, 166, 154, 0.4);
}

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

.pg7a7-btn-secondary:hover {
    background: var(--pg7a7-primary);
    color: var(--pg7a7-bg-dark);
}

.pg7a7-menu-toggle {
    background: transparent;
    border: none;
    color: var(--pg7a7-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 4px;
}

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

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

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

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

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

.pg7a7-nav-item {
    margin-bottom: 8px;
}

.pg7a7-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--pg7a7-text-light);
    font-size: 1.5rem;
    border-radius: var(--pg7a7-radius-sm);
    transition: all 0.3s ease;
}

.pg7a7-nav-link:hover {
    background: rgba(38, 166, 154, 0.2);
    color: var(--pg7a7-primary);
}

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

/* Carousel Styles */
.pg7a7-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--pg7a7-radius);
    margin-bottom: 20px;
}

.pg7a7-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

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

.pg7a7-slide-active {
    opacity: 1;
    z-index: 1;
}

.pg7a7-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg7a7-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.pg7a7-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg7a7-dot-active {
    background: var(--pg7a7-primary);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.pg7a7-section {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--pg7a7-bg-card);
    border-radius: var(--pg7a7-radius);
}

.pg7a7-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--pg7a7-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg7a7-section-title i {
    color: var(--pg7a7-primary);
}

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

.pg7a7-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pg7a7-game-item:hover {
    transform: scale(1.08);
}

.pg7a7-game-img {
    width: 64px;
    height: 64px;
    border-radius: var(--pg7a7-radius-sm);
    object-fit: cover;
    margin-bottom: 6px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pg7a7-game-item:hover .pg7a7-game-img {
    border-color: var(--pg7a7-primary);
}

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

/* Category Title */
.pg7a7-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pg7a7-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pg7a7-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Feature Cards */
.pg7a7-feature-card {
    background: linear-gradient(145deg, var(--pg7a7-bg-card), rgba(38, 166, 154, 0.1));
    border-radius: var(--pg7a7-radius);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--pg7a7-primary);
}

.pg7a7-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pg7a7-text-light);
}

.pg7a7-feature-text {
    font-size: 1.3rem;
    color: var(--pg7a7-text-muted);
    line-height: 1.6rem;
}

/* Promo Link Styles */
.pg7a7-promo-text {
    color: var(--pg7a7-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg7a7-promo-text:hover {
    color: var(--pg7a7-secondary);
}

.pg7a7-promo-btn {
    display: inline-block;
    background: var(--pg7a7-gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--pg7a7-radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

/* Footer Styles */
.pg7a7-footer {
    background: var(--pg7a7-bg-card);
    padding: 24px 16px 80px;
    margin-top: 24px;
}

.pg7a7-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.pg7a7-footer-desc {
    font-size: 1.3rem;
    color: var(--pg7a7-text-muted);
    line-height: 1.6rem;
    margin-bottom: 16px;
}

.pg7a7-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.pg7a7-footer-link {
    padding: 8px 14px;
    background: rgba(38, 166, 154, 0.15);
    border-radius: var(--pg7a7-radius-sm);
    font-size: 1.2rem;
    color: var(--pg7a7-text-light);
    transition: all 0.3s ease;
}

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

.pg7a7-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.pg7a7-footer-nav a {
    font-size: 1.2rem;
    color: var(--pg7a7-text-muted);
    padding: 4px 8px;
    transition: color 0.3s ease;
}

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

.pg7a7-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pg7a7-text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.pg7a7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, var(--pg7a7-bg-dark) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(38, 166, 154, 0.3);
    padding-bottom: env(safe-area-inset-bottom);
}

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

.pg7a7-nav-btn:hover,
.pg7a7-nav-btn-active {
    color: var(--pg7a7-primary);
    transform: scale(1.1);
}

.pg7a7-nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg7a7-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

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

.pg7a7-mb-16 {
    margin-bottom: 16px;
}

.pg7a7-mt-16 {
    margin-top: 16px;
}

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

    .pg7a7-footer {
        padding-bottom: 24px;
    }

    .pg7a7-main {
        padding-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .pg7a7-main {
        padding-bottom: 80px;
    }
}

/* H1 Title Style */
.pg7a7-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: var(--pg7a7-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* List Styles */
.pg7a7-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg7a7-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: var(--pg7a7-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.pg7a7-list li i {
    color: var(--pg7a7-primary);
    margin-top: 4px;
}

/* FAQ Styles */
.pg7a7-faq-item {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--pg7a7-radius-sm);
    overflow: hidden;
}

.pg7a7-faq-question {
    padding: 14px 16px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg7a7-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg7a7-faq-answer {
    padding: 0 16px 14px;
    font-size: 1.3rem;
    color: var(--pg7a7-text-muted);
    line-height: 1.6rem;
}

/* Testimonial Card */
.pg7a7-testimonial {
    background: rgba(132, 112, 255, 0.1);
    border-radius: var(--pg7a7-radius);
    padding: 16px;
    margin-bottom: 12px;
}

.pg7a7-testimonial-author {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg7a7-text-light);
    margin-bottom: 8px;
}

.pg7a7-testimonial-text {
    font-size: 1.3rem;
    color: var(--pg7a7-text-muted);
    font-style: italic;
}

/* Payment Icons */
.pg7a7-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 12px 0;
}

.pg7a7-payment-icon {
    width: 56px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--pg7a7-text-muted);
}
