/* ==========================================================================
   Arena theme (FC Fancore) – svetlý športový vzhľad: zlato-žltý akcent + tmavá navy + biela.
   Originálny dizajn inšpirovaný bežnými konvenciami futbalových webov (tmavé pruhy nadpisov so
   žltým akcentom, centrovaný hero s prekrývajúcimi kartami, žltá hlavička tabuľky, biele karty).
   Načíta sa iba keď SiteSettings.theme == 'arena'. Všetko pod body.theme-arena – klasická a FanCore
   téma ostávajú nedotknuté. Akcent je fixný v téme (nezávisí od primárnej farby webu).
   ========================================================================== */

body.theme-arena {
  --red: #f5a623;        /* zlato-žltý akcent */
  --red-d: #e0940f;
  --ink: #1f2733;        /* tmavá navy */
  --ink-2: #27303d;
  --bg: #ffffff;
  --line: #e7e9ee;
  --muted: #7a8291;
  --head: "Rajdhani", sans-serif;
  --body: "Inter", sans-serif;
  --r: 4px; --r-lg: 6px; --wrap: 1200px;
  background: var(--bg);
  font-family: var(--body);
}
body.theme-arena h1, body.theme-arena h2, body.theme-arena h3 { font-family: var(--head); }

/* ---- Top lišta (navy) ---- */
body.theme-arena .topbar { background: var(--ink); color: rgba(255, 255, 255, .72); }
body.theme-arena .topbar a { color: #fff; }
body.theme-arena .topbar .soc a:hover, body.theme-arena .topbar .links a:hover { color: var(--red); }
body.theme-arena .topbar .soc { margin-left: 0; }

/* ---- Hlavička: biela, žltý akcent ---- */
body.theme-arena .site-header,
body.theme-arena.hdr-stuck .site-header { background: #fff; color: var(--ink); box-shadow: 0 2px 14px rgba(31, 39, 51, .09); }
body.theme-arena .nav > ul > li > a {
  color: var(--ink); font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; font-size: 1.05rem; border-bottom-width: 3px;
}
body.theme-arena .nav > ul > li:hover > a,
body.theme-arena .nav > ul > li > a.active { color: var(--red); border-color: var(--red); }
body.theme-arena .nav > ul > li > a.hl { background: var(--red); color: #1a1a1a; border-radius: 4px; height: 38px; }
body.theme-arena .nav .dd { border-top: 3px solid var(--red); border-radius: 0 0 4px 4px; }
body.theme-arena .nav .dd a:hover { background: #fff7e9; color: var(--red-d); }
body.theme-arena .site-header .icon-btn { color: var(--ink); }
body.theme-arena .site-header .icon-btn:hover { background: #f3f4f7; }
/* logo inline (tmavé na bielej hlavičke) */
body.theme-arena .crest { position: static; transform: none; width: auto; height: auto; flex: 0 0 auto; align-self: center; display: flex; align-items: center; }
body.theme-arena .crest img { position: static; height: 34px; width: auto; transition: none; }
body.theme-arena .crest-full { width: auto; background: none; box-shadow: none; border-radius: 0; padding: 0; opacity: 1; transform: none; }
body.theme-arena .crest-mono { display: none; }
body.theme-arena.hdr-stuck .crest-full { opacity: 1; transform: none; }
body.theme-arena .hdr-actions { width: auto; margin-left: auto; }
@media (max-width: 600px) { body.theme-arena .crest img { height: 26px; } }
body.theme-arena .brand-inverse img { width: auto; height: 32px; background: #fff; border-radius: 4px; padding: 7px 12px; }
body.theme-arena .brand-footer img { height: 38px; }

/* ---- Nadpisy sekcií: tmavý pruh so žltým zvislým akcentom a bielym uppercase titulkom ---- */
body.theme-arena .sec-head {
  background: var(--ink); border: 0; border-radius: 4px; padding: .85rem 1.2rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; overflow: hidden;
}
body.theme-arena .sec-head::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 5px; background: var(--red); }
body.theme-arena .sec-head h2 {
  color: #fff; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.5rem;
  letter-spacing: .04em; margin: 0; padding-left: 14px;
}
body.theme-arena .sec-head h2::before { display: none; }
body.theme-arena .sec-head a.more { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
body.theme-arena .sec-head a.more:hover { color: var(--red); }

/* ---- Hero: centrovaný veľký titulok cez fotku + 3 prekrývajúce karty ---- */
body.theme-arena .ar-hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(520px, 82vh, 820px); padding-bottom: 150px;
  background-size: cover; background-position: center; background-color: #0e1420; color: #fff; text-align: center;
}
body.theme-arena .ar-hero-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 32, .7), rgba(14, 20, 32, .55) 45%, rgba(14, 20, 32, .85)); }
body.theme-arena .ar-hero-inner { position: relative; z-index: 2; }
body.theme-arena .ar-hero-meta { display: flex; justify-content: center; align-items: center; gap: .45rem 1rem; flex-wrap: wrap; color: rgba(255, 255, 255, .85); font-size: .82rem; line-height: 1.5; margin-bottom: 1.4rem; }
body.theme-arena .ar-hero-meta span { display: inline-flex; align-items: center; gap: .3rem; }
body.theme-arena .ar-tag { background: var(--red); color: #1a1a1a; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; padding: .22rem .65rem; }
body.theme-arena .ar-hero h1 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.3rem); line-height: 1.12; letter-spacing: .01em; max-width: 22ch; margin: .2rem auto 0; }
body.theme-arena .ar-hero h1 a { color: #fff; }
body.theme-arena .ar-hero h1 a:hover { color: var(--red); }
/* 3 prekrývajúce karty dole */
body.theme-arena .ar-hero-cards { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 3; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.theme-arena .ar-hc { background: rgba(20, 27, 38, .92); color: #fff; padding: 1.1rem 1.2rem; border-bottom: 3px solid var(--red); transition: .18s; }
body.theme-arena .ar-hc:hover { background: var(--ink); transform: translateY(-4px); }
body.theme-arena .ar-hc-meta { display: flex; gap: 1rem; color: rgba(255, 255, 255, .7); font-size: .78rem; margin-bottom: .5rem; }
body.theme-arena .ar-hc h3 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 1.15rem; line-height: 1.12; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 820px) {
  body.theme-arena .ar-hero { padding-bottom: 2rem; min-height: 72vh; }
  body.theme-arena .ar-hero-cards { position: static; transform: none; grid-template-columns: 1fr; gap: 12px; padding: 1.2rem 16px 0; }
}

/* ---- Pás so štatistikami (navy, žlté čísla) ---- */
body.theme-arena .ar-stats { background: var(--ink); color: #fff; }
body.theme-arena .ar-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.6rem 16px; text-align: center; }
body.theme-arena .ar-stats-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
body.theme-arena .ar-stats .n { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--red); display: block; line-height: 1; }
body.theme-arena .ar-stats small { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: rgba(255, 255, 255, .8); font-family: var(--head); font-weight: 600; }
@media (max-width: 600px) { body.theme-arena .ar-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } body.theme-arena .ar-stats-grid > div:nth-child(odd) { border-left: 0; } }

/* ---- Tlačidlá, pilulky ---- */
body.theme-arena .btn { border-radius: 4px; text-transform: uppercase; font-family: var(--head); font-weight: 600; letter-spacing: .04em; font-size: .9rem; }
body.theme-arena .btn-red { background: var(--red); color: #1a1a1a; }
body.theme-arena .btn-red:hover { background: var(--red-d); color: #1a1a1a; }
body.theme-arena .pill { border-radius: 4px; text-transform: uppercase; font-family: var(--head); letter-spacing: .03em; font-weight: 600; }
body.theme-arena .pill.active, body.theme-arena .pill:hover { background: var(--red); border-color: var(--red); color: #1a1a1a; }

/* ---- Novinkové karty: žltý štítok kategórie, výrazný titulok ---- */
body.theme-arena .ncard { border-radius: 4px; border: 1px solid var(--line); }
body.theme-arena .ncard:hover { box-shadow: 0 14px 34px rgba(31, 39, 51, .12); }
body.theme-arena .ncard .body .kicker {
  display: inline-block; background: var(--red); color: #1a1a1a; font-family: var(--head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; padding: .22rem .6rem; width: fit-content;
}
body.theme-arena .ncard h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; color: var(--ink); }
body.theme-arena .ncard:hover h3 { color: var(--red-d); }
body.theme-arena .ncard .img .play i { background: var(--red); color: #1a1a1a; }

/* ---- Hráčske karty ---- */
body.theme-arena .pcard { border-radius: 4px; background: linear-gradient(180deg, #27303d 0%, #141a24 100%); }
body.theme-arena .pcard::before { background: radial-gradient(circle at 50% 35%, rgba(245, 166, 35, .4), transparent 62%); }
body.theme-arena .pcard:hover::before { background: radial-gradient(circle at 50% 35%, rgba(245, 166, 35, .75), transparent 66%); }
body.theme-arena .pcard .num { font-family: "Oswald", sans-serif; color: var(--red); font-size: 3.2rem; opacity: 1; }
body.theme-arena .pcard .pinfo .ln { font-family: "Oswald", sans-serif; }
body.theme-arena .pcard .pinfo .ps { color: var(--red); }

/* ---- Tabuľka súťaže: žltá hlavička, čisté riadky ---- */
body.theme-arena .st { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
body.theme-arena .st thead th { background: var(--red); color: #1a1a1a; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border: 0; }
body.theme-arena .st tbody td { border-bottom: 1px solid var(--line); }
body.theme-arena .st tbody tr.own { background: #fff7e9; }
body.theme-arena .st .pts { color: var(--ink); font-weight: 800; }
body.theme-arena .st .pos { background: var(--ink); color: #fff; }

/* ---- „Najbližší zápas" ako plávajúca biela karta (fc- značka z home.html) ---- */
body.theme-arena .fc-matchbar { background: transparent; border: 0; padding: 2.2rem 0 0; color: var(--ink); }
body.theme-arena .fc-matchbar .wrap { background: #fff; border-top: 4px solid var(--red); box-shadow: 0 16px 44px rgba(31, 39, 51, .12); border-radius: 4px; display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1rem, 3vw, 2.4rem); padding: 1.6rem clamp(1.1rem, 3vw, 2rem); align-items: center; }
body.theme-arena .fc-mb-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--red-d); }
body.theme-arena .fc-live { color: #1a1a1a; background: var(--red); padding: .1rem .5rem; }
body.theme-arena .fc-mb-fixture { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin: .7rem 0 .5rem; }
body.theme-arena .fc-mb-team { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; }
body.theme-arena .fc-mb-team img { width: 60px; height: 60px; object-fit: contain; }
body.theme-arena .fc-mb-team span { font-family: var(--head); text-transform: uppercase; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
body.theme-arena .fc-mb-vs { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--red-d); }
body.theme-arena .fc-mb-date, body.theme-arena .fc-mb-time { font-family: var(--head); font-size: 1rem; color: var(--muted); text-transform: uppercase; }
body.theme-arena .fc-mb-meta { color: var(--muted); font-size: .85rem; }
body.theme-arena .fc-mb-cta { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
body.theme-arena .fc-mb-side { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2rem); }
body.theme-arena .fc-mb-result { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-family: var(--head); margin: .5rem 0 .2rem; text-transform: uppercase; font-weight: 600; }
body.theme-arena .fc-mb-result img { width: 26px; height: 26px; object-fit: contain; }
body.theme-arena .fc-mb-result .sc { background: var(--red); color: #1a1a1a; padding: .12rem .55rem; font-size: 1.15rem; font-weight: 700; }
body.theme-arena .fc-mb-form { display: flex; align-items: center; gap: .3rem; margin: .9rem 0 .7rem; }
body.theme-arena .fc-mb-form > span:first-child { font-size: .7rem; color: var(--muted); margin-right: .35rem; letter-spacing: .1em; }
body.theme-arena .fc-mb-form .res { width: 23px; height: 23px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; border-radius: 2px; }
body.theme-arena .fc-mb-form .res.W { background: #1a9c4f; }
body.theme-arena .fc-mb-form .res.D { background: #9ca3af; color: #111; }
body.theme-arena .fc-mb-form .res.L { background: #dc2626; }
body.theme-arena .fc-mb-all { color: var(--ink); font-family: var(--head); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; display: inline-flex; gap: .35rem; align-items: center; font-weight: 600; }
body.theme-arena .fc-mb-all:hover { color: var(--red-d); }
@media (max-width: 860px) {
  body.theme-arena .fc-matchbar .wrap { grid-template-columns: 1fr; }
  body.theme-arena .fc-mb-side { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}

/* ---- Tímové/galériové karty, partneri ---- */
body.theme-arena .tcard, body.theme-arena .partners-band, body.theme-arena .plogos a { border-radius: 4px; }
body.theme-arena .tcard h3 { font-family: var(--head); text-transform: uppercase; }
