@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Typography */
  --font-display: 'Helvetica Neue', Arial, 'Inter', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Premium Palette & Bento Gradients */
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --color-gold: #b38728;
  --color-gold-hover: #aa771c;
  --color-gold-glow: rgba(179, 135, 40, 0.25);
  --color-royal-blue: #003366;
  --color-dark-red: #8b0000;
  --color-dark-red-hover: #730000;
  --color-black: #0f172a;
  --color-white: #ffffff;

  /* Theme Defaults (Light Theme) */
  --bg-color: #ffffff;
  --section-bg: #f8f9fa;
  --card-bg: #ffffff;
  --text-color: #111111;
  --text-muted: #64748b;
  --navbar-bg: #ffffff;
  --navbar-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --btn-gradient: var(--gold-gradient);
  --btn-hover-gradient: linear-gradient(135deg, #aa771c 0%, #fcf6ba 50%, #bf953f 100%);
  --badge-bg: rgba(0, 51, 102, 0.08);
  --badge-text: #003366;
  --faq-border: rgba(0, 0, 0, 0.08);
  --input-bg: #f8f9fa;
  --input-border: rgba(0, 0, 0, 0.15);
}

body.dark-theme {
  /* Dark Theme Activations */
  --bg-color: #0f172a;
  --section-bg: #090d16;
  --card-bg: #1e293b;
  --text-color: #ffffff;
  --text-muted: #94a3b8;
  --navbar-bg: #111827;
  --navbar-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --btn-gradient: var(--gold-gradient);
  --btn-hover-gradient: linear-gradient(135deg, #aa771c 0%, #fcf6ba 50%, #bf953f 100%);
  --badge-bg: rgba(234, 179, 8, 0.1);
  --badge-text: #f59e0b;
  --faq-border: rgba(255, 255, 255, 0.08);
  --input-bg: #1e293b;
  --input-border: rgba(255, 255, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

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

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .game-img,
  .blog-img,
  .gallery-img-container,
  .recent-post-thumb,
  .lightbox-img {
    height: auto;
  }

  .game-img img,
  .blog-img img,
  .gallery-img-container img,
  .recent-post-thumb img,
  .lightbox-img {
    height: auto;
  }
}

/* Preloader Animation */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-cards {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 25px;
}

.preloader-card {
  width: 45px;
  height: 70px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border: 2px solid var(--color-gold);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-white);
  font-size: 1.2rem;
  transform-origin: bottom center;
  animation: cardFlip 1.8s infinite ease-in-out;
}

.preloader-card:nth-child(2) {
  background: linear-gradient(135deg, #111111 0%, #1e293b 100%);
  animation-delay: 0.3s;
}

.preloader-card:nth-child(3) {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  animation-delay: 0.6s;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.03em;
}

.preloader-logo span {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loading-bar {
  width: 150px;
  height: 4px;
  background: rgba(120, 120, 120, 0.2);
  margin: 15px auto 0;
  border-radius: 10px;
  overflow: hidden;
}

.loading-bar-fill {
  width: 30%;
  height: 100%;
  background: var(--btn-gradient);
  border-radius: 10px;
  animation: progressFill 1.8s infinite ease-in-out;
}

@keyframes cardFlip {

  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }

  50% {
    transform: translateY(-20px) rotateY(185deg);
  }
}

@keyframes progressFill {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Floating Poker Chips and Decorations */
.floating-chip {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  animation: floatChip 12s infinite ease-in-out;
  z-index: 0;
}

@keyframes floatChip {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  color: var(--color-gold);
  width: 28px;
  height: 28px;
  animation: spinSlow 15s linear infinite;
}

.logo img {
  display: block;
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0.85;
}

nav ul li a:hover,
nav ul li a.active {
  opacity: 1;
  color: var(--color-gold);
  background: rgba(234, 179, 8, 0.08);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-btn {
  background: transparent;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  transition: all 0.3s;
  border: 1px solid var(--navbar-border);
}

.theme-btn:hover {
  background: rgba(120, 120, 120, 0.15);
  transform: scale(1.05);
}

.theme-btn .sun-icon {
  display: none;
}

.theme-btn .moon-icon {
  display: block;
}

body.dark-theme .theme-btn .sun-icon {
  display: block;
}

body.dark-theme .theme-btn .moon-icon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: var(--btn-gradient);
  color: #111111;
  box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-primary:hover {
  background: var(--btn-hover-gradient);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-gold-glow);
}

.btn-secondary {
  background: rgba(120, 120, 120, 0.1);
  color: var(--text-color);
  border: 1px solid var(--navbar-border);
}

.btn-secondary:hover {
  background: rgba(120, 120, 120, 0.18);
  transform: translateY(-2px);
}

.btn-royal {
  background: linear-gradient(135deg, var(--color-royal-blue) 0%, #1e40af 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.2);
}

.btn-royal:hover {
  background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, var(--color-dark-red) 0%, #7f1d1d 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(153, 27, 27, 0.2);
}

.btn-red:hover {
  background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.mobile-nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Sticky Header Shrink */
@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--navbar-bg);
    border-bottom: 2px solid var(--color-gold);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 20px;
    z-index: 999;
  }

  nav.active {
    display: block;
    animation: slideDownMenu 0.3s ease forwards;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav ul li a {
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
  }
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Templates */
section {
  padding: 85px 20px;
  position: relative;
}

.section-light {
  background: var(--bg-color);
}

.section-muted {
  background: var(--section-bg);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  section {
    padding: 65px 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 55px 14px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 0.92rem;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 15px;
  font-family: var(--font-display);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Slider Styles */
.hero-slider-section {
  padding: 0;
  height: 580px;
  position: relative;
  overflow: hidden;
  background-color: #050505;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Zoom Animation on active slide */
.slide.active .slide-content-wrap {
  animation: bgZoom 10s infinite alternate ease-in-out;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

.slide-body {
  max-width: 650px;
  padding: 40px;
  z-index: 5;
  color: #ffffff;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

.slide.active .slide-body {
  transform: translateY(0);
  opacity: 1;
}

.slide-pretitle {
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.slide-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slide-desc {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

/* Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.slider-arrow:hover {
  background: var(--btn-gradient);
  color: #111111;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 30px;
}

.slider-arrow-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--color-gold);
  transform: scale(1.2);
  width: 30px;
  border-radius: 10px;
}

@keyframes bgZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 112%;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: 480px;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow-prev {
    left: 10px;
  }

  .slider-arrow-next {
    right: 10px;
  }
}

/* Bento Grid Gold Gradient Text Helper */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  display: inline-block;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stats-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--navbar-border);
  position: relative;
  overflow: hidden;
}

.stats-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

.stats-card:hover::after {
  opacity: 1;
}

.stats-icon {
  width: 55px;
  height: 55px;
  background: var(--badge-bg);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1);
  background: var(--gold-gradient);
  color: var(--color-black);
}

.stats-icon svg {
  width: 24px;
  height: 24px;
}

.stats-value {
  font-size: 2.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Cards & Grid Styling */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Premium Game Cards (Bento Tile Style) */
.game-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--navbar-border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.game-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover .game-img img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-dark-red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.game-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Feature Cards (Bento Tile Style) */
.feature-card {
  background: var(--card-bg);
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--navbar-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.feature-icon {
  width: 55px;
  height: 55px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gold-gradient);
  color: var(--color-black);
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Guide Cards (Bento Tile Style) */
.guide-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.guide-step {
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.8;
}

.guide-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.guide-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Blog Cards (Bento Tile Style) */
.blog-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--navbar-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.blog-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.featured-post-card {
  flex-direction: row;
  margin-bottom: 40px;
  height: auto;
}

.featured-post-img {
  flex: 1;
  height: 300px;
}

.blog-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

.blog-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.blog-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  color: var(--color-gold-hover);
}

/* App cards (Popular Apps - Bento Style) */
.app-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--color-white);
  border: 1px solid rgba(120, 120, 120, 0.15);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon svg {
  width: 34px;
  height: 34px;
  color: var(--color-gold);
}

.app-details {
  flex: 1;
}

.app-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.app-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* APK Section Layout */
.apk-download-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.apk-flex-left {
  flex: 1;
  min-width: 280px;
}

.apk-flex-right {
  width: 480px;
  max-width: 100%;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navbar-border);
}

.apk-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 35px;
}

.apk-spec-item {
  border-bottom: 1px solid var(--navbar-border);
  padding-bottom: 15px;
}

.apk-spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.apk-spec-val {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
}

@media (max-width: 991px) {
  .apk-download-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .apk-flex-right {
    width: 100%;
    padding: 36px;
  }

  .apk-specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .apk-download-layout {
    gap: 24px;
  }

  .apk-flex-right {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .apk-download-layout {
    gap: 20px;
  }

  .apk-flex-right {
    padding: 24px;
    border-radius: 16px;
  }
}

/* Testimonials Carousel */
.testimonials-section {
  overflow: hidden;
}

.testi-carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-slide {
  min-width: 100%;
  padding: 10px 40px;
}

.testi-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 45px;
  border: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testi-quote-icon {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -70px auto 30px;
  box-shadow: 0 4px 15px var(--color-gold-glow);
  color: #111;
}

.testi-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
}

.testi-user {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.testi-user-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

.testi-stars {
  color: var(--color-gold);
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 15px;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.testi-dot.active {
  background: var(--color-gold);
  transform: scale(1.1);
  width: 25px;
  border-radius: 5px;
}

/* FAQ Accordion Styles */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--faq-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  padding: 22px 25px;
  text-align: left;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  padding-right: 15px;
  font-family: var(--font-display);
}

.faq-icon-shape {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--text-color);
  transition: transform 0.3s, background 0.3s;
  flex-shrink: 0;
}

.faq-icon-shape svg {
  width: 14px;
  height: 14px;
}

.faq-item.active .faq-icon-shape {
  transform: rotate(180deg);
  background: var(--color-gold);
  color: #111;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 25px 25px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--faq-border);
}

/* Newsletter Section */
.newsletter-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  border: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 600px;
  margin: 30px auto 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 15px 20px;
  color: var(--text-color);
  font-size: 1rem;
}

.newsletter-form input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Luxury CTA Screen Banner */
.cta-banner-card {
  background: linear-gradient(135deg, #7f1d1d 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: var(--shadow-lg);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10l80 80M90 10L10 90' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 35px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Post/Blog Page Specifics */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.sidebar-widget {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--navbar-border);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.25rem;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.search-box-widget input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.search-box-widget input:focus {
  border-color: var(--color-gold);
}

.category-list,
.recent-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-list li a {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.category-list li a:hover {
  color: var(--color-gold);
}

.recent-post-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-details h4 {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.recent-post-details span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
  padding-top: 15px;
}

.pagination-item {
  min-width: 45px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--card-bg);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-item:hover:not(:disabled) {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination-item.active {
  background: var(--btn-gradient);
  color: #111111;
  border-color: transparent;
}

.pagination-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .featured-post-card {
    flex-direction: column;
  }

  .featured-post-img {
    height: 220px;
  }

  .featured-post-card .blog-info {
    padding: 18px;
  }
}

/* Brand Creatives filtering and Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  background: rgba(120, 120, 120, 0.1);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--btn-gradient);
  color: #111111;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-info {
  padding: 15px;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.gallery-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Lightbox overlay popup */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  border: 3px solid var(--color-gold);
}

.lightbox-caption {
  color: #fff;
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Contact form and details layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-card {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--navbar-border);
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

.contact-card-icon {
  width: 50px;
  height: 50px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-form-panel {
  background: var(--card-bg);
  border: 1px solid var(--navbar-border);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
}

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

/* Toast/Alert Dialogue popup design */
.alert-box {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--card-bg);
  border-left: 5px solid var(--color-gold);
  border-radius: 8px;
  padding: 18px 25px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(120px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}

.alert-box.active {
  transform: translateY(0);
}

.alert-icon {
  color: var(--color-gold);
  font-size: 1.5rem;
}

/* Back to Top floating button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Footer Section */
footer {
  background: #111827;
  color: #f3f4f6;
  padding: 80px 20px 30px;
  border-top: 3px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-widget h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
}

.footer-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-widget ul li a {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer-widget ul li a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-about p {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-top: 15px;
}

.footer-desc {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--btn-gradient);
  color: #111;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations Helper Classes */
[data-animate] {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.12, 0.4, 0.29, 1);
}

[data-animate="fade-in"].animated {
  opacity: 1;
}

[data-animate="slide-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"].animated {
  opacity: 1;
  transform: scale(1);
}

[data-animate="slide-up"] {
  transform: translateY(50px);
}

@media (max-width: 768px) {
  [data-animate],
  [data-animate].animated,
  [data-animate="slide-up"],
  [data-animate="slide-left"],
  [data-animate="slide-right"],
  [data-animate="zoom-in"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  [data-animate]::before,
  [data-animate]::after {
    animation: none !important;
  }
}

[data-animate="slide-left"] {
  transform: translateX(50px);
}

[data-animate="slide-right"] {
  transform: translateX(-50px);
}

[data-animate="zoom-in"] {
  transform: scale(0.8);
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Rich Guide detail layouts */
.guide-rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.rank-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--navbar-border);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rank-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px var(--color-gold-glow), var(--shadow-md);
  border-color: var(--color-gold);
}

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

/* Bento Theme Custom Components & Chips */
.chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px dashed var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  background: var(--color-dark-red);
  color: white;
  box-shadow: var(--shadow-sm);
}

.playing-card {
  width: 50px;
  height: 70px;
  background: white;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
  color: var(--color-dark-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
}

.rank-cards-visual {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 20px;
}

.mini-card {
  width: 40px;
  height: 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

.mini-card.red {
  color: #b91c1c;
}

.mini-card.black {
  color: #0f172a;
}

.mini-card-suit {
  align-self: flex-end;
  font-size: 0.9rem;
  line-height: 1;
}

/* Custom visual icons for static images */
.tp-custom-banner {
  background: radial-gradient(circle, #7f1d1d 0%, #111827 100%);
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.tp-banner-shape {
  border: 2px solid var(--color-gold);
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.2);
}




      .post-single-shell {
            display: grid;
            gap: 28px;
        }

        .post-hero-card {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 24px;
            align-items: stretch;
            background: var(--card-bg);
            border: 1px solid var(--navbar-border);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .post-hero-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .post-hero-copy {
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .post-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 12px;
        }

        .post-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(22, 163, 74, 0.08);
            color: #16a34a;
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .post-kicker {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .post-content-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 24px;
        }

        .article-card,
        .side-card {
            background: var(--card-bg);
            border: 1px solid var(--navbar-border);
            border-radius: 20px;
            box-shadow: var(--shadow-sm);
            padding: 24px;
        }

        .article-card h2,
        .side-card h3 {
            font-size: 1.1rem;
            margin-bottom: 12px;
        }

        .article-card p,
        .article-card li,
        .side-card p {
            color: var(--text-muted);
            line-height: 1.65;
            font-size: 0.98rem;
        }

        .article-card ul {
            margin-left: 18px;
            display: grid;
            gap: 10px;
        }

        .article-card strong {
            color: var(--text-color);
        }

        .quick-facts {
            display: grid;
            gap: 10px;
        }

        .fact-box {
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .fact-box span {
            display: block;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--color-gold);
            margin-bottom: 4px;
        }

        @media (max-width: 980px) {

            .post-hero-card,
            .post-content-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .post-hero-copy {
                padding: 18px;
            }

            .article-card,
            .side-card {
                padding: 18px;
            }

            .post-badge {
                font-size: 0.75rem;
            }
        }