/*
Theme Name: AsiaCALL Conference
Theme URI: https://asiacall.info
Author: AsiaCALL (Asia Association of Computer-Assisted Language Learning)
Author URI: https://asiacall.info
Description: Premium Academic Conference Theme for the 23rd AsiaCALL International Conference (AsiaCALL 2026) - "AI for Language Assessment and Academic Integrity". Features interactive 2-day multi-track schedule, Keynote showcase, Scopus & IJAILE publication routes, PayPal payment gateway, and live countdown timer.
Version: 23.0.0
License: GNU General Public License v2 or later
Text Domain: asiacall-conference
*/

/* ==========================================================================
   ASIACALL CONFERENCE - CORE DESIGN SYSTEM
   ========================================================================== */

:root {
  --primary: #0b1f3a;
  --primary-dark: #070d18;
  --primary-light: #143666;
  --primary-cobalt: #1e4b8a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --accent-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --hero-gradient: linear-gradient(135deg, #070d18 0%, #0b1f3a 50%, #143666 100%);
  
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0b1f3a;
  --bg-dark-card: #102444;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-color: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(11, 31, 58, 0.14);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.35);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

[data-theme="dark"] {
  --bg-body: #070d18;
  --bg-surface: #0f2038;
  --bg-subtle: #142a4a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: rgba(255, 255, 255, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

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

/* LAYOUT */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-dark {
  background: var(--primary-dark);
  color: var(--text-white);
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* SITE HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.header-brand-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-logo-single {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.brand-logo-single:hover {
  color: #ffffff;
  opacity: 0.95;
}

.brand-main {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.brand-year {
  color: var(--accent);
  font-weight: 900;
}

.brand-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  font-weight: 300;
}

.brand-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.01em;
  line-height: 1;
}

.header-nav-row {
  background: rgba(7, 21, 40, 0.45);
}

.header-nav-row .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  width: 100%;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.25rem;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* DROPDOWN NAVIGATION */
.nav-item-dropdown {
  position: relative;
}

.nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  opacity: 0.8;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(11, 31, 58, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  list-style: none;
  padding: 0.6rem 0;
  margin: 0;
  min-width: 270px;
  max-height: 440px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  text-align: left;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  padding: 0.5rem 1.15rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.3rem;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.4rem 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-link:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-light);
  padding-left: 1.35rem;
}

.dropdown-link .external-icon {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-left: 0.5rem;
}

.dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
.dropdown-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-cobalt);
  color: #ffffff;
}

.btn-primary:hover {
  background: #143666;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent-gold-gradient);
  color: #0b1f3a;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #070d18;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: var(--hero-gradient);
  color: var(--text-white);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(30, 75, 138, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-theme {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 500;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* COUNTDOWN CARD */
.countdown-card {
  background: rgba(16, 36, 68, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.countdown-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.countdown-unit {
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
}

.countdown-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-sans);
}

.countdown-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

.countdown-milestone {
  font-size: 0.85rem;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* STATS BAR */
.stats-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem 1rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary-cobalt);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* KEYNOTE SPEAKERS GRID */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.speaker-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.speaker-photo-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-photo {
  transform: scale(1.05);
}

.speaker-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.speaker-role {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.speaker-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.speaker-affil {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.speaker-topic {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-main);
  background: var(--bg-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-cobalt);
  margin-top: auto;
}

/* PRESIDENTIAL KEYNOTE SPOTLIGHT CARD */
.presidential-keynote-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(18, 61, 122, 0.95) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  transition: var(--transition);
}

.presidential-keynote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
}

.presidential-photo-wrap {
  position: relative;
  overflow: hidden;
  background: #0b1f3a;
  min-height: 280px;
}

.presidential-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.presidential-keynote-card:hover .presidential-photo {
  transform: scale(1.04);
}

.presidential-body {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presidential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gold-gradient);
  color: #0b1f3a;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.presidential-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.presidential-affil {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.presidential-topic-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.presidential-topic-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.presidential-topic-title {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .presidential-keynote-card {
    grid-template-columns: 1fr;
  }
  .presidential-photo-wrap {
    height: 280px;
  }
  .presidential-body {
    padding: 1.75rem;
  }
  .presidential-name {
    font-size: 1.45rem;
  }
}

/* PRESTIGIOUS PUBLICATION VENUES (IMPRESSIVE PREMIUM STYLING) */
.pub-section {
  background: linear-gradient(135deg, #071529 0%, #0c2347 50%, #10305f 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5.5rem 0;
}

.pub-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pub-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pub-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.pub-card-premium {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pub-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.1));
  transition: var(--transition);
}

.pub-card-premium:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.15);
}

.pub-card-premium.gold:hover::before {
  background: var(--accent-gold-gradient);
}

.pub-card-premium.emerald:hover::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.pub-card-premium.indigo:hover::before {
  background: linear-gradient(90deg, #6366f1, #3b82f6);
}

.pub-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.pub-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pub-badge-pill.gold {
  background: var(--accent-gold-gradient);
  color: #0b1f3a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pub-badge-pill.emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pub-badge-pill.indigo {
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pub-name-main {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.pub-subname {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.pub-summary {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.pub-apc-box {
  margin-top: auto;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-apc-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.pub-apc-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.pub-apc-value.accent {
  color: var(--accent-light);
}

.pub-btn {
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 1100px) {
  .pub-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .pub-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* SITE FOOTER */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .mobile-toggle {
    display: block;
  }
  .header-nav-row {
    position: relative;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .brand-sub {
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .brand-logo-single {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    white-space: normal;
  }
  .brand-divider {
    display: none;
  }
  .brand-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
  }
  .top-bar-info {
    display: none;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}
