/**
 * GG Panalo APK - Core Stylesheet
 * Website: ggpanaloapk.cfd
 * Language: en-PH
 * All classes use prefix: g0d5-
 */

/* CSS Variables */
:root {
    --g0d5-primary: #0000FF;
    --g0d5-bg-dark: #0E1621;
    --g0d5-accent: #ADD8E6;
    --g0d5-highlight: #FA8072;
    --g0d5-text-light: #E5E5E5;
    --g0d5-bg-card: rgba(14, 22, 33, 0.95);
    --g0d5-border: rgba(173, 216, 230, 0.3);
    --g0d5-gradient: linear-gradient(135deg, #0E1621 0%, #1a2a3a 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--g0d5-gradient);
    color: var(--g0d5-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.g0d5-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

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

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

.g0d5-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.g0d5-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.g0d5-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g0d5-accent);
}

.g0d5-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.g0d5-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.g0d5-btn-primary:hover {
    background: #0000CC;
    transform: translateY(-1px);
}

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

.g0d5-btn-secondary:hover {
    background: rgba(173, 216, 230, 0.1);
}

.g0d5-menu-toggle {
    background: none;
    border: none;
    color: var(--g0d5-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

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

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

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

.g0d5-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g0d5-accent);
}

.g0d5-menu-close {
    background: none;
    border: none;
    color: var(--g0d5-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.g0d5-nav-list {
    list-style: none;
}

.g0d5-nav-item {
    margin-bottom: 0.5rem;
}

.g0d5-nav-link {
    display: block;
    padding: 1rem 0.8rem;
    color: var(--g0d5-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.g0d5-nav-link:hover,
.g0d5-nav-active {
    background: rgba(0, 0, 255, 0.2);
    color: var(--g0d5-accent);
}

/* Main Content */
main {
    padding-top: 56px;
}

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

/* Carousel */
.g0d5-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 1rem 0;
}

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

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

.g0d5-slide-active {
    opacity: 1;
    position: relative;
}

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

.g0d5-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

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

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

/* Sections */
.g0d5-section {
    padding: 1.5rem 0;
}

.g0d5-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g0d5-accent);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--g0d5-primary);
}

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

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

.g0d5-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--g0d5-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 255, 0.3);
}

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

.g0d5-game-name {
    font-size: 1rem;
    color: var(--g0d5-text-light);
    text-align: center;
    padding: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Cards */
.g0d5-card {
    background: var(--g0d5-bg-card);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--g0d5-border);
}

.g0d5-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g0d5-accent);
    margin-bottom: 0.8rem;
}

.g0d5-card-text {
    font-size: 1.2rem;
    color: var(--g0d5-text-light);
    line-height: 1.6;
}

.g0d5-card-text p {
    margin-bottom: 0.8rem;
}

/* Promo Links */
.g0d5-promo-link {
    color: var(--g0d5-highlight);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.g0d5-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--g0d5-primary), #0066FF);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.g0d5-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 255, 0.4);
}

/* Features List */
.g0d5-features {
    display: grid;
    gap: 0.8rem;
}

.g0d5-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 0, 255, 0.1);
    border-radius: 6px;
}

.g0d5-feature-icon {
    font-size: 1.8rem;
    color: var(--g0d5-highlight);
    flex-shrink: 0;
}

.g0d5-feature-text {
    font-size: 1.2rem;
    color: var(--g0d5-text-light);
}

/* Footer */
.g0d5-footer {
    background: var(--g0d5-bg-dark);
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--g0d5-border);
}

.g0d5-footer-desc {
    font-size: 1.1rem;
    color: var(--g0d5-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.g0d5-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.g0d5-footer-link {
    color: var(--g0d5-accent);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.g0d5-footer-link:hover {
    background: var(--g0d5-primary);
}

.g0d5-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.g0d5-footer-nav a {
    color: var(--g0d5-text-light);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.3rem 0.6rem;
    transition: color 0.3s ease;
}

.g0d5-footer-nav a:hover {
    color: var(--g0d5-accent);
}

.g0d5-copyright {
    text-align: center;
    font-size: 1rem;
    color: rgba(229, 229, 229, 0.6);
    padding-top: 1rem;
    border-top: 1px solid var(--g0d5-border);
}

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

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

.g0d5-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem;
}

.g0d5-nav-btn:hover {
    transform: scale(1.1);
}

.g0d5-nav-btn.active {
    background: rgba(0, 0, 255, 0.2);
    border-radius: 8px;
}

.g0d5-nav-btn .material-icons,
.g0d5-nav-btn ion-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.g0d5-nav-btn .fas,
.g0d5-nav-btn .far {
    font-size: 22px;
    margin-bottom: 2px;
}

.g0d5-nav-btn span {
    font-size: 10px;
    color: var(--g0d5-text-light);
}

.g0d5-nav-btn.active span {
    color: var(--g0d5-accent);
}

/* H1 Title */
.g0d5-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g0d5-accent);
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Utility Classes */
.g0d5-text-center { text-align: center; }
.g0d5-text-highlight { color: var(--g0d5-highlight); }
.g0d5-mb-1 { margin-bottom: 1rem; }
.g0d5-mb-2 { margin-bottom: 2rem; }
.g0d5-py-1 { padding: 1rem 0; }

/* Partners Section */
.g0d5-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    padding: 1rem 0;
}

.g0d5-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

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

.g0d5-testimonial-text {
    font-size: 1.2rem;
    color: var(--g0d5-text-light);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.g0d5-testimonial-author {
    font-size: 1.1rem;
    color: var(--g0d5-accent);
    font-weight: 600;
}

/* Payment Methods */
.g0d5-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.g0d5-payment-item {
    background: var(--g0d5-bg-card);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--g0d5-text-light);
    border: 1px solid var(--g0d5-border);
}

/* Winners Showcase */
.g0d5-winners-grid {
    display: grid;
    gap: 0.6rem;
}

.g0d5-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--g0d5-bg-card);
    padding: 0.8rem;
    border-radius: 6px;
}

.g0d5-winner-game {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

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

.g0d5-winner-name {
    font-size: 1.1rem;
    color: var(--g0d5-accent);
    font-weight: 600;
}

.g0d5-winner-amount {
    font-size: 1.2rem;
    color: var(--g0d5-highlight);
    font-weight: 700;
}
