/*
Theme Name: Flavor
Theme URI: https://nitinsapra.in
Author: Nitin Sapra
Author URI: https://nitinsapra.in
Description: A modern, sleek WordPress theme designed for APK download & blogging websites. Features dark glassmorphism UI, full i18n/multilingual support, WordPress Customizer integration, SEO-ready schema markup, responsive mobile-first design, and dedicated APK download sections with version info, screenshots, and feature highlights.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor
Domain Path: /languages
Tags: apk, download, blog, dark, modern, translation-ready, custom-logo, custom-header, featured-images, threaded-comments
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Core palette */
    --fa-bg-primary: #0a0a0f;
    --fa-bg-secondary: #12121a;
    --fa-bg-card: rgba(255, 255, 255, 0.04);
    --fa-bg-card-hover: rgba(255, 255, 255, 0.07);
    --fa-glass: rgba(255, 255, 255, 0.06);
    --fa-glass-border: rgba(255, 255, 255, 0.08);
    --fa-accent: #6c5ce7;
    --fa-accent-light: #a29bfe;
    --fa-accent-glow: rgba(108, 92, 231, 0.3);
    --fa-green: #00d2a0;
    --fa-green-glow: rgba(0, 210, 160, 0.25);
    --fa-orange: #ff6b35;
    --fa-red: #ff4757;
    --fa-text-primary: #edf0f7;
    --fa-text-secondary: #8b8fa3;
    --fa-text-muted: #5a5e72;
    --fa-border: rgba(255, 255, 255, 0.06);
    --fa-radius-sm: 8px;
    --fa-radius-md: 14px;
    --fa-radius-lg: 20px;
    --fa-radius-xl: 28px;
    --fa-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --fa-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --fa-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --fa-font-body: 'DM Sans', sans-serif;
    --fa-font-heading: 'Space Grotesk', sans-serif;
    --fa-font-mono: 'JetBrains Mono', monospace;
    --fa-container: 1200px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--fa-font-body);
    background: var(--fa-bg-primary);
    color: var(--fa-text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--fa-accent-light);
    text-decoration: none;
    transition: color var(--fa-transition);
}

a:hover {
    color: var(--fa-accent);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fa-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--fa-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--fa-text-secondary);
    margin-bottom: 1rem;
}

::selection {
    background: var(--fa-accent);
    color: #fff;
}

/* ========================================
   LAYOUT
   ======================================== */
.fa-container {
    width: 100%;
    max-width: var(--fa-container);
    margin: 0 auto;
    padding: 0 24px;
}

.fa-section {
    padding: 80px 0;
}

.fa-grid {
    display: grid;
    gap: 24px;
}

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

@media (max-width: 1024px) {
    .fa-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .fa-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .fa-grid-2,
    .fa-grid-3,
    .fa-grid-4 { grid-template-columns: 1fr; }
    .fa-section { padding: 50px 0; }
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */
.fa-bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.fa-bg-mesh::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--fa-accent-glow) 0%, transparent 70%);
    animation: fa-float 20s ease-in-out infinite;
}

.fa-bg-mesh::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -200px;
    background: radial-gradient(circle, var(--fa-green-glow) 0%, transparent 70%);
    animation: fa-float 25s ease-in-out infinite reverse;
}

@keyframes fa-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 30px) scale(0.95); }
}

.fa-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.fa-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--fa-transition);
}

.fa-header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--fa-glass-border);
}

.fa-header-inner {
    max-width: var(--fa-container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.fa-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fa-font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--fa-text-primary);
}

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

.fa-logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fa-green);
    box-shadow: 0 0 12px var(--fa-green-glow);
    display: inline-block;
}

.fa-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fa-nav a {
    color: var(--fa-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--fa-radius-sm);
    transition: var(--fa-transition);
    position: relative;
}

.fa-nav a:hover,
.fa-nav a.current-menu-item > a,
.fa-nav .current_page_item > a {
    color: var(--fa-text-primary);
    background: var(--fa-glass);
}

.fa-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.fa-lang-switcher {
    position: relative;
}

.fa-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-sm);
    color: var(--fa-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--fa-transition);
    font-family: var(--fa-font-body);
}

.fa-lang-btn:hover {
    background: var(--fa-bg-card-hover);
    color: var(--fa-text-primary);
}

.fa-lang-btn svg {
    width: 16px;
    height: 16px;
}

.fa-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--fa-bg-secondary);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--fa-transition);
    box-shadow: var(--fa-shadow-lg);
}

.fa-lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fa-lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--fa-text-secondary);
    border-radius: var(--fa-radius-sm);
    font-size: 0.85rem;
    transition: var(--fa-transition);
}

.fa-lang-dropdown a:hover {
    background: var(--fa-glass);
    color: var(--fa-text-primary);
}

.fa-lang-dropdown a.active {
    color: var(--fa-accent-light);
}

/* Search */
.fa-search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-sm);
    color: var(--fa-text-secondary);
    cursor: pointer;
    transition: var(--fa-transition);
}

.fa-search-toggle:hover {
    color: var(--fa-text-primary);
    background: var(--fa-bg-card-hover);
}

.fa-search-toggle svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.fa-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.fa-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fa-text-primary);
    border-radius: 2px;
    transition: var(--fa-transition);
}

.fa-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.fa-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.fa-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .fa-menu-toggle { display: flex; }
    .fa-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 24px;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--fa-transition);
    }
    .fa-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .fa-nav a {
        font-size: 1.1rem;
        padding: 14px 20px;
        width: 100%;
    }
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.fa-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--fa-transition);
}

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

.fa-search-box {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
}

.fa-search-input-wrap {
    position: relative;
}

.fa-search-input-wrap svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--fa-text-muted);
}

.fa-search-input-wrap input {
    width: 100%;
    padding: 18px 20px 18px 54px;
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-lg);
    color: var(--fa-text-primary);
    font-size: 1.15rem;
    font-family: var(--fa-font-body);
    outline: none;
    transition: var(--fa-transition);
}

.fa-search-input-wrap input::placeholder {
    color: var(--fa-text-muted);
}

.fa-search-input-wrap input:focus {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 4px var(--fa-accent-glow);
}

.fa-search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: 50%;
    color: var(--fa-text-secondary);
    cursor: pointer;
    transition: var(--fa-transition);
}

.fa-search-close:hover {
    color: var(--fa-text-primary);
    background: var(--fa-bg-card-hover);
}

/* ========================================
   HERO SECTION
   ======================================== */
.fa-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.fa-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.fa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--fa-text-secondary);
    margin-bottom: 24px;
}

.fa-hero-badge-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fa-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-hero-badge-dot svg {
    width: 12px;
    height: 12px;
    color: #fff;
}

.fa-hero-title {
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.fa-hero-title .fa-gradient {
    background: linear-gradient(135deg, var(--fa-accent-light), var(--fa-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fa-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--fa-text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.fa-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.fa-hero-stats {
    display: flex;
    gap: 40px;
}

.fa-hero-stat {
    text-align: left;
}

.fa-hero-stat-num {
    font-family: var(--fa-font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fa-text-primary);
}

.fa-hero-stat-label {
    font-size: 0.8rem;
    color: var(--fa-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero Visual */
.fa-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fa-phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--fa-bg-secondary);
    border-radius: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: var(--fa-shadow-lg), 0 0 80px var(--fa-accent-glow);
    overflow: hidden;
}

.fa-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--fa-bg-primary);
    border-radius: 0 0 20px 20px;
    z-index: 5;
}

.fa-phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 37px;
}

.fa-floating-card {
    position: absolute;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--fa-shadow);
    animation: fa-float-card 6s ease-in-out infinite;
}

.fa-floating-card:nth-child(2) { animation-delay: -2s; }
.fa-floating-card:nth-child(3) { animation-delay: -4s; }

@keyframes fa-float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fa-floating-card.top-left {
    top: 60px;
    left: -30px;
}

.fa-floating-card.bottom-right {
    bottom: 80px;
    right: -20px;
}

.fa-floating-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fa-floating-icon.green { background: var(--fa-green-glow); color: var(--fa-green); }
.fa-floating-icon.purple { background: var(--fa-accent-glow); color: var(--fa-accent-light); }
.fa-floating-icon.orange { background: rgba(255, 107, 53, 0.2); color: var(--fa-orange); }

.fa-floating-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fa-text-primary);
}

.fa-floating-sub {
    font-size: 0.7rem;
    color: var(--fa-text-muted);
}

@media (max-width: 960px) {
    .fa-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fa-hero-desc { margin: 0 auto 36px; }
    .fa-hero-actions { justify-content: center; }
    .fa-hero-stats { justify-content: center; }
    .fa-hero-visual { margin-top: 40px; }
}

@media (max-width: 640px) {
    .fa-hero { min-height: auto; padding-top: 90px; padding-bottom: 20px; }
    .fa-hero-stats { gap: 24px; }
    .fa-phone-mockup { width: 220px; height: 440px; }
    .fa-floating-card { display: none; }
    .fa-hero-inner { gap: 30px; }
}

/* ========================================
   BUTTONS
   ======================================== */
.fa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--fa-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--fa-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--fa-transition);
    text-decoration: none;
    white-space: nowrap;
}

.fa-btn svg {
    width: 18px;
    height: 18px;
}

.fa-btn-primary {
    background: var(--fa-accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--fa-accent-glow);
}

.fa-btn-primary:hover {
    background: var(--fa-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--fa-accent-glow);
}

.fa-btn-secondary {
    background: var(--fa-glass);
    color: var(--fa-text-primary);
    border: 1px solid var(--fa-glass-border);
}

.fa-btn-secondary:hover {
    background: var(--fa-bg-card-hover);
    color: var(--fa-text-primary);
    transform: translateY(-2px);
}

.fa-btn-download {
    background: linear-gradient(135deg, var(--fa-green), #00b894);
    color: #fff;
    box-shadow: 0 4px 24px var(--fa-green-glow);
    font-size: 1.05rem;
    padding: 16px 36px;
}

.fa-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--fa-green-glow);
    color: #fff;
}

.fa-btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.fa-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.fa-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fa-accent-light);
    margin-bottom: 12px;
}

.fa-section-label::before,
.fa-section-label::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--fa-accent);
}

.fa-section-header h2 {
    margin-bottom: 14px;
}

.fa-section-header p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--fa-text-muted);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.fa-feature-card {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-lg);
    padding: 32px;
    transition: var(--fa-transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.fa-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--fa-radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--fa-accent-glow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--fa-transition);
}

.fa-feature-card:hover {
    background: var(--fa-bg-card-hover);
    transform: translateY(-4px);
}

.fa-feature-card:hover::before {
    opacity: 1;
}

.fa-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--fa-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
}

.fa-feature-icon.purple { background: var(--fa-accent-glow); color: var(--fa-accent-light); }
.fa-feature-icon.green { background: var(--fa-green-glow); color: var(--fa-green); }
.fa-feature-icon.orange { background: rgba(255,107,53,0.15); color: var(--fa-orange); }
.fa-feature-icon.red { background: rgba(255,71,87,0.15); color: var(--fa-red); }

/* Icon images (PNG/SVG) inside feature cards & showcase */
.fa-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.fa-icon-img-lg {
    width: 38px;
    height: 38px;
}

/* When icon image is present, remove text-align centering that emoji uses */
.fa-feature-icon:has(.fa-icon-img),
.fa-showcase-icon:has(.fa-icon-img) {
    background: transparent !important;
}

.fa-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.fa-feature-card p {
    font-size: 0.9rem;
    color: var(--fa-text-muted);
    line-height: 1.7;
}

/* ========================================
   FEATURE SHOWCASE (with phone mockups)
   ======================================== */
.fa-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.fa-showcase + .fa-showcase {
    border-top: 1px solid var(--fa-border);
}

.fa-showcase-reversed {
    direction: rtl;
}

.fa-showcase-reversed > * {
    direction: ltr;
}

/* Text content */
.fa-showcase-content {
    padding: 20px 0;
}

.fa-showcase-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--fa-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.fa-showcase-title {
    font-family: var(--fa-font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--fa-text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.fa-showcase-desc {
    font-size: 1.05rem;
    color: var(--fa-text-secondary);
    line-height: 1.85;
    margin-bottom: 24px;
    max-width: 480px;
}

.fa-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fa-showcase-badge svg {
    width: 14px;
    height: 14px;
}

/* Phone visual */
.fa-showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.fa-showcase-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
    animation: fa-float 18s ease-in-out infinite;
}

/* Phone frame */
.fa-showcase-phone {
    position: relative;
    z-index: 1;
}

.fa-showcase-phone-frame {
    position: relative;
    width: 240px;
    height: 500px;
    background: #111118;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fa-showcase:hover .fa-showcase-phone-frame {
    transform: translateY(-8px) rotateX(2deg);
}

.fa-showcase-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0a0a0f;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.fa-showcase-phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    z-index: 11;
}

.fa-showcase-phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 33px;
    display: block;
}

.fa-showcase-phone-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.fa-showcase-phone-bar-line {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Showcase hover interaction */
.fa-showcase-phone-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 33px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 5;
    pointer-events: none;
    transition: opacity var(--fa-transition);
}

.fa-showcase:hover .fa-showcase-phone-frame::after {
    opacity: 0.5;
}

/* Reflective edge highlight */
.fa-showcase-phone-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 10;
}

/* Responsive */
@media (max-width: 960px) {
    .fa-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
        text-align: center;
    }

    .fa-showcase-reversed {
        direction: ltr;
    }

    .fa-showcase-content {
        order: 1;
    }

    .fa-showcase-visual {
        order: 2;
        min-height: 400px;
    }

    .fa-showcase-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .fa-showcase-phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 30px;
    }

    .fa-showcase-phone-screen {
        border-radius: 27px;
    }

    .fa-showcase-phone-notch {
        width: 80px;
        height: 20px;
        border-radius: 0 0 14px 14px;
    }
}

@media (max-width: 480px) {
    .fa-showcase-phone-frame {
        width: 180px;
        height: 380px;
        border-radius: 28px;
    }

    .fa-showcase-phone-screen {
        border-radius: 25px;
    }

    .fa-showcase-visual {
        min-height: 360px;
    }

    .fa-showcase-glow {
        width: 250px;
        height: 250px;
    }
}

/* ========================================
   SECURITY BADGES
   ======================================== */
.fa-security {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-xl);
    padding: 40px;
    text-align: center;
}

.fa-security-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.fa-security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--fa-text-secondary);
}

.fa-security-badge svg {
    width: 18px;
    height: 18px;
    color: var(--fa-green);
}

/* ========================================
   APK INFO / DOWNLOAD BOX
   ======================================== */
.fa-apk-box {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-xl);
    overflow: hidden;
}

.fa-apk-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-bottom: 1px solid var(--fa-border);
}

.fa-apk-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--fa-radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--fa-glass-border);
}

.fa-apk-title {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.fa-apk-dev {
    font-size: 0.85rem;
    color: var(--fa-text-muted);
}

.fa-apk-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.fa-stars {
    display: flex;
    gap: 2px;
    color: #ffd32a;
    font-size: 0.9rem;
}

.fa-rating-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fa-text-secondary);
}

.fa-apk-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1px;
    background: var(--fa-border);
}

.fa-apk-meta-item {
    background: var(--fa-bg-secondary);
    padding: 16px 20px;
    text-align: center;
}

.fa-apk-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fa-text-muted);
    margin-bottom: 4px;
}

.fa-apk-meta-value {
    font-family: var(--fa-font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fa-text-primary);
}

.fa-apk-body {
    padding: 30px;
}

.fa-apk-download-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   SCREENSHOTS
   ======================================== */
.fa-screenshots {
    overflow-x: auto;
    display: flex;
    gap: 16px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fa-screenshots::-webkit-scrollbar {
    display: none;
}

.fa-screenshot {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--fa-radius-md);
    border: 1px solid var(--fa-border);
    scroll-snap-align: start;
    transition: var(--fa-transition);
}

.fa-screenshot:hover {
    transform: scale(1.03);
    border-color: var(--fa-accent);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.fa-faq-item {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.fa-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--fa-font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--fa-text-primary);
    transition: var(--fa-transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.fa-faq-question:hover {
    color: var(--fa-accent-light);
}

.fa-faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--fa-transition);
    flex-shrink: 0;
    color: var(--fa-text-muted);
}

.fa-faq-item.active .fa-faq-question svg {
    transform: rotate(180deg);
    color: var(--fa-accent-light);
}

.fa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.fa-faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--fa-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================================
   BLOG / POST CARDS
   ======================================== */
.fa-post-card {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-lg);
    overflow: hidden;
    transition: var(--fa-transition);
}

.fa-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--fa-glass-border);
    box-shadow: var(--fa-shadow);
}

.fa-post-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.fa-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fa-post-card:hover .fa-post-thumb img {
    transform: scale(1.05);
}

.fa-post-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--fa-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 50px;
}

.fa-post-body {
    padding: 22px;
}

.fa-post-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.fa-post-body h3 a {
    color: var(--fa-text-primary);
}

.fa-post-body h3 a:hover {
    color: var(--fa-accent-light);
}

.fa-post-excerpt {
    font-size: 0.88rem;
    color: var(--fa-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fa-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--fa-text-muted);
}

.fa-post-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fa-post-read-more {
    font-weight: 600;
    color: var(--fa-accent-light);
    transition: var(--fa-transition);
}

.fa-post-read-more:hover {
    color: var(--fa-accent);
}

/* ========================================
   SINGLE POST / PAGE
   ======================================== */
.fa-single-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}

.fa-single-cat {
    display: inline-block;
    padding: 4px 14px;
    background: var(--fa-accent-glow);
    color: var(--fa-accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.fa-single-title {
    max-width: 740px;
    margin: 0 auto 16px;
}

.fa-single-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--fa-text-muted);
}

.fa-single-content {
    max-width: 740px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.fa-single-content h2 {
    margin: 40px 0 16px;
}

.fa-single-content h3 {
    margin: 32px 0 12px;
}

.fa-single-content p {
    margin-bottom: 20px;
    line-height: 1.85;
}

.fa-single-content ul,
.fa-single-content ol {
    margin: 0 0 20px 24px;
    color: var(--fa-text-secondary);
}

.fa-single-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.fa-single-content blockquote {
    border-left: 3px solid var(--fa-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--fa-bg-card);
    border-radius: 0 var(--fa-radius-md) var(--fa-radius-md) 0;
    color: var(--fa-text-secondary);
    font-style: italic;
}

.fa-single-content pre {
    background: var(--fa-bg-secondary);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-md);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
    font-family: var(--fa-font-mono);
    font-size: 0.9rem;
}

.fa-single-content code {
    font-family: var(--fa-font-mono);
    font-size: 0.88rem;
    background: var(--fa-bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--fa-accent-light);
}

.fa-single-content img {
    border-radius: var(--fa-radius-md);
    margin: 24px 0;
}

.fa-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.fa-single-content th,
.fa-single-content td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--fa-border);
    font-size: 0.9rem;
}

.fa-single-content th {
    background: var(--fa-bg-card);
    font-weight: 600;
}

/* ========================================
   SIDEBAR
   ======================================== */
.fa-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

@media (max-width: 960px) {
    .fa-with-sidebar { grid-template-columns: 1fr; }
}

.fa-sidebar-widget {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.fa-sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    color: var(--fa-text-primary);
}

.fa-sidebar-widget ul {
    list-style: none;
}

.fa-sidebar-widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--fa-text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--fa-border);
    transition: var(--fa-transition);
}

.fa-sidebar-widget ul li:last-child a {
    border-bottom: none;
}

.fa-sidebar-widget ul li a:hover {
    color: var(--fa-accent-light);
}

.fa-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fa-tag {
    padding: 4px 14px;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--fa-text-secondary);
    transition: var(--fa-transition);
}

.fa-tag:hover {
    background: var(--fa-accent-glow);
    color: var(--fa-accent-light);
    border-color: var(--fa-accent);
}

/* ========================================
   FOOTER
   ======================================== */
.fa-footer {
    background: var(--fa-bg-secondary);
    border-top: 1px solid var(--fa-border);
    padding: 60px 0 0;
}

.fa-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .fa-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .fa-footer-grid { grid-template-columns: 1fr; }
}

.fa-footer-about p {
    font-size: 0.9rem;
    color: var(--fa-text-muted);
    margin: 16px 0;
    line-height: 1.7;
}

.fa-footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fa-text-primary);
    margin-bottom: 16px;
}

.fa-footer-links {
    list-style: none;
}

.fa-footer-links li a {
    display: block;
    color: var(--fa-text-muted);
    font-size: 0.88rem;
    padding: 5px 0;
    transition: var(--fa-transition);
}

.fa-footer-links li a:hover {
    color: var(--fa-accent-light);
    padding-left: 6px;
}

.fa-footer-social {
    display: flex;
    gap: 10px;
}

.fa-footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-sm);
    color: var(--fa-text-muted);
    transition: var(--fa-transition);
}

.fa-footer-social a:hover {
    background: var(--fa-accent);
    border-color: var(--fa-accent);
    color: #fff;
}

.fa-footer-bottom {
    border-top: 1px solid var(--fa-border);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--fa-text-muted);
    text-align: center;
}

/* ========================================
   PAGINATION
   ======================================== */
.fa-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.fa-pagination a,
.fa-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-sm);
    color: var(--fa-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--fa-transition);
}

.fa-pagination a:hover {
    background: var(--fa-bg-card-hover);
    color: var(--fa-text-primary);
}

.fa-pagination span.current {
    background: var(--fa-accent);
    border-color: var(--fa-accent);
    color: #fff;
}

/* ========================================
   COMMENTS
   ======================================== */
.fa-comments {
    margin-top: 50px;
}

.fa-comment {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--fa-border);
}

.fa-comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fa-comment-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--fa-text-primary);
}

.fa-comment-date {
    font-size: 0.78rem;
    color: var(--fa-text-muted);
    margin-left: 10px;
}

.fa-comment-body {
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--fa-text-secondary);
    line-height: 1.7;
}

.fa-comment-form textarea,
.fa-comment-form input[type="text"],
.fa-comment-form input[type="email"],
.fa-comment-form input[type="url"] {
    width: 100%;
    padding: 14px 18px;
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-md);
    color: var(--fa-text-primary);
    font-family: var(--fa-font-body);
    font-size: 0.95rem;
    margin-bottom: 14px;
    outline: none;
    transition: var(--fa-transition);
}

.fa-comment-form textarea:focus,
.fa-comment-form input:focus {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-glow);
}

.fa-comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.fa-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--fa-text-muted);
    padding: 14px 0;
}

.fa-breadcrumbs a {
    color: var(--fa-text-muted);
}

.fa-breadcrumbs a:hover {
    color: var(--fa-accent-light);
}

.fa-breadcrumbs .sep {
    opacity: 0.4;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.fa-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--fa-transition);
    z-index: 999;
    box-shadow: 0 4px 20px var(--fa-accent-glow);
}

.fa-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fa-scroll-top:hover {
    background: var(--fa-accent-light);
    transform: translateY(-2px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fa-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fa-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   WIDGET AREAS (WP)
   ======================================== */
.widget {
    margin-bottom: 24px;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fa-text-primary);
    margin-bottom: 16px;
}

/* ========================================
   WOOCOMMERCE-STYLE VERSION TABLE
   ======================================== */
.fa-version-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.fa-version-table th,
.fa-version-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--fa-border);
    font-size: 0.9rem;
}

.fa-version-table th {
    color: var(--fa-text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fa-version-table td {
    color: var(--fa-text-secondary);
}

.fa-version-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--fa-green-glow);
    color: var(--fa-green);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
.fa-hide-mobile { display: block; }
.fa-show-mobile { display: none; }

@media (max-width: 768px) {
    .fa-hide-mobile { display: none !important; }
    .fa-show-mobile { display: block !important; }
}

/* ========================================
   WORDPRESS CORE ALIGNMENT
   ======================================== */
.alignwide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.82rem;
    color: var(--fa-text-muted);
    text-align: center;
    margin-top: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.gallery-item img {
    border-radius: var(--fa-radius-sm);
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ── v2.0 Functional Fixes (no design changes) ── */

/* FIX #3: Show logo AND title together */
.fa-logo-text {
    font-family: var(--fa-font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--fa-text-primary);
    white-space: nowrap;
}

/* FIX #2: Homepage editor content - same width as FAQ/container */
.fa-homepage-content {
    padding: 40px 0;
}
.fa-homepage-content .fa-single-content {
    max-width: var(--fa-container);
    width: 100%;
    margin: 0 auto;
}

/* FIX #7: Download page template */
.fa-download-hero { text-align: center; margin-bottom: 50px; }
.fa-download-hero .fa-apk-rating { justify-content: center; margin-bottom: 24px; }

/* Page content styles for optional pages */
.fa-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}
.fa-page-content h2 { margin: 40px 0 16px; }
.fa-page-content h3 { margin: 32px 0 12px; }
.fa-page-content p { margin-bottom: 20px; line-height: 1.85; color: var(--fa-text-secondary); }
.fa-page-content ul, .fa-page-content ol { margin: 0 0 20px 24px; color: var(--fa-text-secondary); }
.fa-page-content li { margin-bottom: 8px; line-height: 1.7; }
.fa-page-content img { border-radius: var(--fa-radius-md); margin: 24px 0; }
.fa-page-content blockquote {
    border-left: 3px solid var(--fa-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--fa-bg-card);
    border-radius: 0 var(--fa-radius-md) var(--fa-radius-md) 0;
}

/* ========================================
   FIX #1: LIGHT MODE
   ======================================== */
html.fa-light,
body.fa-light {
    --fa-bg-primary: #f5f5fa;
    --fa-bg-secondary: #eaeaf2;
    --fa-bg-card: rgba(0, 0, 0, 0.03);
    --fa-bg-card-hover: rgba(0, 0, 0, 0.06);
    --fa-glass: rgba(0, 0, 0, 0.04);
    --fa-glass-border: rgba(0, 0, 0, 0.1);
    --fa-text-primary: #1a1a2e;
    --fa-text-secondary: #4a4a6a;
    --fa-text-muted: #7a7a9a;
    --fa-border: rgba(0, 0, 0, 0.08);
    --fa-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --fa-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html.fa-light body,
body.fa-light {
    background: var(--fa-bg-primary);
    color: var(--fa-text-primary);
}

body.fa-light .fa-bg-mesh::before,
body.fa-light .fa-bg-mesh::after { opacity: 0.15; }
body.fa-light .fa-noise { opacity: 0.01; }
body.fa-light .fa-header.scrolled { background: rgba(245, 245, 250, 0.92); backdrop-filter: blur(20px); }
body.fa-light .fa-phone-mockup { background: #e0e0ea; border-color: rgba(0,0,0,0.12); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
body.fa-light .fa-phone-notch { background: #d0d0da; }
body.fa-light .fa-floating-card { background: rgba(255,255,255,0.95); border-color: rgba(0,0,0,0.08); }
body.fa-light .fa-search-overlay { background: rgba(245,245,250,0.97); }
body.fa-light .fa-apk-meta-item { background: var(--fa-bg-primary); }
body.fa-light .fa-apk-meta { background: rgba(0,0,0,0.04); }
body.fa-light .fa-footer { background: #e0e0ea; }
body.fa-light .fa-showcase-phone-frame { background: #e0e0ea; border-color: rgba(0,0,0,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
body.fa-light .fa-showcase-phone-notch { background: #d0d0da; }
body.fa-light .fa-security { background: rgba(0,0,0,0.02); }
body.fa-light .fa-faq-item { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.fa-light .fa-faq-question { color: var(--fa-text-primary); }
body.fa-light .fa-post-card { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.fa-light .fa-feature-card { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.fa-light .fa-sidebar-widget { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.fa-light .fa-btn-secondary { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--fa-text-primary); }
body.fa-light .fa-hero-title, body.fa-light h1, body.fa-light h2, body.fa-light h3, body.fa-light h4 { color: var(--fa-text-primary); }
body.fa-light .fa-nav a { color: var(--fa-text-secondary); }
body.fa-light .fa-nav a:hover { color: var(--fa-text-primary); background: rgba(0,0,0,0.05); }
body.fa-light .fa-lang-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--fa-text-secondary); }
body.fa-light .fa-search-toggle, body.fa-light .fa-theme-toggle { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--fa-text-secondary); }
body.fa-light .fa-scroll-top { box-shadow: 0 4px 20px rgba(108,92,231,0.2); }
body.fa-light .fa-single-content code { background: rgba(0,0,0,0.05); }
body.fa-light .fa-single-content pre { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.fa-light .fa-comment-form textarea,
body.fa-light .fa-comment-form input[type="text"],
body.fa-light .fa-comment-form input[type="email"] { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); color: var(--fa-text-primary); }
body.fa-light .fa-search-input-wrap input { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: var(--fa-text-primary); }
body.fa-light .fa-lang-dropdown { background: #f0f0f5; border-color: rgba(0,0,0,0.1); }

/* Theme toggle button */
.fa-theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-glass);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-sm);
    color: var(--fa-text-secondary);
    cursor: pointer;
    transition: var(--fa-transition);
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
}

.fa-theme-toggle:hover {
    color: var(--fa-text-primary);
    background: var(--fa-bg-card-hover);
}

/* ========================================
   FIX #4: Remove blank spaces, tighten sections
   ======================================== */
.fa-section {
    padding: 60px 0;
}

@media (max-width: 640px) {
    .fa-section { padding: 40px 0; }
}

.fa-hero {
    min-height: auto;
    padding-bottom: 40px;
}

/* ========================================
   FIX #6: FAQs full width
   ======================================== */
.fa-faq-fullwidth {
    max-width: 100%;
}

/* ========================================
   FIX #2: PageSpeed - reduce CLS, optimize paint
   ======================================== */
.fa-hero-visual img,
.fa-showcase-phone-screen,
.fa-post-thumb img {
    content-visibility: auto;
}

.fa-phone-mockup,
.fa-showcase-phone-frame {
    contain: layout style;
}

/* ========================================
   FIX #7: Homepage + Download content full width
   ======================================== */
.fa-homepage-content .fa-single-content,
.fa-download-content .fa-single-content {
    max-width: 100%;
}

.fa-homepage-content .fa-single-content > *,
.fa-download-content .fa-single-content > * {
    max-width: 100%;
}

.fa-homepage-content .fa-single-content img,
.fa-download-content .fa-single-content img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   IFRAME PLAYER (Flavor addition)
   ======================================== */
.fl-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--fa-bg-secondary);
    border-radius: var(--fa-radius-lg);
    overflow: hidden;
    border: 1px solid var(--fa-border);
    box-shadow: var(--fa-shadow);
}
.fl-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.fl-player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(10,10,15,.8), rgba(108,92,231,.2));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity .35s ease, visibility .35s ease;
}
.fl-player-cover.gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.fl-play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--fa-accent);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(108,92,231,.45);
    animation: flPulse 2.2s ease infinite;
    transition: transform .2s;
}
.fl-play-circle:hover { transform: scale(1.1); }
@keyframes flPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108,92,231,.45); }
    70% { box-shadow: 0 0 0 20px rgba(108,92,231,0); }
}
.fl-player:fullscreen, .fl-player:-webkit-full-screen { border-radius: 0; border: 0; }
.fl-player:fullscreen iframe, .fl-player:-webkit-full-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-player-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.fa-btn-sm { padding: 6px 14px; font-size: 0.82rem; }

/* Modal */
.fl-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
}
.fl-modal.on { display: flex; }
.fl-modal-box { position: relative; width: 92%; max-width: 820px; }
.fl-modal-x { position: absolute; top: -2.5rem; right: 0; background: 0; border: 0; color: #fff; cursor: pointer; }
.fl-modal-vid { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--fa-radius-md); overflow: hidden; }
.fl-modal-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ========================================
   MORE GAMES CARD GRID (above footer)
   ======================================== */
.fl-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.fl-game-card {
    background: var(--fa-bg-card);
    border: 1px solid var(--fa-glass-border);
    border-radius: var(--fa-radius-md);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fl-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fa-shadow);
}
.fl-game-card-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.fl-game-card-placeholder {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-bg-secondary);
    color: var(--fa-text-muted);
}
.fl-game-card-body {
    padding: 12px 14px 14px;
}
.fl-game-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    color: var(--fa-text-primary);
}
.fl-game-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fl-game-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
}
.fl-game-stars {
    color: #f59e0b;
    font-size: 0.72rem;
    letter-spacing: -1px;
}
.fl-game-rating-num {
    color: var(--fa-text-secondary);
}

/* ========================================
   INFO TABLE (centered, clean rows)
   ======================================== */
.fl-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.fl-info-table tr {
    border-bottom: 1px solid var(--fa-border);
}
.fl-info-table tr:last-child {
    border-bottom: 0;
}
.fl-info-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
}
.fl-info-label {
    font-weight: 600;
    color: var(--fa-text-primary);
    width: 40%;
}
.fl-info-value {
    color: var(--fa-text-secondary);
}

/* ========================================
   HEADER & FOOTER — Always dark bg
   (even in light mode)
   ======================================== */
.fa-header,
html.fa-light .fa-header {
    background: #0f0d23 !important;
    color: #e8e6f5;
}
html.fa-light .fa-header a,
html.fa-light .fa-header .fa-nav-link,
html.fa-light .fa-header .fa-logo-text {
    color: #e8e6f5;
}
html.fa-light .fa-footer {
    background: #0a0919;
    color: #8b8fa3;
}
html.fa-light .fa-footer a {
    color: #a29bfe;
}

/* ========================================
   CONTENT WIDTH FIX — pages/posts match homepage
   ======================================== */
.fa-single-content {
    max-width: 100%;
}

/* ========================================
   IFRAME HEADING — Bold
   ======================================== */
#play .fa-section-header h2 {
    font-weight: 800;
}

/* ========================================
   BGAMES-STYLE GAME PLAYER SECTION
   ======================================== */
.fl-game-section {
    padding: 90px 0 0;
}
.fl-game-thumb {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--fa-radius-lg);
    overflow: hidden;
    border: 3px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 30px rgba(108,92,231,0.2);
}
.fl-game-thumb-img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.fl-game-thumb-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-bg-secondary);
    color: var(--fa-text-muted);
}

/* Big PLAY NOW button */
.fl-play-bar {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}
.fl-play-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--fa-accent, #5046e5), #00d2a0);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 30px rgba(108,92,231,0.35);
}
.fl-play-big:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(108,92,231,0.45);
}
.fl-play-big svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    stroke: none;
}

/* Game title + rating + actions below player */
.fl-game-meta-bar {
    max-width: 800px;
    margin: 24px auto 0;
    text-align: center;
}
.fl-game-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.fl-game-subtitle {
    color: var(--fa-text-secondary);
    margin-bottom: 12px;
}
.fl-game-rating-display {
    font-size: 1.8rem;
    margin-bottom: 16px;
    letter-spacing: 4px;
}
.fl-star.filled { color: #fbbf24; }
.fl-star.half { color: #fbbf24; opacity: 0.6; }
.fl-star.empty { color: var(--fa-text-muted); opacity: 0.3; }

/* Action buttons (circular, bgames-style) */
.fl-game-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.fl-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--fa-accent, #5046e5);
    background: transparent;
    color: var(--fa-accent, #5046e5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.fl-action-btn:hover {
    background: var(--fa-accent, #5046e5);
    color: #fff;
    transform: scale(1.08);
}
.fl-action-btn svg {
    width: 22px;
    height: 22px;
}

/* Player (hidden initially, shown on play click) */
.fl-game-section .fl-player {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--fa-radius-lg);
    overflow: hidden;
    border: 3px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 30px rgba(108,92,231,0.2);
}

/* ========================================
   COLORFUL FEATURE CARDS (like screenshot)
   ======================================== */
.fl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.fl-feat-card {
    text-align: center;
    padding: 24px 18px;
    border-radius: var(--fa-radius-md);
    border: 1px solid;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fl-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.fl-feat-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.fl-feat-card p {
    font-size: 0.8rem;
    line-height: 1.55;
}
.fl-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: #fff;
}
/* Color variants */
.fl-feat--purple { background: #f3f0ff; border-color: #ddd6fe; color: #5b21b6; }
.fl-feat--purple .fl-feat-icon { background: #7c3aed; }
.fl-feat--green { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.fl-feat--green .fl-feat-icon { background: #10b981; }
.fl-feat--orange { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.fl-feat--orange .fl-feat-icon { background: #f97316; }
.fl-feat--blue { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.fl-feat--blue .fl-feat-icon { background: #3b82f6; }
.fl-feat--red { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.fl-feat--red .fl-feat-icon { background: #ef4444; }
/* Dark mode feature cards */
html:not(.fa-light) .fl-feat--purple { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25); color: #c4b5fd; }
html:not(.fa-light) .fl-feat--green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.25); color: #6ee7b7; }
html:not(.fa-light) .fl-feat--orange { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.25); color: #fdba74; }
html:not(.fa-light) .fl-feat--blue { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: #93c5fd; }
html:not(.fa-light) .fl-feat--red { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.25); color: #fca5a5; }

/* ========================================
   GAME INFO BOX (clean bordered table)
   ======================================== */
.fl-info-box {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius-md);
    overflow: hidden;
    background: var(--fa-bg-card);
}
.fl-info-box-header {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid var(--fa-border);
    background: var(--fa-glass);
    color: var(--fa-text-primary);
}

/* ========================================
   LIGHT MODE FIXES
   ======================================== */
/* Header menu hover visibility */
html.fa-light .fa-header a:hover,
html.fa-light .fa-header .fa-nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Footer text visibility */
html.fa-light .fa-footer,
.fa-footer {
    color: #d1d5db;
}
html.fa-light .fa-footer a {
    color: #d1d5db;
}
html.fa-light .fa-footer a:hover {
    color: #fff;
}
html.fa-light .fa-footer h4,
.fa-footer h4,
.fa-footer .fa-sidebar-title {
    color: #fff !important;
}
html.fa-light .fa-footer .fa-widget {
    color: #d1d5db;
}

/* ========================================
   CONTENT WIDTH — pages/posts full container
   ======================================== */
.fa-single-content {
    max-width: 100%;
}

/* ========================================
   FIX 1: DESKTOP GAME LAYOUT (bgames-style)
   Player + game info side-by-side on desktop
   ======================================== */
@media (min-width: 900px) {
    .fl-game-section .fa-container {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 960px;
    }
    .fl-game-thumb {
        max-width: 100%;
        border-radius: 16px;
    }
    .fl-game-section .fl-player {
        max-width: 100%;
    }
    .fl-play-bar {
        max-width: 100%;
    }
    .fl-play-big {
        max-width: 100%;
    }
    .fl-game-meta-bar {
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        background: var(--fa-bg-secondary, #12121a);
        border-radius: 0 0 16px 16px;
        padding: 14px 24px;
        margin-top: 0;
        border: 3px solid var(--fa-accent, #5046e5);
        border-top: 0;
    }
    .fl-game-title {
        font-size: 1.15rem;
        margin-bottom: 0;
    }
    .fl-game-rating-display {
        font-size: 1.1rem;
        margin-bottom: 0;
        letter-spacing: 2px;
    }
    .fl-game-actions {
        margin-top: 0;
        gap: 10px;
    }
    .fl-action-btn {
        width: 42px;
        height: 42px;
    }
    .fl-action-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   FIX 2: SAME WIDTH for all sections
   (player, info, features, content)
   ======================================== */
.fl-game-section .fa-container,
#info .fa-container,
#features .fa-container,
#faq .fa-container {
    max-width: 960px;
}
.fl-info-box {
    max-width: 100%;
}
.fl-features-grid {
    max-width: 100%;
}

/* ========================================
   FIX 3: FOOTER — fix about text + copyright
   color for both light & dark modes
   ======================================== */
.fa-footer,
.fa-footer p,
.fa-footer .fa-footer-about p,
.fa-footer span,
.fa-footer-bottom span {
    color: #d1d5db !important;
}
html.fa-light .fa-footer,
html.fa-light .fa-footer p,
html.fa-light .fa-footer .fa-footer-about p,
html.fa-light .fa-footer span,
html.fa-light .fa-footer-bottom span {
    color: #d1d5db !important;
}
.fa-footer h4,
.fa-footer .fa-footer-title,
html.fa-light .fa-footer h4,
html.fa-light .fa-footer .fa-footer-title {
    color: #ffffff !important;
}
.fa-footer a,
html.fa-light .fa-footer a {
    color: #d1d5db !important;
}
.fa-footer a:hover,
html.fa-light .fa-footer a:hover {
    color: #ffffff !important;
}
.fa-footer-bottom {
    color: #9ca3af !important;
}

/* ========================================
   FIX 4: ATTRACTIVE frame & button corners
   Neon glow / rounded pill style
   ======================================== */
.fl-game-thumb {
    border-radius: 20px;
    border: 3px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 20px rgba(108,92,231,0.25), 0 0 60px rgba(108,92,231,0.1);
}
.fl-game-thumb-img {
    border-radius: 17px;
}
.fl-game-section .fl-player {
    border-radius: 20px;
    border: 3px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 20px rgba(108,92,231,0.25), 0 0 60px rgba(108,92,231,0.1);
}
.fl-play-big {
    border-radius: 50px;
    padding: 20px 48px;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    border: 2px solid rgba(0,210,160,0.3);
    box-shadow: 0 0 20px rgba(0,210,160,0.2), 0 6px 30px rgba(108,92,231,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.fl-play-big:hover {
    box-shadow: 0 0 30px rgba(0,210,160,0.35), 0 10px 40px rgba(108,92,231,0.4);
    transform: translateY(-3px);
}
.fl-action-btn {
    border: 2px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 12px rgba(108,92,231,0.15);
}
.fl-action-btn:hover {
    box-shadow: 0 0 20px rgba(108,92,231,0.35);
}

/* ========================================
   FIX 5: HEADER — bold modern nav,
   italic-weighted, bgames-style
   ======================================== */
.fa-nav a {
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 14px;
}
.fa-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fa-logo-text,
.fa-logo {
    font-weight: 800 !important;
    font-size: 1.3rem !important;
    letter-spacing: -0.01em;
}

/* Light mode header nav — keep text light on dark header */
html.fa-light .fa-nav a {
    color: rgba(255,255,255,0.8) !important;
}
html.fa-light .fa-nav a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.12) !important;
}

/* ========================================
   NEW BGAMES-STYLE FRAME SYSTEM
   (replaces old fl-game-thumb/fl-play-bar)
   ======================================== */
.fl-game-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.fl-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--fa-accent, #5046e5);
    box-shadow: 0 0 30px rgba(108,92,231,0.2), 0 0 80px rgba(108,92,231,0.08);
    background: var(--fa-bg-secondary, #12121a);
}
.fl-frame-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.fl-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fl-frame-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fa-bg-secondary);
    color: var(--fa-text-muted);
}
.fl-frame-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 3;
}
.fl-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 4;
}
.fl-frame:fullscreen,
.fl-frame:-webkit-full-screen {
    border-radius: 0;
    border: 0;
}
/* PLAY NOW inside frame */
.fl-frame .fl-play-big {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 60px;
    background: linear-gradient(135deg, var(--fa-accent, #5046e5), #00d2a0);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(0,210,160,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.fl-frame .fl-play-big:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,210,160,0.35);
}
.fl-frame .fl-play-big svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    stroke: none;
}
@media (max-width: 600px) {
    .fl-frame .fl-play-big {
        padding: 14px 36px;
        font-size: 1rem;
    }
}

/* Bottom bar */
.fl-frame-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--fa-bg-secondary, #12121a);
    border: 4px solid var(--fa-accent, #5046e5);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    gap: 12px;
    flex-wrap: wrap;
}
html.fa-light .fl-frame-bar {
    background: #1a1a2e;
    color: #fff;
}
.fl-frame-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}
.fl-frame-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.fl-frame-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
.fl-frame-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.fl-frame-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.fl-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
}
.fl-bar-btn:hover {
    background: var(--fa-accent, #5046e5);
    border-color: var(--fa-accent, #5046e5);
    color: #fff;
}
.fl-bar-btn svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   FIX 6: CONTENT ALIGNMENT — allow center
   ======================================== */
.fa-content-area,
.fa-content-area h1,
.fa-content-area h2,
.fa-content-area h3,
.fa-content-area h4,
.fa-content-area h5,
.fa-content-area h6,
.fa-content-area p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content p {
    text-align: inherit;
}
.has-text-align-center,
.aligncenter,
[style*="text-align: center"],
[style*="text-align:center"] {
    text-align: center !important;
}

/* ========================================
   FIX 7: REMOVE BREADCRUMBS on category/archive pages
   ======================================== */
.category .fl-breadcrumbs,
.archive .fl-breadcrumbs,
.tax .fl-breadcrumbs {
    display: none !important;
}

/* ========================================
   SAME WIDTH — info box matches frame
   ======================================== */
.fl-info-box {
    max-width: 100% !important;
}

/* ========================================
   FIX: PLAY NOW + LOGO centered in frame
   ======================================== */
.fl-frame-overlay {
    flex-direction: column;
    gap: 16px;
}

/* ========================================
   FIX: Bottom bar merged with frame
   (no gap, seamless connection)
   ======================================== */
.fl-frame {
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
}
.fl-frame-bar {
    border-radius: 0 0 20px 20px;
    border-top: 0;
    margin-top: 0;
}

/* ========================================
   FIX: Game title in bar — white always
   (was black/invisible in light mode)
   ======================================== */
.fl-frame-title {
    color: #ffffff !important;
}
.fl-frame-stars {
    color: #fbbf24 !important;
}
.fl-frame-sub {
    color: rgba(255,255,255,0.7) !important;
}

/* ========================================
   BGAMES-EXACT FRAME DESIGN
   ======================================== */
/* Game icon centered in frame */
.fl-frame-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
    .fl-frame-icon { width: 80px; height: 80px; border-radius: 14px; }
}

/* Glass PLAY NOW button (bgames-style) */
.fl-play-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 64px;
    background: rgba(140, 210, 220, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.fl-play-glass:hover {
    background: rgba(140, 210, 220, 0.65);
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
    .fl-play-glass { padding: 12px 40px; font-size: 0.95rem; }
}

/* Small icon in bottom bar */
.fl-bar-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Bottom bar — gradient teal/dark like bgames */
.fl-frame-bar {
    background: linear-gradient(90deg, #1a8a8a 0%, #2d3748 60%, #1a202c 100%) !important;
    border-color: #1a5a6a !important;
}

/* ========================================
   CLEAN COLUMN LAYOUT (driftboss-style)
   No blur — just a clean card column
   ======================================== */
.fl-game-section {
    background: transparent;
}
.fl-game-section .fl-game-wrap {
    position: relative;
}

/* ========================================
   CLEAN CARD COLUMN (driftboss-style)
   Title → Frame → Rating bar → Features → Info
   All in one card
   ======================================== */
.fl-game-card-wrap {
    background: var(--fa-bg-card, #fff);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--fa-border, #e2e4ed);
}
html:not(.fa-light) .fl-game-card-wrap {
    background: var(--fa-bg-card, rgba(255,255,255,0.04));
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.fl-game-card-header {
    margin-bottom: 20px;
}
.fl-game-card-header h1 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 2px;
}
.fl-game-card-header p {
    color: var(--fa-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}
/* Frame inside card — no extra border radius needed */
.fl-game-card-wrap .fl-frame {
    border-radius: 14px 14px 0 0;
}
.fl-game-card-wrap .fl-frame-bar {
    border-radius: 0 0 14px 14px;
}

/* Rating row with colored buttons */
.fl-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.fl-rating-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fl-rating-stars {
    color: #f59e0b;
    font-size: 1.4rem;
    letter-spacing: 2px;
}
.fl-rating-text {
    font-size: 0.85rem;
    color: var(--fa-text-secondary);
}
.fl-rating-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.fl-rbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}
.fl-rbtn svg { width: 16px; height: 16px; }
.fl-rbtn--share { background: var(--fa-accent, #5046e5); }
.fl-rbtn--share:hover { opacity: 0.85; }
.fl-rbtn--fs { background: #10b981; }
.fl-rbtn--fs:hover { background: #059669; }
.fl-rbtn--trailer { background: #ef4444; }
.fl-rbtn--trailer:hover { background: #dc2626; }

/* Features + Info inside card — no extra wrapper */
.fl-game-card-wrap .fl-features-grid {
    margin-top: 24px;
}
.fl-game-card-wrap .fl-info-box {
    margin-top: 24px;
    border-radius: 12px;
}
@media (max-width: 600px) {
    .fl-game-card-wrap { padding: 16px; }
    .fl-rating-row { flex-direction: column; align-items: flex-start; }
}

/* ========================================
   FIX 4: Wider frame on desktop
   ======================================== */
.fl-game-wrap {
    max-width: 1060px !important;
}

/* ========================================
   FIX 3: Thicker frame border
   ======================================== */
.fl-frame {
    border-width: 5px !important;
}
.fl-frame-bar {
    border-width: 5px !important;
    border-top-width: 0 !important;
}

/* ========================================
   FIX 6: Features — fill available space
   3-per-row min, stretches to fill gaps
   ======================================== */
.fl-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}
@media (max-width: 500px) {
    .fl-features-grid {
        grid-template-columns: 1fr !important;
    }
}
.fl-feat-card {
    padding: 20px 14px !important;
}
.fl-feat-card h3 {
    font-size: 0.85rem !important;
}
.fl-feat-card p {
    font-size: 0.75rem !important;
}

/* Social link icons styling */
.fa-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.fa-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #d1d5db !important;
    transition: all 0.2s;
}
.fa-footer-social a:hover {
    background: var(--fa-accent, #5046e5);
    color: #fff !important;
    transform: translateY(-2px);
}
.fa-footer-social a svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   FIX: Iframe frame max-width capped to viewport
   Prevents overflow on desktop
   ======================================== */
.fl-game-wrap {
    max-width: min(1060px, calc(100vw - 48px)) !important;
}
.fl-frame {
    max-width: 100%;
}
.fl-frame iframe {
    max-width: 100%;
}

/* ========================================
   FIX: Features grid same width as frame
   ======================================== */
.fl-game-card-wrap {
    max-width: 100%;
    overflow: hidden;
}

/* ========================================
   FIX: Header — menu items pushed to right
   alongside dark mode toggle
   ======================================== */
.fa-header-inner {
    justify-content: space-between !important;
}
.fa-logo {
    flex-shrink: 0;
}
.fa-nav {
    margin-left: auto !important;
}
.fa-nav-right {
    margin-left: 0 !important;
    flex-shrink: 0;
}

/* ========================================
   MOBILE/TABLET FIXES
   ======================================== */

/* Bigger iframe on mobile — taller aspect ratio */
@media (max-width: 768px) {
    .fl-frame {
        aspect-ratio: 4/3 !important;
    }
    /* Card wrapper — less padding on mobile */
    .fl-game-card-wrap {
        padding: 14px !important;
    }
    .fl-game-card-header h1 {
        font-size: 1.2rem !important;
    }
    /* Frame bar — stack vertically, compact */
    .fl-frame-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px 14px !important;
        gap: 8px !important;
    }
    .fl-frame-bar-left {
        width: 100%;
    }
    .fl-frame-title {
        font-size: 0.9rem !important;
    }
    .fl-frame-bar-right {
        width: 100%;
        justify-content: flex-start !important;
    }
    .fl-bar-btn {
        width: 32px !important;
        height: 32px !important;
    }
    .fl-bar-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    /* Rating row — stack */
    .fl-rating-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .fl-rating-stars {
        font-size: 1.1rem !important;
    }
    .fl-rating-btns {
        width: 100%;
    }
    .fl-rbtn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    /* Play button inside frame — smaller */
    .fl-play-glass {
        padding: 12px 32px !important;
        font-size: 0.9rem !important;
    }
    .fl-frame-icon {
        width: 70px !important;
        height: 70px !important;
    }
    /* Game wrap — full width on mobile */
    .fl-game-wrap {
        padding: 0 12px !important;
    }
}

/* Tablet tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
    .fl-frame {
        aspect-ratio: 16/10 !important;
    }
}

/* ========================================
   MOBILE: Entry content / article visibility fix
   ======================================== */
.fa-content-area,
.entry-content,
.fa-content-area p,
.entry-content p,
.fa-content-area h1,
.fa-content-area h2,
.fa-content-area h3,
.fa-content-area h4,
.fa-content-area h5,
.fa-content-area h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
}
.fa-content-area img,
.entry-content img {
    max-width: 100% !important;
    height: auto !important;
}
/* Ensure article section is visible on all screens */
.fa-section {
    overflow: visible !important;
}
.fa-section .fl-game-wrap,
.fa-section .fa-container {
    overflow: visible !important;
}
/* Content text readable on mobile */
@media (max-width: 768px) {
    .fa-content-area,
    .entry-content {
        font-size: 0.92rem !important;
        line-height: 1.75 !important;
    }
    .fa-content-area h2,
    .entry-content h2 {
        font-size: 1.3rem !important;
    }
    .fa-content-area h3,
    .entry-content h3 {
        font-size: 1.1rem !important;
    }
    /* FAQ on mobile */
    .fa-faq-question {
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
    }
    .fa-faq-answer-inner {
        padding: 10px !important;
        font-size: 0.84rem !important;
    }
    /* Info table on mobile */
    .fl-info-table td {
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
    }
    /* More games grid — 2 columns on mobile */
    .fl-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .fl-game-card-title {
        font-size: 0.8rem !important;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .fl-games-grid {
        grid-template-columns: 1fr !important;
    }
    .fl-frame {
        aspect-ratio: 1/1 !important;
    }
}

/* ========================================
   FIX: Footer — hide empty archive/category widgets
   ======================================== */
.fa-footer .widget_archive ul:empty,
.fa-footer .widget_categories ul:empty {
    display: none;
}
.fa-footer .widget_archive .widget-title,
.fa-footer .widget_categories .widget-title {
    color: #fff !important;
}

/* ========================================
   FIX: Uniform heading spacing in content
   ======================================== */
.fa-content-area h1,
.fa-content-area h2,
.fa-content-area h3,
.fa-content-area h4,
.fa-content-area h5,
.fa-content-area h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2em !important;
    margin-bottom: 0.6em !important;
}
.fa-content-area h1:first-child,
.fa-content-area h2:first-child,
.fa-content-area h3:first-child,
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child {
    margin-top: 0.5em !important;
}
.fa-content-area p,
.entry-content p {
    margin-bottom: 1.1em !important;
}
.fa-content-area ul,
.fa-content-area ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.2em !important;
    padding-left: 1.5em !important;
}
