/**
 * BingoPlus PH - Theme Stylesheet
 * Mobile-first design with unique color palette
 * Prefix: gb82-
 */

/* CSS Variables - Color Palette */
:root {
    --gb82-primary: #1B4332;
    --gb82-secondary: #2D6A4F;
    --gb82-accent: #40916C;
    --gb82-highlight: #52B788;
    --gb82-light: #95D5B2;
    --gb82-lighter: #B7E4C7;
    --gb82-dark: #081C15;
    --gb82-darker: #040D09;
    --gb82-gold: #D4AF37;
    --gb82-gold-light: #F4E4BA;
    --gb82-text-light: #FFFFFF;
    --gb82-text-dark: #040D09;
    --gb82-shadow: rgba(0, 0, 0, 0.3);
    --gb82-gradient: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    --gb82-gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
    color: var(--gb82-text-light);
    background: var(--gb82-dark);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.gb82-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--gb82-gradient);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--gb82-shadow);
    transition: all 0.3s ease;
}

.gb82-header-scrolled {
    height: 50px;
    background: rgba(27, 67, 50, 0.95);
    backdrop-filter: blur(10px);
}

.gb82-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb82-logo img {
    height: 36px;
    width: auto;
}

.gb82-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gb82-gold);
    text-shadow: 0 2px 4px var(--gb82-shadow);
}

.gb82-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb82-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.gb82-btn-login {
    background: transparent;
    border: 2px solid var(--gb82-gold);
    color: var(--gb82-gold);
}

.gb82-btn-login:hover {
    background: var(--gb82-gold);
    color: var(--gb82-dark);
}

.gb82-btn-register {
    background: var(--gb82-gradient-gold);
    color: var(--gb82-dark);
}

.gb82-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gb82-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--gb82-gold);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.gb82-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gb82-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

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

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

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

.gb82-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--gb82-gold);
    font-size: 2.8rem;
    cursor: pointer;
}

.gb82-menu-nav {
    list-style: none;
}

.gb82-menu-nav li {
    margin-bottom: 5px;
}

.gb82-menu-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--gb82-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gb82-menu-nav a:hover {
    background: var(--gb82-secondary);
    color: var(--gb82-gold);
}

/* Main Content */
.gb82-main {
    padding-top: 60px;
    min-height: 100vh;
}

/* Hero Slider */
.gb82-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gb82-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

.gb82-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gb82-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb82-slider-dot.gb82-dot-active {
    background: var(--gb82-gold);
    transform: scale(1.2);
}

/* Section Styles */
.gb82-section {
    padding: 25px 15px;
}

.gb82-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gb82-gold);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.gb82-section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gb82-gradient-gold);
    border-radius: 2px;
}

/* Game Grid */
.gb82-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gb82-game-card {
    background: var(--gb82-primary);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--gb82-secondary);
}

.gb82-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--gb82-shadow);
    border-color: var(--gb82-gold);
}

.gb82-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gb82-game-card h3 {
    padding: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--gb82-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feature Cards */
.gb82-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gb82-feature-card {
    background: linear-gradient(145deg, var(--gb82-primary), var(--gb82-secondary));
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid var(--gb82-accent);
}

.gb82-feature-icon {
    font-size: 3rem;
    color: var(--gb82-gold);
    margin-bottom: 10px;
}

.gb82-feature-card h3 {
    font-size: 1.4rem;
    color: var(--gb82-text-light);
    margin-bottom: 8px;
}

.gb82-feature-card p {
    font-size: 1.2rem;
    color: var(--gb82-lighter);
    line-height: 1.4;
}

/* Promo Section */
.gb82-promo {
    background: var(--gb82-gradient);
    border-radius: 15px;
    padding: 20px;
    margin: 15px;
    text-align: center;
    border: 2px solid var(--gb82-gold);
}

.gb82-promo h2 {
    font-size: 2.2rem;
    color: var(--gb82-gold);
    margin-bottom: 10px;
}

.gb82-promo p {
    font-size: 1.4rem;
    color: var(--gb82-text-light);
    margin-bottom: 15px;
}

.gb82-promo-btn {
    display: inline-block;
    background: var(--gb82-gradient-gold);
    color: var(--gb82-dark);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb82-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* FAQ Section */
.gb82-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb82-faq-item {
    background: var(--gb82-primary);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid var(--gb82-gold);
}

.gb82-faq-item h3 {
    font-size: 1.4rem;
    color: var(--gb82-gold);
    margin-bottom: 8px;
}

.gb82-faq-item p {
    font-size: 1.3rem;
    color: var(--gb82-lighter);
    line-height: 1.5;
}

/* Info Box */
.gb82-info-box {
    background: var(--gb82-primary);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--gb82-secondary);
}

.gb82-info-box h3 {
    font-size: 1.6rem;
    color: var(--gb82-gold);
    margin-bottom: 10px;
}

.gb82-info-box p {
    font-size: 1.3rem;
    color: var(--gb82-lighter);
    line-height: 1.6;
    margin-bottom: 10px;
}

.gb82-info-box ul {
    list-style: none;
    padding-left: 0;
}

.gb82-info-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1.3rem;
    color: var(--gb82-lighter);
}

.gb82-info-box li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gb82-highlight);
}

/* Footer */
.gb82-footer {
    background: var(--gb82-darker);
    padding: 30px 15px;
    border-top: 2px solid var(--gb82-secondary);
}

.gb82-footer-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.gb82-footer-partners img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gb82-footer-partners img:hover {
    opacity: 1;
}

.gb82-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.gb82-footer-links a {
    color: var(--gb82-lighter);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.gb82-footer-links a:hover {
    color: var(--gb82-gold);
}

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

/* Bottom Navigation - Mobile */
.gb82-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--gb82-primary) 0%, var(--gb82-darker) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--gb82-gold);
    box-shadow: 0 -5px 20px var(--gb82-shadow);
}

.gb82-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--gb82-lighter);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.gb82-nav-btn:hover,
.gb82-nav-btn.gb82-nav-active {
    color: var(--gb82-gold);
}

.gb82-nav-btn i,
.gb82-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 3px;
}

.gb82-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* CTA Link */
.gb82-cta-link {
    color: var(--gb82-gold);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb82-cta-link:hover {
    color: var(--gb82-gold-light);
    text-decoration: underline;
}

/* Text Utilities */
.gb82-text-center { text-align: center; }
.gb82-text-gold { color: var(--gb82-gold); }
.gb82-text-highlight { color: var(--gb82-highlight); }

/* Desktop Styles */
@media (min-width: 769px) {
    .gb82-bottom-nav {
        display: none;
    }

    .gb82-header {
        height: 70px;
        padding: 0 30px;
    }

    .gb82-logo-text {
        font-size: 2.2rem;
    }

    .gb82-btn {
        padding: 10px 25px;
        font-size: 1.4rem;
    }

    .gb82-slider {
        height: 400px;
    }

    .gb82-section {
        padding: 40px 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .gb82-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .gb82-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .gb82-main {
        padding-bottom: 0;
    }
}

/* Mobile Bottom Padding */
@media (max-width: 768px) {
    .gb82-main {
        padding-bottom: 80px;
    }

    .gb82-menu-toggle {
        display: block;
    }

    .gb82-header-actions .gb82-btn {
        display: none;
    }

    .gb82-header-actions {
        gap: 5px;
    }
}

/* Small Mobile */
@media (max-width: 430px) {
    html {
        font-size: 55%;
    }

    .gb82-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gb82-section-title {
        font-size: 1.8rem;
    }
}
