/**
 * bingoplus login - Main Stylesheet
 * CSS class prefix: pgfc-
 * All classes use pgfc- prefix to avoid conflicts
 */

/* CSS Variables */
:root {
    --pgfc-primary: #FF1493;
    --pgfc-secondary: #1B263B;
    --pgfc-background: #1B263B;
    --pgfc-surface: #2A3549;
    --pgfc-text: #F8F8FF;
    --pgfc-text-secondary: #B03060;
    --pgfc-accent: #FF6347;
    --pgfc-success: #28a745;
    --pgfc-warning: #ffc107;
    --pgfc-danger: #dc3545;
    --pgfc-shadow: rgba(0, 0, 0, 0.3);
    --pgfc-border-radius: 8px;
    --pgfc-header-height: 60px;
    --pgfc-bottom-nav-height: 60px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--pgfc-background);
    color: var(--pgfc-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.pgfc-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.pgfc-wrapper {
    padding: calc(var(--pgfc-header-height) + 20px) 0 calc(var(--pgfc-bottom-nav-height) + 40px);
}

/* Header Styles */
.pgfc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--pgfc-secondary), var(--pgfc-surface));
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: var(--pgfc-header-height);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--pgfc-shadow);
}

.pgfc-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.pgfc-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--pgfc-text);
}

.pgfc-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.pgfc-site-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--pgfc-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.pgfc-header-buttons {
    display: flex;
    gap: 8px;
}

.pgfc-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--pgfc-border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pgfc-btn-primary {
    background: linear-gradient(135deg, var(--pgfc-primary), var(--pgfc-accent));
    color: white;
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.3);
}

.pgfc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

.pgfc-btn-secondary {
    background: transparent;
    color: var(--pgfc-text);
    border: 2px solid var(--pgfc-primary);
}

.pgfc-btn-secondary:hover {
    background: var(--pgfc-primary);
    color: white;
}

/* Mobile Menu Toggle */
.pgfc-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--pgfc-text);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--pgfc-border-radius);
    transition: all 0.3s ease;
}

.pgfc-menu-toggle:hover {
    background: rgba(255, 20, 147, 0.2);
}

/* Desktop Navigation */
.pgfc-desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pgfc-nav-link {
    color: var(--pgfc-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.pgfc-nav-link:hover {
    color: var(--pgfc-primary);
}

.pgfc-nav-link.pgfc-nav-active {
    color: var(--pgfc-primary);
}

.pgfc-nav-link.pgfc-nav-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pgfc-primary);
}

/* Mobile Navigation */
.pgfc-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--pgfc-secondary), var(--pgfc-surface));
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px var(--pgfc-shadow);
}

.pgfc-mobile-menu.pgfc-menu-open {
    left: 0;
}

.pgfc-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.pgfc-menu-header h3 {
    color: var(--pgfc-primary);
    font-size: 18px;
}

.pgfc-close-icon {
    background: none;
    border: none;
    color: var(--pgfc-text);
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
}

.pgfc-menu-items {
    padding: 20px 0;
}

.pgfc-menu-item {
    display: block;
    padding: 15px 20px;
    color: var(--pgfc-text);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pgfc-menu-item:hover {
    background: rgba(255, 20, 147, 0.2);
    padding-left: 25px;
}

.pgfc-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pgfc-menu-overlay.pgfc-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Carousel Styles */
.pgfc-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--pgfc-border-radius);
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 15px var(--pgfc-shadow);
}

.pgfc-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.pgfc-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pgfc-carousel-slide.pgfc-slide-active {
    opacity: 1;
}

.pgfc-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgfc-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.pgfc-carousel-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.pgfc-carousel-description {
    font-size: 14px;
    opacity: 0.9;
}

.pgfc-carousel-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.pgfc-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgfc-carousel-dot.pgfc-dot-active {
    background: var(--pgfc-primary);
    transform: scale(1.2);
}

/* Game Grid Styles */
.pgfc-section {
    margin: 30px 0;
}

.pgfc-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--pgfc-primary);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.pgfc-game-category {
    margin: 30px 0;
}

.pgfc-category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--pgfc-accent);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--pgfc-accent);
}

.pgfc-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.pgfc-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--pgfc-text);
    transition: all 0.3s ease;
    border-radius: var(--pgfc-border-radius);
    overflow: hidden;
    background: var(--pgfc-surface);
    cursor: pointer;
}

.pgfc-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.3);
}

.pgfc-game-icon {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-bottom: 2px solid var(--pgfc-primary);
}

.pgfc-game-name {
    padding: 8px 4px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Styles */
.pgfc-card {
    background: var(--pgfc-surface);
    border-radius: var(--pgfc-border-radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px var(--pgfc-shadow);
    border: 1px solid rgba(255, 20, 147, 0.2);
}

.pgfc-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--pgfc-primary);
    margin-bottom: 10px;
}

.pgfc-card-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pgfc-text);
}

.pgfc-card-content h3 {
    color: var(--pgfc-accent);
    margin: 15px 0 10px;
}

.pgfc-card-content p {
    margin-bottom: 15px;
}

.pgfc-card-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.pgfc-card-content li {
    margin-bottom: 5px;
}

/* Button Styles */
.pgfc-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--pgfc-primary), var(--pgfc-accent));
    color: white;
    padding: 12px 24px;
    border-radius: var(--pgfc-border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
    border: none;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.pgfc-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.pgfc-link {
    color: var(--pgfc-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pgfc-link:hover {
    color: var(--pgfc-accent);
    text-decoration: underline;
}

/* Footer Styles */
.pgfc-footer {
    background: linear-gradient(135deg, var(--pgfc-secondary), var(--pgfc-surface));
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 3px solid var(--pgfc-primary);
}

.pgfc-footer-content {
    text-align: center;
}

.pgfc-footer-text {
    font-size: 14px;
    color: var(--pgfc-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.pgfc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pgfc-footer-link {
    color: var(--pgfc-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pgfc-footer-link:hover {
    color: var(--pgfc-accent);
    text-decoration: underline;
}

.pgfc-partners {
    margin: 30px 0 20px;
}

.pgfc-partners-title {
    font-size: 16px;
    color: var(--pgfc-text);
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.8;
}

.pgfc-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.pgfc-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pgfc-partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.pgfc-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--pgfc-text);
    opacity: 0.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.pgfc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--pgfc-bottom-nav-height);
    background: linear-gradient(135deg, var(--pgfc-secondary), var(--pgfc-surface));
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px var(--pgfc-shadow);
    border-top: 2px solid var(--pgfc-primary);
}

.pgfc-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--pgfc-text);
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--pgfc-border-radius);
    position: relative;
}

.pgfc-nav-item:hover {
    background: rgba(255, 20, 147, 0.2);
    transform: translateY(-2px);
}

.pgfc-nav-item.pgfc-nav-active {
    color: var(--pgfc-primary);
}

.pgfc-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.pgfc-nav-item.pgfc-nav-active .pgfc-nav-icon {
    transform: scale(1.2);
}

.pgfc-nav-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
.pgfc-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pgfc-animate-on-scroll.pgfc-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.pgfc-image-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.pgfc-loaded {
    opacity: 1;
}

/* Utility Classes */
.pgfc-text-center {
    text-align: center;
}

.pgfc-text-primary {
    color: var(--pgfc-primary);
}

.pgfc-text-accent {
    color: var(--pgfc-accent);
}

.pgfc-bg-primary {
    background-color: var(--pgfc-primary);
}

.pgfc-bg-surface {
    background-color: var(--pgfc-surface);
}

.pgfc-mt-20 {
    margin-top: 20px;
}

.pgfc-mb-20 {
    margin-bottom: 20px;
}

.pgfc-p-20 {
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pgfc-desktop-nav {
        display: none;
    }

    .pgfc-menu-toggle {
        display: block;
    }

    .pgfc-wrapper {
        padding: calc(var(--pgfc-header-height) + 20px) 0 calc(var(--pgfc-bottom-nav-height) + 40px);
    }

    .pgfc-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }

    .pgfc-game-icon {
        height: 50px;
    }

    .pgfc-game-name {
        font-size: 11px;
        height: 45px;
    }

    .pgfc-section-title {
        font-size: 22px;
    }

    .pgfc-card {
        padding: 15px;
    }

    .pgfc-carousel {
        height: 180px;
    }
}

@media (min-width: 769px) {
    .pgfc-bottom-nav {
        display: none;
    }

    .pgfc-wrapper {
        padding: calc(var(--pgfc-header-height) + 30px) 0 60px;
    }

    .pgfc-mobile-menu {
        display: none;
    }

    .pgfc-menu-overlay {
        display: none;
    }
}

@media (max-width: 480px) {
    .pgfc-container {
        padding: 0 10px;
    }

    .pgfc-site-name {
        font-size: 16px;
    }

    .pgfc-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .pgfc-carousel {
        height: 150px;
    }

    .pgfc-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 6px;
    }

    .pgfc-game-icon {
        height: 45px;
    }

    .pgfc-game-name {
        font-size: 10px;
        height: 40px;
    }
}