/**
 * GG Panalo APK - Core Stylesheet
 * Website: ggpanaloapk.click
 * Prefix: s173-
 */

/* CSS Variables */
:root {
    --s173-primary: #6495ED;
    --s173-secondary: #5F9EA0;
    --s173-bg: #1E1E1E;
    --s173-bg-light: #2a2a2a;
    --s173-text: #ffffff;
    --s173-text-muted: #b0b0b0;
    --s173-accent: #FFD700;
    --s173-success: #4CAF50;
    --s173-gradient: linear-gradient(135deg, #6495ED 0%, #5F9EA0 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--s173-bg);
    color: var(--s173-text);
    line-height: 1.5;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--s173-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s173-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.s173-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.s173-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 149, 237, 0.3);
}

.s173-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s173-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s173-logo img {
    width: 28px;
    height: 28px;
}

.s173-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--s173-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s173-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s173-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.s173-btn-primary {
    background: var(--s173-gradient);
    color: var(--s173-text);
}

.s173-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(100, 149, 237, 0.4);
}

.s173-btn-outline {
    background: transparent;
    border: 2px solid var(--s173-primary);
    color: var(--s173-primary);
}

.s173-btn-outline:hover {
    background: var(--s173-primary);
    color: var(--s173-bg);
}

.s173-menu-btn {
    background: none;
    border: none;
    color: var(--s173-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.s173-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s173-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.s173-menu-active {
    right: 0;
}

.s173-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;
}

.s173-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s173-close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--s173-text);
    font-size: 2rem;
    cursor: pointer;
}

.s173-menu-nav {
    margin-top: 3rem;
}

.s173-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--s173-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

.s173-menu-nav a:hover {
    color: var(--s173-primary);
    padding-left: 0.5rem;
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Slider/Carousel */
.s173-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.s173-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.s173-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.s173-slide-active {
    opacity: 1;
    position: relative;
}

.s173-slide img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Game Grid */
.s173-section {
    padding: 2rem 0;
}

.s173-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s173-section-title i {
    color: var(--s173-accent);
}

.s173-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s173-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s173-game-item:hover {
    transform: translateY(-5px);
}

.s173-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

.s173-game-name {
    font-size: 1.1rem;
    color: var(--s173-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Cards */
.s173-card {
    background: var(--s173-bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.s173-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--s173-primary);
}

.s173-card-text {
    color: var(--s173-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.s173-card-text strong {
    color: var(--s173-accent);
}

/* Footer */
.s173-footer {
    background: var(--s173-bg-light);
    padding: 2rem 0;
    margin-top: 2rem;
}

.s173-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s173-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s173-partners img:hover {
    opacity: 1;
}

.s173-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s173-footer-links a {
    color: var(--s173-text-muted);
    font-size: 1.2rem;
}

.s173-copyright {
    text-align: center;
    color: var(--s173-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.s173-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, rgba(20, 20, 20, 1) 100%);
    border-top: 1px solid rgba(100, 149, 237, 0.3);
    display: none;
}

@media (max-width: 768px) {
    .s173-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 60px;
        padding: 0 0.5rem;
    }
}

.s173-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;
    color: var(--s173-text-muted);
}

.s173-nav-item:hover,
.s173-nav-item.active {
    color: var(--s173-primary);
    transform: scale(1.1);
}

.s173-nav-item i,
.s173-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s173-nav-item span {
    font-size: 10px;
}

/* Desktop: Hide bottom nav */
@media (min-width: 769px) {
    .s173-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.s173-text-center { text-align: center; }
.s173-mb-1 { margin-bottom: 1rem; }
.s173-mb-2 { margin-bottom: 2rem; }
.s173-mt-1 { margin-top: 1rem; }
.s173-mt-2 { margin-top: 2rem; }

/* Promo Link Styles */
.s173-promo-link {
    color: var(--s173-accent);
    font-weight: 700;
    cursor: pointer;
}

.s173-promo-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.s173-faq-item {
    background: var(--s173-bg-light);
    border-radius: 0.8rem;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.s173-faq-q {
    font-weight: 700;
    color: var(--s173-primary);
    margin-bottom: 0.5rem;
}

.s173-faq-a {
    color: var(--s173-text-muted);
    font-size: 1.3rem;
}

/* Features List */
.s173-features {
    display: grid;
    gap: 1rem;
}

.s173-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--s173-bg-light);
    border-radius: 0.8rem;
}

.s173-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--s173-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s173-feature-icon i {
    color: var(--s173-text);
    font-size: 18px;
}

.s173-feature-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.s173-feature-text p {
    font-size: 1.2rem;
    color: var(--s173-text-muted);
}

/* Responsive Typography */
@media (max-width: 380px) {
    .s173-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
