/**
 * BF777 - CSS Core Module
 * Mobile-first gaming website for Philippine market
 * Prefix: we1b0- (all classes)
 * Color Palette: #1A1A2E | #FFFFBA | #FF91A4
 */

/* Root Variables */
:root {
    --we1b0-bg-dark: #1A1A2E;
    --we1b0-text-light: #FFFFBA;
    --we1b0-accent: #FF91A4;
    --we1b0-bg-card: #252542;
    --we1b0-border: #3a3a5c;
    --we1b0-gradient: linear-gradient(135deg, #1A1A2E 0%, #2d2d4a 100%);
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--we1b0-bg-dark);
    color: var(--we1b0-text-light);
    line-height: 1.5;
    font-size: 1.4rem;
    min-height: 100vh;
}

/* Container */
.we1b0-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.we1b0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--we1b0-bg-dark);
    border-bottom: 1px solid var(--we1b0-border);
    padding: 0.8rem 1rem;
}

.we1b0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.we1b0-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.we1b0-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.we1b0-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--we1b0-accent);
}

.we1b0-header-actions {
    display: flex;
    gap: 0.6rem;
}

.we1b0-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.we1b0-btn-primary {
    background: var(--we1b0-accent);
    color: var(--we1b0-bg-dark);
}

.we1b0-btn-primary:hover {
    background: #ffa7b5;
    transform: scale(1.02);
}

.we1b0-btn-secondary {
    background: transparent;
    border: 1px solid var(--we1b0-accent);
    color: var(--we1b0-accent);
}

.we1b0-btn-secondary:hover {
    background: var(--we1b0-accent);
    color: var(--we1b0-bg-dark);
}

.we1b0-menu-btn {
    background: none;
    border: none;
    color: var(--we1b0-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.we1b0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--we1b0-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 1.5rem;
    overflow-y: auto;
}

.we1b0-menu-active {
    right: 0;
}

.we1b0-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;
}

.we1b0-overlay-active {
    opacity: 1;
    visibility: visible;
}

.we1b0-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--we1b0-border);
}

.we1b0-close-menu {
    background: none;
    border: none;
    color: var(--we1b0-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.we1b0-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.we1b0-menu-nav li {
    margin-bottom: 0.5rem;
}

.we1b0-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--we1b0-text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 1.4rem;
}

.we1b0-menu-nav a:hover {
    background: var(--we1b0-bg-dark);
    color: var(--we1b0-accent);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.we1b0-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.we1b0-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.we1b0-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.we1b0-slide-active {
    opacity: 1;
    position: relative;
}

.we1b0-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Section Styles */
.we1b0-section {
    padding: 1.5rem 0;
}

.we1b0-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--we1b0-accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.we1b0-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.we1b0-game-section {
    margin-bottom: 2rem;
}

.we1b0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.we1b0-game-card {
    background: var(--we1b0-bg-card);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.we1b0-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 145, 164, 0.2);
}

.we1b0-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.we1b0-game-card-name {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--we1b0-text-light);
}

/* Feature Cards */
.we1b0-feature-card {
    background: var(--we1b0-bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--we1b0-accent);
}

.we1b0-feature-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    color: var(--we1b0-accent);
}

.we1b0-feature-card p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Promo Link */
.we1b0-promo-link {
    color: var(--we1b0-accent);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.we1b0-promo-link:hover {
    color: #ffa7b5;
    text-decoration: underline;
}

.we1b0-promo-btn {
    display: inline-block;
    background: var(--we1b0-accent);
    color: var(--we1b0-bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin: 0.5rem 0;
}

.we1b0-promo-btn:hover {
    background: #ffa7b5;
    transform: scale(1.05);
}

/* Footer */
.we1b0-footer {
    background: var(--we1b0-bg-card);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.we1b0-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.we1b0-footer-links a {
    color: var(--we1b0-text-light);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: var(--we1b0-bg-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.we1b0-footer-links a:hover {
    color: var(--we1b0-accent);
    background: var(--we1b0-border);
}

.we1b0-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.we1b0-partners img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.we1b0-partners img:hover {
    opacity: 1;
}

.we1b0-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--we1b0-text-light);
    opacity: 0.7;
}

/* Bottom Navigation */
.we1b0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #252542 0%, #1A1A2E 100%);
    border-top: 1px solid var(--we1b0-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .we1b0-bottom-nav {
        display: none;
    }
}

.we1b0-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--we1b0-text-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.we1b0-nav-item:hover,
.we1b0-nav-item.we1b0-active {
    color: var(--we1b0-accent);
    transform: scale(1.05);
}

.we1b0-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.we1b0-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* H1 Title */
.we1b0-h1-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--we1b0-text-light);
    line-height: 1.3;
}

/* Content Paragraphs */
.we1b0-content {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.we1b0-content p {
    margin-bottom: 1rem;
}

/* FAQ Section */
.we1b0-faq-item {
    background: var(--we1b0-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    padding: 1rem 1.2rem;
}

.we1b0-faq-item h4 {
    font-size: 1.3rem;
    color: var(--we1b0-accent);
    margin: 0 0 0.5rem 0;
}

.we1b0-faq-item p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
}

/* RTP Section */
.we1b0-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.we1b0-rtp-card {
    background: var(--we1b0-bg-card);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.we1b0-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--we1b0-accent);
}

.we1b0-rtp-label {
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

/* Achievement Badge */
.we1b0-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--we1b0-bg-card);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    margin: 0.3rem;
}

.we1b0-badge i {
    color: var(--we1b0-accent);
}

/* Utility Classes */
.we1b0-text-center {
    text-align: center;
}

.we1b0-mb-1 {
    margin-bottom: 1rem;
}

.we1b0-mb-2 {
    margin-bottom: 2rem;
}

.we1b0-mt-2 {
    margin-top: 2rem;
}

.we1b0-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive */
@media (min-width: 431px) {
    .we1b0-container {
        padding: 0 2rem;
    }
}

/* Hide on mobile */
@media (max-width: 768px) {
    .we1b0-hide-mobile {
        display: none;
    }
}

/* Desktop navigation */
@media (min-width: 769px) {
    .we1b0-desktop-nav {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .we1b0-desktop-nav a {
        color: var(--we1b0-text-light);
        text-decoration: none;
        font-size: 1.3rem;
        transition: color 0.3s ease;
    }

    .we1b0-desktop-nav a:hover {
        color: var(--we1b0-accent);
    }

    .we1b0-menu-btn {
        display: none;
    }
}
