/*
Theme Name: fw8-npl.com Theme
Description: Custom premium theme for FW8NPL - PAGCOR licensed online gaming platform.
Version: 1.1 - Light Theme
*/

/* ============================================================
   TABLE OF CONTENTS
   1. CSS Variables & Global Reset
   2. Header & Navigation
   3. Hero Section & Games Grid
   4. Accreditation Section
   5. Section 1 - Intro (H1)
   6. Section 2 - Awards
   7. Section 3 - Hot Titles
   8. Section 4 - Offers & Bonuses
   9. Section 5 - Mobile App
   10. Section 6 - Why FW8NPL
   11. Section 7 - Trust & Licensing
   12. Footer
   13. Utility Classes & Placeholders
   14. Responsive Breakpoints
   ============================================================ */

/* ========== 1. CSS VARIABLES & GLOBAL RESET ========== */
:root {
    /* Light Theme Colors */
    --color-bg-body: #ffffff;
    --color-bg-section: #ffffff;
    --color-bg-section-alt: #f5f6fa;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #fafbff;
    --color-nav-dark: #1a1a2e;
    --color-nav-bar: #1a1a3e;
    --color-gold: #e8872a;
    --color-gold-light: #f5a623;
    --color-orange: #e8872a;
    --color-red: #e74c3c;
    --color-red-hover: #c0392b;
    --color-navy: #1a1a3a;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-secondary: #555555;
    --color-text-muted: #888888;
    --color-border: #e5e7eb;
    --color-border-light: #f0f0f0;
    --font-primary: 'Montserrat', 'Inter', 'Roboto', sans-serif;
    --font-secondary: 'Inter', 'Roboto', sans-serif;
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 20px rgba(232, 135, 42, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg-body);
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========== 2. HEADER & NAVIGATION ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-top-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Header Right Group: Lang Switcher + Auth Buttons */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.lang-switcher ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-switcher li {
    display: flex;
    align-items: center;
}

.lang-switcher li a {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.5;
}

.lang-switcher li.current-lang a,
.lang-switcher li a:hover {
    opacity: 1;
    border-color: var(--color-gold);
}

.lang-switcher li a img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.header-auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-signup {
    padding: 8px 22px;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    background: transparent;
}

.btn-signup:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-login {
    padding: 8px 22px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: var(--color-red-hover);
}

/* Main Navigation - Dark Navy Bar */
.main-nav {
    background: var(--color-nav-bar);
    border-top: 3px solid var(--color-gold);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 22px;
    cursor: pointer;
    padding: 12px 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-item.active a {
    border-bottom: 2px solid var(--color-gold);
}

.nav-item.nav-promo a {
    color: #fff;
    background: #2d8c3c;
    border-radius: 4px;
    margin: 4px 2px;
    padding: 8px 10px;
    font-weight: 700;
}

.nav-item.nav-promo a:hover {
    background: #35a046;
}

.nav-item i {
    font-size: 14px;
}

/* ========== 3. HERO SECTION & GAMES GRID ========== */
.hero-section {
    background: var(--color-bg-section);
}

.hero-banner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-banner-img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

/* Games Grid */
.games-grid-wrapper {
    max-width: var(--max-width);
    margin: 20px auto;
    padding: 0 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.game-card {
    position: relative;
}

.game-card-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.game-card-inner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-section-alt);
    aspect-ratio: 1 / 1;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.game-card-featured .game-card-inner {
    aspect-ratio: auto;
    height: 100%;
}

.game-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.game-badge.hot {
    background: var(--color-red);
    color: var(--color-white);
}

.game-fav {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.25);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.game-fav:hover {
    color: var(--color-red);
}

.game-title {
    font-size: 11px;
    color: var(--color-text-muted);
    padding: 6px 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Brand Logos Row */
.brand-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 30px 20px;
    background: var(--color-white);
}

.brand-logo-fw8 {
    height: 60px;
    width: auto;
}

.brand-separator {
    font-size: 28px;
    color: #999;
    font-weight: 300;
}

.brand-logo-pagcor {
    height: 50px;
    width: auto;
}

/* ========== 4. ACCREDITATION SECTION ========== */
.accreditation-section {
    max-width: var(--max-width);
    margin: 0 auto;
}

.accreditation-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== 5. SECTION 1 - INTRO (H1) ========== */
.content-section {
    padding: 80px 20px;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-intro {
    background-color: var(--color-bg-section-alt);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
}

.section-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 246, 250, 0.92) 100%);
    z-index: 0;
}

.section-intro .section-container {
    position: relative;
    z-index: 1;
}

.section-h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.section-text-box {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-card);
}

.section-text-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.section-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    color: var(--color-white);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 135, 42, 0.35);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}

.btn-cta-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* ========== 6. SECTION 2 - AWARDS ========== */
.section-awards {
    background: var(--color-white);
    text-align: center;
}

.section-heading {
    font-size: 34px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.section-subheading {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.award-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-gold);
}

.award-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-icon img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.award-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.award-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== 7. SECTION 3 - HOT TITLES ========== */
.section-titles {
    background: var(--color-bg-section-alt);
    text-align: center;
}

.titles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.title-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.title-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.title-card-image {
    height: 200px;
    overflow: hidden;
}

.title-card-body {
    padding: 24px;
    text-align: left;
}

.title-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.title-card-body p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-play:hover {
    color: var(--color-orange);
}

.btn-play i {
    transition: transform 0.3s ease;
}

.btn-play:hover i {
    transform: translateX(4px);
}

/* ========== 8. SECTION 4 - OFFERS & BONUSES ========== */
.section-offers {
    background: var(--color-white);
    text-align: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offer-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
    opacity: 0;
    transition: var(--transition);
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.offer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(232, 135, 42, 0.12), rgba(232, 135, 42, 0.04));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-gold);
}

.offer-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.offer-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-claim {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 135, 42, 0.3);
}

/* ========== 9. SECTION 5 - MOBILE APP ========== */
.section-app {
    background: var(--color-bg-section-alt);
}

.app-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-text {
    flex: 1;
}

.app-text .section-heading,
.app-text .section-subheading,
.app-text .section-description {
    text-align: left;
    margin-left: 0;
}

.app-features-list {
    margin: 30px 0;
}

.app-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(232, 135, 42, 0.12), rgba(232, 135, 42, 0.04));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 18px;
}

.app-features-list strong {
    display: block;
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.app-features-list p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.app-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* App Image Wrapper with QR Overlay */
.app-image-wrapper {
    position: relative !important;
    max-width: 400px;
    width: 100%;
}

.app-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.app-qr-overlay {
    position: absolute !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius-md);
    padding: 22px 28px;
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 280px;
}

.qr-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.qr-description {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    line-height: 1.5;
}

.app-qr-code {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    margin: 0 auto 10px;
    background: var(--color-white);
    padding: 6px;
    display: block;
}

.qr-instruction {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.qr-platforms {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
}

/* ========== 10. SECTION 6 - WHY FW8NPL ========== */
.section-why {
    background: var(--color-white);
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: left;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-gold);
}

.why-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-gold);
    opacity: 0.25;
    margin-bottom: 12px;
    line-height: 1;
}

.why-card:hover .why-number {
    opacity: 1;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== 11. SECTION 7 - TRUST & LICENSING ========== */
.section-trust {
    background: var(--color-bg-section-alt);
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 130px;
    margin-bottom: 20px;
}

.trust-icon img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
}

.trust-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== 12. FOOTER ========== */
.site-footer {
    background: var(--color-nav-dark);
    border-top: 1px solid var(--color-border);
    padding: 50px 20px 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-row {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-row:last-child {
    border-bottom: none;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Payment Methods */
.footer-logo-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-license-logos {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-license-logos img {
    height: 40px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-license-logos img:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ========== 13. UTILITY CLASSES & PLACEHOLDERS ========== */
.game-placeholder,
.cert-placeholder,
.ambassador-placeholder,
.app-placeholder,
.footer-logo-placeholder {
    background: linear-gradient(135deg, #f0f1f5, #e8e9ed);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
}

.game-placeholder {
    min-height: 0;
    height: 100%;
}

.game-placeholder.large {
    min-height: 200px;
}

.cert-placeholder {
    min-height: 250px;
}

.ambassador-placeholder {
    min-height: 300px;
    max-width: 400px;
}

.app-placeholder {
    min-height: 400px;
    max-width: 350px;
    border-radius: 30px;
}

.footer-logo-placeholder {
    min-height: 40px;
    width: 80px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-logo-placeholder span {
    color: rgba(255, 255, 255, 0.4);
}

.placeholder-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    padding: 10px;
}

/* ========== 14. RESPONSIVE BREAKPOINTS ========== */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    .section-h1 {
        font-size: 34px;
    }

    .section-heading {
        font-size: 28px;
    }

    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .game-card-featured {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

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

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

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

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

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

    .app-layout {
        flex-direction: column;
        gap: 40px;
    }

    .app-text .section-heading,
    .app-text .section-subheading,
    .app-text .section-description {
        text-align: center;
    }

    .app-features-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .app-download-buttons {
        justify-content: center;
    }

}

/* Tablet Small: 768px */
@media (max-width: 768px) {
    /* Mobile Menu - show hamburger at 768px */
    .mobile-menu-toggle {
        display: block;
        color: var(--color-white);
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-nav-bar);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-item a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 13px;
    }

    .nav-item.nav-promo a {
        border-radius: 0;
        margin: 0;
    }

    .content-section {
        padding: 60px 16px;
    }

    .section-h1 {
        font-size: 28px;
    }

    .section-heading {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .section-text-box {
        padding: 20px 24px;
    }

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

    .offers-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .brand-logos-row {
        gap: 16px;
        padding: 20px;
    }

    .brand-logo-fw8 {
        height: 40px;
    }

    .brand-logo-pagcor {
        height: 35px;
    }
}

/* Mobile: 576px */
@media (max-width: 576px) {
    .header-container {
        padding: 8px 12px;
    }

    .header-logo img {
        height: 28px;
    }

    .header-right-group {
        gap: 10px;
    }

    .lang-switcher li a img {
        width: 20px;
        height: 14px;
    }

    .btn-signup,
    .btn-login {
        padding: 6px 14px;
        font-size: 11px;
    }

    .content-section {
        padding: 40px 14px;
    }

    .section-h1 {
        font-size: 22px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-subtitle,
    .section-subheading {
        font-size: 15px;
    }

    .section-description {
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-card-featured {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .awards-grid,
    .titles-grid,
    .offers-grid,
    .why-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .title-card-image {
        height: 160px;
    }

    .app-image-wrapper {
        max-width: 280px;
    }

    .app-qr-overlay {
        padding: 14px 16px;
        top: 12px;
        width: 85%;
    }

    .qr-heading {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .qr-description {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .app-qr-code {
        width: 80px;
        height: 80px;
        padding: 4px;
    }

    .qr-instruction {
        font-size: 10px;
    }

    .qr-platforms {
        font-size: 10px;
    }

    .section-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .app-download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-license-logos {
        gap: 12px;
    }

    .footer-license-logos img {
        height: 32px;
    }

    .footer-logo-grid {
        justify-content: center;
        gap: 10px;
    }

    .footer-logo-placeholder {
        width: 60px;
        min-height: 30px;
    }

    .brand-logos-row {
        flex-direction: row;
        gap: 12px;
        padding: 16px;
    }

    .brand-logo-fw8 {
        height: 32px;
    }

    .brand-logo-pagcor {
        height: 28px;
    }

    .brand-separator {
        font-size: 20px;
    }
}

/* ========== 15. FLOATING WIDGET (CS / TG / Back to Top) ========== */
.fw8-float-wrapper {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fw8-float-wrapper.fw8-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Outer shell 105x105 */
.fw8-btn-wrap {
    position: relative;
    width: 105px;
    height: 105px;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fw8-btn-wrap:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Layer 1: Rotating ring (circle.webp) */
.fw8-btn-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('https://fw8-npl.com/wp-content/uploads/2026/03/circle.webp') no-repeat center center;
    background-size: 100%;
    animation: fw8-circle-around 3s linear infinite;
}

/* Layer 2: Black circle backing */
.fw8-btn-wrap::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 50%;
    background: #000000;
}

/* Layer 3: Center icon container */
.fw8-icon-box {
    position: absolute;
    z-index: 20;
    width: 80%;
    height: 80%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    overflow: hidden;
}

.fw8-btn-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* CS bounce */
.fw8-cs-wrap {
    animation: fw8-float-bounce 3s ease-in-out infinite;
}

/* TG bounce (0.5s delay) */
.fw8-tg-wrap {
    animation: fw8-float-bounce 3s ease-in-out infinite 0.5s;
}

/* Back to Top button (no ring) */
.fw8-top-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B2B5B 0%, #0F1A3D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 43, 91, 0.5);
    transition: all 0.3s ease;
    z-index: 10;
}

.fw8-top-btn:hover {
    background: linear-gradient(135deg, #FFB800 0%, #FF9500 100%);
    box-shadow: 0 6px 25px rgba(255, 184, 0, 0.6);
    transform: translateY(-5px) scale(1.1);
}

.fw8-arrow-icon {
    width: 26px;
    height: 26px;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.fw8-top-btn:hover .fw8-arrow-icon {
    color: #000000;
}

/* Ring rotation */
@keyframes fw8-circle-around {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Float bounce */
@keyframes fw8-float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Tablet */
@media (max-width: 1024px) {
    .fw8-float-wrapper { right: 20px; bottom: 25px; gap: 12px; }
    .fw8-btn-wrap { width: 90px; height: 90px; }
    .fw8-top-btn { width: 55px; height: 55px; }
    .fw8-arrow-icon { width: 24px; height: 24px; }
}

/* Mobile */
@media (max-width: 768px) {
    .fw8-float-wrapper { right: 15px; bottom: 20px; gap: 10px; }
    .fw8-btn-wrap { width: 75px; height: 75px; padding: 4px; }
    .fw8-btn-wrap::after { left: 4px; right: 4px; top: 4px; bottom: 4px; }
    .fw8-top-btn { width: 50px; height: 50px; }
    .fw8-arrow-icon { width: 22px; height: 22px; }
}

/* Small phone */
@media (max-width: 480px) {
    .fw8-float-wrapper { right: 12px; bottom: 15px; gap: 8px; }
    .fw8-btn-wrap { width: 65px; height: 65px; }
    .fw8-top-btn { width: 45px; height: 45px; }
    .fw8-arrow-icon { width: 20px; height: 20px; }
}
