/**
 * Olx 786 Vvip - Main Stylesheet
 * Mobile-first responsive design (max-width: 430px)
 * All classes use pg77- prefix for namespace isolation
 */

/* ===== CSS Variables ===== */
:root {
    --pg77-primary: #32CD32;
    --pg77-secondary: #7CFC00;
    --pg77-accent: #FF4500;
    --pg77-bg-dark: #2C2C2C;
    --pg77-bg-light: #E9ECEF;
    --pg77-text-light: #E9ECEF;
    --pg77-text-dark: #2C2C2C;
    --pg77-teal: #80CBC4;
    --pg77-gradient-start: #32CD32;
    --pg77-gradient-end: #7CFC00;
    --pg77-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pg77-radius: 12px;
    --pg77-radius-sm: 8px;
    --pg77-transition: all 0.3s ease;
}

/* ===== 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-color: var(--pg77-bg-dark);
    color: var(--pg77-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Header ===== */
.pg77-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--pg77-bg-dark) 0%, #1a1a1a 100%);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--pg77-shadow);
    transition: var(--pg77-transition);
}

.pg77-header.pg77-scrolled {
    background: rgba(44, 44, 44, 0.98);
    padding: 8px 16px;
}

.pg77-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg77-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.pg77-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--pg77-primary), var(--pg77-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg77-header-actions {
    display: flex;
    gap: 10px;
}

.pg77-btn {
    padding: 10px 20px;
    border-radius: var(--pg77-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--pg77-transition);
    border: none;
    text-align: center;
}

.pg77-btn-login {
    background: transparent;
    border: 2px solid var(--pg77-primary);
    color: var(--pg77-primary);
}

.pg77-btn-login:hover {
    background: var(--pg77-primary);
    color: var(--pg77-bg-dark);
}

.pg77-btn-register {
    background: linear-gradient(135deg, var(--pg77-primary), var(--pg77-secondary));
    color: var(--pg77-bg-dark);
}

.pg77-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

/* ===== Mobile Menu ===== */
.pg77-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.pg77-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--pg77-primary);
    border-radius: 2px;
    transition: var(--pg77-transition);
}

.pg77-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: var(--pg77-transition);
}

.pg77-menu-overlay.pg77-active {
    opacity: 1;
    visibility: visible;
}

.pg77-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg77-bg-dark);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.pg77-mobile-menu.pg77-active {
    right: 0;
}

.pg77-mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--pg77-text-light);
    cursor: pointer;
}

.pg77-mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pg77-mobile-menu-links a {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--pg77-radius-sm);
    color: var(--pg77-text-light);
    font-weight: 500;
    transition: var(--pg77-transition);
}

.pg77-mobile-menu-links a:hover {
    background: var(--pg77-primary);
    color: var(--pg77-bg-dark);
}

/* ===== Main Content ===== */
.pg77-main {
    padding-top: 70px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .pg77-main {
        padding-bottom: 80px;
    }
}

.pg77-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== Hero Carousel ===== */
.pg77-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--pg77-radius);
    margin-bottom: 20px;
}

.pg77-slides {
    position: relative;
    height: 200px;
}

.pg77-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pg77-slide.pg77-active {
    opacity: 1;
}

.pg77-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg77-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pg77-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--pg77-transition);
}

.pg77-dot.pg77-active {
    background: var(--pg77-primary);
    transform: scale(1.2);
}

/* ===== Section Titles ===== */
.pg77-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--pg77-text-light);
}

.pg77-section-title span {
    color: var(--pg77-primary);
}

/* ===== Category Tabs ===== */
.pg77-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.pg77-category-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: var(--pg77-text-light);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--pg77-transition);
}

.pg77-category-tab:hover,
.pg77-category-tab.pg77-active {
    background: var(--pg77-primary);
    color: var(--pg77-bg-dark);
}

/* ===== Game Grid ===== */
.pg77-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.pg77-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--pg77-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--pg77-transition);
}

.pg77-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.2);
}

.pg77-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pg77-game-card-title {
    padding: 8px;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg77-hidden {
    display: none !important;
}

.pg77-visible {
    display: grid;
}

/* ===== Features Section ===== */
.pg77-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.pg77-feature-card {
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.1), rgba(124, 252, 0, 0.05));
    padding: 20px;
    border-radius: var(--pg77-radius);
    text-align: center;
    border: 1px solid rgba(50, 205, 50, 0.2);
}

.pg77-feature-icon {
    font-size: 2rem;
    color: var(--pg77-primary);
    margin-bottom: 10px;
}

.pg77-feature-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.pg77-feature-desc {
    font-size: 0.8rem;
    color: var(--pg77-teal);
}

/* ===== Bonus Section ===== */
.pg77-bonus {
    background: linear-gradient(135deg, var(--pg77-accent), #ff6b35);
    padding: 25px;
    border-radius: var(--pg77-radius);
    text-align: center;
    margin-bottom: 30px;
}

.pg77-bonus-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pg77-bonus-desc {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* ===== Payment Methods ===== */
.pg77-payments {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--pg77-radius);
    margin-bottom: 30px;
}

.pg77-payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.pg77-payment-logo {
    width: 60px;
    height: 35px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: var(--pg77-transition);
}

.pg77-payment-logo:hover {
    filter: grayscale(0);
}

/* ===== Footer ===== */
.pg77-footer {
    background: #1a1a1a;
    padding: 40px 16px 20px;
    margin-top: 40px;
}

.pg77-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pg77-footer-partner {
    width: 80px;
    opacity: 0.7;
    transition: var(--pg77-transition);
}

.pg77-footer-partner:hover {
    opacity: 1;
}

.pg77-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pg77-footer-links a {
    color: var(--pg77-teal);
    font-size: 0.875rem;
    transition: var(--pg77-transition);
}

.pg77-footer-links a:hover {
    color: var(--pg77-primary);
}

.pg77-footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Mobile Bottom Navigation ===== */
.pg77-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--pg77-bg-dark), #1a1a1a);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(50, 205, 50, 0.2);
}

@media (min-width: 769px) {
    .pg77-bottom-nav {
        display: none;
    }
}

.pg77-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--pg77-text-light);
    cursor: pointer;
    transition: var(--pg77-transition);
    background: none;
    border: none;
}

.pg77-nav-item:hover,
.pg77-nav-item.pg77-active {
    color: var(--pg77-primary);
}

.pg77-nav-item i,
.pg77-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg77-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* ===== Why Choose Us ===== */
.pg77-why-us {
    margin-bottom: 30px;
}

.pg77-why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--pg77-radius-sm);
    margin-bottom: 12px;
}

.pg77-why-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--pg77-primary), var(--pg77-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg77-why-icon i {
    font-size: 1.25rem;
    color: var(--pg77-bg-dark);
}

.pg77-why-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--pg77-primary);
}

.pg77-why-content p {
    font-size: 0.85rem;
    color: var(--pg77-teal);
}

/* ===== Testimonials ===== */
.pg77-testimonials {
    margin-bottom: 30px;
}

.pg77-testimonial {
    background: rgba(128, 203, 196, 0.1);
    padding: 20px;
    border-radius: var(--pg77-radius);
    margin-bottom: 15px;
    border-left: 4px solid var(--pg77-teal);
}

.pg77-testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.pg77-testimonial-author {
    font-weight: 600;
    color: var(--pg77-primary);
    font-size: 0.85rem;
}

/* ===== Stats Section ===== */
.pg77-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.pg77-stat-item {
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.15), rgba(124, 252, 0, 0.05));
    padding: 20px;
    border-radius: var(--pg77-radius);
    text-align: center;
}

.pg77-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pg77-primary);
}

.pg77-stat-label {
    font-size: 0.8rem;
    color: var(--pg77-teal);
    margin-top: 5px;
}

/* ===== CTA Section ===== */
.pg77-cta {
    background: linear-gradient(135deg, var(--pg77-bg-dark), #1a1a1a);
    padding: 30px 20px;
    border-radius: var(--pg77-radius);
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid var(--pg77-primary);
}

.pg77-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pg77-cta p {
    margin-bottom: 20px;
    color: var(--pg77-teal);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 430px) {
    html {
        font-size: 14px;
    }

    .pg77-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .pg77-slides {
        height: 180px;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .pg77-container {
        max-width: 500px;
    }

    .pg77-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 769px) {
    .pg77-container {
        max-width: 800px;
    }

    .pg77-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .pg77-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .pg77-header {
        padding: 15px 30px;
    }
}

/* ===== Utility Classes ===== */
.pg77-text-center { text-align: center; }
.pg77-text-primary { color: var(--pg77-primary); }
.pg77-text-accent { color: var(--pg77-accent); }
.pg77-mb-20 { margin-bottom: 20px; }
.pg77-mt-20 { margin-top: 20px; }
