/**
 * Super PH APK - Main Stylesheet
 * CSS class prefix: pgdb-
 * Website: superphapk.click
 */

/* CSS Variables */
:root {
    --pgdb-primary: #E9967A;
    --pgdb-secondary: #FA8072;
    --pgdb-accent: #F08080;
    --pgdb-dark: #333333;
    --pgdb-darker: #495057;
    --pgdb-muted: #778899;
    --pgdb-light: #ffffff;
    --pgdb-bg: #1a1a2e;
    --pgdb-bg-secondary: #16213e;
    --pgdb-text: #f5f5f5;
    --pgdb-text-muted: #b0b0b0;
    --pgdb-border: #2d2d44;
    --pgdb-gradient: linear-gradient(135deg, var(--pgdb-primary), var(--pgdb-secondary));
    --pgdb-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --pgdb-radius: 8px;
    --pgdb-radius-lg: 16px;
}

/* Reset & 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--pgdb-bg);
    color: var(--pgdb-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--pgdb-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

p {
    margin-bottom: 1rem;
    color: var(--pgdb-text-muted);
}

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

a:hover {
    color: var(--pgdb-secondary);
}

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

/* Header */
.pgdb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pgdb-bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--pgdb-border);
}

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

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

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

.pgdb-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pgdb-light);
}

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

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

.pgdb-btn-primary {
    background: var(--pgdb-gradient);
    color: var(--pgdb-light);
}

.pgdb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--pgdb-shadow);
}

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

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

/* Hamburger Menu */
.pgdb-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.pgdb-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--pgdb-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.pgdb-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.pgdb-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.pgdb-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

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

.pgdb-menu-open {
    right: 0;
}

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

.pgdb-overlay-visible {
    opacity: 1;
    visibility: visible;
}

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

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

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

.pgdb-menu-nav a:hover {
    background: var(--pgdb-border);
    color: var(--pgdb-primary);
}

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

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

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

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

.pgdb-slide-active {
    opacity: 1;
}

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

/* Game Grid */
.pgdb-section {
    padding: 2rem 0;
}

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

.pgdb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pgdb-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--pgdb-bg-secondary);
    border-radius: var(--pgdb-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--pgdb-border);
}

.pgdb-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--pgdb-primary);
    box-shadow: 0 4px 15px rgba(233, 150, 122, 0.3);
}

.pgdb-game-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--pgdb-radius);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.pgdb-game-name {
    font-size: 1.1rem;
    color: var(--pgdb-text);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Content Sections */
.pgdb-content-block {
    background: var(--pgdb-bg-secondary);
    padding: 2rem;
    border-radius: var(--pgdb-radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--pgdb-border);
}

.pgdb-content-block h2 {
    color: var(--pgdb-primary);
    margin-bottom: 1.5rem;
}

.pgdb-content-block p {
    color: var(--pgdb-text-muted);
    line-height: 1.8;
}

.pgdb-highlight {
    color: var(--pgdb-primary);
    font-weight: 600;
}

/* Promo Links */
.pgdb-promo-text {
    color: var(--pgdb-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pgdb-promo-text:hover {
    color: var(--pgdb-accent);
}

/* Features List */
.pgdb-features-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.pgdb-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--pgdb-bg);
    border-radius: var(--pgdb-radius);
}

.pgdb-features-list i {
    color: var(--pgdb-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Footer */
.pgdb-footer {
    background: var(--pgdb-bg-secondary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--pgdb-border);
}

.pgdb-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.pgdb-footer-brand p {
    font-size: 1.4rem;
    max-width: 300px;
    margin: 0 auto;
}

.pgdb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.pgdb-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--pgdb-bg);
    border-radius: var(--pgdb-radius);
    font-size: 1.3rem;
    color: var(--pgdb-text);
    transition: all 0.3s ease;
}

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

.pgdb-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pgdb-text-muted);
}

/* Bottom Navigation - Mobile */
.pgdb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--pgdb-bg-secondary);
    border-top: 1px solid var(--pgdb-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .pgdb-bottom-nav {
        display: none;
    }
}

.pgdb-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;
    border-radius: var(--pgdb-radius);
}

.pgdb-nav-item:hover {
    background: var(--pgdb-border);
}

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

.pgdb-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.pgdb-nav-item span {
    font-size: 11px;
    color: var(--pgdb-text-muted);
}

.pgdb-nav-item:hover span,
.pgdb-nav-item.active span {
    color: var(--pgdb-primary);
}

/* Utility Classes */
.pgdb-text-center { text-align: center; }
.pgdb-mb-1 { margin-bottom: 1rem; }
.pgdb-mb-2 { margin-bottom: 2rem; }
.pgdb-mb-3 { margin-bottom: 3rem; }
.pgdb-mt-2 { margin-top: 2rem; }
.pgdb-hidden { display: none; }

/* Testimonials */
.pgdb-testimonial {
    background: var(--pgdb-bg);
    padding: 1.5rem;
    border-radius: var(--pgdb-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--pgdb-primary);
}

.pgdb-testimonial-text {
    font-style: italic;
    margin-bottom: 0.8rem;
}

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

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

.pgdb-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--pgdb-bg);
    border-radius: var(--pgdb-radius);
}

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

.pgdb-payment-item span {
    font-size: 1.2rem;
}

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

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

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

.pgdb-winner-name {
    font-size: 1.4rem;
    color: var(--pgdb-light);
}

.pgdb-winner-amount {
    font-size: 1.2rem;
    color: var(--pgdb-primary);
    font-weight: 600;
}

/* CTA Button */
.pgdb-cta-button {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--pgdb-gradient);
    color: var(--pgdb-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--pgdb-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 2rem 0;
}

.pgdb-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(233, 150, 122, 0.4);
}

/* FAQ Section */
.pgdb-faq-item {
    background: var(--pgdb-bg);
    border-radius: var(--pgdb-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

/* Responsive adjustments */
@media (max-width: 380px) {
    .pgdb-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pgdb-game-card img {
        width: 50px;
        height: 50px;
    }

    .pgdb-game-name {
        font-size: 1rem;
    }
}
