/**
 * Swerte Max - Core Stylesheet
 * Website: swertemax.click
 * Prefix: pgfc-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --pgfc-primary: #0097A7;
    --pgfc-secondary: #2E4057;
    --pgfc-accent: #00FFFF;
    --pgfc-bg-dark: #2E4057;
    --pgfc-bg-light: #F8F9FA;
    --pgfc-text-light: #F0FDFF;
    --pgfc-text-dark: #2E4057;
    --pgfc-border: #0097A7;
    --pgfc-gradient: linear-gradient(135deg, #2E4057 0%, #0097A7 100%);
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pgfc-bg-dark);
    color: var(--pgfc-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    overflow-x: hidden;
}

/* Container */
.pgfc-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pgfc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(46, 64, 87, 0.98) 0%, rgba(46, 64, 87, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.pgfc-header-scrolled {
    background: rgba(46, 64, 87, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

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

.pgfc-logo img {
    width: 32px;
    height: 32px;
}

.pgfc-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgfc-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pgfc-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pgfc-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.pgfc-btn-primary {
    background: var(--pgfc-accent);
    color: var(--pgfc-text-dark);
}

.pgfc-btn-primary:hover {
    background: #00e6e6;
    transform: scale(1.05);
}

.pgfc-btn-secondary {
    background: transparent;
    color: var(--pgfc-text-light);
    border: 2px solid var(--pgfc-primary);
}

.pgfc-btn-secondary:hover {
    background: var(--pgfc-primary);
}

.pgfc-menu-toggle {
    background: none;
    border: none;
    color: var(--pgfc-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

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

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

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

.pgfc-nav-item {
    margin-bottom: 1rem;
}

.pgfc-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--pgfc-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.pgfc-nav-link:hover,
.pgfc-nav-active {
    background: var(--pgfc-primary);
    color: var(--pgfc-text-light);
}

.pgfc-nav-link i {
    margin-right: 1rem;
    width: 20px;
}

/* Main Content */
main {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

@media (min-width: 769px) {
    main {
        padding-bottom: 3rem;
    }
}

/* Carousel */
.pgfc-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

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

.pgfc-slide-active {
    opacity: 1;
}

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

/* Sections */
.pgfc-section {
    padding: 2rem 0;
}

.pgfc-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pgfc-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pgfc-section-subtitle {
    font-size: 1.6rem;
    color: var(--pgfc-text-light);
    opacity: 0.9;
    text-align: center;
    margin-bottom: 2rem;
}

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

.pgfc-game-card {
    background: rgba(0, 151, 167, 0.1);
    border-radius: 1rem;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 151, 167, 0.2);
}

.pgfc-game-card:hover {
    transform: translateY(-3px);
    background: rgba(0, 151, 167, 0.2);
    border-color: var(--pgfc-primary);
}

.pgfc-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

.pgfc-game-name {
    font-size: 1.1rem;
    color: var(--pgfc-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.pgfc-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--pgfc-accent);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pgfc-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgfc-category-title i {
    font-size: 2rem;
}

/* Info Cards */
.pgfc-info-card {
    background: linear-gradient(135deg, rgba(0, 151, 167, 0.15) 0%, rgba(46, 64, 87, 0.3) 100%);
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 151, 167, 0.3);
}

.pgfc-info-card h3 {
    color: var(--pgfc-accent);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pgfc-info-card p {
    color: var(--pgfc-text-light);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Features Grid */
.pgfc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.pgfc-feature-item {
    background: rgba(0, 151, 167, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.pgfc-feature-item i {
    font-size: 3rem;
    color: var(--pgfc-accent);
    margin-bottom: 1rem;
}

.pgfc-feature-item h4 {
    font-size: 1.4rem;
    color: var(--pgfc-text-light);
    margin-bottom: 0.5rem;
}

.pgfc-feature-item p {
    font-size: 1.2rem;
    color: var(--pgfc-text-light);
    opacity: 0.8;
}

/* Footer */
.pgfc-footer {
    background: linear-gradient(180deg, rgba(46, 64, 87, 0.95) 0%, rgba(30, 42, 57, 0.98) 100%);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(0, 151, 167, 0.3);
}

.pgfc-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.pgfc-footer-brand p {
    font-size: 1.3rem;
    color: var(--pgfc-text-light);
    opacity: 0.8;
    line-height: 1.6;
}

.pgfc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pgfc-footer-link {
    color: var(--pgfc-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 151, 167, 0.2);
    border-radius: 2rem;
    transition: all 0.3s ease;
}

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

.pgfc-footer-promo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.pgfc-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pgfc-text-light);
    opacity: 0.6;
}

/* Bottom Navigation - Mobile */
.pgfc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(46, 64, 87, 0.98) 0%, rgba(30, 42, 57, 0.99) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

.pgfc-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--pgfc-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.pgfc-nav-btn:hover,
.pgfc-nav-btn-active {
    background: rgba(0, 255, 255, 0.15);
    color: var(--pgfc-accent);
    transform: scale(1.1);
}

.pgfc-nav-btn i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.pgfc-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Promo Link Text */
.pgfc-promo-text {
    color: var(--pgfc-accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pgfc-promo-text:hover {
    text-decoration: underline;
    color: #00e6e6;
}

/* List Styles */
.pgfc-list {
    list-style: none;
    padding: 0;
}

.pgfc-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 151, 167, 0.2);
    font-size: 1.4rem;
    color: var(--pgfc-text-light);
}

.pgfc-list li:last-child {
    border-bottom: none;
}

.pgfc-list li i {
    color: var(--pgfc-accent);
    margin-right: 1rem;
}

/* Testimonials */
.pgfc-testimonial {
    background: rgba(0, 151, 167, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--pgfc-accent);
}

.pgfc-testimonial p {
    font-size: 1.3rem;
    color: var(--pgfc-text-light);
    font-style: italic;
    margin-bottom: 0.8rem;
}

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

/* Payment Methods */
.pgfc-payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.pgfc-payment-item {
    background: rgba(0, 151, 167, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.3rem;
    color: var(--pgfc-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .pgfc-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .pgfc-game-name {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes pgfc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pgfc-pulse {
    animation: pgfc-pulse 2s infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--pgfc-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--pgfc-primary);
    border-radius: 3px;
}

/* Selection */
::selection {
    background: var(--pgfc-primary);
    color: var(--pgfc-text-light);
}
