/**
 * Bouncing Ball - Main Stylesheet
 * Website: bouncingball.club
 * Prefix: pgf2-
 * Color Palette: #FF1493, #E91E63, #4169E1, #1C2833
 */

/* CSS Variables */
:root {
    --pgf2-primary: #FF1493;
    --pgf2-secondary: #E91E63;
    --pgf2-accent: #4169E1;
    --pgf2-bg: #1C2833;
    --pgf2-bg-light: #2C3E50;
    --pgf2-text: #FFFFFF;
    --pgf2-text-muted: #BDC3C7;
    --pgf2-border: #34495E;
    --pgf2-success: #2ECC71;
    --pgf2-gradient: linear-gradient(135deg, #FF1493 0%, #E91E63 50%, #4169E1 100%);
    --pgf2-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pgf2-radius: 8px;
}

/* 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--pgf2-bg);
    color: var(--pgf2-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.pgf2-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pgf2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pgf2-bg) 0%, rgba(28, 40, 51, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pgf2-border);
}

.pgf2-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.pgf2-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.pgf2-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pgf2-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--pgf2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pgf2-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgf2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--pgf2-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pgf2-btn-primary {
    background: var(--pgf2-gradient);
    color: var(--pgf2-text);
}

.pgf2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--pgf2-shadow);
}

.pgf2-btn-outline {
    background: transparent;
    color: var(--pgf2-primary);
    border: 2px solid var(--pgf2-primary);
}

.pgf2-btn-outline:hover {
    background: var(--pgf2-primary);
    color: var(--pgf2-text);
}

.pgf2-menu-btn {
    background: none;
    border: none;
    color: var(--pgf2-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.pgf2-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--pgf2-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.pgf2-menu-active {
    right: 0;
}

.pgf2-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;
}

.pgf2-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pgf2-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pgf2-border);
}

.pgf2-menu-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pgf2-primary);
}

.pgf2-menu-close {
    background: none;
    border: none;
    color: var(--pgf2-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.pgf2-menu-nav {
    list-style: none;
}

.pgf2-menu-nav li {
    margin-bottom: 0.5rem;
}

.pgf2-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--pgf2-text);
    text-decoration: none;
    border-radius: var(--pgf2-radius);
    transition: all 0.3s ease;
}

.pgf2-menu-nav a:hover {
    background: var(--pgf2-bg-light);
    color: var(--pgf2-primary);
}

/* Main Content */
.pgf2-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .pgf2-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.pgf2-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--pgf2-radius);
    margin-bottom: 2rem;
}

.pgf2-slides {
    position: relative;
}

.pgf2-slide {
    display: none;
    cursor: pointer;
}

.pgf2-slide:first-child {
    display: block;
}

.pgf2-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--pgf2-radius);
}

.pgf2-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.pgf2-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgf2-dot-active {
    background: var(--pgf2-primary);
    transform: scale(1.2);
}

/* Section */
.pgf2-section {
    padding: 2rem 0;
}

.pgf2-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: var(--pgf2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Game Grid */
.pgf2-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pgf2-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pgf2-game-card:hover {
    transform: translateY(-5px);
}

.pgf2-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pgf2-radius);
    object-fit: cover;
    border: 2px solid var(--pgf2-border);
    transition: border-color 0.3s ease;
}

.pgf2-game-card:hover .pgf2-game-img {
    border-color: var(--pgf2-primary);
}

.pgf2-game-name {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--pgf2-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.pgf2-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pgf2-primary);
    color: var(--pgf2-text);
}

/* Info Box */
.pgf2-info-box {
    background: var(--pgf2-bg-light);
    border-radius: var(--pgf2-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--pgf2-border);
}

.pgf2-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--pgf2-primary);
}

.pgf2-info-box p {
    color: var(--pgf2-text-muted);
    line-height: 1.6;
}

.pgf2-info-box a {
    color: var(--pgf2-primary);
    text-decoration: none;
    font-weight: 600;
}

.pgf2-info-box a:hover {
    text-decoration: underline;
}

/* Footer */
.pgf2-footer {
    background: var(--pgf2-bg-light);
    padding: 2rem 0;
    border-top: 1px solid var(--pgf2-border);
}

.pgf2-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pgf2-footer-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pgf2-footer-partners img:hover {
    opacity: 1;
}

.pgf2-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pgf2-footer-links a {
    color: var(--pgf2-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.pgf2-footer-links a:hover {
    color: var(--pgf2-primary);
}

.pgf2-footer-copyright {
    text-align: center;
    color: var(--pgf2-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.pgf2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(28, 40, 51, 0.98) 0%, var(--pgf2-bg) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--pgf2-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

@media (min-width: 769px) {
    .pgf2-bottom-nav {
        display: none;
    }
}

.pgf2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--pgf2-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pgf2-nav-item:hover,
.pgf2-nav-item.pgf2-active {
    color: var(--pgf2-primary);
}

.pgf2-nav-item i,
.pgf2-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.pgf2-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Banner */
.pgf2-promo-banner {
    background: var(--pgf2-gradient);
    padding: 1.5rem;
    border-radius: var(--pgf2-radius);
    text-align: center;
    margin-bottom: 2rem;
}

.pgf2-promo-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pgf2-promo-banner p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Feature List */
.pgf2-feature-list {
    list-style: none;
}

.pgf2-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--pgf2-border);
}

.pgf2-feature-list li:last-child {
    border-bottom: none;
}

.pgf2-feature-list i {
    color: var(--pgf2-primary);
    font-size: 2rem;
    min-width: 30px;
}

.pgf2-feature-list .pgf2-feature-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--pgf2-text);
}

.pgf2-feature-list .pgf2-feature-content p {
    font-size: 1.3rem;
    color: var(--pgf2-text-muted);
}

/* RTP Table */
.pgf2-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.pgf2-rtp-table th,
.pgf2-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--pgf2-border);
}

.pgf2-rtp-table th {
    background: var(--pgf2-bg-light);
    color: var(--pgf2-primary);
    font-weight: 600;
}

.pgf2-rtp-table td {
    color: var(--pgf2-text-muted);
}

/* Text Link */
.pgf2-text-link {
    color: var(--pgf2-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pgf2-text-link:hover {
    color: var(--pgf2-accent);
    text-decoration: underline;
}

/* Utilities */
.pgf2-text-center { text-align: center; }
.pgf2-mt-1 { margin-top: 1rem; }
.pgf2-mt-2 { margin-top: 2rem; }
.pgf2-mb-1 { margin-bottom: 1rem; }
.pgf2-mb-2 { margin-bottom: 2rem; }
.pgf2-py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Animation */
@keyframes pgf2-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pgf2-animate-pulse {
    animation: pgf2-pulse 2s infinite;
}
