/**
 * x7game apk - Main Stylesheet
 * CSS class prefix: pgd1-
 * Website: x7gameapk.click
 */

/* CSS Variables */
:root {
    --pgd1-bg-dark: #262626;
    --pgd1-primary: #A0522D;
    --pgd1-accent: #B22222;
    --pgd1-text-light: #D2B48C;
    --pgd1-text-muted: #BC8F8F;
    --pgd1-white: #ffffff;
    --pgd1-black: #000000;
    --pgd1-gradient: linear-gradient(135deg, #A0522D 0%, #B22222 100%);
    --pgd1-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pgd1-radius: 8px;
    --pgd1-radius-lg: 16px;
}

/* 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(--pgd1-bg-dark);
    color: var(--pgd1-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--pgd1-white);
}

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

p {
    margin-bottom: 1rem;
    color: var(--pgd1-text-light);
}

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

a:hover {
    color: var(--pgd1-text-light);
}

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

/* Header */
.pgd1-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pgd1-bg-dark);
    border-bottom: 1px solid rgba(160, 82, 45, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.pgd1-header-scrolled {
    background: rgba(38, 38, 38, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--pgd1-shadow);
}

.pgd1-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

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

.pgd1-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

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

.pgd1-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pgd1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--pgd1-radius);
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.pgd1-btn-primary {
    background: var(--pgd1-gradient);
    color: var(--pgd1-white);
}

.pgd1-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.4);
}

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

.pgd1-btn-outline:hover {
    background: var(--pgd1-primary);
    color: var(--pgd1-white);
}

/* Menu Toggle */
.pgd1-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.pgd1-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--pgd1-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.pgd1-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--pgd1-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid rgba(160, 82, 45, 0.3);
}

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

.pgd1-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(160, 82, 45, 0.3);
}

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

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

.pgd1-menu-nav li {
    margin-bottom: 1rem;
}

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

.pgd1-menu-nav a:hover {
    background: rgba(160, 82, 45, 0.2);
    color: var(--pgd1-primary);
}

/* Menu Overlay */
.pgd1-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;
}

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

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

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

.pgd1-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pgd1-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

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

.pgd1-slide-active {
    display: block;
}

.pgd1-slide:not(.pgd1-slide-active) {
    display: none;
}

.pgd1-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

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

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

/* Section Styles */
.pgd1-section {
    padding: 2rem 0;
}

.pgd1-section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--pgd1-primary);
    display: inline-block;
}

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

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

.pgd1-game-item:hover {
    transform: translateY(-5px);
}

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

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

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

/* Category Title */
.pgd1-category-title {
    font-size: 1.8rem;
    color: var(--pgd1-primary);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pgd1-accent);
}

/* Info Cards */
.pgd1-card {
    background: rgba(160, 82, 45, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.3);
    border-radius: var(--pgd1-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pgd1-card-title {
    font-size: 1.6rem;
    color: var(--pgd1-primary);
    margin-bottom: 1rem;
}

.pgd1-card-content {
    color: var(--pgd1-text-light);
    font-size: 1.4rem;
}

/* Feature List */
.pgd1-feature-list {
    list-style: none;
}

.pgd1-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(160, 82, 45, 0.2);
}

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

.pgd1-feature-icon {
    color: var(--pgd1-primary);
    font-size: 2rem;
    min-width: 30px;
}

/* Testimonials */
.pgd1-testimonial {
    background: rgba(160, 82, 45, 0.1);
    border-radius: var(--pgd1-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pgd1-testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.pgd1-testimonial-author {
    font-weight: 600;
    color: var(--pgd1-primary);
}

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

.pgd1-payment-item {
    background: rgba(160, 82, 45, 0.1);
    border-radius: var(--pgd1-radius);
    padding: 1rem;
    text-align: center;
}

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

/* Footer */
.pgd1-footer {
    background: var(--pgd1-bg-dark);
    border-top: 1px solid rgba(160, 82, 45, 0.3);
    padding: 2rem 1.5rem 3rem;
}

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

.pgd1-footer-desc {
    font-size: 1.4rem;
    color: var(--pgd1-text-muted);
    margin-bottom: 1.5rem;
}

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

.pgd1-footer-links a {
    color: var(--pgd1-text-light);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(160, 82, 45, 0.1);
    border-radius: var(--pgd1-radius);
    transition: all 0.3s ease;
}

.pgd1-footer-links a:hover {
    background: var(--pgd1-primary);
    color: var(--pgd1-white);
}

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

.pgd1-promo-btn {
    padding: 0.8rem 1.2rem;
    background: var(--pgd1-gradient);
    color: var(--pgd1-white);
    border-radius: var(--pgd1-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgd1-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
}

.pgd1-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pgd1-text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(160, 82, 45, 0.2);
}

/* Bottom Navigation */
.pgd1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #262626 100%);
    border-top: 2px solid var(--pgd1-primary);
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.pgd1-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--pgd1-radius);
}

.pgd1-nav-item:hover {
    background: rgba(160, 82, 45, 0.2);
}

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

.pgd1-nav-item i,
.pgd1-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 0.3rem;
    color: var(--pgd1-text-light);
    transition: color 0.3s ease;
}

.pgd1-nav-item:hover i,
.pgd1-nav-item:hover .material-icons {
    color: var(--pgd1-primary);
}

.pgd1-nav-item.active i,
.pgd1-nav-item.active .material-icons {
    color: var(--pgd1-primary);
}

.pgd1-nav-text {
    font-size: 1rem;
    color: var(--pgd1-text-muted);
    transition: color 0.3s ease;
}

.pgd1-nav-item:hover .pgd1-nav-text {
    color: var(--pgd1-text-light);
}

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

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

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

/* Mobile Optimization */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }

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

/* Utility Classes */
.pgd1-text-center { text-align: center; }
.pgd1-text-primary { color: var(--pgd1-primary); }
.pgd1-text-accent { color: var(--pgd1-accent); }
.pgd1-mb-1 { margin-bottom: 1rem; }
.pgd1-mb-2 { margin-bottom: 2rem; }
.pgd1-mt-2 { margin-top: 2rem; }

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

.pgd1-promo-link:hover {
    color: var(--pgd1-accent);
    text-decoration: underline;
}

/* Winner Showcase */
.pgd1-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(160, 82, 45, 0.1);
    border-radius: var(--pgd1-radius);
    margin-bottom: 0.8rem;
}

.pgd1-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.pgd1-winner-amount {
    font-weight: 700;
    color: var(--pgd1-accent);
}

/* App Download Section */
.pgd1-app-download {
    background: var(--pgd1-gradient);
    border-radius: var(--pgd1-radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pgd1-app-download h3 {
    margin-bottom: 1rem;
}

.pgd1-app-download p {
    margin-bottom: 1.5rem;
    color: var(--pgd1-white);
}

/* FAQ Accordion */
.pgd1-faq-item {
    background: rgba(160, 82, 45, 0.1);
    border-radius: var(--pgd1-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.pgd1-faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pgd1-faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--pgd1-text-muted);
    font-size: 1.4rem;
}
