/**
 * SkyPH Gaming Platform - Theme Stylesheet
 * File: css/theme-f0b4.css
 * Version: 1.0.0
 *
 * Mobile-first responsive design
 * All classes use prefix: wf0b4-
 * Color Palette: #F08080 | #FF69B4 | #FFCCCB | #212F3D
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --wf0b4-primary: #F08080;
    --wf0b4-secondary: #FF69B4;
    --wf0b4-accent: #FFCCCB;
    --wf0b4-bg: #212F3D;
    --wf0b4-bg-light: #2C3E50;
    --wf0b4-text: #FFCCCB;
    --wf0b4-text-dark: #FFFFFF;
    --wf0b4-border: #F08080;
    --wf0b4-shadow: rgba(240, 128, 128, 0.3);
    --wf0b4-gradient: linear-gradient(135deg, #F08080, #FF69B4);
    --wf0b4-header-height: 56px;
    --wf0b4-bottom-nav-height: 60px;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--wf0b4-bg);
    color: var(--wf0b4-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--wf0b4-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wf0b4-secondary);
}

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

/* ============================================
   Container & Layout
   ============================================ */
.wf0b4-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.wf0b4-wrapper {
    padding-top: var(--wf0b4-header-height);
    padding-bottom: calc(var(--wf0b4-bottom-nav-height) + 2rem);
}

.wf0b4-grid {
    display: grid;
    gap: 1rem;
}

.wf0b4-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wf0b4-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* ============================================
   Header Navigation
   ============================================ */
.wf0b4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--wf0b4-header-height);
    background: var(--wf0b4-bg);
    border-bottom: 1px solid var(--wf0b4-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.wf0b4-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wf0b4-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.wf0b4-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--wf0b4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf0b4-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wf0b4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wf0b4-btn-primary {
    background: var(--wf0b4-gradient);
    color: var(--wf0b4-text-dark);
}

.wf0b4-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--wf0b4-shadow);
}

.wf0b4-btn-outline {
    background: transparent;
    border: 1px solid var(--wf0b4-primary);
    color: var(--wf0b4-primary);
}

.wf0b4-btn-outline:hover {
    background: var(--wf0b4-primary);
    color: var(--wf0b4-bg);
}

.wf0b4-menu-btn {
    background: transparent;
    border: none;
    color: var(--wf0b4-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.wf0b4-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--wf0b4-border);
}

.wf0b4-menu-close {
    background: transparent;
    border: none;
    color: var(--wf0b4-text);
    font-size: 2rem;
    cursor: pointer;
}

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

.wf0b4-menu-nav li {
    margin-bottom: 0.5rem;
}

.wf0b4-menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--wf0b4-text);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.wf0b4-menu-nav a:hover {
    background: var(--wf0b4-bg-light);
    color: var(--wf0b4-primary);
}

.wf0b4-menu-nav i,
.wf0b4-menu-nav .material-icons-outlined {
    font-size: 2rem;
    width: 2.4rem;
    text-align: center;
}

/* ============================================
   Bottom Navigation (Mobile)
   ============================================ */
.wf0b4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--wf0b4-bottom-nav-height);
    background: var(--wf0b4-bg);
    border-top: 1px solid var(--wf0b4-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
}

.wf0b4-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    color: var(--wf0b4-text);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.4rem;
}

.wf0b4-nav-item:hover,
.wf0b4-nav-item.active {
    color: var(--wf0b4-primary);
    transform: scale(1.1);
}

.wf0b4-nav-item i,
.wf0b4-nav-item .material-icons-outlined,
.wf0b4-nav-item ion-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.wf0b4-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

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

    .wf0b4-wrapper {
        padding-bottom: 2rem;
    }
}

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

/* ============================================
   Carousel / Banner
   ============================================ */
.wf0b4-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.wf0b4-carousel-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

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

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

.wf0b4-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.wf0b4-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

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

.wf0b4-dot.active {
    background: var(--wf0b4-primary);
    width: 20px;
    border-radius: 4px;
}

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

.wf0b4-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--wf0b4-text-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wf0b4-section-title i,
.wf0b4-section-title .material-icons-outlined {
    color: var(--wf0b4-primary);
    font-size: 2.4rem;
}

/* ============================================
   Game Cards
   ============================================ */
.wf0b4-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.wf0b4-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wf0b4-game-card:hover {
    transform: scale(1.05);
}

.wf0b4-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    background: var(--wf0b4-bg-light);
}

.wf0b4-game-card:hover .wf0b4-game-img {
    border-color: var(--wf0b4-primary);
}

.wf0b4-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf0b4-game-name {
    font-size: 1.1rem;
    color: var(--wf0b4-text);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Cards & Boxes
   ============================================ */
.wf0b4-card {
    background: var(--wf0b4-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(240, 128, 128, 0.2);
    margin-bottom: 1rem;
}

.wf0b4-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wf0b4-primary);
    margin-bottom: 1rem;
}

.wf0b4-card-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--wf0b4-text);
}

/* ============================================
   Features List
   ============================================ */
.wf0b4-features {
    display: grid;
    gap: 1rem;
}

.wf0b4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--wf0b4-bg-light);
    border-radius: 10px;
    border-left: 3px solid var(--wf0b4-primary);
}

.wf0b4-feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--wf0b4-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf0b4-feature-icon i,
.wf0b4-feature-icon .material-icons-outlined {
    color: var(--wf0b4-text-dark);
    font-size: 2rem;
}

.wf0b4-feature-content h4 {
    font-size: 1.4rem;
    color: var(--wf0b4-text-dark);
    margin-bottom: 0.3rem;
}

.wf0b4-feature-content p {
    font-size: 1.2rem;
    color: var(--wf0b4-text);
    line-height: 1.4;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.wf0b4-faq-item {
    background: var(--wf0b4-bg-light);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(240, 128, 128, 0.1);
}

.wf0b4-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--wf0b4-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.wf0b4-faq-question:hover {
    background: rgba(240, 128, 128, 0.1);
}

.wf0b4-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.2rem;
    color: var(--wf0b4-text);
    line-height: 1.6;
}

/* ============================================
   Promo Banner
   ============================================ */
.wf0b4-promo-banner {
    background: var(--wf0b4-gradient);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.wf0b4-promo-banner h3 {
    font-size: 1.8rem;
    color: var(--wf0b4-text-dark);
    margin-bottom: 0.5rem;
}

.wf0b4-promo-banner p {
    font-size: 1.3rem;
    color: var(--wf0b4-text-dark);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */
.wf0b4-footer {
    background: var(--wf0b4-bg-light);
    padding: 2rem 1.2rem;
    border-top: 1px solid var(--wf0b4-border);
    margin-top: 2rem;
}

.wf0b4-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wf0b4-footer-brand p {
    font-size: 1.2rem;
    color: var(--wf0b4-text);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

.wf0b4-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wf0b4-footer-links a {
    font-size: 1.2rem;
    color: var(--wf0b4-text);
    padding: 0.5rem 1rem;
    background: var(--wf0b4-bg);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.wf0b4-footer-links a:hover {
    color: var(--wf0b4-primary);
    background: rgba(240, 128, 128, 0.1);
}

.wf0b4-footer-partners {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

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

.wf0b4-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--wf0b4-text);
    opacity: 0.7;
}

/* ============================================
   Utility Classes
   ============================================ */
.wf0b4-text-center {
    text-align: center;
}

.wf0b4-text-primary {
    color: var(--wf0b4-primary);
}

.wf0b4-text-gradient {
    background: var(--wf0b4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf0b4-mb-1 {
    margin-bottom: 0.5rem;
}

.wf0b4-mb-2 {
    margin-bottom: 1rem;
}

.wf0b4-mb-3 {
    margin-bottom: 1.5rem;
}

.wf0b4-mt-2 {
    margin-top: 1rem;
}

.wf0b4-mt-3 {
    margin-top: 1.5rem;
}

.wf0b4-py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.wf0b4-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .wf0b4-hidden-mobile {
        display: block;
    }

    .wf0b4-hidden-desktop {
        display: none;
    }
}

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

@keyframes wf0b4-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--wf0b4-primary);
    }
    50% {
        box-shadow: 0 0 20px var(--wf0b4-primary);
    }
}

.wf0b4-animate-pulse {
    animation: wf0b4-pulse 2s infinite;
}

.wf0b4-animate-glow {
    animation: wf0b4-glow 2s infinite;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 360px) {
    .wf0b4-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wf0b4-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .wf0b4-container {
        max-width: 430px;
    }
}
