/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-secondary: #0f172a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #a7b0c3;
  --accent: #7c9cff;
  --accent-2: #57e6ff;
  --accent-3: #d66bff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-secondary: #e9eef7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --text: #101828;
  --muted: #526075;
  --accent: #4f6ef7;
  --accent-2: #0ea5e9;
  --accent-3: #a855f7;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 156, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(87, 230, 255, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  transition: background 0.3s ease, color 0.3s ease;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.page-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  z-index: 2;
}

.bg-orb {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
  z-index: 0;
}

.orb-one {
  top: 60px;
  left: -60px;
  background: #5b8cff;
}

.orb-two {
  right: -40px;
  bottom: 80px;
  background: #2dd4bf;
  animation-delay: -4s;
}

.orb-three {
  top: 42%;
  left: 55%;
  width: 220px;
  height: 220px;
  background: rgba(214, 107, 255, 0.85);
  opacity: 0.18;
  animation-delay: -7s;
}

.bg-beam {
  position: fixed;
  width: 46vw;
  height: 14px;
  pointer-events: none;
  filter: blur(36px);
  opacity: 0.28;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  animation: beamShift 10s ease-in-out infinite;
  z-index: 0;
}

.beam-one {
  top: 18%;
  left: -10%;
}

.beam-two {
  bottom: 18%;
  right: -16%;
  transform: rotate(16deg);
  animation-delay: -5s;
}

.bg-grid,
.noise-overlay,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
          mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  opacity: 0.22;
}

.noise-overlay {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0.4px, transparent 0.8px),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.9) 0.5px, transparent 0.9px),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.7) 0.4px, transparent 0.8px);
  background-size: 22px 22px, 28px 28px, 24px 24px;
  mix-blend-mode: soft-light;
}

.scanlines {
  opacity: 0.05;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 2px,
    transparent 5px
  );
}

.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.topbar h1,
.hero h2,
.section-head h3,
.story-row h4,
.modal-title,
.empty h3 {
  margin: 0;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--muted);
}

.brand-block {
  min-width: 0;
  flex: 1 1 260px;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 360px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 14px;
  min-width: 0;
  flex: 1 1 280px;
  max-width: 420px;
}

.search-icon {
  color: var(--muted);
  font-size: 18px;
  flex: 0 0 auto;
}

.search {
  width: 100%;
  min-width: 0;
  padding: 13px 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

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

.theme-toggle,
.chip,
.load-more,
.cta,
.inline-link,
.secondary-btn,
.modal-close,
.story-row {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  flex: 0 0 auto;
}

.theme-toggle:hover,
.chip:hover,
.load-more:hover,
.cta:hover,
.inline-link:hover,
.secondary-btn:hover,
.modal-close:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  padding: 20px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
  align-items: stretch;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  gap: 16px;
}

.hero-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.hero-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 62ch;
}

.hero-meta,
.story-row-topline,
.modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  color: var(--text);
}

.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--muted);
  flex: 0 0 auto;
}

.hero-actions,
.modal-actions,
.story-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta,
.secondary-btn,
.load-more,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
}

.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 13px 18px;
  box-shadow: 0 14px 40px rgba(79, 110, 247, 0.3);
}

.secondary-btn {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
}

.secondary-btn.compact {
  padding: 10px 14px;
  font-size: 0.94rem;
}

.inline-link {
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}

.hero-media {
  position: relative;
  min-height: 340px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--panel-strong);
}

.hero-media img,
.story-row-media img,
.modal-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 24, 0.1) 50%, rgba(8, 12, 24, 0.22) 100%);
}

.filters-row {
  margin-bottom: 28px;
}

.chips-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chips-scroll::-webkit-scrollbar {
  height: 0;
}

.chip {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}

.chip-active {
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.18), rgba(14, 165, 233, 0.18));
  border-color: rgba(79, 110, 247, 0.35);
  box-shadow: 0 12px 30px rgba(79, 110, 247, 0.16);
}

.stories-section {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin-bottom: 48px;
}

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

.section-copy {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

.stories-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.story-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  padding: 16px;
  border-radius: 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.story-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 156, 255, 0.06), transparent 36%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.story-row:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 156, 255, 0.24);
}

.story-row:hover::before {
  opacity: 1;
}

.story-row-media {
  position: relative;
  min-height: 184px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel-strong);
}

.story-category-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 14, 30, 0.68);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.story-row-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 4px 2px;
}

.story-row h4 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.story-summary {
  margin: 0;
  color: var(--text);
  opacity: 0.9;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 70ch;
}

.story-source {
  color: var(--text);
  font-weight: 600;
}

.story-time {
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.load-more {
  padding: 13px 18px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  color: var(--text);
}

.empty {
  padding: 28px;
  border-radius: 28px;
}

.empty p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 20px;
  background: rgba(4, 10, 20, 0.6);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-shell {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 30px;
}

.modal-close {
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  margin-left: auto;
  margin-right: 16px;
  margin-top: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
  cursor: pointer;
}

.modal-cover-wrap {
  position: relative;
  height: min(38vh, 340px);
  overflow: hidden;
}

.modal-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.1), rgba(8, 12, 24, 0.45));
}

.modal-content {
  padding: 24px 24px 28px;
}

.modal-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

.modal-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.modal-body {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.modal-body p {
  margin: 0;
  line-height: 1.9;
  font-size: 1.02rem;
  color: var(--text);
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.05);
  }
}

@keyframes beamShift {
  0%,
  100% {
    transform: translateX(0) rotate(-18deg);
  }
  50% {
    transform: translateX(34px) rotate(-14deg);
  }
}

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

  .story-row {
    grid-template-columns: 1fr;
  }

  .story-row-media {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 16px;
  }

  .topbar {
    top: 10px;
    padding: 16px;
    border-radius: 20px;
  }

  .hero,
  .story-row,
  .empty,
  .modal-shell {
    border-radius: 24px;
  }

  .hero {
    padding: 16px;
  }

  .hero-media {
    min-height: 260px;
  }

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

  .story-row-content {
    gap: 10px;
  }

  .story-summary {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .modal-content {
    padding: 18px 16px 22px;
  }
}

