/* ======================================================
   إيجاز | نظام التصميم الموحّد
   Eyjaz Blog — Design System
   ====================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  /* Colors — Dark Theme (Default) */
  --bg-primary: #000000;
  --bg-secondary: #0E0E0E;
  --bg-card: #141414;
  --bg-card-hover: #1E1E1E;
  --bg-nav: rgba(0, 0, 0, 0.90);
  --bg-code: #141414;
  --bg-code-header: #1A1A1A;
  --bg-input: #141414;
  --bg-hero-overlay: radial-gradient(ellipse at 50% 20%, rgba(51, 177, 201, 0.08) 0%, transparent 60%);

  --text-primary: #FFFEFA;
  --text-secondary: #A6A6A6;
  --text-muted: #808080;
  --text-inverse: #000000;

  --accent: #33B1C9;
  --accent-hover: #5DE0E6;
  --accent-dark: #268FA3;
  --accent-glow: rgba(51, 177, 201, 0.15);
  --accent-glow-strong: rgba(93, 224, 230, 0.28);
  --accent-border: rgba(51, 177, 201, 0.35);

  --dark-gray: #1A1A1A;
  --border-color: rgba(128, 128, 128, 0.18);
  --border-hover: rgba(51, 177, 201, 0.45);
  --divider: rgba(128, 128, 128, 0.12);

  /* Typography */
  --font-logo: 'Mango Font', 'Mango Arabic', 'Tajawal', sans-serif;
  --font-heading: 'Noto Kufi Arabic', 'Tajawal', 'Almarai', sans-serif;
  --font-body: 'Noto Kufi Arabic', 'Tajawal', 'Almarai', sans-serif;
  --font-code: 'JetBrains Mono', 'Consolas', monospace;

  /* Sizing */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 780px;
  --nav-height: 68px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.70);
  --shadow-glow: 0 0 30px rgba(51, 177, 201, 0.20);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Reading Progress Bar (Top) */
.reading-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform-origin: right;
  transform: scaleX(0);
  z-index: 1100;
  box-shadow: 0 0 10px var(--accent-glow-strong);
  transition: transform 0.08s linear;
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #FAF9F8;
  --bg-secondary: #FFFEFA;
  --bg-card: #FFFEFA;
  --bg-card-hover: #F2F0ED;
  --bg-nav: rgba(250, 249, 248, 0.92);
  --bg-code: #F2F0ED;
  --bg-code-header: #E8E5E0;
  --bg-input: #FFFEFA;
  --bg-hero-overlay: radial-gradient(ellipse at 50% 20%, rgba(51, 177, 201, 0.08) 0%, transparent 60%);

  --text-primary: #000000;
  --text-secondary: #4A4A4A;
  --text-muted: #808080;
  --text-inverse: #FFFEFA;

  --accent: #33B1C9;
  --accent-hover: #268FA3;
  --accent-dark: #1B6A7A;
  --accent-glow: rgba(51, 177, 201, 0.10);
  --accent-glow-strong: rgba(51, 177, 201, 0.20);
  --accent-border: rgba(51, 177, 201, 0.30);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(51, 177, 201, 0.40);
  --divider: rgba(0, 0, 0, 0.06);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 0 30px rgba(51, 177, 201, 0.12);
  --shadow-card: 0 1px 8px rgba(0, 0, 0, 0.05);
}

/* Logo Theme Switching */
.logo-for-light { display: none; }
.logo-for-dark  { display: inline-block; }

[data-theme="light"] .logo-for-light { display: inline-block; }
[data-theme="light"] .logo-for-dark  { display: none; }

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

a:hover {
  color: var(--accent-hover);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--text-inverse);
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ===========================
   Navbar
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  transition: transform var(--transition-base);
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 15px);
}

.navbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 0.82vw, 0.86rem);
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.navbar-links .nav-icon {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-hamza-icon {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.navbar-links .nav-arrow {
  display: none;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  border-color: var(--accent-border);
  background: var(--accent-glow);
  transform: rotate(20deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-hero-overlay);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-logo {
  margin-bottom: var(--space-xl);
  animation: heroLogoIn 0.8s var(--ease-out) both;
}

.hero-logo-img {
  width: 200px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(51, 177, 201, 0.20));
  transition: filter var(--transition-slow);
}

[data-theme="light"] .hero-logo-img {
  filter: drop-shadow(0 0 30px rgba(51, 177, 201, 0.12));
}

.hero-logo-img:hover {
  filter: drop-shadow(0 0 50px rgba(93, 224, 230, 0.35));
}

.hero-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
  animation: heroFadeUp 0.8s var(--ease-out) 0.05s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  animation: heroFadeUp 0.8s var(--ease-out) 0.15s both;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  display: inline-block;
  direction: ltr !important;
  unicode-bidi: isolate;
}

.hero-tagline .tagline-main {
  color: #000000;
  transition: color var(--transition-base);
}

.hero-tagline .tagline-accent {
  color: var(--accent);
}

/* In dark mode, ensure "Less is" adapts to stay clearly legible on dark background */
:root:not([data-theme="light"]) .hero-tagline .tagline-main,
[data-theme="dark"] .hero-tagline .tagline-main {
  color: var(--text-primary);
}

[data-theme="light"] .hero-tagline .tagline-main {
  color: #000000;
}

.accent-text {
  color: var(--accent);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
  animation: heroFadeUp 0.8s var(--ease-out) 0.3s both;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition-base);
  animation: heroFadeUp 0.8s var(--ease-out) 0.45s both;
}

.btn-primary {
  background: var(--accent);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(51, 177, 201, 0.30);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(93, 224, 230, 0.40);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid var(--accent-border);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

/* ===========================
   Articles Section
   =========================== */
.articles-section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* Search & Filter Toolbar */
.articles-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  align-items: center;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.search-box input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  direction: rtl;
  transition: all var(--transition-base);
}

.search-box input:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.filter-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tag {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 100px;
  transition: all var(--transition-base);
  cursor: pointer;
}

.filter-tag:hover {
  border-color: var(--accent-border);
  color: var(--text-primary);
  background: var(--accent-glow);
}

.filter-tag.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

/* ===========================
   Visual Posts Grid (Pure Image Cards)
   =========================== */
.visual-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: 0 auto;
}

.visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.visual-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.visual-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  background: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Skeleton Loading Shimmer */
.visual-card-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(51, 177, 201, 0.15) 50%,
    rgba(26, 26, 26, 0.5) 100%
  );
  background-size: 200% 100%;
  animation: eyjazSkeleton 1.6s infinite ease-in-out;
  z-index: 1;
}

@keyframes eyjazSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.visual-card-image-wrap.img-loaded::before {
  display: none;
}

.visual-card-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform var(--transition-base);
  z-index: 2;
}

.visual-card-image-wrap.img-loaded img {
  opacity: 1;
}

/* Fail-safe fallback: ensures images never remain stuck at opacity 0 */
.visual-card-image-wrap img:not([src=""]):not([src^="data:image/svg"]) {
  animation: eyjazImageFadeInFallback 0.4s ease 1s forwards;
}

@keyframes eyjazImageFadeInFallback {
  to {
    opacity: 1;
  }
}

.visual-card:hover .visual-card-image-wrap img {
  transform: scale(1.02);
}

.visual-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.visual-card-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary, #FFFEFA);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}

[data-theme="light"] .visual-card-date-badge {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.visual-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 70%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--space-lg);
  transition: opacity var(--transition-base);
  z-index: 4;
}

.visual-card:hover .visual-card-overlay {
  opacity: 1;
}

.visual-card-info {
  color: #FFFEFA;
}

.visual-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 2px;
  color: #FFFEFA;
}

.visual-card-meta {
  font-size: var(--text-xs);
  color: var(--accent);
}

.visual-card-actions {
  display: flex;
  gap: var(--space-xs);
}

.visual-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.visual-action-btn:hover {
  background: var(--accent);
  color: #000000;
  transform: scale(1.1);
}

/* ===========================
   Lightbox Modal (Full-Screen Visual Post)
   =========================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-md);
  user-select: none;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Lightbox Controls Bar */
.lightbox-top-actions {
  position: absolute;
  top: 20px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 2010;
}

.lightbox-tool-btn,
.lightbox-download-btn {
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lightbox-tool-btn:hover,
.lightbox-download-btn:hover {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 0 15px rgba(51, 177, 201, 0.4);
}

.lightbox-tool-btn.active {
  background: var(--accent);
  color: #000000;
}

.lightbox-image-wrap {
  position: relative;
  max-height: 82vh;
  max-width: 86vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(51, 177, 201, 0.25);
  border: 1px solid rgba(51, 177, 201, 0.3);
  touch-action: none;
}

.lightbox-image {
  max-height: 82vh;
  max-width: 86vw;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.lightbox-image.is-zoomed {
  cursor: grab;
}

.lightbox-image.is-zoomed.is-dragging {
  cursor: grabbing;
  transition: none !important;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: var(--space-md);
  color: #FFFEFA;
  font-family: var(--font-heading);
  gap: var(--space-md);
}

.lightbox-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}

.lightbox-hint {
  font-size: var(--text-xs);
  color: rgba(255, 254, 250, 0.55);
  font-weight: 500;
}

.lightbox-counter {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent-border);
  color: #FFFEFA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2010;
}

.lightbox-btn:hover {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(51, 177, 201, 0.5);
}

.lightbox-prev {
  right: 20px;
}

.lightbox-next {
  left: 20px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  left: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFEFA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2010;
}

.lightbox-close:hover {
  background: #EF4444;
  border-color: #EF4444;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .lightbox-top-actions {
    top: 14px;
    right: 14px;
    gap: 6px;
  }
  .lightbox-tool-btn,
  .lightbox-download-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  .lightbox-close {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-prev {
    right: 8px;
  }
  .lightbox-next {
    left: 8px;
  }
  .lightbox-hint {
    display: none;
  }
}

/* ===========================
   Article Cards Grid
   =========================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.article-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.article-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

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

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.card-thumbnail {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: relative;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.article-card:hover .card-thumbnail img {
  transform: scale(1.04);
}

.card-emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.card-category {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  border: 1px solid var(--accent-border);
  letter-spacing: 0.02em;
}

/* Category Badges for Eyjaz Pillars */
.badge-tech {
  color: #33B1C9 !important;
  background: rgba(51, 177, 201, 0.12) !important;
  border-color: rgba(51, 177, 201, 0.35) !important;
}

.badge-security {
  color: #A855F7 !important;
  background: rgba(168, 85, 247, 0.12) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
}

.badge-common {
  color: #FFFEFA !important;
  background: rgba(255, 254, 250, 0.10) !important;
  border-color: rgba(255, 254, 250, 0.25) !important;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.article-card:hover .card-title {
  color: var(--accent);
}

.card-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Eyjaz Verified Source Box */
.eyjaz-source-box {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px var(--space-md);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: var(--space-sm) 0;
  direction: rtl;
  line-height: 1.5;
}

.eyjaz-source-box svg {
  flex-shrink: 0;
}

.eyjaz-source-box strong {
  color: var(--text-primary);
  margin-left: 2px;
}

.eyjaz-source-box .source-domain {
  direction: ltr;
  display: inline-block;
  font-family: var(--font-code);
  color: var(--accent);
  font-weight: 600;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
}

.card-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.card-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.article-card:hover .card-link {
  gap: var(--space-sm);
}

/* Empty state */
.no-results {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--text-muted);
  font-size: var(--text-lg);
  grid-column: 1 / -1;
}

.no-results-emoji {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin: 0 auto;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* ===========================
   Unified Social Media Bar (Eyjaz Specification)
   100% Adaptive Transparency, 36-40px circles, 22px SVG, RTL
   Order: YouTube | Instagram | X | TikTok | Snapchat | WhatsApp | Telegram
   =========================== */
.eyjaz-social-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.social-icons-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  direction: rtl;
  flex-wrap: nowrap;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent !important;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}

.social-circle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform var(--transition-fast), stroke var(--transition-fast), fill var(--transition-fast);
}

.social-circle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--accent-glow-strong);
}

.social-circle:hover svg {
  transform: scale(1.1);
}

.social-handle {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  direction: ltr;
  transition: color var(--transition-fast);
}

.social-handle:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
  padding: var(--space-md) var(--space-lg);
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-border);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ===========================
   Scroll To Top
   =========================== */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(51, 177, 201, 0.35);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--accent-hover);
  box-shadow: 0 6px 25px rgba(93, 224, 230, 0.45);
}

/* ===========================
   Article Page Styles
   =========================== */
.article-page {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.article-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--divider);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.article-category-tag {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  border: 1px solid var(--accent-border);
}

.article-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.article-page-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.article-summary {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Article Content */
.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: var(--text-lg);
  line-height: 2;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: var(--space-3xl) 0 var(--space-lg);
  color: var(--text-primary);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-border);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--text-primary);
}

.article-content h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin: var(--space-lg) 0;
  padding-right: var(--space-xl);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.9;
}

.article-content li::marker {
  color: var(--accent);
}

.article-content a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-border);
  transition: border-color var(--transition-fast);
}

.article-content a:hover {
  border-bottom-style: solid;
}

.article-content img {
  border-radius: var(--radius);
  margin: var(--space-xl) auto;
  box-shadow: var(--shadow-md);
}

/* Eyjaz News Specification Components */
.eyjaz-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.eyjaz-news-visual {
  margin: var(--space-xl) auto;
  text-align: center;
}

.eyjaz-news-visual img {
  width: 100%;
  max-width: 680px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.eyjaz-digest-box {
  background: var(--accent-glow);
  border-right: 4px solid var(--accent);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius);
  margin: var(--space-xl) 0;
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-primary);
}

.eyjaz-details-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.eyjaz-details-box h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

/* Code Blocks */
.article-content pre {
  position: relative;
  background: var(--bg-code);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0;
  margin: var(--space-xl) 0;
  overflow: hidden;
  direction: ltr;
  text-align: left;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-code-header);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-code);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.copy-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

.copy-btn.copied {
  color: #22C55E;
  border-color: #22C55E;
}

.article-content pre code {
  display: block;
  padding: var(--space-lg);
  font-family: var(--font-code);
  font-size: var(--text-sm);
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-primary);
}

.article-content :not(pre) > code {
  font-family: var(--font-code);
  font-size: 0.9em;
  background: var(--bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  color: var(--accent);
  direction: ltr;
  display: inline-block;
}

/* Callout / Alert Boxes */
.callout {
  padding: var(--space-lg);
  border-radius: var(--radius);
  margin: var(--space-xl) 0;
  border-right: 4px solid;
  background: var(--accent-glow);
  border-color: var(--accent);
}

.callout-tip {
  background: rgba(34, 197, 94, 0.08);
  border-color: #22C55E;
}

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: #F59E0B;
}

.callout-danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: #EF4444;
}

.callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.callout p {
  margin-bottom: 0;
  font-size: var(--text-base);
}

/* Article Navigation */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--divider);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition-base);
  flex: 1;
}

.article-nav-link:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.article-nav-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.article-nav-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}

/* ===========================
   Animations
   =========================== */
@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Card entrance animation */
.article-card {
  opacity: 0;
  animation: fadeInUp 0.5s var(--ease-out) both;
}

.article-card:nth-child(1) { animation-delay: 0.05s; }
.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.15s; }
.article-card:nth-child(4) { animation-delay: 0.2s; }
.article-card:nth-child(5) { animation-delay: 0.25s; }
.article-card:nth-child(6) { animation-delay: 0.3s; }

/* ===========================
   Mobile Menu — Floating Card Panel (Zero-Scroll Design)
   =========================== */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.navbar-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: calc(var(--nav-height) + 10px);
  right: 14px;
  left: 14px;
  bottom: auto; /* Fits cleanly without full-screen stretching */
  max-height: calc(100vh - var(--nav-height) - 30px);
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(51, 177, 201, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(51, 177, 201, 0.20);
  padding: 12px;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: mobileCardDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-theme="light"] .navbar-links.mobile-open {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(51, 177, 201, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.15), 0 0 25px rgba(51, 177, 201, 0.15);
}

/* Individual Card Items */
.navbar-links.mobile-open li {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  animation: mobileItemFade 0.25s var(--ease-out) both;
}

.navbar-links.mobile-open li:nth-child(1) { animation-delay: 0.03s; }
.navbar-links.mobile-open li:nth-child(2) { animation-delay: 0.05s; }
.navbar-links.mobile-open li:nth-child(3) { animation-delay: 0.07s; }
.navbar-links.mobile-open li:nth-child(4) { animation-delay: 0.09s; }
.navbar-links.mobile-open li:nth-child(5) { animation-delay: 0.11s; }
.navbar-links.mobile-open li:nth-child(6) { animation-delay: 0.13s; }
.navbar-links.mobile-open li:nth-child(7) { animation-delay: 0.15s; }
.navbar-links.mobile-open li:nth-child(8) { animation-delay: 0.17s; }

/* Distinct solid/glass card background for each link */
.navbar-links.mobile-open a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFEFA;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar-links.mobile-open a {
  background: #F4F3EE;
  border-color: rgba(0, 0, 0, 0.08);
  color: #111111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.navbar-links.mobile-open a:hover,
.navbar-links.mobile-open a:active {
  background: rgba(51, 177, 201, 0.12);
  border-color: rgba(51, 177, 201, 0.4);
  color: var(--accent);
}

/* Active Link State */
.navbar-links.mobile-open a.active {
  background: rgba(51, 177, 201, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(51, 177, 201, 0.25);
}

[data-theme="light"] .navbar-links.mobile-open a.active {
  background: rgba(51, 177, 201, 0.15);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Icon box inside card */
.navbar-links.mobile-open .nav-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 177, 201, 0.14);
  border-radius: 8px;
  margin-left: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Text label */
.navbar-links.mobile-open .nav-text {
  flex: 1;
  text-align: right;
  font-size: 0.98rem;
}

/* Left Arrow indicator */
.navbar-links.mobile-open .nav-arrow {
  display: inline-block;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-links.mobile-open a:hover .nav-arrow,
.navbar-links.mobile-open a.active .nav-arrow {
  transform: translateX(-4px);
  opacity: 1;
}

/* Remove desktop underline animation inside mobile menu */
.navbar-links.mobile-open a::after {
  display: none !important;
}

@keyframes mobileCardDrop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileItemFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 1180px) {
  .navbar-links:not(.mobile-open) {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2rem;
    --text-3xl: 1.6rem;
    --text-2xl: 1.3rem;
    --nav-height: 56px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: auto;
    padding: 70px 0 35px;
  }

  .hero-logo-img {
    width: 140px;
  }

  .hero-description {
    font-size: var(--text-base);
    max-width: 440px;
  }

  .visual-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 460px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .article-nav {
    flex-direction: column;
  }

  .article-page-title {
    font-size: var(--text-2xl);
  }

  .article-content {
    font-size: var(--text-base);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Specific optimization for standard mobile screens (<= 480px) and narrow viewports (360x800) */
@media (max-width: 480px) {
  :root {
    --text-4xl: 1.6rem;
    --text-3xl: 1.35rem;
    --text-2xl: 1.15rem;
    --nav-height: 54px;
  }

  .container {
    padding: 0 14px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Navbar */
  .navbar-brand img {
    width: 95px;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }

  /* Hero Section */
  .hero {
    padding: 55px 0 25px;
  }

  .hero-concept-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }

  .hero-logo-img {
    width: 125px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.6;
    max-width: 310px;
    margin: 0 auto 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 100px;
  }

  /* Social Bar: 7 icons fit on a single row without wrapping on 360px */
  .eyjaz-social-bar {
    margin-top: var(--space-xs);
  }

  .social-icons-bar {
    gap: 6px;
  }

  .social-circle {
    width: 34px;
    height: 34px;
  }

  .social-circle svg {
    width: 17px;
    height: 17px;
  }

  .social-handle {
    font-size: 11px;
    margin-top: 2px;
  }

  /* Filter toolbar */
  .articles-section {
    padding: var(--space-2xl) 0;
  }

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

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

  .articles-toolbar {
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
  }

  .search-box input {
    font-size: 13px;
    padding: 10px 16px;
  }

  .filter-tags {
    gap: 6px;
  }

  .filter-tag {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Visual Cards: Full-bleed friendly layout */
  .visual-cards-grid {
    grid-template-columns: 100%;
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }

  .visual-card {
    border-radius: 14px;
  }

  .visual-card-image-wrap {
    aspect-ratio: 9 / 16;
    max-height: calc((100vw - 28px) * 16 / 9);
  }

  .visual-card-badge {
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    font-size: 11px;
  }

  .visual-card-overlay {
    padding: 12px;
  }

  .visual-card-title {
    font-size: 14px;
  }

  .visual-card-meta {
    font-size: 11px;
  }

  .visual-action-btn {
    width: 34px;
    height: 34px;
  }

  /* Lightbox tailored for 360x800 mobile screens */
  .lightbox-modal {
    padding: 8px 6px;
  }

  .lightbox-content {
    max-width: 98vw;
    max-height: 94vh;
  }

  .lightbox-top-actions {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .lightbox-close {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .lightbox-tool-btn,
  .lightbox-download-btn {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 50px;
  }

  .lightbox-image-wrap {
    max-height: 70vh;
    max-width: 95vw;
    border-radius: 12px;
  }

  .lightbox-image {
    max-height: 70vh;
    max-width: 95vw;
  }

  .lightbox-bar {
    padding-top: 8px;
    font-size: 11px;
  }

  .lightbox-title {
    font-size: 12px;
    max-width: 65%;
  }

  .lightbox-counter {
    font-size: 11px;
  }

  .lightbox-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.75);
  }

  .lightbox-prev {
    right: 4px;
  }

  .lightbox-next {
    left: 4px;
  }

  /* Footer on mobile */
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-content {
    gap: var(--space-md);
  }

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

  .footer-links {
    flex-direction: row;
    gap: var(--space-md);
  }

  .footer-links a {
    font-size: 12px;
  }

  /* Social bar in footer on mobile */
  .footer .social-icons-bar {
    gap: 6px;
  }

  .footer .social-circle {
    width: 32px;
    height: 32px;
  }

  .footer .social-circle svg {
    width: 17px;
    height: 17px;
  }

  .footer .social-handle {
    font-size: 11px;
  }

  .footer-disclaimer {
    font-size: 11px;
    padding: 8px 12px;
    max-width: 100%;
  }

  .footer-copyright {
    font-size: 11px;
  }

  /* Scroll to top on mobile */
  .scroll-top {
    width: 38px;
    height: 38px;
    bottom: 16px;
    left: 16px;
    font-size: 14px;
  }
}

/* Micro viewport optimization specifically for 360px width (Samsung Galaxy / compact screens) */
@media (max-width: 365px) {
  .container {
    padding: 0 10px;
  }

  .social-icons-bar {
    gap: 5px;
  }

  .social-circle {
    width: 33px;
    height: 33px;
  }

  .social-circle svg {
    width: 17px;
    height: 17px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 12.5px;
    max-width: 290px;
  }

  .visual-cards-grid {
    gap: 14px;
  }

  .visual-card-image-wrap {
    max-height: calc((100vw - 20px) * 16 / 9);
  }

  .footer .social-circle {
    width: 30px;
    height: 30px;
  }

  .footer .social-circle svg {
    width: 15px;
    height: 15px;
  }
}

/* Tailored for devices with Device Pixel Ratio 3+ (e.g. Galaxy S20/S21/S22/S23/S24 with DPR 3) */
@media (-webkit-min-device-pixel-ratio: 2.5), (min-resolution: 240dpi) {
  .visual-card {
    border-width: 1px;
  }
  .visual-card-image-wrap img,
  .lightbox-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===========================
   Print
   =========================== */
@media print {
  .navbar, .scroll-top, .theme-toggle, .article-nav, .footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .article-page {
    padding-top: 0;
  }
}

/* ===========================
   علامة الهوية للمعرف الرسمي
   =========================== */
.handle-brand-cyan {
  color: var(--accent, #33B1C9);
  font-weight: 800;
  transition: color 0.2s ease;
}


/* ======================================================
   خدمات إيجاز ومنظومة الأدوات المجتمعية (Eyjaz Utility Suite)
   ====================================================== */
.services-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(51, 177, 201, 0.05) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-color);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(51, 177, 201, 0.08);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

/* --- Live Payout Mini-Ticker Card --- */
.payout-ticker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid rgba(51, 177, 201, 0.35);
  border-radius: 16px;
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(51, 177, 201, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.payout-ticker-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.payout-ticker-card:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(51, 177, 201, 0.16);
  transform: translateY(-2px);
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.ticker-live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.ticker-main {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.ticker-program-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.ticker-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(51, 177, 201, 0.12);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
}

.ticker-program-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.ticker-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.ticker-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ticker-count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 5px 12px;
  min-width: 56px;
  position: relative;
  transition: all 0.25s ease;
}

[data-theme="light"] .ticker-count-box {
  background: rgba(240, 249, 255, 0.9);
  border-color: rgba(51, 177, 201, 0.25);
}

/* خانة الدقائق التفاعلية */
.ticker-count-box.ticker-minutes-box {
  border-color: rgba(51, 177, 201, 0.35);
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
}

[data-theme="light"] .ticker-count-box.ticker-minutes-box {
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.12) 0%, #FFFFFF 100%);
  border-color: rgba(0, 163, 196, 0.35);
}

/* خانة الثواني الحية مع توهج ونبض ضوئي فائق الفخامة */
.ticker-count-box.ticker-seconds-box {
  position: relative;
  border-color: rgba(93, 224, 230, 0.65);
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.16) 0%, rgba(0, 0, 0, 0.55) 100%);
  box-shadow: 0 0 16px rgba(51, 177, 201, 0.28), inset 0 0 10px rgba(51, 177, 201, 0.12);
  overflow: hidden;
  animation: tickerSecondsAura 2s ease-in-out infinite alternate;
}

[data-theme="light"] .ticker-count-box.ticker-seconds-box {
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.18) 0%, #FFFFFF 100%);
  border-color: rgba(0, 163, 196, 0.55);
  box-shadow: 0 4px 16px rgba(0, 163, 196, 0.22), inset 0 0 8px rgba(0, 163, 196, 0.1);
}

/* خط ليزري مسحي ديناميكي أعلى خانة الثواني */
.ticker-count-box.ticker-seconds-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5DE0E6, var(--accent), transparent);
  animation: tickerScanline 2s ease-in-out infinite;
}

@keyframes tickerScanline {
  0% { transform: translateX(-100%); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0.3; }
}

@keyframes tickerSecondsAura {
  0% {
    box-shadow: 0 0 12px rgba(51, 177, 201, 0.2), inset 0 0 6px rgba(51, 177, 201, 0.08);
  }
  100% {
    box-shadow: 0 0 22px rgba(93, 224, 230, 0.45), inset 0 0 12px rgba(93, 224, 230, 0.2);
  }
}

.ticker-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 1.35em;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

/* أنيميشن القفزة والتألق اللحظي عند تغير الرقم (Tick Spring Animation) */
.ticker-number.ticker-digit-tick {
  animation: tickerDigitSpring 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes tickerDigitSpring {
  0% {
    transform: translateY(-5px) scale(1.15);
    color: #5DE0E6;
    text-shadow: 0 0 16px rgba(93, 224, 230, 0.95);
  }
  50% {
    transform: translateY(1px) scale(0.97);
  }
  100% {
    transform: translateY(0) scale(1);
    color: var(--accent);
    text-shadow: 0 0 4px rgba(51, 177, 201, 0.4);
  }
}

.ticker-unit {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

.ticker-colon {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent);
  margin-top: -6px;
  user-select: none;
}

.ticker-colon.colon-live {
  animation: tickerColonPulse 1s ease-in-out infinite;
}

@keyframes tickerColonPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 6px var(--accent));
  }
  50% {
    opacity: 0.25;
    transform: scale(0.8);
    filter: none;
  }
}

.btn-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 177, 201, 0.14);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-ticker:hover {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(51, 177, 201, 0.4);
}

.btn-ticker .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-ticker:hover .btn-arrow {
  transform: translateX(-4px);
}

/* --- Modular Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 16px rgba(51, 177, 201, 0.1);
}

.service-card-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.service-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.service-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(51, 177, 201, 0.1);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-lg) 0;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
}

.service-link-arrow {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link-arrow {
  transform: translateX(-4px);
}

/* Light Theme Overrides */
[data-theme="light"] .payout-ticker-card {
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(51, 177, 201, 0.15);
}

@media (max-width: 900px) {
  .payout-ticker-card {
    flex-direction: column;
    align-items: stretch;
  }
  .ticker-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .ticker-main {
    width: 100%;
    justify-content: space-between;
  }
  .ticker-action {
    width: 100%;
  }
  .btn-ticker {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .ticker-main {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .ticker-countdown {
    align-self: center;
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
}

@media (max-width: 440px) {
  .ticker-count-box {
    min-width: 44px;
    padding: 4px 6px;
    border-radius: 8px;
  }
  .ticker-number {
    font-size: 1.25rem;
  }
  .ticker-unit {
    font-size: 0.58rem;
  }
  .ticker-countdown {
    gap: 4px;
  }
  .ticker-colon {
    font-size: 0.95rem;
    margin-top: -3px;
  }
}

/* --- All Payout Programs Grid (Homepage) --- */
.payout-all-section {
  margin-bottom: var(--space-2xl);
}

.payout-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.payout-mini-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 18px 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.payout-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(51, 177, 201, 0.4);
  border-radius: 0 14px 14px 0;
}

.payout-mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 16px rgba(51, 177, 201, 0.1);
}

.payout-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payout-mini-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(51, 177, 201, 0.1);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
}

.payout-mini-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(51, 177, 201, 0.1);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.payout-mini-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.payout-mini-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.payout-mini-date strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.payout-mini-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: auto;
}

.payout-mini-countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.payout-mini-countdown-nums {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.payout-mini-countdown-nums .pay-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-code);
}

.payout-mini-countdown-nums .pay-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.payout-mini-countdown-nums .pay-sep {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 2px;
}

/* Light theme */
[data-theme="light"] .payout-mini-card {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .payout-mini-card:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(51, 177, 201, 0.12);
}

[data-theme="light"] .payout-mini-countdown {
  background: rgba(0, 0, 0, 0.025);
}

/* Responsive */
@media (max-width: 900px) {
  .payout-all-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .payout-all-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Occasions Ticker Section (Homepage) --- */
.occasions-ticker-section {
  margin-bottom: var(--space-2xl);
}

.occasions-ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.occasions-ticker-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.occasions-ticker-title-wrap h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-heading);
}

.occasions-ticker-title-wrap .section-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.occasions-ticker-title-wrap .section-live-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulse-green 2s infinite;
}

.occasions-ticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.occasion-mini-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 18px 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.occasion-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  border-radius: 0 14px 14px 0;
}

.occasion-mini-card[data-cat="national"]::before {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.occasion-mini-card[data-cat="school"]::before {
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.occasion-mini-card[data-cat="religious"]::before {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.occasion-mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 16px rgba(51, 177, 201, 0.1);
}

.occasion-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.occasion-mini-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.saudi-flag-circle-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(0, 108, 53, 0.25);
}

.occasion-mini-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.occasion-mini-card[data-cat="national"] .occasion-mini-badge {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.occasion-mini-card[data-cat="school"] .occasion-mini-badge {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.occasion-mini-card[data-cat="religious"] .occasion-mini-badge {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.occasion-mini-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.occasion-mini-dates {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.occasion-mini-dates strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- Unified Card Countdown & Compact Live Ticker System (Homepage & Occasions Page) --- */
.card-countdown-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}

[data-theme="light"] .card-countdown-wrap {
  background: rgba(240, 249, 255, 0.65);
  border-color: rgba(51, 177, 201, 0.22);
}

.card-countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.card-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.card-live-tag .live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulse-green 2s infinite;
}

.card-countdown-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  direction: rtl; /* Ensure countdown units read: Days (right) : Hours : Mins : Secs (far left) */
}

.card-count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 4px 6px;
  flex: 1;
  min-width: 44px;
  position: relative;
  transition: all 0.25s ease;
}

[data-theme="light"] .card-count-box {
  background: #FFFFFF;
  border-color: rgba(51, 177, 201, 0.25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* خانة الدقائق التفاعلية للكروت */
.card-count-box.card-minutes-box {
  border-color: rgba(51, 177, 201, 0.35);
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
}

[data-theme="light"] .card-count-box.card-minutes-box {
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.12) 0%, #FFFFFF 100%);
  border-color: rgba(0, 163, 196, 0.35);
}

/* خانة الثواني الحية للكروت مع توهج ونبض ضوئي فائق الفخامة وخط ليزري مسحي */
.card-count-box.card-seconds-box {
  position: relative;
  border-color: rgba(93, 224, 230, 0.65);
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.16) 0%, rgba(0, 0, 0, 0.55) 100%);
  box-shadow: 0 0 12px rgba(51, 177, 201, 0.25), inset 0 0 8px rgba(51, 177, 201, 0.1);
  overflow: hidden;
  animation: tickerSecondsAura 2s ease-in-out infinite alternate;
}

[data-theme="light"] .card-count-box.card-seconds-box {
  background: linear-gradient(180deg, rgba(51, 177, 201, 0.18) 0%, #FFFFFF 100%);
  border-color: rgba(0, 163, 196, 0.55);
  box-shadow: 0 3px 12px rgba(0, 163, 196, 0.2), inset 0 0 6px rgba(0, 163, 196, 0.08);
}

.card-count-box.card-seconds-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5DE0E6, var(--accent), transparent);
  animation: tickerScanline 2s ease-in-out infinite;
}

.card-count-number {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 1.25em;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

/* أنيميشن القفزة والتألق اللحظي عند تغير الرقم (Tick Spring Animation) */
.card-count-number.ticker-digit-tick {
  animation: tickerDigitSpring 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.card-count-unit {
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

.card-count-colon {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: -5px;
  user-select: none;
}

.card-count-colon.colon-live {
  animation: tickerColonPulse 1s ease-in-out infinite;
}

/* Tech Event Card on occasions.html */
.tech-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-event-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  border-radius: 0 14px 14px 0;
}

.tech-event-card[data-cat="national"]::before {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.tech-event-card[data-cat="school"]::before {
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.tech-event-card[data-cat="religious"]::before {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.tech-event-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 16px rgba(51, 177, 201, 0.1);
}

[data-theme="light"] .tech-event-card {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .tech-event-card:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(51, 177, 201, 0.12);
}

/* Fallback / Alias for legacy mini countdown */
.occasion-mini-countdown {
  display: none;
}

.occasions-ticker-footer {
  margin-top: var(--space-lg);
  text-align: center;
}

/* Light theme overrides */
[data-theme="light"] .occasion-mini-card {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .occasion-mini-card:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(51, 177, 201, 0.12);
}

/* Responsive */
@media (max-width: 900px) {
  .occasions-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .occasions-ticker-grid {
    grid-template-columns: 1fr;
  }
  .occasions-ticker-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ======================================================
   أنماط صفحات الأدوات المستقلة، المحتوى المرفق، والصفحات الإلزامية
   Standalone Tool Pages, Editorial Layer, Ad Slots & Legal
   ====================================================== */

/* Tool Page Wrapper */
.tool-page-layout {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.tool-page-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-md);
}

.tool-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 177, 201, 0.12);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.tool-badge-wrap .nav-hamza-icon {
  width: 16px;
  height: 16px;
}

.tool-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.tool-page-desc {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

/* Cross-Tools Navigation Strip */
.cross-tools-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.cross-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
}

.cross-tool-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-2px);
}

.cross-tool-btn.active {
  background: rgba(51, 177, 201, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Ad Slot Container (Zero Cumulative Layout Shift - CLS) */
.ad-slot-wrapper {
  margin: var(--space-2xl) auto;
  max-width: 728px;
  min-height: 90px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-sm);
  text-align: center;
}

.ad-slot-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.ad-slot-placeholder {
  font-size: var(--text-xs);
  color: var(--text-muted);
  opacity: 0.7;
}

/* Editorial Content Box (SEO & AdSense Layer) */
.editorial-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  margin-top: var(--space-3xl);
  box-shadow: var(--shadow-sm);
}

.editorial-header {
  border-bottom: 1px solid var(--divider);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.editorial-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.editorial-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.editorial-article {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.editorial-article h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}

.editorial-article p {
  margin-bottom: var(--space-md);
}

.editorial-article ul, .editorial-article ol {
  padding-right: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.editorial-article li {
  margin-bottom: 8px;
}

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

/* Custom Editorial Data Table */
.editorial-table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.editorial-table th {
  background: var(--bg-secondary);
  color: var(--accent);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.editorial-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--divider);
  color: var(--text-secondary);
}

.editorial-table tr:last-child td {
  border-bottom: none;
}

.editorial-table tr:hover td {
  background: var(--bg-card-hover);
}

/* FAQ Accordion */
.faq-section {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--divider);
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--accent-border);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Legal / Policy Page Styles (Privacy, About, Contact) */
.policy-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.policy-header {
  border-bottom: 2px solid var(--accent);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.policy-section {
  margin-bottom: var(--space-2xl);
}

.policy-section h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.policy-highlight-box {
  background: rgba(51, 177, 201, 0.08);
  border-right: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: var(--space-md) 0;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Contact Form & Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

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

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: var(--space-lg);
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(51, 177, 201, 0.12);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-details h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-method-details p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.btn-submit-form {
  width: 100%;
  padding: 12px 24px;
  background: var(--accent);
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-submit-form:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

/* Light Theme Overrides for New Styles */
[data-theme="light"] .editorial-content-box,
[data-theme="light"] .policy-page-wrap {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .faq-item,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .editorial-table th {
  background: #F8FAFC;
}

[data-theme="light"] .editorial-table tr:hover td {
  background: #F1F5F9;
}

[data-theme="light"] .cross-tool-btn {
  background: #FFFFFF;
}

[data-theme="light"] .cross-tool-btn:hover {
  background: #F8FAFC;
}

[data-theme="light"] .ad-slot-wrapper {
  background: #F8FAFC;
}

/* =========================================================
   إيجاز | تحسينات الصفحة الرئيسية المعتمدة (Homepage Overhaul)
   ========================================================= */

/* --- 1. استجابة كرت اليوم (Today Poster Responsive Rules) --- */
@media (max-width: 520px) {
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) {
    padding: 12px 8px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-safe-zone-4-5 {
    height: auto !important;
    max-height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-top-brand {
    margin: 0 0 3px 0 !important;
    flex-shrink: 0 !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-logo-img {
    height: 38px !important;
    object-fit: contain !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-inner-frame {
    padding: 14px 6px 6px !important;
    border-radius: 16px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-main-heading {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .heading-black {
    font-size: 18px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .floating-calendar-badge {
    width: 30px !important;
    height: 30px !important;
    top: -15px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .floating-calendar-badge svg {
    width: 16px !important;
    height: 16px !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-dates-row {
    gap: 4px !important;
    margin-bottom: 6px !important;
    grid-template-columns: 1.12fr 1.1fr 1.12fr !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-pill-box,
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-counter-box {
    min-height: 78px !important;
    padding: 4px 2px !important;
    border-radius: 10px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-icon-circle {
    width: 22px !important;
    height: 22px !important;
    margin: 0 auto 2px auto !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-icon-circle svg {
    width: 12px !important;
    height: 12px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-counter-header {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    font-size: 11px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-counter-body {
    padding: 2px 2px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-label,
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-text {
    font-size: 11.5px !important;
    gap: 4px !important;
    margin: 0 0 2px 0 !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-num {
    font-size: 20px !important;
    margin: 0 auto 1px auto !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-unit {
    font-size: 9.5px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-icon {
    width: 18px !important;
    height: 18px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-icon svg {
    width: 12px !important;
    height: 12px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-type-title {
    font-size: 11px !important;
    margin-bottom: 1px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-digits-formatted {
    font-size: 11.5px !important;
    margin-bottom: 1px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-sub-label {
    font-size: 11px !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .payout-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .cards-row-two {
    gap: 4px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .mini-payout-card {
    padding: 4px 6px !important;
    border-radius: 9px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-title-text {
    font-size: 11px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-payout-num {
    font-size: 16px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-unit-label {
    font-size: 9.5px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-icon-circle {
    width: 20px !important;
    height: 20px !important;
    margin-right: 4px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-icon-circle svg,
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .saudi-flag-circle-img {
    width: 12px !important;
    height: 12px !important;
  }

  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-bottom {
    margin: 4px auto 0 auto !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 2px 0 0 !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-handle-text {
    font-size: 11.5px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-handle-text::after {
    display: inline-block !important;
    margin-left: 6px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-icons {
    gap: 5px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-circle {
    width: 22px !important;
    height: 22px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-circle svg {
    width: 11px !important;
    height: 11px !important;
  }
}

@media (max-width: 360px) {
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-safe-zone-4-5 {
    gap: 4px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-top-brand {
    margin: 0 0 2px 0 !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-logo-img {
    height: 32px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .heading-black {
    font-size: 16px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .date-pill-box,
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-counter-box {
    min-height: 72px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .hero-payout-num {
    font-size: 18px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .mini-payout-card {
    padding: 3px 4px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-title-text {
    font-size: 10px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .card-payout-num {
    font-size: 14px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-bottom {
    margin: 3px auto 0 auto !important;
    gap: 6px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-handle-text {
    font-size: 10.5px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-circle {
    width: 19px !important;
    height: 19px !important;
  }
  .today-poster-wrapper .eyjaz-poster-card:not(.is-exporting) .poster-social-circle svg {
    width: 9.5px !important;
    height: 9.5px !important;
  }
}

/* --- 2. شريط النبض السريع اليومي في الهيرو (Daily Quick Pulse Bar) --- */
.hero-quick-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto var(--space-lg);
  padding: 10px 18px;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--accent-border);
  border-radius: 40px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.6s ease;
}

[data-theme="light"] .hero-quick-pulse {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(51, 177, 201, 0.3);
  box-shadow: 0 8px 24px rgba(51, 177, 201, 0.12);
}

.pulse-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pulse-item:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.pulse-sep {
  width: 1px;
  height: 18px;
  background: var(--border-color);
}

.pulse-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(51, 177, 201, 0.15);
  color: var(--accent);
  border: 1px solid rgba(51, 177, 201, 0.3);
}

/* --- 3. شريط أزرار التفاعل لكرت اليوم (Poster Action Bar) --- */
.poster-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 440px;
}

.btn-poster-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-poster-action:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.btn-poster-action.btn-primary-action {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
}

.btn-poster-action.btn-primary-action:hover {
  background: var(--accent-hover);
  color: #000000;
  box-shadow: 0 6px 20px var(--accent-glow-strong);
}



/* --- 4. شريط البحث السريع والوسوم (Instant Search & Filter) --- */
.service-search-container {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.service-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.service-search-icon {
  position: absolute;
  right: 18px;
  font-size: 1.1rem;
  color: var(--accent);
  pointer-events: none;
}

.service-search-input {
  width: 100%;
  padding: 14px 48px 14px 44px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 35px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.service-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  background: var(--bg-input);
}

.service-search-clear {
  position: absolute;
  left: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  padding: 4px;
}

.service-search-clear:hover {
  color: var(--text-primary);
}

.service-filter-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-chip-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip-btn:hover,
.filter-chip-btn.active {
  background: rgba(51, 177, 201, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.services-empty-state {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  color: var(--text-muted);
}

.services-empty-state.show {
  display: block;
}

/* --- 5. قسم أحدث البطاقات والموجزات (Latest Visual Cards Preview) --- */
.latest-posts-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-color);
}

.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: var(--space-xl) 0;
}

.latest-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.latest-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.latest-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0d0d0d;
  overflow: hidden;
}

.latest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.latest-card-item:hover .latest-card-img {
  transform: scale(1.03);
}

.latest-card-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.latest-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.latest-card-date {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.latest-card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-primary);
}

.latest-card-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.btn-card-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-card-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(51, 177, 201, 0.08);
}

.btn-card-action.btn-download-action {
  background: rgba(51, 177, 201, 0.12);
  border-color: rgba(51, 177, 201, 0.35);
  color: var(--accent);
}

.btn-card-action.btn-download-action:hover {
  background: var(--accent);
  color: #000000;
}

/* --- 6. بطاقة دعوة مجتمع إيجاز (Community CTA Card) --- */
.community-cta-box {
  margin: var(--space-2xl) auto;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.85));
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .community-cta-box {
  background: linear-gradient(135deg, #FFFFFF, #F1F5F9);
  box-shadow: 0 12px 36px rgba(51, 177, 201, 0.15);
}

.community-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51, 177, 201, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.community-cta-title {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.community-social-icons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--space-sm);
}

.community-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  min-width: 84px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
}

[data-theme="light"] .community-icon-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.community-icon-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .community-icon-card:hover {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.channel-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.channel-circle-icon svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.community-icon-card:hover .channel-circle-icon svg {
  transform: scale(1.12);
}

.channel-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.community-icon-card:hover .channel-name {
  color: var(--text-primary);
}

/* Platform Hover Accents */
.community-icon-card.channel-whatsapp:hover { border-color: #25D366; }
.community-icon-card.channel-whatsapp:hover .channel-circle-icon { background: #25D366; color: #FFFFFF; border-color: #25D366; box-shadow: 0 0 16px rgba(37, 211, 102, 0.45); }

.community-icon-card.channel-telegram:hover { border-color: #24A1DE; }
.community-icon-card.channel-telegram:hover .channel-circle-icon { background: #24A1DE; color: #FFFFFF; border-color: #24A1DE; box-shadow: 0 0 16px rgba(36, 161, 222, 0.45); }

.community-icon-card.channel-x:hover { border-color: var(--accent); }
.community-icon-card.channel-x:hover .channel-circle-icon { background: #000000; color: #FFFFFF; border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow-strong); }
[data-theme="light"] .community-icon-card.channel-x:hover .channel-circle-icon { background: #000000; color: #FFFFFF; }

.community-icon-card.channel-youtube:hover { border-color: #FF0000; }
.community-icon-card.channel-youtube:hover .channel-circle-icon { background: #FF0000; color: #FFFFFF; border-color: #FF0000; box-shadow: 0 0 16px rgba(255, 0, 0, 0.45); }

.community-icon-card.channel-instagram:hover { border-color: #E1306C; }
.community-icon-card.channel-instagram:hover .channel-circle-icon { background: linear-gradient(45deg, #F56040, #E1306C, #C13584); color: #FFFFFF; border-color: #E1306C; box-shadow: 0 0 16px rgba(225, 48, 108, 0.45); }

.community-icon-card.channel-tiktok:hover { border-color: #25F4EE; }
.community-icon-card.channel-tiktok:hover .channel-circle-icon { background: #000000; color: #25F4EE; border-color: #25F4EE; box-shadow: 0 0 16px rgba(37, 244, 238, 0.35); }

.community-icon-card.channel-snapchat:hover { border-color: #FFFC00; }
.community-icon-card.channel-snapchat:hover .channel-circle-icon { background: #FFFC00; color: #000000; border-color: #FFFC00; box-shadow: 0 0 16px rgba(255, 252, 0, 0.45); }

@media (max-width: 640px) {
  .community-social-icons-grid {
    gap: 10px;
  }
  .community-icon-card {
    min-width: 70px;
    padding: 10px 8px;
  }
  .channel-circle-icon {
    width: 42px;
    height: 42px;
  }
  .channel-circle-icon svg {
    width: 20px;
    height: 20px;
  }
  .channel-name {
    font-size: 0.75rem;
  }
}


