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

:root {
  --primary: #071b48;
  --bg: #ffffff;
  --text: #111111;
  --soft-bg: #f4f7fb;
  --border: #dbe4ee;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  --bg: #0e1621;
  --text: #f5f5f5;
  --soft-bg: #182231;
  --border: #2a3a50;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .header {
  background: rgba(14, 22, 33, 0.92);
}

.header-inner {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo img {
  height: 58px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.04);
}

/* Right action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Common icon button style */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  color: var(--text);
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

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

.icon-btn i {
  font-size: 16px;
}

.icon-btn span {
  font-size: 14px;
  font-weight: 600;
}

/* Theme button round */
.theme-toggle {
  width: 46px;
  padding: 0;
  border-radius: 50%;
}

/* Login button */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(24, 104, 178, 0.28);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 104, 178, 0.35);
}

/* Translate dropdown */
.translate-wrap {
  position: relative;
}

.translate-menu {
  position: absolute;
  top: 56px;
  right: 0;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.translate-menu.show {
  display: flex;
}

.lang-btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  background: transparent;
  transition: 0.25s ease;
}

.lang-btn:hover {
  background: var(--soft-bg);
  color: var(--primary);
}

/* Demo section */
.demo-section {
  padding: 60px 0;
}

.demo-section h1 {
  margin-bottom: 12px;
  font-size: 32px;
}

.demo-section p {
  font-size: 18px;
  max-width: 700px;
  line-height: 1.6;
}

/* Animation */
.logo,
.header-actions > * {
  animation: fadeUp 0.6s ease both;
}

.header-actions > *:nth-child(1) {
  animation-delay: 0.08s;
}

.header-actions > *:nth-child(2) {
  animation-delay: 0.16s;
}

.header-actions > *:nth-child(3) {
  animation-delay: 0.24s;
}

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

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo img {
    height: 50px;
  }

  .translate-menu {
    right: auto;
    left: 0;
  }
}

@media (max-width: 480px) {
  .translate-btn span,
  .login-btn span {
    display: none;
  }

  .icon-btn,
  .login-btn {
    min-width: 44px;
    padding: 0 14px;
  }

  .demo-section h1 {
    font-size: 24px;
  }

  .demo-section p {
    font-size: 16px;
  }
}

/* =========================
   MENU BAR SECTION
========================= */
.menu-bar {
  background: var(--primary);
  position: relative;
  z-index: 999;
}

.menu-bar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Left hamburger */
.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Center links */
.menu-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

/* Each item */
.menu-item {
  position: relative;
}

.menu-link {
  height: 58px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: 0.3s ease;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-link i {
  font-size: 12px;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 11px 16px;
  color: var(--text);
  font-size: 14px;
  transition: 0.25s ease;
}

.dropdown-menu a:hover {
  background: var(--soft-bg);
  color: var(--primary);
}

.menu-item.open .dropdown-menu {
  display: block;
}

/* Right actions */
.menu-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.donate-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: 0.3s ease;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 992px) {
  .menu-bar-inner {
    position: relative;
    min-height: 58px;
  }

  .menu-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .menu-links.show {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .menu-link {
    width: 100%;
    height: 48px;
    justify-content: space-between;
    color: var(--text);
    border-radius: 10px;
    padding: 0 14px;
  }

  .menu-link:hover {
    background: var(--soft-bg);
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    border: none;
    box-shadow: none;
    border-radius: 10px;
    padding: 6px 0 6px 12px;
    background: transparent;
  }

  .menu-item.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 10px 12px;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .menu-bar-inner {
    gap: 10px;
  }

  .donate-btn span {
    display: none;
  }

  .donate-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
}

/* MOBILE MENU TOP ACTIONS */
.mobile-menu-top {
  display: none;
}

.mobile-action-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  background: var(--soft-bg);
  color: var(--text);
  border-radius: 10px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

.mobile-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.mobile-translate-menu {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.mobile-translate-menu.show {
  display: block;
}

.mobile-translate-menu .lang-btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
}

.mobile-translate-menu .lang-btn:hover {
  background: var(--soft-bg);
  color: var(--primary);
}

/* SMALL SCREEN FIX */
@media (max-width: 992px) {
  /* top header shows only logo */
  .header-inner {
    justify-content: center;
  }

  .header-actions {
    display: none;
  }

  .logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* show mobile actions inside hamburger menu */
  .mobile-menu-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  padding: 24px 0 34px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Left slider */
.hero-slider {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f1720;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18)),
    linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.06));
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 760px;
  padding: 34px 34px 30px;
  color: #ffffff;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 104, 178, 0.92);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.16;
  margin-bottom: 12px;
  font-weight: 800;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-bottom: 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: 0.3s ease;
}

.primary-btn {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 104, 178, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  z-index: 4;
  transition: 0.3s ease;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-prev {
  left: 16px;
}

.hero-next {
  right: 16px;
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 34px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: 0.3s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
}

/* Right trending panel */
.trending-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.trending-header {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(24, 104, 178, 0.08), rgba(24, 104, 178, 0.02));
}

.trending-header h2 {
  font-size: 22px;
  color: var(--text);
}

.trending-list {
  display: flex;
  flex-direction: column;
}

.trending-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  transition: 0.3s ease;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item:hover {
  background: var(--soft-bg);
}

.trending-item img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.trending-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.trending-content h3 {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

/* Dark mode support */
body.dark-mode .trending-panel {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

body.dark-mode .trending-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-content h1 {
    font-size: 34px;
  }
}

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

  .hero-slider {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 18px 0 28px;
  }

  .hero-slider {
    min-height: 420px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 24px 20px 22px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

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

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    left: 20px;
    bottom: 12px;
  }

  .trending-panel {
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .hero-slider {
    min-height: 390px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .trending-item {
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 14px 14px;
  }

  .trending-item img {
    height: 68px;
  }

  .trending-content h3 {
    font-size: 14px;
  }
}

.hero-slider {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f1720;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header {
  position: sticky;
  top: 0;
}

/* =========================
   LIVE MASS BAR PREMIUM
========================= */
.live-mass-bar {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(24, 104, 178, 0.10);
  border-bottom: 1px solid rgba(24, 104, 178, 0.10);
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.10), transparent 35%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.08), transparent 35%),
    linear-gradient(135deg, #f8fbff, #eef5fb 45%, #f9fcff);
}

body.dark-mode .live-mass-bar {
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.12), transparent 35%),
    linear-gradient(135deg, #101924, #142130 45%, #0f1822);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.live-mass-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 20%,
    transparent 40%
  );
  transform: translateX(-120%);
  animation: liveShine 9s linear infinite;
  pointer-events: none;
}

body.dark-mode .live-mass-bar::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    transparent 40%
  );
}

@keyframes liveShine {
  100% {
    transform: translateX(120%);
  }
}

.live-mass-inner {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.live-mass-left {
  display: flex;
  align-items: center;
}

.live-status-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-badge {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  border: 1px solid rgba(24, 104, 178, 0.15);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(24, 104, 178, 0.08);
  backdrop-filter: blur(6px);
}

.live-badge.is-live {
  background: rgba(255, 59, 48, 0.10);
  border-color: rgba(255, 59, 48, 0.18);
  color: #d92d20;
}

body.dark-mode .live-badge.is-live {
  color: #ff9b92;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.live-badge.is-live .live-dot {
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.70);
  animation: livePulse 1.7s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.live-time-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
}

.countdown-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(24, 104, 178, 0.10);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}

body.dark-mode .countdown-chip {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

/* Rolling center */
.live-rolling-wrap {
  position: relative;
  min-width: 0;
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(24, 104, 178, 0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

body.dark-mode .live-rolling-wrap {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.live-rolling-track {
  position: relative;
  height: 100%;
}

.live-roll-item {
  position: absolute;
  inset: 0;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.live-roll-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.live-roll-item.exit-up {
  opacity: 0;
  transform: translateY(-28px);
}

.live-roll-item h3 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--text);
}

.live-roll-item p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  color: var(--text);
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions */
.live-mass-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-mass-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.primary-live-btn {
  background: linear-gradient(135deg, #071b48, #0e2a64);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(24, 104, 178, 0.24);
}

.primary-live-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(24, 104, 178, 0.32);
}

.secondary-live-btn {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(24, 104, 178, 0.10);
  color: var(--text);
  backdrop-filter: blur(8px);
}

body.dark-mode .secondary-live-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.secondary-live-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
  .live-mass-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .live-mass-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .live-mass-inner {
    gap: 14px;
    padding: 12px 0;
  }

  .live-rolling-wrap {
    height: 74px;
  }

  .live-roll-item {
    padding: 12px 14px;
  }

  .live-roll-item h3 {
    font-size: 15px;
  }

  .live-roll-item p {
    font-size: 12px;
    white-space: normal;
  }

  .live-mass-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .live-mass-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* =========================
   NEW ON VINE MEDIA
========================= */
.vine-media-section {
  padding: 42px 0;
  background: transparent;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}

.section-head p {
  font-size: 15px;
  color: var(--text);
  opacity: 0.78;
  max-width: 700px;
}

.vine-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vine-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vine-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.vine-slider-wrap {
  overflow: hidden;
}

.vine-slider {
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.vine-card {
  min-width: calc((100% - 36px) / 3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.vine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.10);
}

.vine-image-wrap {
  position: relative;
  overflow: hidden;
}

.vine-image-wrap img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.vine-card:hover .vine-image-wrap img {
  transform: scale(1.06);
}

.vine-image-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.vine-card-content {
  padding: 18px;
}

.vine-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.vine-card-content h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

.vine-card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.78;
  margin-bottom: 14px;
}

.vine-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  transition: gap 0.25s ease;
}

.vine-read-more:hover {
  gap: 12px;
}

body.dark-mode .vine-card {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.20);
}

@media (max-width: 1024px) {
  .vine-card {
    min-width: calc((100% - 18px) / 2);
  }

  .section-head h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .vine-media-section {
    padding: 32px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .vine-card {
    min-width: 100%;
  }

  .vine-image-wrap img {
    height: 220px;
  }
}

/* =========================
   BLOG SECTION
========================= */
.blog-section {
  padding: 48px 0;
}

.blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-section-head h2 {
  font-size: 34px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}

.blog-section-head p {
  font-size: 15px;
  color: var(--text);
  opacity: 0.78;
  max-width: 700px;
}

.blog-view-all {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.blog-view-all:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  animation: fadeBlogUp 0.7s ease both;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.10);
}

.blog-card-featured {
  grid-row: span 2;
}

.blog-image-wrap {
  overflow: hidden;
}

.blog-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card-featured .blog-image-wrap img {
  height: 300px;
}

.blog-card:hover .blog-image-wrap img {
  transform: scale(1.05);
}

.blog-content {
  padding: 18px;
}

.blog-category {
  display: inline-block;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-content h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

.blog-card-featured .blog-content h3 {
  font-size: 26px;
}

.blog-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 14px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  transition: gap 0.25s ease;
}

.blog-read-more:hover {
  gap: 12px;
}

body.dark-mode .blog-card {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.20);
}

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

.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.12s; }
.blog-card:nth-child(3) { animation-delay: 0.18s; }
.blog-card:nth-child(4) { animation-delay: 0.24s; }
.blog-card:nth-child(5) { animation-delay: 0.30s; }

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

  .blog-card-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 34px 0;
  }

  .blog-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-section-head h2 {
    font-size: 26px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-featured {
    grid-column: span 1;
  }

  .blog-card-featured .blog-image-wrap img,
  .blog-image-wrap img {
    height: 220px;
  }

  .blog-card-featured .blog-content h3 {
    font-size: 22px;
  }
}

.blog-card {
  opacity: 0;
  transform: translateY(26px);
}

.blog-card.blog-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CHRISTIAN ART & PODCAST
========================= */
.art-podcast-section {
  padding: 50px 0;
  background:
    radial-gradient(circle at top left, rgba(183, 138, 61, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.06), transparent 30%);
}

body.dark-mode .art-podcast-section {
  background:
    radial-gradient(circle at top left, rgba(183, 138, 61, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.08), transparent 30%);
}

.art-podcast-head {
  margin-bottom: 24px;
}

.art-podcast-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(183, 138, 61, 0.12);
  color: #9a6a14;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

body.dark-mode .art-podcast-kicker {
  color: #f2c46d;
  background: rgba(242, 196, 109, 0.10);
}

.art-podcast-head h2 {
  font-size: 34px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}

.art-podcast-head p {
  font-size: 15px;
  color: var(--text);
  opacity: 0.78;
  max-width: 720px;
}

.art-podcast-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 22px;
}

/* Art side */
.art-feature-card {
  border-radius: 28px;
  overflow: hidden;
  min-height: 540px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.art-feature-image {
  position: relative;
  height: 100%;
}

.art-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.art-feature-card:hover .art-feature-image img {
  transform: scale(1.05);
}

.art-feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 18, 25, 0.84), rgba(15, 18, 25, 0.15)),
    linear-gradient(to right, rgba(15, 18, 25, 0.28), rgba(15, 18, 25, 0.02));
}

.art-feature-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 28px;
  color: #ffffff;
  z-index: 2;
}

.art-badge,
.podcast-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.art-badge {
  background: rgba(242, 196, 109, 0.18);
  color: #ffe2a6;
  border: 1px solid rgba(242, 196, 109, 0.25);
}

.art-feature-content h3 {
  font-size: 32px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.art-feature-content p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
}

/* Buttons */
.art-feature-actions,
.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.art-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.art-btn-primary {
  background: linear-gradient(135deg, #b78a3d, #d9aa55);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(183, 138, 61, 0.28);
}

.art-btn-primary:hover {
  transform: translateY(-2px);
}

.art-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}

.art-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Podcast side */
.podcast-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.podcast-main-card,
.podcast-mini-item {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(183, 138, 61, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

body.dark-mode .podcast-main-card,
body.dark-mode .podcast-mini-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.podcast-main-card {
  border-radius: 24px;
  padding: 22px;
}

.podcast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.podcast-badge {
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  border: 1px solid rgba(24, 104, 178, 0.12);
}

.podcast-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #071b48, #0e2a64);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(24, 104, 178, 0.24);
  transition: all 0.3s ease;
}

.podcast-play-btn:hover {
  transform: scale(1.06);
}

.podcast-play-btn.is-playing {
  animation: podcastPulse 1.6s infinite;
}

@keyframes podcastPulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 104, 178, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(24, 104, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 104, 178, 0); }
}

.podcast-main-card h3 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}

.podcast-main-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.82;
  margin-bottom: 18px;
}

.podcast-progress-wrap {
  margin-bottom: 18px;
}

.podcast-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 104, 178, 0.12);
  overflow: hidden;
  margin-bottom: 8px;
}

.podcast-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #071b48, #0e2a64);
  transition: width 0.3s linear;
}

.podcast-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text);
  opacity: 0.72;
}

.podcast-mini-list {
  display: grid;
  gap: 12px;
}

.podcast-mini-item {
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  transition: all 0.3s ease;
}

.podcast-mini-item:hover {
  transform: translateY(-3px);
}

.podcast-mini-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(24, 104, 178, 0.10);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.podcast-mini-item h4 {
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 4px;
}

.podcast-mini-item p {
  font-size: 13px;
  color: var(--text);
  opacity: 0.72;
}

/* Responsive */
@media (max-width: 1024px) {
  .art-podcast-grid {
    grid-template-columns: 1fr;
  }

  .art-feature-card {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .art-podcast-section {
    padding: 34px 0;
  }

  .art-podcast-head h2 {
    font-size: 26px;
  }

  .art-feature-card {
    min-height: 400px;
    border-radius: 22px;
  }

  .art-feature-content {
    padding: 20px;
  }

  .art-feature-content h3 {
    font-size: 24px;
  }

  .podcast-main-card h3 {
    font-size: 22px;
  }

  .podcast-main-card {
    border-radius: 20px;
    padding: 18px;
  }

  .podcast-mini-item {
    border-radius: 16px;
    padding: 14px;
  }
}

/* =========================
   NEWSLETTER SECTION
========================= */
.newsletter-section {
  padding: 46px 0 24px;
}

.newsletter-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.10), transparent 28%),
    linear-gradient(135deg, #04102d, #071b48 45%, #0e2a64);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(24, 104, 178, 0.22);
}

.newsletter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.12) 18%,
    transparent 36%
  );
  transform: translateX(-120%);
  animation: newsletterShine 10s linear infinite;
  pointer-events: none;
}

@keyframes newsletterShine {
  100% {
    transform: translateX(120%);
  }
}

.newsletter-content,
.newsletter-form-wrap {
  position: relative;
  z-index: 1;
}

.newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.newsletter-content h2 {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.newsletter-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
}

.newsletter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.newsletter-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  font-weight: 600;
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-input-group {
  position: relative;
}

.newsletter-input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 16px;
}

.newsletter-input-group input {
  width: 100%;
  height: 58px;
  border: none;
  outline: none;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  color: #111111;
  font-size: 15px;
  padding: 0 18px 0 46px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}

.newsletter-btn {
  min-height: 56px;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  background: #f2f7fc;
}

.newsletter-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.newsletter-message {
  margin-top: 14px;
  min-height: 24px;
  font-size: 14px;
  font-weight: 600;
}

.newsletter-message.success {
  color: #d7ffe1;
}

.newsletter-message.error {
  color: #ffe2e2;
}

/* Dark mode */
body.dark-mode .newsletter-box {
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.25), transparent 30%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.12), transparent 28%),
    linear-gradient(135deg, #0b1420, #102131 45%, #13304a);
  box-shadow: 0 22px 42px rgba(0,0,0,0.30);
}

@media (max-width: 992px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .newsletter-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 34px 0 18px;
  }

  .newsletter-box {
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
  }

  .newsletter-content h2 {
    font-size: 24px;
  }

  .newsletter-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .newsletter-points {
    gap: 10px;
  }

  .newsletter-points span {
    width: 100%;
    justify-content: flex-start;
  }

  .newsletter-input-group input {
    height: 54px;
    border-radius: 16px;
  }

  .newsletter-btn {
    min-height: 52px;
    border-radius: 16px;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  margin-top: 40px;
  padding-top: 0;
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.10), transparent 25%),
    linear-gradient(135deg, #0d1622 0%, #122131 50%, #0f1a27 100%);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 18%, transparent 36%);
  transform: translateX(-120%);
  animation: footerShine 12s linear infinite;
  pointer-events: none;
}

@keyframes footerShine {
  100% {
    transform: translateX(120%);
  }
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 26px;
  padding: 56px 0 28px;
}

.footer-col h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: #ffffff;
  position: relative;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #071b48;
  margin-top: 10px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  max-height: 58px;
  width: auto;
  display: block;
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  max-width: 360px;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #071b48;
  border-color: #071b48;
  transform: translateY(-3px);
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li,
.footer-contact li + li {
  margin-top: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: all 0.25s ease;
  position: relative;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact i {
  color: #56a6ef;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.78);
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.66);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.66);
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* light mode footer variation */
body:not(.dark-mode) .site-footer {
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.08), transparent 25%),
    linear-gradient(135deg, #12283f 0%, #15324d 50%, #11263b 100%);
}

/* responsive */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 24px;
  }

  .footer-brand-text {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    gap: 12px;
  }
}

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 50px 0;
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.08), transparent 30%),
    linear-gradient(135deg, #f7fbff, #eef4fb);
}

body.dark-mode .admin-login-page {
  background:
    radial-gradient(circle at top left, rgba(24, 104, 178, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 104, 178, 0.10), transparent 30%),
    linear-gradient(135deg, #0d1621, #111d2b);
}

.admin-login-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.admin-login-info,
.admin-login-card {
  border-radius: 28px;
  overflow: hidden;
}

.admin-login-info {
  padding: 34px;
  background: linear-gradient(135deg, #04102d 0%, #071b48 55%, #0e2a64 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(24, 104, 178, 0.20);
}

.admin-login-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.admin-login-info h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.admin-login-info p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}

.admin-login-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.admin-login-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
}

.admin-login-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.admin-login-card-top {
  margin-bottom: 22px;
}

.admin-login-card-top h2 {
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--text);
}

.admin-login-card-top p {
  font-size: 14px;
  color: var(--text);
  opacity: 0.75;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-form-group label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.admin-input-wrap {
  position: relative;
}

.admin-input-wrap > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b8794;
  font-size: 16px;
}

.admin-input-wrap input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--soft-bg);
  color: var(--text);
  font-size: 15px;
  outline: none;
  padding: 0 46px 0 46px;
  transition: all 0.3s ease;
}

.admin-input-wrap input:focus {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(24, 104, 178, 0.12);
}

.admin-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #7b8794;
  cursor: pointer;
}

.admin-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.admin-forgot-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.admin-login-btn {
  height: 56px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #071b48, #0e2a64);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(24, 104, 178, 0.22);
  transition: all 0.3s ease;
}

.admin-login-btn:hover {
  transform: translateY(-2px);
}

.admin-login-message {
  min-height: 22px;
  font-size: 14px;
  font-weight: 700;
}

.admin-login-message.success {
  color: #15803d;
}

.admin-login-message.error {
  color: #dc2626;
}

@media (max-width: 992px) {
  .admin-login-wrap {
    grid-template-columns: 1fr;
  }

  .admin-login-info h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .admin-login-page {
    padding: 28px 0;
  }

  .admin-login-info,
  .admin-login-card {
    padding: 22px;
    border-radius: 22px;
  }

  .admin-login-info h1 {
    font-size: 28px;
  }

  .admin-login-card-top h2 {
    font-size: 24px;
  }
}

:root {
  --primary: #071b48;
  --bg: #ffffff;
  --text: #111111;
  --soft-bg: #f4f7fb;
  --border: #dbe4ee;
}

body.dark-mode {
  --bg: #0e1621;
  --text: #f5f5f5;
  --soft-bg: #182231;
  --border: #2a3a50;
}

 /* =========================
   NEWSLETTER SECTION
========================= */
.newsletter-section {
  padding: 48px 0 24px;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #04102d 0%, #071b48 55%, #0e2a64 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(24, 104, 178, 0.22);
}

.newsletter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 30%),
              radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 30%);
  pointer-events: none;
}

.newsletter-content,
.newsletter-form-wrap {
  position: relative;
  z-index: 1;
}

.newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.newsletter-content h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #ffffff;
}

.newsletter-content p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.newsletter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-input-group {
  position: relative;
}

.newsletter-input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 16px;
}

.newsletter-input-group input {
  width: 100%;
  height: 58px;
  border: none;
  outline: none;
  border-radius: 18px;
  padding: 0 18px 0 46px;
  font-size: 15px;
  color: #111111;
  background: #ffffff;
}

.newsletter-btn {
  height: 56px;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  color: #071b48;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  background: #f2f7fc;
}

.newsletter-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.newsletter-message {
  margin-top: 12px;
  min-height: 22px;
  font-size: 14px;
  font-weight: 600;
}

.newsletter-message.success {
  color: #d9ffe3;
}

.newsletter-message.error {
  color: #ffe2e2;
}

/* dark mode */
body.dark-mode .newsletter-box {
  background: linear-gradient(135deg, #0b1420 0%, #102131 55%, #13304a 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

body.dark-mode .newsletter-input-group input {
  background: #ffffff;
  color: #111111;
}

/* responsive */
@media (max-width: 992px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .newsletter-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 36px 0 18px;
  }

  .newsletter-box {
    padding: 22px;
    border-radius: 22px;
    gap: 18px;
  }

  .newsletter-content h2 {
    font-size: 24px;
  }

  .newsletter-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .newsletter-points span {
    width: 100%;
  }

  .newsletter-input-group input {
    height: 54px;
    border-radius: 16px;
  }

  .newsletter-btn {
    height: 52px;
    border-radius: 16px;
  }
}

