/*
Theme Name: Winpalace88
Theme URI: https://bsftaro.org
Author: Winpalace88
Author URI: https://bsftaro.org
Description: Custom WordPress theme untuk WINPALACE88 Gaming Platform. Black & Gold premium dark theme. Mobile-first responsive.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: winpalace88
Tags: gaming, responsive, dark, gold, black, custom-logo
*/

/* ========================================
   CSS VARIABLES - BLACK GOLD THEME
======================================== */
:root {
  /* Primary Colors - Gold */
  --primary-color: #C9A227;
  --primary-dark: #A68520;
  --primary-light: #E0C050;
  --primary-gradient: linear-gradient(135deg, #A68520 0%, #C9A227 50%, #E0C050 100%);
  
  /* Accent Colors - Deep Gold */
  --accent-red: #8B6914;
  --accent-gold: #C9A227;
  --accent-orange: #B8952A;
  
  /* Neutral Colors - Pure Black Base */
  --dark-bg: #000000;
  --dark-secondary: #0D0D0D;
  --dark-tertiary: #141414;
  --white: #FFFFFF;
  --gray-light: #F0EBD8;
  --gray-medium: #A89870;
  --gray-dark: #6B6040;
  
  /* Shadows & Effects - Gold Glow */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3), 0 1px 6px rgba(201, 162, 39, 0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.4), 0 2px 12px rgba(201, 162, 39, 0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.5), 0 4px 24px rgba(201, 162, 39, 0.2);
  --shadow-glow: 0 0 20px rgba(201, 162, 39, 0.4), 0 4px 12px rgba(0,0,0,0.3);
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-primary);
  background: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

a:hover {
  color: var(--primary-light);
}

/* ========================================
   HEADER STYLES
======================================== */
.site-header {
  background: var(--dark-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Main */
.header-main {
  padding: 16px 0;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo img,
.custom-logo-link img,
.custom-logo,
.site-branding img {
  max-height: 40px !important;
  width: auto !important;
  max-width: 150px !important;
  height: auto !important;
  transition: var(--transition-fast);
  object-fit: contain;
}

.site-branding .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-branding .custom-logo-link img {
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  max-width: 150px !important;
}

.site-logo:hover img,
.custom-logo-link:hover img {
  transform: scale(1.05);
}

/* Navigation with Buttons */
.main-navigation {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-buttons-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.btn-nav {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn-nav.btn-primary {
  background: linear-gradient(180deg, #E0C050 0%, #C9A227 40%, #A68520 100%);
  border-color: #A68520;
  color: #0A0A12;
  box-shadow: 0 3px 0 #7A6118, 0 4px 10px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.btn-nav.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 #7A6118, 0 10px 20px rgba(0,0,0,0.5), 0 0 25px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7A6118, 0 2px 4px rgba(0,0,0,0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

.btn-nav.btn-secondary {
  background: var(--dark-bg);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-nav.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-nav.btn-gold {
  /* 3D Gold Button */
  background: linear-gradient(135deg, #A68520 0%, #C9A227 50%, #E0C050 100%);
  color: #0A0A12;
  border-color: #C9A227;
  animation: pulse-gold 2s infinite;
}

.btn-nav.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.6);
}

/* Mobile Menu Items (Hidden on Desktop) */
.mobile-menu-items {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* ========================================
   MENU BAR
======================================== */
.menu-bar {
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 0;
}

.primary-menu {
  width: 100%;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0;
}

.menu-list li {
  position: relative;
}

/* Fallback Menu Styling (matches menu-list) */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(201, 162, 39, 0.1);
}

.menu-list a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.menu-list a:hover,
.menu-list .current-menu-item a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(201, 162, 39, 0.1);
}

/* Submenu (dropdown) */
.menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-secondary);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.menu-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.menu-list .sub-menu a {
  padding: 10px 20px;
  border-bottom: none;
}

.menu-list .sub-menu a:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* General Button Styles */
.btn {
  /* 3D Effect */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 #7A6118, 0 10px 20px rgba(0,0,0,0.5), 0 0 25px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7A6118, 0 2px 4px rgba(0,0,0,0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 3px 0 #000, 0 4px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  text-shadow: 0 0 8px rgba(201,162,39,0.5);
}

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

.btn-gold {
  /* 3D Gold Button */
  background: linear-gradient(180deg, #E0C050 0%, #C9A227 35%, #A68520 100%);
  color: #0A0A12;
  box-shadow: 0 4px 0 #7A6118, 0 6px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
  text-shadow: 0 1px 1px rgba(255,255,255,0.25);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
  }
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ========================================
/* ========================================
   SERVICE IMAGE SECTION
======================================== */
.service-section {
  padding: 10px 0;
  background: var(--dark-bg);
}

.service-image-wrapper {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-gif {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .service-section {
    padding: 8px 0;
  }
}

/* ========================================
   MOBILE CTA BUTTONS (Hidden on Desktop)
======================================== */
.mobile-cta-buttons {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ========================================
   MOBILE INFO TABLE (Hidden on Desktop)
======================================== */
.mobile-info-table {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ========================================
   MOBILE ICON GRID (Hidden on Desktop)
======================================== */
.mobile-icon-grid {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ========================================
   CONTENT SECTION
======================================== */
.main-content {
  padding: var(--spacing-xl) 0;
}

.content-wrapper {
  background: var(--dark-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
  color: var(--primary-light);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.content-wrapper h1 {
  font-size: 32px;
}

.content-wrapper h2 {
  font-size: 26px;
}

.content-wrapper h3 {
  font-size: 22px;
}

.content-wrapper p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  color: var(--gray-light);
}

.content-wrapper ul,
.content-wrapper ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--gray-light);
}

.content-wrapper li {
  margin-bottom: 8px;
}

.content-wrapper a {
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.content-wrapper a:hover {
  border-bottom-color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Entry Header & Title */
.entry-header {
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.entry-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 16px;
  word-wrap: break-word;
}

/* Entry Meta */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 12px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.entry-meta svg {
  opacity: 0.7;
  flex-shrink: 0;
}

.entry-meta a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.entry-meta a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Post Thumbnail */
.post-thumbnail {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Entry Content Improvements */
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 28px;
  color: var(--primary-light);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}

.entry-content h3 {
  font-size: 24px;
}

.entry-content h4 {
  font-size: 20px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}

.entry-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--primary-color);
  background: rgba(201, 162, 39, 0.05);
  border-radius: var(--radius-sm);
  font-style: italic;
}

.entry-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: rgba(201, 162, 39, 0.08);
  border: 2px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  text-align: left;
}

.entry-content th {
  background: rgba(201, 162, 39, 0.2);
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.entry-content td:first-child {
  color: var(--primary-light);
  font-weight: 500;
}

@media (max-width: 480px) {
  .entry-content th,
  .entry-content td {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Entry Footer */
.entry-footer {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.tags-links a {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 4px 4px 0;
  background: rgba(201, 162, 39, 0.1);
  color: var(--primary-light);
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-fast);
}

.tags-links a:hover {
  background: rgba(201, 162, 39, 0.2);
  color: var(--primary-color);
}

/* Post Navigation */
.post-navigation {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 2px solid rgba(201, 162, 39, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.post-navigation a {
  flex: 1;
  min-width: 200px;
  padding: 16px;
  background: rgba(201, 162, 39, 0.05);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition-fast);
  display: block;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.post-navigation a:hover {
  background: rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.post-navigation .nav-previous {
  text-align: left;
}

.post-navigation .nav-next {
  text-align: right;
}

/* ========================================
   FOOTER SECTION
======================================== */
.site-footer {
  background: var(--dark-bg);
  border-top: 2px solid var(--primary-color);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
  color: var(--primary-light);
  font-size: 18px;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.footer-widget ul {
  list-style: none;
}

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

.footer-widget a {
  color: var(--gray-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-widget a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
}

.contact-item img {
  width: 32px;
  height: 32px;
}

.payment-section {
  margin-bottom: var(--spacing-sm);
}

.payment-section:last-child {
  margin-bottom: 0;
}

.payment-label {
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--spacing-xs);
}

.payment-methods img {
  width: 78px;
  height: 28px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 4px;
  transition: var(--transition-fast);
}

.payment-methods img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  color: var(--gray-medium);
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* ========================================
   FLOATING ELEMENTS
======================================== */
.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.floating-chat a {
  display: block !important;
  background: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  box-shadow: none !important;
  animation: bounce 2s infinite;
}

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

.floating-chat img {
  width: 75px !important;
  height: auto !important;
  border-radius: 10px !important;
  object-fit: contain !important;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3) !important;
  filter: none !important;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.my-1 { margin-top: var(--spacing-xs); margin-bottom: var(--spacing-xs); }
.my-2 { margin-top: var(--spacing-sm); margin-bottom: var(--spacing-sm); }
.my-3 { margin-top: var(--spacing-md); margin-bottom: var(--spacing-md); }

/* ========================================
   RESPONSIVE DESIGN - LARGE TABLET
======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  
  .header-main {
    padding: 14px 0;
  }
  
  .btn-nav {
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
======================================== */
@media (max-width: 992px) {
  .header-main .container {
    flex-wrap: wrap;
  }
  
  .nav-buttons-wrapper {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .btn-nav {
    font-size: 12px;
    padding: 10px 16px;
  }
  
  .menu-list {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .menu-list a {
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .nav-buttons-wrapper {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 860px) {
  .nav-buttons-wrapper {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  
  .menu-bar {
    padding: 8px 0;
  }
  
  .menu-list {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .menu-list::-webkit-scrollbar {
    height: 4px;
  }
  
  .menu-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL TABLET / LARGE MOBILE
======================================== */
@media (max-width: 820px) {
  html {
    font-size: 15px;
  }
  
  .site-logo img,
  .custom-logo-link img,
  .custom-logo,
  .site-branding img {
    max-height: 45px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
======================================== */
@media (max-width: 768px) {
  /* Main content - reduce top gap on mobile */
  .main-content {
    padding: 8px 0 16px 0;
  }
  
  /* Header Mobile - Logo centered, hamburger right */
  .header-main .container {
    justify-content: center;
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .site-branding {
    text-align: center;
  }
  
  .site-logo img,
  .custom-logo-link img,
  .custom-logo,
  .site-branding img {
    max-height: 36px;
  }
  
  .main-navigation {
    display: none;
    width: 100%;
    margin-top: 16px;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .nav-buttons-wrapper {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }
  
  .btn-nav {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
  
  /* Mobile Menu Items (show in hamburger) */
  .mobile-menu-items {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    width: 100%;
  }
  
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-menu-list li {
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  }
  
  .mobile-menu-list a {
    display: block;
    padding: 14px 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-fast);
  }
  
  .mobile-menu-list a:hover,
  .mobile-menu-list .current-menu-item a {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary-color);
  }
  
  /* Menu Bar Hidden on Mobile */
  .menu-bar {
    display: none;
  }
  
  .menu-bar.active {
    display: none; /* Always hidden on mobile, menu items in hamburger instead */
  }
  
  /* Content Mobile */
  .content-wrapper {
    padding: var(--spacing-md);
  }
  
  .content-wrapper h1 {
    font-size: 24px;
  }
  
  .content-wrapper h2 {
    font-size: 20px;
  }
  
  /* Breadcrumbs Mobile */
  .breadcrumbs {
    font-size: 12px;
    padding: 8px 0;
    margin-bottom: 16px;
  }
  
  /* Entry Title Mobile */
  .entry-title {
    font-size: 24px;
  }
  
  /* Entry Meta Mobile */
  .entry-meta {
    gap: 12px;
    font-size: 13px;
  }
  
  /* Post Navigation Mobile */
  .post-navigation {
    flex-direction: column;
    gap: 12px;
  }
  
  .post-navigation a {
    min-width: auto;
  }
  
  /* Mobile CTA Buttons - Show & Style on Mobile */
  .mobile-cta-buttons {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    padding: 8px 0;
    background: var(--dark-bg);
  }
  
  .cta-buttons-wrapper {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
  }
  
  .btn-cta {
    background: linear-gradient(to right, #A68520, #C9A227);
    color: #0A0A12;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    display: block;
    flex: 1;
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .btn-cta:hover {
    background: linear-gradient(to right, #C9A227, #E0C050);
    box-shadow: 0 0 22px rgba(201, 162, 39, 0.6);
    transform: translateY(-2px);
  }
  
  .btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
  }
  
  /* Mobile Info Table - Show & Style on Mobile */
  .mobile-info-table {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    padding: 8px 0;
    background: var(--dark-bg);
  }
  
  .info-table-mobile {
    max-width: 90%;
    margin: 0 auto;
    background: #0A0A0F;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.15);
  }
  
  .info-table-mobile table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .info-table-mobile td {
    padding: 10px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    color: #FFF8E1;
    font-size: 14px;
  }
  
  .info-table-mobile td:first-child {
    width: 45%;
    font-weight: bold;
    color: #C9A227;
    text-shadow: 0 0 6px rgba(201, 162, 39, 0.5);
  }
  
  /* Mobile Icon Grid - Show & Style on Mobile */
  .mobile-icon-grid {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    padding: 8px 0;
    background: var(--dark-bg);
  }
  
  .icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .icon-item {
    background: #0A0A0F;
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 8px;
    width: 30%;
    padding: 15px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.15);
  }
  
  .icon-item:hover {
    background: #141420;
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.4);
  }
  
  .icon-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.4));
  }
  
  .icon-item span {
    font-size: 14px;
    color: #FFF8E1;
    font-weight: 500;
  }
}

@media (max-width: 600px) {
  .icon-item {
    width: 45%;
  }
  
  /* Footer Mobile */
  .footer-widgets {
    grid-template-columns: 1fr;
  }
  
  .payment-methods {
    justify-content: flex-start;
  }
  
  /* Floating Chat Mobile */
  .floating-chat {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-chat a {
    width: auto;
    height: auto;
  }
  
  .floating-chat img {
    width: 55px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .btn-nav {
    font-size: 13px;
  }
  
  .menu-list a {
    font-size: 13px;
  }
}

/* ========================================
   ANIMATIONS & EFFECTS
======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-up {
  animation: slideUp 0.8s ease;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A68520;
}

/* Custom Logo Size Control - 750x204 ratio */
.custom-logo-link img,
.site-branding img,
.site-logo img {
  max-height: 40px !important;
  max-width: 150px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .custom-logo-link img,
  .site-branding img,
  .site-logo img {
    max-height: 32px !important;
    max-width: 120px !important;
  }
}

/* ========================================
   PAGE BANNER (Subpages Featured Image)
======================================== */
.page-banner {
  padding: 0;
  margin: 0;
  background: var(--dark-bg);
  overflow: hidden;
}

.page-banner-wrapper {
  position: relative;
  max-width: 1344px;
  margin: 0 auto;
  overflow: hidden;
}

.page-banner-image {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* Subpage content - less top padding (flush after banner) */
.page-content-flush {
  padding-top: 10px !important;
}

@media (max-width: 768px) {
  .page-content-flush {
    padding-top: 8px !important;
  }
}

/* Subpage H1 centering */
.page-content-flush .entry-title {
  text-align: center;
}

/* ========================================
   3D EFFECTS - GLOBAL
   ======================================== */

/* 3D Text for headings inside content */
.entry-content h1,
.entry-content h2 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 1px 0 rgba(201,162,39,0.1);
}

/* 3D Gold separator lines */
.entry-content hr,
.wp-block-separator {
  border: none;
  height: 3px;
  background: linear-gradient(180deg, #E0C050, #A68520);
  box-shadow: 0 2px 0 #7A6118, 0 3px 6px rgba(0,0,0,0.3);
  border-radius: 2px;
}

/* 3D effect on mobile info table */
@media (max-width: 768px) {
  .info-table-mobile table {
    box-shadow: 0 4px 0 #7A6118, 0 6px 16px rgba(0,0,0,0.4);
    border: 1px solid #A68520;
  }
  
  .info-table-mobile td:first-child {
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
  
  .btn-cta:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #7A6118, 0 2px 4px rgba(0,0,0,0.3), inset 0 2px 3px rgba(0,0,0,0.2);
  }
}

/* 3D Header bar */
.main-header {
  box-shadow: 0 3px 0 #7A6118, 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* 3D Nav gold button hover: pressed */
.btn-nav.btn-gold:active,
.btn-nav.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7A6118, 0 2px 4px rgba(0,0,0,0.3), inset 0 2px 3px rgba(0,0,0,0.15);
}
