/**
 * PG Tips - Main Stylesheet
 * Website: pgtips.click
 * Prefix: pgb7-
 * Colors: #CD853F (gold) | #FFE135 (yellow) | #3A3A3A (dark)
 */

/* CSS Variables */
:root {
    --pgb7-primary: #CD853F;
    --pgb7-secondary: #FFE135;
    --pgb7-dark: #3A3A3A;
    --pgb7-light: #FFFFFF;
    --pgb7-accent: #DAA520;
    --pgb7-bg-dark: #1a1a1a;
    --pgb7-bg-card: #2d2d2d;
    --pgb7-text-light: #f5f5f5;
    --pgb7-text-muted: #b0b0b0;
    --pgb7-border: #444;
    --pgb7-success: #4CAF50;
    --pgb7-gradient: linear-gradient(135deg, #CD853F 0%, #DAA520 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(--pgb7-bg-dark);
    color: var(--pgb7-text-light);
    line-height: 1.6;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.pgb7-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header */
.pgb7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--pgb7-dark) 0%, rgba(58, 58, 58, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--pgb7-primary);
}

.pgb7-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.pgb7-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgb7-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pgb7-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--pgb7-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pgb7-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgb7-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pgb7-btn-primary {
    background: var(--pgb7-gradient);
    color: var(--pgb7-dark);
}

.pgb7-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.pgb7-btn-outline {
    background: transparent;
    border: 2px solid var(--pgb7-primary);
    color: var(--pgb7-primary);
}

.pgb7-btn-outline:hover {
    background: var(--pgb7-primary);
    color: var(--pgb7-dark);
}

.pgb7-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.pgb7-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--pgb7-secondary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.pgb7-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pgb7-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    border-left: 2px solid var(--pgb7-primary);
    overflow-y: auto;
}

.pgb7-menu-active {
    right: 0;
}

.pgb7-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;
}

.pgb7-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pgb7-nav-list {
    list-style: none;
}

.pgb7-nav-item {
    margin-bottom: 1rem;
}

.pgb7-nav-link {
    display: block;
    padding: 1rem;
    color: var(--pgb7-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pgb7-nav-link:hover {
    background: rgba(205, 133, 63, 0.2);
    color: var(--pgb7-secondary);
}

/* Main Content */
.pgb7-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.pgb7-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.pgb7-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pgb7-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.pgb7-slide-active {
    opacity: 1;
    position: relative;
}

.pgb7-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.pgb7-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pgb7-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgb7-dot-active {
    background: var(--pgb7-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.pgb7-section {
    padding: 2rem 1rem;
}

.pgb7-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--pgb7-secondary);
    text-align: center;
    position: relative;
}

.pgb7-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--pgb7-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.pgb7-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.pgb7-game-card {
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--pgb7-border);
}

.pgb7-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--pgb7-primary);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.3);
}

.pgb7-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pgb7-game-name {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    color: var(--pgb7-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Section */
.pgb7-category-section {
    margin-bottom: 2rem;
}

.pgb7-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pgb7-primary);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--pgb7-secondary);
}

/* Info Cards */
.pgb7-info-card {
    background: var(--pgb7-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--pgb7-border);
}

.pgb7-info-card h3 {
    color: var(--pgb7-secondary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.pgb7-info-card p {
    color: var(--pgb7-text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
}

.pgb7-info-card ul {
    list-style: none;
    padding-left: 0;
}

.pgb7-info-card li {
    padding: 0.5rem 0;
    color: var(--pgb7-text-light);
    font-size: 1.3rem;
    position: relative;
    padding-left: 1.5rem;
}

.pgb7-info-card li::before {
    content: '\2713';
    color: var(--pgb7-primary);
    position: absolute;
    left: 0;
}

/* Promo Link */
.pgb7-promo-link {
    color: var(--pgb7-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pgb7-promo-link:hover {
    color: var(--pgb7-primary);
    text-decoration: underline;
}

/* CTA Section */
.pgb7-cta {
    background: var(--pgb7-gradient);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 1rem;
}

.pgb7-cta h2 {
    color: var(--pgb7-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pgb7-cta p {
    color: var(--pgb7-dark);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.pgb7-cta-btn {
    display: inline-block;
    background: var(--pgb7-dark);
    color: var(--pgb7-secondary);
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgb7-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.pgb7-footer {
    background: var(--pgb7-dark);
    padding: 2rem 1rem;
    border-top: 2px solid var(--pgb7-primary);
}

.pgb7-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pgb7-footer-link {
    color: var(--pgb7-text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.pgb7-footer-link:hover {
    color: var(--pgb7-secondary);
}

.pgb7-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pgb7-partner-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pgb7-partner-img:hover {
    opacity: 1;
}

.pgb7-copyright {
    text-align: center;
    color: var(--pgb7-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.pgb7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(58, 58, 58, 0.98) 0%, var(--pgb7-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    border-top: 2px solid var(--pgb7-primary);
    padding: 0 0.5rem;
}

.pgb7-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--pgb7-text-muted);
}

.pgb7-nav-btn:hover,
.pgb7-nav-btn.active {
    color: var(--pgb7-secondary);
    transform: scale(1.1);
}

.pgb7-nav-btn i,
.pgb7-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.pgb7-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Hidden */
@media (min-width: 769px) {
    .pgb7-bottom-nav {
        display: none;
    }

    .pgb7-container {
        max-width: 768px;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .pgb7-main {
        padding-bottom: 80px;
    }

    .pgb7-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .pgb7-game-name {
        font-size: 0.9rem;
    }
}

/* H1 Title */
.pgb7-h1-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--pgb7-text-light);
    line-height: 1.4;
    padding: 0 1rem;
}

/* RTP Section */
.pgb7-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pgb7-rtp-item {
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--pgb7-border);
}

.pgb7-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pgb7-secondary);
}

.pgb7-rtp-label {
    font-size: 1.1rem;
    color: var(--pgb7-text-muted);
    margin-top: 0.3rem;
}

/* Features List */
.pgb7-features-list {
    display: grid;
    gap: 1rem;
}

.pgb7-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    border-left: 3px solid var(--pgb7-primary);
}

.pgb7-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--pgb7-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pgb7-feature-icon i {
    color: var(--pgb7-dark);
    font-size: 20px;
}

.pgb7-feature-content h4 {
    color: var(--pgb7-secondary);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.pgb7-feature-content p {
    color: var(--pgb7-text-muted);
    font-size: 1.2rem;
}

/* Achievements */
.pgb7-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.pgb7-achievement {
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    border: 1px solid var(--pgb7-primary);
}

.pgb7-achievement-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgb7-secondary);
}

.pgb7-achievement-label {
    font-size: 1.1rem;
    color: var(--pgb7-text-muted);
}

/* Tricks Section */
.pgb7-trick-item {
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--pgb7-secondary);
}

.pgb7-trick-item h4 {
    color: var(--pgb7-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pgb7-trick-item p {
    color: var(--pgb7-text-muted);
    font-size: 1.2rem;
}

/* Security Section */
.pgb7-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1rem;
}

.pgb7-security-badge {
    background: rgba(205, 133, 63, 0.2);
    border: 1px solid var(--pgb7-primary);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    color: var(--pgb7-secondary);
}

/* FAQ Accordion */
.pgb7-faq-item {
    background: var(--pgb7-bg-card);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.pgb7-faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pgb7-text-light);
    font-size: 1.3rem;
    font-weight: 500;
}

.pgb7-faq-question i {
    color: var(--pgb7-primary);
    transition: transform 0.3s ease;
}

.pgb7-faq-answer {
    padding: 0 1.5rem 1rem;
    color: var(--pgb7-text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Internal Links */
.pgb7-internal-link {
    color: var(--pgb7-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.pgb7-internal-link:hover {
    color: var(--pgb7-primary);
}
