/* =====================================================================
   WE DEFEND AI – nadstavba nad zdieľaným dizajnovým systémom série
   Rovnaké farby, fonty a komponenty ako hason.sk / real3d.sk,
   iné rozmiestnenie: manifest hero s terminálom, eseje, videá, link-blog.
   ===================================================================== */

/* ---- Brand ikona: štít ---- */
.brand-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 7px;
  bottom: 8px;
  width: auto;
  height: auto;
  border: 2px solid var(--cyan);
  border-radius: 6px 6px 50% 50% / 6px 6px 65% 65%;
  transform: none;
  box-shadow: 0 0 12px rgba(120, 236, 255, 0.4);
}

.brand-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 8px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(120, 236, 255, 0.6);
}

.brand-icon span { display: none; }

/* ---- Hero: manifest v strede ---- */
.hero {
  grid-template-columns: 1fr;
  gap: 30px;
  min-height: 0;
  padding: 72px 0 40px;
}

.hero h1::after { content: none; }

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy .eyebrow { margin: 0 auto; }

.hero h1 {
  max-width: none;
  font-size: clamp(46px, 6.8vw, 96px);
}

.tagline {
  display: block;
  margin-top: 14px;
  color: transparent;
  background: linear-gradient(90deg, #ffffff, var(--cyan) 46%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(26px, 3.8vw, 52px);
  line-height: 1;
  text-shadow: 0 0 34px rgba(35, 168, 255, 0.2);
}

.hero .lead { margin-left: auto; margin-right: auto; }

.hero-actions { justify-content: center; }

.hero .signal-strip { justify-content: center; }

/* ---- Kino panel s fotkou cez celú šírku (ako real3d) ---- */
.cinema {
  position: relative;
  margin: 10px 0 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(120, 236, 255, 0.28);
  border-radius: var(--radius);
  background: #061018;
  box-shadow: var(--shadow), 0 0 70px rgba(35, 168, 255, 0.22);
}

.cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(35, 168, 255, 0.1), transparent 34%, transparent 72%, rgba(255, 182, 107, 0.08));
}

.cinema::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -20%;
  top: -2px;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 236, 255, 0.95), transparent);
  animation: scanCinema 6.4s linear infinite;
}

@keyframes scanCinema {
  from { top: 0; }
  to { top: 100%; }
}

.cinema img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cinema figcaption {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  padding: 14px;
  border: 1px solid rgba(120, 236, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 8, 12, 0.64);
  backdrop-filter: blur(16px);
}

.cinema figcaption strong { font-size: 15px; font-weight: 900; }

.cinema figcaption span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cinema .hud { position: absolute; }
.cinema .hud-left { left: 18px; top: 18px; }
.cinema .hud-right { right: 18px; top: auto; bottom: 18px; }

/* ---- Manifest: terminál + text vedľa seba ---- */
.manifest {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 40px 0 96px;
}

.manifest .terminal { align-self: stretch; }

.manifest-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.manifest-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.manifest-copy li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(120, 236, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
}

.manifest-copy li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(139, 255, 156, 0.66);
}

.manifest-copy h2 {
  margin: 20px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

/* ---- Eseje: karty s metaúdajmi ---- */
.essay-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.essay-meta .chip {
  padding: 6px 9px;
  border: 1px solid rgba(120, 236, 255, 0.24);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(35, 168, 255, 0.07);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.essay-meta time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* ---- Videá ---- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.videos-grid article {
  overflow: hidden;
  border: 1px solid rgba(120, 236, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 22, 34, 0.84), rgba(4, 10, 16, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 168, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #071019, #030609);
}

.video-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(120, 236, 255, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 42%, var(--cyan) 42%, var(--cyan) 44%, transparent 44%) no-repeat,
    rgba(3, 8, 12, 0.6);
  box-shadow: 0 0 34px rgba(35, 168, 255, 0.3);
}

.video-thumb span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 16px solid var(--cyan);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
  filter: drop-shadow(0 0 10px rgba(120, 236, 255, 0.8));
}

.videos-grid .video-body { padding: 20px 22px 22px; }

.videos-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.videos-grid h3 a { color: var(--text); text-decoration: none; }
.videos-grid h3 a:hover { color: var(--cyan); }

.videos-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Zo sveta: link-blog zoznam ---- */
.linklog {
  display: grid;
  gap: 10px;
}

.linklog article {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid rgba(120, 236, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.linklog article:hover {
  border-color: var(--line-strong);
  background: rgba(35, 168, 255, 0.06);
}

.linklog time {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.linklog h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.linklog h3 a { color: var(--text); text-decoration: none; }
.linklog h3 a:hover { color: var(--cyan); }

.linklog h3 small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.linklog .arrow {
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 700;
}

/* ---- Séria ---- */
.series {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.series article {
  padding: 24px;
  border: 1px solid rgba(120, 236, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 22, 34, 0.84), rgba(4, 10, 16, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.series h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.series h3 a { color: var(--text); text-decoration: none; }
.series h3 a:hover { color: var(--cyan); }

.series p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.series-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(120, 236, 255, 0.24);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(35, 168, 255, 0.07);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.series-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(139, 255, 156, 0.8);
}

.series-status.is-current::before { background: var(--cyan); box-shadow: 0 0 12px rgba(120, 236, 255, 0.8); }

/* ---- Pätička ---- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(120, 236, 255, 0.14);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer nav { display: flex; gap: 16px; }

/* ---- Responzivita ---- */
@media (max-width: 1050px) {
  .cinema { aspect-ratio: 16 / 9; }
  .cinema .hud { display: none; }
  .manifest { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .series { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 40px 0 22px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 52px); }
  .tagline { font-size: clamp(22px, 6.6vw, 32px); }
  .hero .signal-strip { display: none; }
  .linklog article { grid-template-columns: 1fr; gap: 6px; }
  .linklog .arrow { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* ---- Video thumb s featured obrazkom ---- */
.video-thumb img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.video-thumb::after, .video-thumb span { z-index: 1; }

/* ---- Komentare ---- */
.comments-wrap { margin-top: 42px; }

.comments-area {
  padding: 24px;
  border: 1px solid rgba(120, 236, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 22, 34, 0.84), rgba(4, 10, 16, 0.9));
}

.comments-title, .comment-reply-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.1;
}

.comment-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.comment-list .comment {
  padding: 14px 0;
  border-bottom: 1px solid rgba(120, 236, 255, 0.12);
}

.comment-list .comment-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.comment-list .comment-author .avatar {
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.comment-list .comment-author .fn {
  font-style: normal;
  font-weight: 800;
  color: var(--text);
}

.comment-list .comment-metadata a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
}

.comment-list .reply a, .comment-list .comment-edit-link {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 236, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 8, 12, 0.72);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 18px rgba(35, 168, 255, 0.18);
}

.comment-form .submit {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  color: #041017;
  background: linear-gradient(135deg, #f0feff, var(--cyan) 38%, var(--blue));
  box-shadow: 0 18px 42px rgba(35, 168, 255, 0.28);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
}
