/**
 * GG Panalo APK - Theme Stylesheet
 * Website: ggpanaloapk.sbs
 * Prefix: gc84-
 */

/* CSS Variables */
:root {
    --gc84-primary: #ff6b35;
    --gc84-secondary: #1a1a2e;
    --gc84-accent: #ffd700;
    --gc84-bg: #0f0f1a;
    --gc84-bg-light: #16213e;
    --gc84-text: #ffffff;
    --gc84-text-muted: #a0a0b0;
    --gc84-border: #2a2a4a;
    --gc84-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gc84-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gc84-bg);
    color: var(--gc84-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

a:hover {
    color: var(--gc84-accent);
}

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

/* Header */
.gc84-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.gc84-header.gc84-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--gc84-shadow);
}

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

.gc84-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc84-logo img {
    height: 36px;
    width: auto;
}

.gc84-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--gc84-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gc84-header-btns {
    display: flex;
    gap: 8px;
}

.gc84-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.gc84-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--gc84-shadow);
}

.gc84-btn-secondary {
    background: transparent;
    color: var(--gc84-text);
    border: 1px solid var(--gc84-border);
}

.gc84-btn-secondary:hover {
    border-color: var(--gc84-primary);
    color: var(--gc84-primary);
}

/* Mobile Menu */
.gc84-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.gc84-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gc84-text);
    transition: all 0.3s ease;
}

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

.gc84-mobile-menu.gc84-active {
    right: 0;
}

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

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

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

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

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

.gc84-menu-nav li {
    margin-bottom: 10px;
}

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

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

/* Main Content */
.gc84-main {
    padding-top: 60px;
}

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

/* Hero Slider */
.gc84-hero {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.gc84-slide-content {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    color: #fff;
}

.gc84-slide-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gc84-slide-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* Section Styles */
.gc84-section {
    padding: 25px 15px;
}

.gc84-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc84-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--gc84-gradient);
    border-radius: 2px;
}

/* Category Tabs */
.gc84-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 15px;
    scrollbar-width: none;
}

.gc84-cat-tabs::-webkit-scrollbar {
    display: none;
}

.gc84-cat-tab {
    padding: 8px 16px;
    background: var(--gc84-bg-light);
    border: none;
    border-radius: 20px;
    color: var(--gc84-text-muted);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gc84-cat-tab.gc84-active,
.gc84-cat-tab:hover {
    background: var(--gc84-gradient);
    color: #fff;
}

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

.gc84-game-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gc84-game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc84-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 5px 5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
}

/* Category Content */
.gc84-cat-content {
    display: none;
}

.gc84-cat-content.gc84-active {
    display: block;
}

/* Info Box */
.gc84-info-box {
    background: var(--gc84-bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--gc84-border);
}

.gc84-info-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gc84-primary);
}

.gc84-info-box p {
    color: var(--gc84-text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.gc84-info-box ul {
    list-style: none;
    padding-left: 0;
}

.gc84-info-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gc84-text-muted);
    font-size: 14px;
}

.gc84-info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gc84-primary);
}

/* FAQ Section */
.gc84-faq-item {
    background: var(--gc84-bg-light);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--gc84-border);
}

.gc84-faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.gc84-faq-question i {
    transition: transform 0.3s ease;
}

.gc84-faq-item.gc84-active .gc84-faq-question i {
    transform: rotate(180deg);
}

.gc84-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.gc84-faq-item.gc84-active .gc84-faq-answer {
    max-height: 500px;
    padding: 0 15px 15px;
}

.gc84-faq-answer p {
    color: var(--gc84-text-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Bottom Navigation */
.gc84-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 26, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gc84-border);
    padding: 8px 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.gc84-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--gc84-text-muted);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 44px;
    border-radius: 10px;
}

.gc84-nav-btn i,
.gc84-nav-btn .material-icons {
    font-size: 22px;
}

.gc84-nav-btn:hover,
.gc84-nav-btn.gc84-active {
    color: var(--gc84-primary);
    background: rgba(255, 107, 53, 0.1);
}

.gc84-nav-btn.gc84-highlight {
    background: var(--gc84-gradient);
    color: #fff;
    border-radius: 25px;
    padding: 8px 20px;
}

/* Footer */
.gc84-footer {
    background: var(--gc84-secondary);
    padding: 30px 15px;
    margin-top: 30px;
}

.gc84-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

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

.gc84-footer-links a:hover {
    color: var(--gc84-primary);
}

.gc84-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.gc84-partners img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gc84-partners img:hover {
    opacity: 1;
}

.gc84-copyright {
    text-align: center;
    color: var(--gc84-text-muted);
    font-size: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--gc84-border);
}

/* CTA Banner */
.gc84-cta-banner {
    background: var(--gc84-gradient);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 15px;
}

.gc84-cta-banner h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.gc84-cta-banner p {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gc84-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: var(--gc84-primary);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.gc84-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.gc84-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

.gc84-feature-card:hover {
    border-color: var(--gc84-primary);
    transform: translateY(-3px);
}

.gc84-feature-card i,
.gc84-feature-card .material-icons {
    font-size: 32px;
    color: var(--gc84-primary);
    margin-bottom: 10px;
}

.gc84-feature-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.gc84-feature-card p {
    font-size: 12px;
    color: var(--gc84-text-muted);
}

/* Steps List */
.gc84-steps {
    counter-reset: step;
}

.gc84-step {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--gc84-bg-light);
    border-radius: 10px;
    border: 1px solid var(--gc84-border);
}

.gc84-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--gc84-gradient);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.gc84-step-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.gc84-step-content p {
    font-size: 13px;
    color: var(--gc84-text-muted);
}

/* Responsive */
@media (max-width: 430px) {
    .gc84-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .gc84-game-name {
        font-size: 9px;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .gc84-header-inner {
        max-width: 1200px;
    }

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

    .gc84-desktop-nav {
        display: flex;
        gap: 20px;
    }

    .gc84-desktop-nav a {
        color: var(--gc84-text-muted);
        font-size: 14px;
        transition: color 0.3s ease;
    }

    .gc84-desktop-nav a:hover {
        color: var(--gc84-primary);
    }
}

@media (max-width: 768px) {
    .gc84-desktop-nav {
        display: none;
    }
}
