/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.18.1
Requires at least:    5.9
Requires PHP:         5.6
WC requires at least: 4.7
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome &amp;amp;amp; Advanced &amp;amp;gt; Custom CSS,
or in the style.css of a Child Theme.
***************/


/* ============================================
   JILIPoker - Best JILI Online Casino Philippines
   Dark Theme with Gold Accents
   Philippine English Content
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
  --primary: #d4af37;
  --primary-dark: #b8962e;
  --primary-light: #ffd700;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-section: #f8f8f8;
  --text-light: #e6e6e6;
  --text-muted: #999;
  --text-dark: #333;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 20px rgba(212,175,55,0.3);
  --gradient-gold: linear-gradient(135deg, #d4af37, #ffcc00, #d4af37);
  --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a2e, #0a0a0a);
}

/* ========== GENERAL ========== */
body {
  font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;, Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========== HEADER ========== */
.header-wrapper {
  background: var(--gradient-dark) !important;
  border-bottom: 1px solid rgba(212,175,55,0.2) !important;
}

.header-main .nav &amp;amp;gt; li &amp;amp;gt; a {
  color: var(--text-light) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
}

.header-main .nav &amp;amp;gt; li &amp;amp;gt; a:hover {
  color: var(--primary) !important;
}

/* Logo */
#logo a, .logo a {
  color: var(--primary) !important;
  font-weight: 900 !important;
  font-size: 24px !important;
  text-shadow: 0 0 15px rgba(212,175,55,0.25);
  letter-spacing: 1px;
}

/* ===== DOWNLOAD BUTTONS IN HEADER ===== */
/* Use ::after on nav elements to inject download buttons */
.header .nav-right .html.header-button-1,
.header .nav-right .html.header-button-2 {
  display: inline-block !important;
}

.header-button-1 a, .header-button-2 a,
.html.header-button-1 a, .html.header-button-2 a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-gold);
  color: #000 !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease !important;
  border: none !important;
  white-space: nowrap;
}

.header-button-1 a:hover, .header-button-2 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212,175,55,0.5);
}

.header-button-2 a, .html.header-button-2 a {
  background: transparent !important;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  margin-left: 8px;
}

/* ========== HOMEPAGE STYLES ========== */

/* Hero Section */
.hero {
  background: var(--gradient-dark);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: &amp;amp;quot;&amp;amp;quot;;
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212,175,55,0.05) 0%, transparent 50%);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, -5%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--primary);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(212,175,55,0.2);
}

.hero p {
  color: #ccc;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gradient-gold);
  color: #000 !important;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin: 5px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

.btn-sm {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gradient-gold);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 25px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin: 2px;
}
.btn-sm:hover { transform: translateY(-2px); }
.btn-sm-outline {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 25px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.btn-sm-outline:hover { background: rgba(212,175,55,0.1); transform: translateY(-2px); }

/* ========== GAME GRID ========== */
/* Game card hover effects */
.game-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  border: 1px solid #eee;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: var(--primary);
}
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}
.game-card:hover img {
  transform: scale(1.08);
}
.game-card .card-body {
  padding: 18px;
}
.game-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  padding: 15px 15px 0;
  color: #222;
}
.game-card p {
  color: #555;
  font-size: 13px;
  margin: 0;
  padding: 0 15px;
  line-height: 1.5;
}
.game-card .btn-sm {
  margin: 12px auto 18px;
}


.section-title {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.game-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid #eee;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border-color: var(--primary);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.game-card .card-body {
  padding: 18px;
}

.game-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #222;
}

.game-card p {
  color: #555;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ========== GAMES SECTION SEPARATOR ========== */
.games-section {
  padding: 20px 0 40px;
  background: #fff;
}
.games-section .section-title h2 {
  color: #1a1a1a;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ffcc00);
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* ========== FEATURES SECTION ========== */
/* Features section wrapper */
.features-section {
  background: #0a0a0a;
  padding: 30px 0 50px;
  margin: 30px 0 0;
}
.features-section .section-title {
  margin: 30px 0 20px;
}
.features-section .section-title h2 {
  color: #d4af37;
  text-shadow: 0 0 20px rgba(212,175,55,0.1);
}
.features-section .section-title p {
  color: #bbb;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.feature-card {
  background: var(--gradient-dark);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.feature-card .icon {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--gradient-dark);
  padding: 70px 20px;
  text-align: center;
  margin: 30px 0;
}

.cta-section h2 {
  color: var(--primary);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 15px;
}

.cta-section p {
  color: #ccc;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px 0;
}

.trust-badges span {
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  border: 1px solid rgba(212,175,55,0.1);
}


/* Trust badges - improved styling */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px auto;
  padding: 20px;
  max-width: 800px;
  background: #fafafa;
  border-radius: 16px;
  border: 1px solid #eee;
}
.trust-badges span {
  background: #fff;
  color: #333 !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #d4af37;
  box-shadow: 0 2px 8px rgba(212,175,55,0.1);
  transition: all 0.3s ease;
}
.trust-badges span:hover {
  background: linear-gradient(135deg, #d4af37, #ffcc00);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

/* ========== INNER PAGES ========== */
.page-hero-sm {
  background: var(--gradient-dark);
  padding: 80px 20px 40px;
  text-align: center;
}

.page-hero-sm h1 {
  color: var(--primary);
  font-size: 32px;
  font-weight: 900;
}

.page-hero-sm p {
  color: #aaa;
  font-size: 15px;
}

.inner-page .content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.inner-page .content h2 {
  color: var(--bg-dark);
  font-size: 24px;
  font-weight: 800;
  margin: 30px 0 15px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.inner-page .content h3 {
  color: var(--bg-dark);
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 12px;
}

.inner-page .content p {
  color: #555;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 15px;
}

.inner-page .content ul, 
.inner-page .content ol {
  padding-left: 25px;
  margin: 15px 0;
}

.inner-page .content li {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ========== FIXED TOC (Table of Contents) ========== */
/* Dark theme for Fixed TOC plugin */
#ftwp-container.ftwp-wrap #ftwp-header {
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e) !important;
  color: #d4af37 !important;
  border-bottom: 1px solid rgba(212,175,55,0.2) !important;
}
#ftwp-container.ftwp-wrap #ftwp-header-title {
  color: #d4af37 !important;
  font-weight: 800 !important;
}
#ftwp-container.ftwp-wrap #ftwp-header-control .ftwp-icon {
  color: #d4af37 !important;
}
#ftwp-container.ftwp-wrap #ftwp-list {
  background: #111111 !important;
  color: #ccc !important;
}
#ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor {
  color: #ccc !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding: 8px 12px !important;
}
#ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor:hover {
  color: #d4af37 !important;
  background: rgba(212,175,55,0.1) !important;
  padding-left: 16px !important;
}
#ftwp-container.ftwp-wrap #ftwp-list .ftwp-active {
  color: #d4af37 !important;
  background: rgba(212,175,55,0.08) !important;
}
#ftwp-container.ftwp-wrap #ftwp-trigger {
  background: #0a0a0a !important;
  color: #d4af37 !important;
  border: 2px solid #d4af37 !important;
  box-shadow: 0 0 15px rgba(212,175,55,0.3) !important;
}
#ftwp-container.ftwp-wrap #ftwp-trigger:hover {
  background: #1a1a2e !important;
  box-shadow: 0 0 25px rgba(212,175,55,0.5) !important;
}
#ftwp-container.ftwp-wrap {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
#ftwp-container.ftwp-wrap #ftwp-contents {
  border-radius: 8px !important;
}
#ftwp-container.ftwp-wrap .ftwp-heading {
  color: #ccc !important;
}

/* Hide TOC on Homepage */
.home #ftwp-container-outer,
.home .toc-container { display: none !important; }

/* ========== FOOTER DESIGN ========== */
.footer-wrapper {
  margin-top: 50px;
}

.footer-1 {
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e) !important;
  border-top: 1px solid rgba(212,175,55,0.15) !important;
  padding: 50px 0 !important;
}

.footer-1 .widget {
  margin-bottom: 20px !important;
}

.footer-1 h2, .footer-1 h3, .footer-1 .widget-title {
  color: #d4af37 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 15px !important;
  letter-spacing: 0.5px;
}

.footer-1 ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-1 li {
  margin-bottom: 8px !important;
  padding: 0 !important;
}

.footer-1 a {
  color: #999 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.footer-1 a:hover {
  color: #d4af37 !important;
  padding-left: 4px !important;
}

.footer-1 p {
  color: #999 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.footer-1 .textwidget p {
  color: #999 !important;
}

/* Footer contact info */
.footer-contact p {
  color: #999 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 5px !important;
}

.footer-contact strong {
  color: #d4af37 !important;
}

/* Download buttons in footer */
.footer-download-buttons {
  margin-top: 20px;
}

.footer-download-buttons a {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #d4af37, #ffcc00, #d4af37);
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.footer-download-buttons a.outline {
  background: transparent !important;
  border: 2px solid #d4af37 !important;
  color: #d4af37 !important;
}

.footer-download-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* Absolute Footer (bottom bar) */
.absolute-footer {
  background: #000 !important;
  border-top: 1px solid rgba(212,175,55,0.1) !important;
  color: #666 !important;
  font-size: 13px !important;
  padding: 20px 0 !important;
}

.absolute-footer a {
  color: #999 !important;
}

.absolute-footer a:hover {
  color: #d4af37 !important;
}

.absolute-footer .footer-nav li a {
  color: #999 !important;
  font-size: 12px !important;
  text-transform: none !important;
}

.absolute-footer .footer-nav li a:hover {
  color: #d4af37 !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 50px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }
  .cta-section h2 { font-size: 26px; }
  .btn { padding: 14px 28px; font-size: 14px; }
  .btn-large { padding: 14px 30px; font-size: 16px; }
  .trust-badges { gap: 10px; }
  .trust-badges span { font-size: 12px; padding: 6px 14px; }
  .page-hero-sm h1 { font-size: 26px; }
}

@media (max-width: 549px) {
  .hero { padding: 60px 15px 40px; }
  .hero h1 { font-size: 22px; }
  .game-card { margin: 0 5px; }
}