/* ==========================================================================
   YaarWin Game Official Landing Page & Subpages - Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #00d084;
  --primary-hover: #00b371;
  --primary-glow: rgba(0, 208, 132, 0.5);
  --dark-bg: #070c08;
  --dark-card: #0c1410;
  --dark-faq: #090e14;
  --dark-faq-body: #0e1620;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --link-color: #0284c7;
  --link-hover: #0369a1;
  --border-light: #e2e8f0;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max-width: 1040px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #f8fafc;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.inside-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 208, 132, 0.4));
  transition: transform 0.2s ease;
}

.site-logo img:hover {
  transform: scale(1.02);
}

.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
  flex-shrink: 0;
}

.main-navigation a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.06);
}

.main-navigation .current-menu-item > a {
  border-bottom: 2px solid var(--primary);
  border-radius: 6px 6px 0 0;
}

/* Dropdown Menu */
.menu-item-has-children > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.2s;
}

.sub-menu {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: rgba(12, 18, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 12px 0;
  z-index: 1000;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.sub-menu li {
  width: 100%;
}

.sub-menu a {
  display: block;
  padding: 10px 20px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
}

.sub-menu a:hover {
  background-color: rgba(0, 208, 132, 0.15);
  color: var(--primary);
  padding-left: 24px;
  text-decoration: none;
}

.menu-item-has-children.is-open > .sub-menu {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.menu-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.site-content {
  max-width: var(--container-max-width);
  margin: 30px auto;
  padding: 0 20px;
}

.inside-article {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  padding: 40px 48px;
}

@media (max-width: 768px) {
  .inside-article {
    padding: 24px 20px;
    border-radius: 12px;
  }
}

/* Typography */
h1.entry-title,
.entry-title h1,
h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
  line-height: 1.25;
}

p {
  margin-bottom: 18px;
  color: #374151;
}

strong {
  color: #111827;
  font-weight: 700;
}

/* ==========================================================================
   Banners & Buttons
   ========================================================================== */
.green-banner,
.has-light-green-cyan-to-vivid-green-cyan-gradient-background,
.wp-block-heading.has-light-green-cyan-to-vivid-green-cyan-gradient-background {
  background: linear-gradient(135deg, #00d084 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  padding: 16px 24px;
  border-radius: 14px;
  margin: 32px 0 22px 0;
  box-shadow: 0 6px 20px rgba(0, 208, 132, 0.35);
  letter-spacing: 0.3px;
}

.dark-banner,
.has-very-dark-gray-background-color,
.wp-block-heading.has-very-dark-gray-background-color {
  background-color: #0b1219 !important;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 10px;
  margin: 32px 0 22px 0;
  border-left: 6px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
}

/* CTA Buttons */
.wp-block-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

.wp-block-button__link,
.btn-cta {
  background: linear-gradient(135deg, #00d084 0%, #00b371 100%);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 44px;
  border-radius: 9999px;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 6px 22px rgba(0, 208, 132, 0.45);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.wp-block-button__link:hover,
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 208, 132, 0.6);
  filter: brightness(1.05);
}

.wp-block-button__link:active,
.btn-cta:active {
  transform: translateY(1px);
}

/* Center App Icon Card */
.app-icon-center {
  display: flex;
  justify-content: center;
  margin: 24px auto;
}

.app-icon-box {
  background: #000000;
  border: 3px solid var(--primary);
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 10px 32px rgba(0, 208, 132, 0.35);
  display: inline-block;
  transition: transform 0.3s ease;
}

.app-icon-box:hover {
  transform: scale(1.04);
}

.app-icon-box img {
  border-radius: 18px;
  width: 140px;
  height: 140px;
  object-fit: cover;
}

/* Content Showcase Images */
.wp-block-image {
  margin: 28px auto;
  text-align: center;
}

.wp-block-image img,
.showcase-image {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
}

.wp-block-image img:hover,
.showcase-image:hover {
  transform: scale(1.015);
}

/* ==========================================================================
   Tables
   ========================================================================== */
.wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.wp-block-table th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  font-size: 15px;
}

.wp-block-table td {
  padding: 13px 18px;
  border: 1px solid var(--border-light);
  color: #334155;
  font-size: 15px;
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.wp-block-table tbody tr:hover {
  background-color: #f0fdf4;
}

/* Lists */
ol, ul {
  padding-left: 28px;
  margin-bottom: 22px;
}

li {
  margin-bottom: 8px;
  color: #374151;
}

/* Separator */
.wp-block-separator {
  border: none;
  height: 1px;
  background-color: var(--border-light);
  margin: 32px 0;
}

/* ==========================================================================
   Accordion FAQ Section
   ========================================================================== */
.rank-math-faq-block,
.faq-container {
  margin: 32px 0;
}

.rank-math-list-item,
.faq-item {
  background-color: var(--dark-faq);
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rank-math-list-item:hover,
.faq-item:hover {
  box-shadow: 0 6px 18px rgba(0, 208, 132, 0.25);
}

.rank-math-question,
.faq-question {
  color: #ffffff;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: var(--dark-faq);
  transition: background-color 0.2s ease;
}

.rank-math-question:hover,
.faq-question:hover {
  background-color: #121c27;
}

.faq-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  line-height: 1;
}

.rank-math-answer,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.7;
  background-color: var(--dark-faq-body);
}

.faq-item.active .faq-answer,
.rank-math-list-item.active .rank-math-answer {
  max-height: 500px;
  padding: 18px 22px;
  border-top: 1px solid rgba(0, 208, 132, 0.25);
}

.faq-item.active .faq-icon,
.rank-math-list-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Star Rating Box
   ========================================================================== */
.rate-post-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  margin: 36px auto 20px auto;
  max-width: 480px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.rate-post-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.rate-post-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stars-container {
  display: inline-flex;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 12px;
}

.star-icon {
  font-size: 32px;
  color: #fbbf24;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-icon:hover {
  transform: scale(1.2);
}

.rate-stats {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #f3f4f6;
  border-top: 1px solid var(--border-light);
  margin-top: 40px;
}

.footer-widgets {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }
}

.support-badge {
  background: #fef08a;
  color: #854d0e;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.support-list {
  list-style: decimal;
  padding-left: 20px;
}

.support-list li {
  margin-bottom: 6px;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-info {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Responsive Navigation
   ========================================================================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000000;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 2px solid var(--primary);
    display: none;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
  }

  .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #080d12;
    padding-left: 16px;
    border: none;
    border-left: 2px solid var(--primary);
    margin: 6px 0 10px 14px;
  }

  .menu-item-has-children.is-expanded .sub-menu {
    display: block;
  }
}

/* ==========================================================================
   WordPress Block Content Styling
   ========================================================================== */

/* Paragraphs */
.wp-block-paragraph {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* Heading Banners - Green Gradient (matching original) */
h2.wp-block-heading.has-text-align-center,
h2.wp-block-heading:not(.rank-math-question) {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 18px 0;
  line-height: 1.3;
}

/* The original site uses inline styles for green gradient banners.
   Target specific heading structures */
h2.wp-block-heading.has-text-align-center {
  background: linear-gradient(135deg, #00d084 0%, #22c55e 50%, #a3e635 100%);
  color: #ffffff !important;
  padding: 16px 28px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 208, 132, 0.35);
  letter-spacing: 0.3px;
}

h2.wp-block-heading.has-text-align-center a {
  color: #ffffff !important;
  text-decoration: none;
}

/* Dark banner headings (h3 with dark bg) */
h3.wp-block-heading {
  background-color: #0b1219;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 10px;
  margin: 28px 0 18px 0;
  border-left: 6px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

h3.wp-block-heading a {
  color: var(--primary) !important;
  text-decoration: none;
}

/* Sub-sub headings */
h4.wp-block-heading {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 22px 0 12px 0;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

h5.wp-block-heading {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin: 18px 0 10px 0;
}

/* ==========================================================================
   Table of Contents (Easy TOC Plugin)
   ========================================================================== */
#ez-toc-container {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ez-toc-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.ez-toc-title-toggle {
  float: right;
}

.ez-toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.ez-toc-list li {
  margin-bottom: 6px;
}

.ez-toc-list a {
  color: var(--link-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.ez-toc-list a:hover {
  color: var(--primary);
  padding-left: 4px;
  text-decoration: none;
}

.ez-toc-list ul {
  list-style: none;
  padding-left: 18px;
  margin-bottom: 4px;
}

.ez-toc-toggle {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  text-decoration: none !important;
}

.ez-toc-toggle svg {
  vertical-align: middle;
}

/* ==========================================================================
   WordPress Image Blocks - Enhanced
   ========================================================================== */
.wp-block-image {
  margin: 28px auto;
  text-align: center;
}

.wp-block-image figure {
  margin: 0 auto;
}

.wp-block-image.is-style-rounded img {
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: 4px solid #000000;
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, outline-color 0.4s ease;
}

.wp-block-image.is-style-rounded img:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 208, 132, 0.25);
  outline-color: var(--primary-hover);
}

.wp-block-image.aligncenter {
  display: block;
  text-align: center;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
  transition: transform 0.25s ease;
}

.wp-block-image img:hover {
  transform: scale(1.01);
}

/* ==========================================================================
   WordPress Button Blocks
   ========================================================================== */
.wp-block-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.wp-block-button {
  display: inline-block;
}

.wp-block-button__link,
.wp-element-button {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 44px;
  border-radius: 9999px;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 25px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.wp-block-button__link::after,
.wp-element-button::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wp-block-button__link:hover::after,
.wp-element-button:hover::after {
  opacity: 1;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 208, 132, 0.6);
  text-decoration: none !important;
}

/* ==========================================================================
   WordPress Table Blocks
   ========================================================================== */
figure.wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

figure.wp-block-table th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  font-size: 15px;
}

figure.wp-block-table td {
  padding: 13px 18px;
  border: 1px solid var(--border-light);
  color: #334155;
  font-size: 15px;
}

figure.wp-block-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

figure.wp-block-table tbody tr:hover {
  background-color: #f0fdf4;
}

/* ==========================================================================
   WordPress List Blocks
   ========================================================================== */
.wp-block-list {
  padding-left: 28px;
  margin-bottom: 22px;
}

.wp-block-list li {
  margin-bottom: 8px;
  color: #374151;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ Accordion - Rank Math FAQ Blocks
   ========================================================================== */
.rank-math-faq-block {
  margin: 32px 0;
}

.rank-math-list-item {
  background-color: rgba(9, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.rank-math-list-item:hover {
  box-shadow: 0 12px 30px rgba(0, 208, 132, 0.2);
  transform: translateY(-2px);
}

.rank-math-question {
  color: #ffffff;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.rank-math-question:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}

.rank-math-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.7;
  background-color: #0e1620;
}

.rank-math-list-item.active .rank-math-answer {
  max-height: 500px;
  padding: 18px 22px;
  border-top: 1px solid rgba(0, 208, 132, 0.25);
}

.rank-math-list-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Separator & Misc
   ========================================================================== */
hr.wp-block-separator {
  border: none;
  height: 1px;
  background-color: var(--border-light);
  margin: 32px 0;
}

/* Block quote styling */
blockquote {
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  margin: 20px 0;
  background-color: #f0fdf4;
  border-radius: 0 8px 8px 0;
  color: #1e293b;
  font-style: italic;
}

/* Emoji warning/tip callouts */
p:has(> strong:first-child) {
  line-height: 1.8;
}

/* ==========================================================================
   Floating Telegram Button
   ========================================================================== */
.floating-telegram {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: telegram-glow 2s infinite;
}

@keyframes telegram-glow {
  0% {
    box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4), 0 0 0 0 rgba(42, 171, 238, 0.7);
  }
  70% {
    box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4), 0 0 0 20px rgba(42, 171, 238, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4), 0 0 0 0 rgba(42, 171, 238, 0);
  }
}

.floating-telegram:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(42, 171, 238, 0.6);
  animation: none;
}

.floating-telegram svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  margin-right: 2px;
}

@media (max-width: 768px) {
  .floating-telegram {
    bottom: 70px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
  .floating-telegram svg {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .rate-post-wrapper {
    display: none;
  }
  .inside-article {
    box-shadow: none;
    border: none;
    padding: 10px;
  }
}
