/* ============================================
   ILMIY TADQIQOTLAR — Design System
   Premium Dark Academic Journal Theme
   ============================================ */

/* ---------- Typography is preconnected and loaded via HTML head for maximum performance ---------- */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Primary */
  --color-bg-deep: #060D18;
  --color-bg-primary: #0A1628;
  --color-bg-secondary: #0D1B2E;
  --color-bg-card: #111F35;
  --color-bg-card-hover: #152640;
  --color-bg-elevated: #1A2D47;

  /* Colors - Accent */
  --color-accent-primary: #00D4AA;
  --color-accent-secondary: #00B894;
  --color-accent-gold: #F0B429;
  --color-accent-blue: #3B82F6;
  --color-accent-purple: #8B5CF6;

  /* Colors - Text */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #C0C8D4;
  --color-text-muted: #7B8794;
  --color-text-dim: #4A5568;

  /* Colors - Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #00B894 50%, #3B82F6 100%);
  --gradient-hero: linear-gradient(160deg, #0A1628 0%, #0D1B2E 40%, #111F35 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-accent: linear-gradient(135deg, #00D4AA, #3B82F6);
  --gradient-gold: linear-gradient(135deg, #F0B429, #F59E0B);
  --gradient-text: linear-gradient(135deg, #00D4AA 0%, #3B82F6 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes */
  --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: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* 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;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.15);

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

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 72px;
  --sidebar-width: 320px;
}

/* ============================================
   SPA View Transitions (Smooth 0ms page blend)
   ============================================ */
@keyframes spaViewFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-4px); }
}

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

::view-transition-old(root) {
  animation: 160ms cubic-bezier(0.4, 0, 1, 1) both spaViewFadeOut;
}

::view-transition-new(root) {
  animation: 200ms cubic-bezier(0, 0, 0.2, 1) both spaViewFadeIn;
}


/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --color-bg-deep: #F0F4F8;
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F7F9FC;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #F0F4F8;
  --color-bg-elevated: #E8ECF1;

  --color-accent-primary: #059669;
  --color-accent-secondary: #047857;
  --color-accent-gold: #D97706;
  --color-accent-blue: #2563EB;
  --color-accent-purple: #7C3AED;

  --color-text-primary: #111827;
  --color-text-secondary: #374151;
  --color-text-muted: #6B7280;
  --color-text-dim: #9CA3AF;

  --glass-bg: rgba(0, 0, 0, 0.02);
  --glass-bg-hover: rgba(0, 0, 0, 0.04);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-hover: rgba(0, 0, 0, 0.14);

  --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 50%, #2563EB 100%);
  --gradient-hero: linear-gradient(160deg, #F0F4F8 0%, #E8ECF1 40%, #FFFFFF 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(240,244,248,0.6) 100%);
  --gradient-accent: linear-gradient(135deg, #059669, #2563EB);
  --gradient-gold: linear-gradient(135deg, #D97706, #F59E0B);
  --gradient-text: linear-gradient(135deg, #059669 0%, #2563EB 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.1);
  --shadow-glow-blue: 0 0 20px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .bg-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.04) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
                     radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .header__logo-icon {
  background: var(--gradient-primary);
  color: #fff;
}

[data-theme="light"] .footer {
  background: #111827;
  color: #E5E7EB;
}

[data-theme="light"] .footer .footer__col-title,
[data-theme="light"] .footer .footer__brand-name {
  color: #FFFFFF;
}

[data-theme="light"] .footer .footer__links a,
[data-theme="light"] .footer .footer__brand-text {
  color: #9CA3AF;
}

[data-theme="light"] .footer .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #6B7280;
}

[data-theme="light"] .hero {
  background: linear-gradient(160deg, #F0F7FF 0%, #E8F1FB 30%, #F0F4F8 60%, #FFFFFF 100%);
}

[data-theme="light"] .hero__bg::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04), transparent 70%);
}

[data-theme="light"] .hero__bg::after {
  background: radial-gradient(circle, rgba(0, 212, 170, 0.03), transparent 70%);
}

[data-theme="light"] .search-modal__content {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .search-modal__input {
  color: #111827;
}

[data-theme="light"] .nav__dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

[data-theme="light"] .btn-auth--login {
  border-color: rgba(0,0,0,0.12);
  color: #374151;
}

[data-theme="light"] .btn-auth--register {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

[data-theme="light"] .auth-modal__content {
  background: #FFFFFF;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Theme Toggle Button */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  background: var(--glass-bg-hover);
  transform: rotate(15deg);
}

.theme-toggle__icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

[data-theme="light"] .theme-toggle__icon {
  transform: rotate(360deg);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-deep, #0A1628);
  color-scheme: dark light;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-deep, #0A1628);
  color: var(--color-text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  margin-top: 35px;
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

::selection {
  background: rgba(0, 212, 170, 0.3);
  color: var(--color-text-primary);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-dim);
}

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

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

/* ---------- Animated Background Pattern ---------- */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 20%, rgba(0, 212, 170, 0.04), transparent),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(59, 130, 246, 0.04), transparent),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(139, 92, 246, 0.02), transparent);
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, -2%) rotate(1deg); }
  50% { transform: translate(-1%, 3%) rotate(-0.5deg); }
  75% { transform: translate(3%, 1%) rotate(0.5deg); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 24, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header.scrolled::before {
  background: rgba(6, 13, 24, 0.95);
  border-bottom-color: var(--glass-border-hover);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-bg-deep);
  position: relative;
  overflow: hidden;
}

.header__logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text-primary);
  background: var(--glass-bg-hover);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-trigger::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.6;
  transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: var(--space-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__dropdown-item:hover {
  color: var(--color-text-primary);
  background: var(--glass-bg-hover);
  padding-left: var(--space-lg);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Lang Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.05em;
}

.lang-dropdown__toggle:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.lang-dropdown__toggle svg {
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-dropdown__toggle svg {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  padding: 4px;
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.lang-dropdown.open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: block;
  width: 100%;
  padding: 6px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  letter-spacing: 0.05em;
}

.lang-dropdown__item:hover {
  color: var(--color-text-primary);
  background: var(--glass-bg-hover);
}

.lang-dropdown__item.active {
  color: var(--color-accent-primary);
  font-weight: 700;
}

.btn-search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.btn-search:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-auth {
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-auth--login {
  color: var(--color-text-secondary);
  border: 1px solid var(--glass-border);
}

.btn-auth--login:hover {
  color: var(--color-text-primary);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.btn-auth--register {
  background: var(--gradient-accent);
  color: var(--color-bg-deep);
}

.btn-auth--register:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Telegram Button ---------- */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #2563EB;
  border: 1.5px solid #2563EB;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  margin-left: var(--space-sm);
}

.btn-telegram:hover {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.btn-telegram svg {
  flex-shrink: 0;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.04), transparent 70%);
  animation: heroGlow 8s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* Hero Grid: 2 columns */
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  min-height: 520px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title .highlight {
  background: linear-gradient(135deg, #00D4AA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Outline button variant */
.btn--outline {
  background: #FFFFFF;
  color: var(--color-text-primary);
  border: 1.5px solid var(--glass-border);
}

.btn--outline:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.1);
  transform: translateY(-2px);
}

/* ===== 3D Globe Visual ===== */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.globe-scene {
  position: relative;
  width: 480px;
  height: 480px;
}

.globe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 212, 170, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  perspective: 800px;
}

.globe-sphere {
  width: 100%;
  height: 100%;
  position: relative;
  animation: globeSway 12s ease-in-out infinite;
  transform-style: preserve-3d;
}

.globe-molecules {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
  animation: moleculeSpin 40s linear infinite;
}

/* Gentle 3D sway — looks like a globe slowly turning */
@keyframes globeSway {
  0%   { transform: rotateY(-18deg) rotateX(6deg); }
  25%  { transform: rotateY(10deg)  rotateX(-3deg); }
  50%  { transform: rotateY(18deg)  rotateX(-6deg); }
  75%  { transform: rotateY(-10deg) rotateX(3deg); }
  100% { transform: rotateY(-18deg) rotateX(6deg); }
}

/* Slow spin of the molecular network inside */
@keyframes moleculeSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Orbiting particles */
.orbit-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-particle--1 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #00D4AA, #3B82F6);
  top: 50%;
  left: 50%;
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.6), 0 0 24px rgba(0, 212, 170, 0.3);
  animation: orbitA 8s linear infinite;
}

.orbit-particle--2 {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  top: 50%;
  left: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.3);
  animation: orbitB 12s linear infinite;
}

.orbit-particle--3 {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #F0B429, #F59E0B);
  top: 50%;
  left: 50%;
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.5);
  animation: orbitC 15s linear infinite;
}

@keyframes orbitA {
  0%   { transform: rotate(0deg)   translateX(190px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(190px) rotate(-360deg); }
}

@keyframes orbitB {
  0%   { transform: rotate(120deg) translateX(160px) rotate(-120deg); }
  100% { transform: rotate(480deg) translateX(160px) rotate(-480deg); }
}

@keyframes orbitC {
  0%   { transform: rotate(240deg) translateX(140px) rotate(-240deg); }
  100% { transform: rotate(600deg) translateX(140px) rotate(-600deg); }
}

/* Floating "Open Access" card */
.globe-card {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-30%);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  animation: floatCard 4s ease-in-out infinite;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(-30%); }
  50% { transform: translateY(-38%); }
}

.globe-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
}

.globe-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.globe-card__text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.globe-card__text span {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.4;
}

/* Floating decorative elements */
.globe-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.globe-float--1 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08), transparent);
  top: 10%;
  left: 15%;
  animation: floatSoft 6s ease-in-out infinite;
}

.globe-float--2 {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent);
  bottom: 15%;
  right: 20%;
  animation: floatSoft 7s ease-in-out infinite reverse;
}

@keyframes floatSoft {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -15px); }
}

/* ===== Stats Bar ===== */
.hero__stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero__stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-base);
}

.hero__stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hero__stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.hero__stat-icon--blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.hero__stat-icon--green {
  background: rgba(0, 212, 170, 0.1);
  color: #00D4AA;
}

.hero__stat-icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.hero__stat-icon--teal {
  background: rgba(0, 180, 150, 0.1);
  color: #00B496;
}

.hero__stat-info {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  margin-bottom: 3px;
}

.hero__stat-value span {
  color: var(--color-accent-primary);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-bg-deep);
}

.btn--primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--color-bg-deep);
}

.btn--secondary {
  background: var(--glass-bg);
  color: var(--color-text-secondary);
  border: 1px solid var(--glass-border);
}

.btn--secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--color-text-secondary);
  padding: 8px 16px;
}

.btn--ghost:hover {
  color: var(--color-accent-primary);
  background: var(--glass-bg);
}

.btn--sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn__icon {
  font-size: 1.1em;
}

/* ---------- Section Headings ---------- */
.section {
  position: relative;
  padding: var(--space-4xl) 0;
  z-index: 1;
}

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

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section__label::before,
.section__label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gradient-accent);
}

.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Article Cards ---------- */
.article-card {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.article-card__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-primary);
  font-weight: 600;
}

.article-card__content {
  flex: 1;
  min-width: 0;
}

.article-card__category {
  display: inline-block;
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-primary);
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

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

.article-card__authors {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

.article-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-card__actions {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Article Grid (compact) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-lg);
}

.article-grid .article-card {
  flex-direction: column;
  gap: var(--space-md);
}

/* ---------- Current Issue ---------- */
.current-issue {
  padding: var(--space-3xl) 0;
}

.current-issue__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.issue-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-gold);
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ---------- Stats Banner ---------- */
.stats-banner {
  position: relative;
  padding: var(--space-3xl) 0;
  z-index: 1;
}

.stats-banner__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

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

.stat-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  display: block;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---------- Indexing Partners ---------- */
.indexing {
  padding: var(--space-3xl) 0;
}

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

.indexing__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  min-width: 160px;
  height: 60px;
}

.indexing__item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

/* ---------- Article Detail Page ---------- */
.article-detail {
  padding-top: 10px;
}

.article-detail__layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-3xl);
  align-items: start;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.breadcrumb__separator {
  color: var(--color-text-dim);
  font-size: var(--text-xs);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

/* Article Header */
.article-header {
  margin-bottom: var(--space-2xl);
}

.article-header__category {
  display: inline-block;
  padding: 4px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-primary);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.article-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.article-header__doi {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-blue);
  transition: all var(--transition-fast);
}

.article-header__doi:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-accent-blue);
}

/* Authors */
.authors-section {
  padding: var(--space-xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
}

.authors-section__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.author-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.author-item + .author-item {
  border-top: 1px solid var(--glass-border);
}

.author-item__avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-bg-deep);
  flex-shrink: 0;
}

.author-item__info h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.author-item__info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Article Body */
.article-body {
  margin-bottom: var(--space-2xl);
}

.article-body__section {
  margin-bottom: var(--space-2xl);
}

.article-body__section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-body__section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

.article-body p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* Keywords */
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.keyword-tag {
  padding: 4px 14px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.keyword-tag:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

/* References */
.references-list {
  counter-reset: ref;
}

.reference-item {
  position: relative;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-2xl);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--glass-border);
  transition: all var(--transition-fast);
  counter-increment: ref;
}

.reference-item::before {
  content: '[' counter(ref) ']';
  position: absolute;
  left: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  font-weight: 600;
}

.reference-item:hover {
  border-left-color: var(--color-accent-primary);
  background: var(--glass-bg-hover);
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.sidebar-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--glass-border);
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-accent);
  color: var(--color-bg-deep);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  margin-bottom: var(--space-md);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-bg-deep);
}

.download-btn .icon {
  font-size: var(--text-xl);
}

/* Citation styles */
.citation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.citation-tab {
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.citation-tab:hover,
.citation-tab.active {
  color: var(--color-accent-primary);
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.05);
}

.citation-output {
  padding: var(--space-md);
  background: var(--color-bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-height: 150px;
  overflow-y: auto;
  word-break: break-all;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--color-accent-primary);
}

/* Issue Info */
.issue-info {
  padding: var(--space-md);
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
}

.issue-info__item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
}

.issue-info__item + .issue-info__item {
  border-top: 1px solid var(--glass-border);
}

.issue-info__label {
  color: var(--color-text-muted);
}

.issue-info__value {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ---------- Archive Page ---------- */
.archive-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

.archive-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.archive-filter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
}

.archive-filter select {
  background: transparent;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
  padding-right: var(--space-md);
}

.view-toggle {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.view-toggle__btn {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.view-toggle__btn.active {
  background: var(--glass-bg-hover);
  color: var(--color-accent-primary);
}

/* Issues Grid in Archive */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 25px;
}

.issue-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--glass-border, rgba(0,0,0,0.08));
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.05));
  position: relative;
  padding: 0;
  margin-bottom: 0;
}

[data-theme="dark"] .issue-card {
  background: var(--bg-card, #0f172a);
  border-color: rgba(255, 255, 255, 0.1);
}

.issue-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-primary, #00D4AA);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.issue-card__cover-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.issue-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.issue-card:hover .issue-card__cover {
  transform: scale(1.04);
}

.issue-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-accent-primary, #00D4AA);
  color: #060D18;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
}

.issue-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.issue-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary, #1e293b);
  margin-bottom: 8px;
  line-height: 1.4;
}

.issue-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

[data-theme="dark"] .issue-card__meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* ---------- About Page ---------- */
.about-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

.about-hero {
  text-align: center;
  padding: var(--space-3xl) 0;
  margin-bottom: var(--space-2xl);
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.about-hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.about-card {
  padding: var(--space-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.about-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  display: block;
}

.about-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.about-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Review Process */
.process-timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-blue), var(--color-accent-purple));
}

.process-step {
  position: relative;
  padding: var(--space-lg) 0;
}

.process-step__dot {
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 8px);
  top: var(--space-xl);
  width: 16px;
  height: 16px;
  background: var(--color-bg-deep);
  border: 3px solid var(--color-accent-primary);
  border-radius: 50%;
  z-index: 1;
}

.process-step:nth-child(2) .process-step__dot { border-color: var(--color-accent-blue); }
.process-step:nth-child(3) .process-step__dot { border-color: var(--color-accent-purple); }
.process-step:nth-child(4) .process-step__dot { border-color: var(--color-accent-gold); }
.process-step:nth-child(5) .process-step__dot { border-color: var(--color-accent-primary); }

.process-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- Editorial Board Page ---------- */
.editorial-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

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

.team-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}

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

.team-card__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-bg-deep);
  position: relative;
}

.team-card__avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
}

.team-card__affiliation {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.team-card--chief {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Contact Page ---------- */
.contact-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  padding: var(--space-2xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.contact-info__item + .contact-info__item {
  border-top: 1px solid var(--glass-border);
}

.contact-info__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-info__item:hover .contact-info__icon {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.2);
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  padding: var(--space-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
}

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

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-dim);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* ---------- Search Modal ---------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal__content {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: var(--space-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px) scale(0.98);
  transition: transform var(--transition-base);
}

.search-modal.active .search-modal__content {
  transform: translateY(0) scale(1);
}

.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.search-modal__icon {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
}

.search-modal__input {
  flex: 1;
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  background: transparent;
}

.search-modal__input::placeholder {
  color: var(--color-text-dim);
}

.search-modal__close {
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-dim);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.search-modal__hint {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--glass-border);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  margin-top: var(--space-4xl);
}

.footer__inner {
  padding: var(--space-3xl) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

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

.footer__brand-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__links a:hover {
  color: var(--color-accent-primary);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--glass-border);
  font-size: var(--text-sm);
  color: var(--color-text-dim);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  transform: translateY(-2px);
}

/* ---------- Page Hero (shared) ---------- */
.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__title { font-size: var(--text-5xl); }
  .hero__content { max-width: 680px; }
  .hero__stats-bar { grid-template-columns: repeat(2, 1fr); }
  .article-detail__layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .stats-banner__inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

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

  .nav { display: none; }
  .header__actions .btn-auth,
  .header__actions .lang-dropdown { display: none; }
  .mobile-toggle { display: flex; }

  /* Mobile nav */
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    padding: var(--space-xl);
    z-index: 999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
  }

  .nav.mobile-open .nav__link {
    padding: var(--space-md);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
  }

  .nav.mobile-open .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: var(--space-md);
  }

  .nav.mobile-open .btn-telegram {
    margin: var(--space-md) 0;
    margin-left: 0;
    justify-content: center;
  }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-2xl)); }
  .hero__stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .article-grid { grid-template-columns: 1fr; }
  .article-card { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .team-card--chief { max-width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-banner__inner { grid-template-columns: 1fr; }
  .hero__stats-bar { grid-template-columns: 1fr; }
  .hero__stat-card { padding: 16px 18px; }
}

/* ============================================
   AUTH MODAL — Login / Register
   ============================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}

.auth-modal__content {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  margin: var(--space-md);
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-base);
}

.auth-modal.active .auth-modal__content {
  transform: scale(1) translateY(0);
}

.auth-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
}

.auth-modal__close:hover {
  background: var(--glass-bg-hover);
  color: var(--color-text-primary);
}

.auth-modal__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-modal__logo {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-bg-deep);
}

.auth-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.auth-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.auth-modal__error {
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: #EF4444;
  margin-bottom: var(--space-md);
  display: none;
}

.auth-modal__switch {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.auth-modal__switch a {
  color: var(--color-accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.auth-modal__switch a:hover {
  color: var(--color-accent-secondary);
  text-decoration: underline;
}

/* Logged-in state header buttons */
.btn-auth--login.logged-in {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: var(--color-accent-primary);
  cursor: default;
}

.btn-auth--register.logout-btn {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.btn-auth--register.logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* ==================== OUR JOURNALS ==================== */
.our-journals {
  background-color: var(--bg-main);
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.journals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.journal-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.1);
}

.journal-card__cover-wrapper {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.journal-card__cover {
  width: auto;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform var(--transition-normal);
}

.journal-card:hover .journal-card__cover {
  transform: scale(1.03) translateY(-5px);
}

.journal-cover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.cover-logo {
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.cover-title {
  font-family: 'Times New Roman', Times, serif; /* Match the serif-ish font of the PDF */
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.cover-subtitle {
  font-size: 13px;
  color: #ffd700; /* Yellow/gold like PDF */
  margin-bottom: 30px;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

.cover-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cover-issue {
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

.cover-website {
  font-size: 11px;
  color: #fff;
  opacity: 0.8;
}

.journal-card__status {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  letter-spacing: 0.5px;
}

.journal-card__content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex-grow: 1;
}

.journal-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
}

.journal-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

.meta-item i {
  color: var(--accent-primary);
}

.journal-card__desc {
  color: var(--text-normal);
  line-height: 1.7;
  font-size: var(--text-md);
  margin-bottom: var(--space-lg);
}

.journal-card__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: auto;
}

@media (min-width: 992px) {
  .journal-card {
    flex-direction: row;
  }
  .journal-card__cover-wrapper {
    width: 35%;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }
  .journal-card__content {
    width: 65%;
    padding: var(--space-2xl);
  }
}

/* ============================================
   TEST MODE BANNER
   ============================================ */
.test-mode-banner {
  background: var(--gradient-accent);
  color: #fff;
  height: 35px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}
.test-mode-banner__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.test-mode-banner__text {
  padding: 0 50px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================
   GLOBAL LIGHT MODE REFINEMENTS (MAIN SITE)
   ============================================ */
[data-theme="light"] {
  --color-bg-deep: #F8FAFC; 
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F1F5F9;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #F8FAFC;
  --color-bg-elevated: #FFFFFF;

  --color-text-primary: #0F172A;
  --color-text-secondary: #334155;
  --color-text-muted: #64748B;
  --color-text-dim: #94A3B8;

  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-bg-hover: rgba(255, 255, 255, 1);
  --glass-border: rgba(15, 23, 42, 0.1);
  --glass-border-hover: rgba(15, 23, 42, 0.2);
  
  --gradient-hero: linear-gradient(160deg, #F8FAFC 0%, #F1F5F9 40%, #E2E8F0 100%);
}

/* Navbar in Light Mode */
[data-theme="light"] .header {
  background: var(--glass-bg) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

[data-theme="light"] .header__logo-text {
  color: #0F172A !important;
}

[data-theme="light"] .nav__link {
  color: #334155 !important;
}

[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link.active {
  color: var(--color-accent-blue) !important;
}

[data-theme="light"] .lang-dropdown__toggle {
  color: #334155 !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .lang-dropdown__menu {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

[data-theme="light"] .btn-search {
  color: #334155 !important;
}

[data-theme="light"] .theme-toggle {
  color: #334155 !important;
  border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .btn-auth--login {
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

/* Cards & Modals */
[data-theme="light"] .journal-card,
[data-theme="light"] .news-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

[data-theme="light"] .journal-card:hover,
[data-theme="light"] .news-card:hover {
  border: 1px solid var(--color-accent-blue) !important;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

[data-theme="light"] .journal-card__title {
  color: #0F172A !important;
}

[data-theme="light"] .meta-item {
  color: #64748B !important;
}

/* Footer */
[data-theme="light"] .footer {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .footer__brand-text,
[data-theme="light"] .footer__col-title,
[data-theme="light"] .footer__links a {
  color: #334155 !important;
}


/* ============================================
   HEADER PSEUDO-ELEMENT FIX FOR LIGHT MODE
   ============================================ */
/* The dark background was actually applied to ::before, blocking the light theme! */
[data-theme="light"] .header::before {
  background: var(--glass-bg) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

[data-theme="light"] .header.scrolled::before {
  background: rgba(255, 255, 255, 1) !important;
}

/* Ensure the background on .header itself is transparent so it doesn't double up */
[data-theme="light"] .header {
  background: transparent !important;
}

/* Ensure text elements in header stand out clearly */
[data-theme="light"] .header__logo-text,
[data-theme="light"] .nav__link,
[data-theme="light"] .lang-dropdown__toggle,
[data-theme="light"] .btn-search,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .btn-auth--login {
  position: relative;
  z-index: 10;
}


/* ============================================
   FOOTER BRAND NAME LIGHT MODE FIX
   ============================================ */
/* Fix invisible "Science" and "Review" text in light mode footer */
[data-theme="light"] .footer__brand-name,
[data-theme="light"] .footer .footer__brand-name {
  color: #0F172A !important;
}


/* ============================================
   JOURNAL CARD COVER WRAPPER LIGHT MODE FIX
   ============================================ */
/* Change the dark navy background of the journal card image container to a light, elegant color */
[data-theme="light"] .journal-card__cover-wrapper {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
  border-right: 1px solid #e2e8f0 !important;
}

/* ============================================
   DARK THEME OVERRIDES FOR NEW HERO ELEMENTS
   ============================================ */

/* Stat cards in dark mode */
[data-theme="dark"] .hero__stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero__stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero__stat-value {
  color: #FFFFFF;
}

[data-theme="dark"] .hero__stat-label {
  color: #7B8794;
}

/* Globe card in dark mode */
[data-theme="dark"] .globe-card {
  background: rgba(17, 31, 53, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .globe-card__text strong {
  color: #FFFFFF;
}

[data-theme="dark"] .globe-card__text span {
  color: #7B8794;
}

/* Outline button in dark mode */
[data-theme="dark"] .btn--outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

/* Telegram button in dark mode */
[data-theme="dark"] .btn-telegram {
  color: #60A5FA;
  border-color: #60A5FA;
}

[data-theme="dark"] .btn-telegram:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

/* Telegram button in light header */
[data-theme="light"] .btn-telegram {
  position: relative;
  z-index: 10;
}

/* ============================================
   JUSR / MODERN 2-COLUMN CURRENT ISSUE LAYOUT
   ============================================ */
.current-issue-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  padding: 20px 0 40px;
}

@media (max-width: 992px) {
  .current-issue-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Sidebar (Left) */
.current-issue__sidebar {
  position: sticky;
  top: 100px;
}

.current-issue__badge {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-accent-primary, #0284c7);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.current-issue__main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.current-issue__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.current-issue__date-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Content (Right) */
.current-issue__section-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.current-issue__section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.current-issue__section-title .accent-bar {
  color: #f97316;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* Article Cards */
.current-issue__articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jusr-article-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
}

[data-theme="dark"] .jusr-article-card {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.jusr-article-card:hover {
  transform: translateY(-2px);
  border-color: #0284c7;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}

[data-theme="dark"] .jusr-article-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.jusr-article-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.jusr-article-card__authors {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.jusr-article-card__pages {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .jusr-article-card__pages {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.jusr-article-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.jusr-article-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jusr-article-card__title a:hover {
  color: #0284c7;
}

[data-theme="dark"] .jusr-article-card__title a:hover {
  color: #38bdf8;
}

.jusr-article-card__doi-wrap {
  margin-bottom: 18px;
}

.jusr-doi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  color: #d97706;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .jusr-doi-badge {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.jusr-doi-badge:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #d97706;
}

.jusr-article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .jusr-article-card__footer {
  border-top-color: rgba(255, 255, 255, 0.07);
}

.jusr-article-card__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jusr-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.jusr-btn-pill--primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

[data-theme="dark"] .jusr-btn-pill--primary {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.jusr-btn-pill--primary:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

[data-theme="dark"] .jusr-btn-pill--primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #0f172a;
}

.jusr-btn-pill--doi,
.jusr-btn-pill--outline {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

[data-theme="dark"] .jusr-btn-pill--doi,
[data-theme="dark"] .jusr-btn-pill--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.jusr-btn-pill--doi:hover,
.jusr-btn-pill--outline:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

.jusr-article-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .jusr-article-card__stats {
  color: #94a3b8;
}

.jusr-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.jusr-stat-item strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

/* View All Issues Button */
.current-issue__bottom-actions {
  text-align: center;
  margin-top: 36px;
}

.jusr-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: transparent;
  border: 1.5px solid #0f172a;
  border-radius: 8px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

[data-theme="dark"] .jusr-view-all-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.jusr-view-all-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .jusr-view-all-btn:hover {
  background: var(--color-accent-primary, #00b4d8);
  border-color: var(--color-accent-primary, #00b4d8);
  color: #0f172a;
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25);
}

.jusr-view-all-btn .arrow {
  transition: transform 0.2s ease;
}

.jusr-view-all-btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   JUSR / MODERN ARTICLE DETAIL PAGE
   ============================================ */
.jusr-article-hero {
  text-align: center;
  padding: 10px 0 20px;
  position: relative;
}

/* ============================================
   Article Open Multi-Language Abstract & Keywords
   ============================================ */
.jusr-article-hero__alt-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: -10px auto 18px;
  max-width: 900px;
}

.jusr-alt-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.5;
}

[data-theme="light"] .jusr-alt-title {
  color: #475569;
}

.jusr-alt-title-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 212, 170, 0.12);
  color: var(--color-primary, #00d4aa);
  border: 1px solid rgba(0, 212, 170, 0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-theme="light"] .jusr-alt-title-badge {
  background: rgba(0, 212, 170, 0.1);
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.3);
}

.jusr-lang-section {
  padding: 4px 0;
}

.jusr-lang-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.jusr-lang-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--color-primary, #00d4aa);
  border: 1px solid rgba(0, 212, 170, 0.25);
}

[data-theme="light"] .jusr-lang-flag-badge {
  background: rgba(0, 212, 170, 0.08);
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.25);
}

.jusr-abstract-p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--color-text-secondary, #cbd5e1);
  margin-bottom: 14px;
  text-align: justify;
}

[data-theme="light"] .jusr-abstract-p {
  color: #334155;
}

.jusr-abstract-kw-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .jusr-abstract-kw-row {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.jusr-kw-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-muted, #94a3b8);
  margin-top: 3px;
  white-space: nowrap;
}

[data-theme="light"] .jusr-kw-label {
  color: #64748b;
}

.jusr-inline-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jusr-lang-section-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 170, 0.2), rgba(255, 255, 255, 0.08) 50%, rgba(0, 212, 170, 0.2));
  margin: 24px 0;
}

[data-theme="light"] .jusr-lang-section-divider {
  background: linear-gradient(90deg, rgba(0, 212, 170, 0.3), rgba(0, 0, 0, 0.08) 50%, rgba(0, 212, 170, 0.3));
}

[data-theme="dark"] .jusr-abstract-tab {
  color: #94a3b8;
}

.jusr-abstract-tab:hover {
  color: var(--color-primary, #00d4aa);
}

.jusr-abstract-tab.active {
  background: var(--color-primary, #00d4aa);
  color: #060d18 !important;
  box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
}

.jusr-article-hero__title,
.jusr-abstract-content-text {
  transition: opacity 0.15s ease-in-out;
}

.jusr-article-hero__issue {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.jusr-issue-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 6px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.jusr-issue-pill-btn svg {
  transition: transform 0.25s ease;
}

.jusr-issue-pill-btn:hover {
  background: rgba(2, 132, 199, 0.16);
  border-color: rgba(2, 132, 199, 0.5);
  color: #0369a1;
  transform: translateX(-3px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

.jusr-issue-pill-btn:hover svg {
  transform: translateX(-2px);
}

[data-theme="dark"] .jusr-issue-pill-btn {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.28);
}

[data-theme="dark"] .jusr-issue-pill-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.22);
}

.jusr-sidebar-issue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--color-bg-secondary);
  border: 1.5px solid var(--glass-border);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.jusr-sidebar-issue-btn .jusr-arrow {
  transition: transform 0.2s ease;
  color: var(--color-primary);
  font-weight: 700;
}

.jusr-sidebar-issue-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.4);
  color: var(--color-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.12);
}

.jusr-sidebar-issue-btn:hover .jusr-arrow {
  transform: translateX(4px);
}

.jusr-article-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-primary);
  text-transform: uppercase;
  max-width: 1050px;
  margin: 0 auto 16px;
  letter-spacing: -0.01em;
}

.jusr-article-hero__divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.jusr-article-hero__bar {
  width: 50px;
  height: 3.5px;
  background: linear-gradient(90deg, #f97316, #d97706);
  border-radius: 4px;
}

.jusr-article-hero__category {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.jusr-article-hero__published {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 14px;
}

[data-theme="dark"] .jusr-article-hero__published {
  color: #94a3b8;
}

.jusr-article-hero__authors {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0284c7;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

[data-theme="dark"] .jusr-article-hero__authors {
  color: #38bdf8;
}

.jusr-hero-author {
  display: inline-block;
}

.jusr-corr-badge {
  color: #f97316;
  font-size: 1.15rem;
  font-weight: 900;
  margin-left: 2px;
}

/* 2-Column Main Layout */
.jusr-article-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .jusr-article-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.jusr-content-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 26px 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

[data-theme="dark"] .jusr-content-box {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.jusr-content-box__title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}

.jusr-content-box__title .accent-bar {
  color: #f97316;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.jusr-content-box__body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.jusr-content-box__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .jusr-content-box__actions {
  border-top-color: rgba(255, 255, 255, 0.07);
}

.jusr-doi-container {
  margin-bottom: 24px;
}

.jusr-doi-badge--lg {
  padding: 7px 16px;
  font-size: 0.88rem;
}

/* Authors List */
.jusr-authors-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jusr-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .jusr-author-card {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.jusr-author-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jusr-author-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.jusr-author-card__info h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 3px;
}

.jusr-author-card__info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.jusr-orcid-link {
  display: inline-block;
  font-size: 0.8rem;
  color: #a3e635;
  margin-top: 4px;
  text-decoration: none;
}

.jusr-license-box p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.jusr-license-box a {
  color: var(--color-accent-primary, #0284c7);
  font-weight: 600;
}

/* Sidebar Cover */
.jusr-cover-card {
  text-align: center;
  margin-bottom: 24px;
  perspective: 1000px;
}

.jusr-cover-card__img {
  max-width: 100%;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
  border: 1px solid rgba(216,164,54,0.3);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease;
}

.jusr-cover-card__img:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Tags Wrap */
.jusr-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Meta Table */
.jusr-meta-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jusr-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .jusr-meta-row {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.jusr-meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jusr-meta-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.jusr-meta-val {
  color: var(--color-text-primary);
  font-weight: 700;
  text-align: right;
}

/* ============================================
   JUSR References List (Foydalanilgan adabiyotlar)
   ============================================ */
.jusr-references-box {
  margin-top: 24px;
}

.jusr-references-container {
  padding: 4px 0;
}

.jusr-references-list {
  list-style: none;
  counter-reset: ref-item-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jusr-reference-item {
  counter-increment: ref-item-counter;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.935rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #94a3b8);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  border-radius: 8px;
  transition: all 0.2s ease;
}

.jusr-reference-item:hover {
  background: rgba(0, 212, 170, 0.04);
  border-color: rgba(0, 212, 170, 0.3);
  color: var(--color-text, #f8fafc);
  transform: translateX(3px);
}

.jusr-reference-item::before {
  content: "[" counter(ref-item-counter) "]";
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary, #00D4AA);
  flex-shrink: 0;
  min-width: 28px;
  margin-top: 1px;
}

.jusr-ref-text {
  flex: 1;
  word-break: break-word;
}

[data-theme="light"] .jusr-reference-item {
  color: #334155;
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .jusr-reference-item:hover {
  background: #f0fdf9;
  border-color: rgba(0, 212, 170, 0.45);
  color: #0f172a;
}

/* ============================================
   PREMIUM JOURNAL HEADER SYSTEM (Global & Fluid)
   ============================================ */
.journal-header {
  position: sticky;
  top: 35px;
  left: 0;
  right: 0;
  background: rgba(10, 16, 26, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  padding: 8px 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .journal-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Fluid responsive container for header - well balanced 1360px standard */
.journal-header .container,
.journal-header__inner {
  max-width: 1360px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
}

.journal-header__logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.journal-header__logo:hover {
  transform: translateY(-1px);
}

.journal-header__logo-img {
  height: 40px !important;
  width: auto !important;
  border-radius: 6px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  flex-shrink: 0 !important;
}

.journal-header__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--color-text-primary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.journal-header__title span {
  color: var(--color-primary, #00D4AA);
  font-size: 11.5px;
  font-weight: 800;
}

.journal-nav {
  display: flex !important;
  align-items: center !important;
  gap: clamp(2px, 0.5vw, 8px) !important;
  flex-shrink: 0 !important;
}

.journal-nav__link {
  color: var(--color-text-secondary, #94a3b8) !important;
  font-weight: 500 !important;
  font-size: clamp(12px, 0.9vw, 13.5px) !important;
  padding: 6px clamp(6px, 0.8vw, 12px) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.4 !important;
  flex-shrink: 0 !important;
}

.journal-nav__link:hover {
  color: var(--color-text-primary) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="light"] .journal-nav__link:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

.journal-nav__link.active {
  color: var(--color-primary, #00D4AA) !important;
  font-weight: 600 !important;
  background: rgba(0, 212, 170, 0.08) !important;
}

[data-theme="light"] .journal-nav__link.active {
  color: #0d9488 !important;
  background: rgba(13, 148, 136, 0.08) !important;
}

/* Telegram Pill Badge */
.journal-tg-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px clamp(8px, 0.8vw, 13px) !important;
  background: rgba(34, 158, 217, 0.1) !important;
  color: #229ED9 !important;
  border: 1px solid rgba(34, 158, 217, 0.25) !important;
  border-radius: 9999px !important;
  font-size: clamp(12px, 0.85vw, 13px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  margin-left: 2px !important;
  flex-shrink: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.06) !important;
}

.journal-tg-btn:hover {
  background: #229ED9 !important;
  color: #ffffff !important;
  border-color: #229ED9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.32) !important;
}

.journal-tg-btn svg {
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.journal-tg-btn:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.journal-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.8vw, 12px) !important;
  flex-shrink: 0 !important;
}

/* Premium Return Button */
.return-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px clamp(8px, 0.9vw, 14px) !important;
  font-size: clamp(12px, 0.85vw, 13px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  color: var(--color-text-secondary) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.return-btn svg {
  transition: transform 0.2s ease !important;
  color: var(--color-text-muted) !important;
  flex-shrink: 0 !important;
}

.return-btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text-primary) !important;
  transform: translateX(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.return-btn:hover svg {
  color: var(--color-primary, #00D4AA) !important;
  transform: translateX(-2px) !important;
}

[data-theme="light"] .return-btn {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

[data-theme="light"] .return-btn:hover {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
}

/* ============================================
   PREMIUM HERO ACTION BUTTONS (Journals & Conferences)
   ============================================ */
.journal-hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 24px;
}

.journal-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.journal-hero-btn svg {
  flex-shrink: 0;
}

.journal-hero-btn--primary {
  background: var(--color-accent-primary, #d8a436);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(216, 164, 54, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.journal-hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 164, 54, 0.45), 0 2px 5px rgba(0, 0, 0, 0.15);
  filter: brightness(1.08);
}

.journal-hero-btn--primary svg.arrow-icon {
  transition: transform 0.2s ease;
}

.journal-hero-btn--primary:hover svg.arrow-icon {
  transform: translateX(3px);
}

.journal-hero-btn--outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary, #ffffff) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.journal-hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .journal-hero-btn--outline {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .journal-hero-btn--outline:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   ARTICLE DETAIL PAGE (jusr-*)
   ============================================ */

.jusr-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-2xl, 32px);
  align-items: start;
}

@media (max-width: 992px) {
  .jusr-article-layout {
    grid-template-columns: 1fr;
  }
}

.jusr-article-main {
  min-width: 0;
}

/* Breadcrumb */
.jusr-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-muted, #94a3b8);
  margin-bottom: var(--space-lg, 20px);
}

.jusr-breadcrumb a {
  color: var(--color-accent-primary, #00D4AA);
  text-decoration: none;
  transition: color 0.2s;
}

.jusr-breadcrumb a:hover {
  text-decoration: underline;
}

.jusr-breadcrumb .active {
  color: var(--color-text-primary, #ffffff);
  font-weight: 500;
}

/* Language Switcher Tabs */
.jusr-lang-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-lg, 20px);
  padding: 6px 12px;
  background: var(--color-bg-card, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 30px;
  width: fit-content;
}

.jusr-lang-tabs__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted, #94a3b8);
  margin-right: 4px;
}

.jusr-lang-tab {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-text-secondary, #cbd5e1);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jusr-lang-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.jusr-lang-tab.active {
  background: var(--color-accent-primary, #00D4AA);
  color: #060D18 !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 212, 170, 0.3);
}

/* Article Title */
.jusr-article-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-primary, #ffffff);
  margin-bottom: var(--space-xl, 24px);
}

/* Authors Grid */
.jusr-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: var(--space-xl, 24px);
}

.jusr-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--color-bg-card, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.jusr-author-card:hover {
  border-color: rgba(216, 164, 54, 0.3);
  transform: translateY(-2px);
}

.jusr-author-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4AA 0%, #0077B6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.25);
}

.jusr-author-card__info {
  min-width: 0;
}

.jusr-author-card__info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-primary, #ffffff);
  margin: 0 0 3px 0;
}

.jusr-author-card__info p {
  font-size: 0.82rem;
  color: var(--color-text-muted, #94a3b8);
  margin: 0;
  line-height: 1.4;
}

.jusr-orcid-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #a6ce39 !important;
  text-decoration: none;
  margin-top: 4px;
  font-weight: 600;
}

.jusr-orcid-link:hover {
  text-decoration: underline;
}

/* Meta Strip */
.jusr-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--space-2xl, 32px);
}

.jusr-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--color-text-secondary, #cbd5e1);
}

.jusr-meta-item svg {
  color: var(--color-accent-primary, #00D4AA);
  flex-shrink: 0;
}

.jusr-meta-item a {
  color: var(--color-accent-primary, #00D4AA);
  text-decoration: none;
  font-weight: 600;
}

.jusr-meta-item a:hover {
  text-decoration: underline;
}

/* Abstract Box */
.jusr-abstract-box {
  background: var(--color-bg-card, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-2xl, 28px);
  margin-bottom: var(--space-2xl, 32px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.jusr-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary, #ffffff);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
}

.jusr-section-title svg {
  color: var(--color-accent-primary, #00D4AA);
}

.jusr-abstract-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary, #cbd5e1);
  text-align: justify;
}

/* Keywords Section */
.jusr-keywords-section {
  margin-bottom: var(--space-2xl, 32px);
}

.jusr-section-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted, #94a3b8);
  margin-bottom: 12px;
}

.jusr-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jusr-keyword-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent-primary, #00D4AA);
  transition: all 0.2s ease;
}

.jusr-keyword-tag:hover {
  background: rgba(0, 212, 170, 0.16);
  border-color: var(--color-accent-primary, #00D4AA);
  transform: translateY(-1px);
}

/* References Section */
.jusr-references-section {
  background: var(--color-bg-card, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-2xl, 28px);
  margin-bottom: var(--space-2xl, 32px);
}

.jusr-references-list {
  padding-left: 24px;
  margin: 0;
}

.jusr-references-list li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #cbd5e1);
  margin-bottom: 10px;
}

/* License Box */
.jusr-license-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(216, 164, 54, 0.06);
  border: 1px solid rgba(216, 164, 54, 0.2);
  border-radius: var(--radius-lg, 12px);
}

.jusr-license-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.jusr-license-box h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-primary, #ffffff);
  margin: 0 0 4px 0;
}

.jusr-license-box p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted, #94a3b8);
  margin: 0;
}

.jusr-license-box a {
  color: var(--color-accent-gold, #d8a436);
  text-decoration: underline;
}

/* Sidebar Cards */
.jusr-article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jusr-sidebar-card {
  background: var(--color-bg-card, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-xl, 16px);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.jusr-sidebar-card h3,
.jusr-sidebar-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary, #ffffff);
  margin: 0 0 12px 0;
}

.jusr-sidebar-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted, #94a3b8);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.jusr-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.jusr-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
}

/* Stats Row */
.jusr-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jusr-stat-box {
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
  border-radius: var(--radius-lg, 12px);
  text-align: center;
}

.jusr-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-primary, #00D4AA);
  line-height: 1.2;
}

.jusr-stat-lbl {
  font-size: 0.78rem;
  color: var(--color-text-muted, #94a3b8);
  margin-top: 4px;
}

/* Citation Box */
.jusr-citation-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  padding-bottom: 8px;
}

.jusr-cite-tab {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-text-muted, #94a3b8);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jusr-cite-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.jusr-cite-tab.active {
  background: var(--color-accent-primary, #00D4AA);
  color: #060D18 !important;
  font-weight: 700;
}

.jusr-citation-output {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #cbd5e1);
  font-family: monospace, sans-serif;
  word-break: break-word;
  margin-bottom: 12px;
}

.jusr-btn-copy {
  width: 100%;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  color: var(--color-text-primary, #ffffff);
  cursor: pointer;
  transition: all 0.2s ease;
}

.jusr-btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Light Theme Overrides for Article */
[data-theme="light"] .jusr-article-title {
  color: #0f172a !important;
}

[data-theme="light"] .jusr-breadcrumb .active {
  color: #0f172a !important;
}

[data-theme="light"] .jusr-lang-tabs {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .jusr-lang-tab {
  color: #64748b !important;
}

[data-theme="light"] .jusr-lang-tab:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

[data-theme="light"] .jusr-lang-tab.active {
  background: #053b75 !important;
  color: #ffffff !important;
}

[data-theme="light"] .jusr-author-card,
[data-theme="light"] .jusr-abstract-box,
[data-theme="light"] .jusr-references-section,
[data-theme="light"] .jusr-sidebar-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .jusr-author-card__info h4,
[data-theme="light"] .jusr-section-title,
[data-theme="light"] .jusr-sidebar-card h3,
[data-theme="light"] .jusr-sidebar-card h4,
[data-theme="light"] .jusr-license-box h4 {
  color: #0f172a !important;
}

[data-theme="light"] .jusr-abstract-text,
[data-theme="light"] .jusr-references-list li {
  color: #334155 !important;
}

[data-theme="light"] .jusr-author-card__info p,
[data-theme="light"] .jusr-sidebar-card p,
[data-theme="light"] .jusr-license-box p,
[data-theme="light"] .jusr-stat-lbl,
[data-theme="light"] .jusr-lang-tabs__label {
  color: #64748b !important;
}

[data-theme="light"] .jusr-meta-strip {
  background: rgba(5, 59, 117, 0.05) !important;
  border-color: rgba(5, 59, 117, 0.15) !important;
  color: #334155 !important;
}

[data-theme="light"] .jusr-stat-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .jusr-stat-num {
  color: #053b75 !important;
}

[data-theme="light"] .jusr-keyword-tag {
  background: rgba(5, 59, 117, 0.06) !important;
  border-color: rgba(5, 59, 117, 0.2) !important;
  color: #053b75 !important;
}

[data-theme="light"] .jusr-citation-output {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

[data-theme="light"] .jusr-btn-copy {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .jusr-btn-copy:hover {
  background: #e2e8f0 !important;
}

[data-theme="light"] .jusr-license-box {
  background: rgba(216, 164, 54, 0.08) !important;
  border-color: rgba(216, 164, 54, 0.25) !important;
}





/* ==================== INDEXING SECTION ==================== */
.indexing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.indexing__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--color-bg-card, #111F35);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  text-decoration: none;
  color: var(--color-text-primary, #ffffff);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.indexing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary, linear-gradient(135deg, #00D4AA, #3B82F6));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indexing__card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 170, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 212, 170, 0.15);
}

.indexing__card:hover::before {
  opacity: 1;
}

.indexing__card-img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

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

.indexing__card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-secondary, #c0c8d4);
  text-align: center;
  transition: color 0.3s ease;
}

.indexing__card:hover .indexing__card-name {
  color: var(--color-accent-primary, #00D4AA);
}

[data-theme="light"] .indexing__card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .indexing__card:hover {
  border-color: #053b75 !important;
  box-shadow: 0 12px 28px rgba(5, 59, 117, 0.12) !important;
}

[data-theme="light"] .indexing__card-name {
  color: #334155 !important;
}

[data-theme="light"] .indexing__card:hover .indexing__card-name {
  color: #053b75 !important;
}

