/**
 * Super PH APK - Main Stylesheet
 * Website: super-ph-apk.click
 * Prefix: g6d7-
 */

/* CSS Variables */
:root {
    --g6d7-primary: #1a1a2e;
    --g6d7-secondary: #16213e;
    --g6d7-accent: #e94560;
    --g6d7-accent-hover: #ff6b6b;
    --g6d7-gold: #ffd700;
    --g6d7-text: #ffffff;
    --g6d7-text-muted: #a0a0a0;
    --g6d7-bg-dark: #0f0f1a;
    --g6d7-bg-card: #1e1e35;
    --g6d7-border: #2a2a4a;
    --g6d7-gradient: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --g6d7-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
    --g6d7-radius: 12px;
    --g6d7-radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--g6d7-bg-dark);
    color: var(--g6d7-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* Header */
.g6d7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--g6d7-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--g6d7-border);
}

.g6d7-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.g6d7-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--g6d7-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.g6d7-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--g6d7-gold);
}

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

.g6d7-btn {
    padding: 8px 16px;
    border-radius: var(--g6d7-radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g6d7-btn-login {
    background: transparent;
    border: 1px solid var(--g6d7-accent);
    color: var(--g6d7-accent);
}

.g6d7-btn-login:hover {
    background: var(--g6d7-accent);
    color: var(--g6d7-text);
}

.g6d7-btn-register {
    background: var(--g6d7-gradient);
    color: var(--g6d7-text);
    box-shadow: var(--g6d7-shadow);
}

.g6d7-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.4);
}

.g6d7-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--g6d7-text);
    font-size: 24px;
    cursor: pointer;
}

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

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

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

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

.g6d7-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--g6d7-text);
    font-size: 28px;
    cursor: pointer;
}

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

.g6d7-menu-nav li {
    margin-bottom: 8px;
}

.g6d7-menu-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--g6d7-text);
    border-radius: var(--g6d7-radius-sm);
    transition: all 0.3s ease;
}

.g6d7-menu-nav a:hover {
    background: var(--g6d7-accent);
    padding-left: 24px;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 20px;
}

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

/* Hero Section */
.g6d7-hero {
    background: linear-gradient(135deg, var(--g6d7-primary) 0%, var(--g6d7-secondary) 100%);
    padding: 40px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.g6d7-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
    animation: g6d7Pulse 4s ease-in-out infinite;
}

@keyframes g6d7Pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.g6d7-hero-content {
    position: relative;
    z-index: 1;
}

.g6d7-hero h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--g6d7-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.g6d7-hero p {
    font-size: 14px;
    color: var(--g6d7-text-muted);
    margin-bottom: 24px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.g6d7-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.g6d7-btn-hero {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--g6d7-radius);
}

.g6d7-btn-primary {
    background: var(--g6d7-gradient);
    color: var(--g6d7-text);
    box-shadow: var(--g6d7-shadow);
}

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

/* Section Styles */
.g6d7-section {
    padding: 30px 16px;
}

.g6d7-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--g6d7-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.g6d7-section-title i {
    color: var(--g6d7-accent);
}

/* Category Tabs */
.g6d7-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.g6d7-category-tabs::-webkit-scrollbar {
    display: none;
}

.g6d7-category-tab {
    padding: 10px 18px;
    background: var(--g6d7-bg-card);
    border: 1px solid var(--g6d7-border);
    border-radius: 20px;
    color: var(--g6d7-text-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g6d7-category-tab:hover,
.g6d7-tab-active {
    background: var(--g6d7-accent);
    border-color: var(--g6d7-accent);
    color: var(--g6d7-text);
}

/* Game Grid */
.g6d7-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 380px) {
    .g6d7-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.g6d7-game-card {
    background: var(--g6d7-bg-card);
    border-radius: var(--g6d7-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--g6d7-border);
}

.g6d7-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--g6d7-shadow);
    border-color: var(--g6d7-accent);
}

.g6d7-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g6d7-game-info {
    padding: 10px;
}

.g6d7-game-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--g6d7-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g6d7-game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--g6d7-accent);
    color: var(--g6d7-text);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Features Section */
.g6d7-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.g6d7-feature-card {
    background: var(--g6d7-bg-card);
    padding: 20px;
    border-radius: var(--g6d7-radius);
    text-align: center;
    border: 1px solid var(--g6d7-border);
    transition: all 0.3s ease;
}

.g6d7-feature-card:hover {
    border-color: var(--g6d7-accent);
    transform: translateY(-2px);
}

.g6d7-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--g6d7-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}

.g6d7-feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.g6d7-feature-desc {
    font-size: 12px;
    color: var(--g6d7-text-muted);
}

/* Bottom Navigation */
.g6d7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--g6d7-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--g6d7-border);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

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

.g6d7-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px 4px;
    color: var(--g6d7-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.g6d7-bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--g6d7-accent);
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
}

.g6d7-bottom-nav-item:hover,
.g6d7-nav-active {
    color: var(--g6d7-accent);
}

.g6d7-bottom-nav-item:hover::before,
.g6d7-nav-active::before {
    width: 30px;
}

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

.g6d7-bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Footer */
.g6d7-footer {
    background: var(--g6d7-secondary);
    padding: 40px 16px 20px;
    margin-top: 40px;
}

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

.g6d7-footer-partners {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.g6d7-partner-logo {
    width: 60px;
    height: 40px;
    background: var(--g6d7-bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.g6d7-partner-logo:hover {
    opacity: 1;
}

.g6d7-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.g6d7-footer-link {
    color: var(--g6d7-text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.g6d7-footer-link:hover {
    color: var(--g6d7-accent);
}

.g6d7-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--g6d7-border);
}

.g6d7-copyright {
    font-size: 12px;
    color: var(--g6d7-text-muted);
}

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

.g6d7-help-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--g6d7-gold);
}

.g6d7-help-content {
    color: var(--g6d7-text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.g6d7-help-content p {
    margin-bottom: 12px;
}

.g6d7-help-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.g6d7-help-content li {
    margin-bottom: 8px;
}

/* Accordion */
.g6d7-accordion-item {
    background: var(--g6d7-bg-card);
    border-radius: var(--g6d7-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.g6d7-accordion-header {
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.g6d7-accordion-header:hover {
    background: var(--g6d7-secondary);
}

.g6d7-accordion-icon {
    transition: transform 0.3s ease;
}

.g6d7-icon-rotated {
    transform: rotate(180deg);
}

.g6d7-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
    color: var(--g6d7-text-muted);
    font-size: 14px;
}

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

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

/* CTA Section */
.g6d7-cta {
    background: var(--g6d7-gradient);
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--g6d7-radius);
    margin: 20px 16px;
}

.g6d7-cta h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.g6d7-cta p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.g6d7-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--g6d7-text);
    color: var(--g6d7-accent);
    font-weight: 700;
    border-radius: var(--g6d7-radius);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g6d7-cta-btn:hover {
    transform: scale(1.05);
}

/* Animations */
.g6d7-animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.g6d7-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 430px) {
    .g6d7-hero h1 {
        font-size: 24px;
    }

    .g6d7-section-title {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .g6d7-container {
        max-width: 1200px;
    }

    .g6d7-menu-toggle {
        display: none;
    }

    .g6d7-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .g6d7-features {
        grid-template-columns: repeat(4, 1fr);
    }
}
