:root {
  --bg: #070518;
  --text: #f3f0ff;
  --muted: #d0caff;
  --brand: #ff2fd1;
  --brand-2: #6a5cff;
  --glass: #1b103bcc;
  --glass-2: #140c2dcc;
  --radius: 24px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  font-weight: 900;
  font-size: 30px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a.active {
  color: #00eaff;
  padding: 6px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(106,92,255,0.2), rgba(255,47,209,0.2));
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 14px;
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(0,229,255,.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(168,85,247,.14), transparent 55%),
    linear-gradient(180deg, #0f1620, #0b0f14);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.hero h1 {
  margin: 0 0 6px 0;
  font-size: 1.9rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform .15s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,.25);
}

.card h3 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 8px 0;
  font-size: 0.95rem;
}

.card .meta {
  font-size: 0.8rem;
  color: #aaa;
}

.card .badge {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 6px;
}

/* Tabs (News filter) */
.tabs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.tabs a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  border: 1px solid transparent;
}

.tabs a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.tabs a.active {
  color: #00eaff;
  border-color: rgba(0,229,255,.3);
  background: rgba(0,229,255,0.08);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform .15s ease;
}

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

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer a {
  color: #00eaff;
  text-decoration: none;
}

/* About Page */
.article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px;
}

.article h2 {
  margin-top: 26px;
  color: #fff;
}

.article p {
  color: var(--muted);
  margin-bottom: 14px;
}

.sep {
  margin: 28px 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Social buttons */
.social { display:flex; gap:12px; flex-wrap:wrap; }
.btn-social{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text); text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.btn-social:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.35);
  box-shadow: 0 10px 28px rgba(0,229,255,.15);
}
.btn-social .icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
}
.btn-social svg{
  width:22px;
  height:22px;
  flex-shrink:0;
}
.btn-social span{
  font-size:15px;
  font-weight:500;
}
/* Social buttons base – már nálad megvan, de az ikon fixek itt: */
.btn-social .icon { position: relative; width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; }
.btn-social svg { width:22px; height:22px; display:block; }

/* YouTube szín */
/* YouTube: piros test + fehér play */
.btn-social.yt .yt-rect { fill: #FF0000; }
.btn-social.yt .yt-play { fill: #FFFFFF; }
.btn-social.yt span:last-child { color: #fff; }    /* felirat maradhat fehér */

/* TikTok duotone rétegek (brand színek) */
.icon.tiktok .tt-magenta { position:absolute; left:1px; top:1px; fill:#EE1D52; }
.icon.tiktok .tt-cyan    { position:absolute; left:-1px; top:-1px; fill:#69C9D0; }
.icon.tiktok .tt-white   { position:relative; fill:#FFFFFF; }

/* --- Brand-correct social icons (override) --- */

/* Alap: az About social ikonok töltése ne örököljön színt */
.social .btn-social svg { fill: none; }

/* YouTube: piros test + fehér play */
.btn-social.yt .yt-rect { fill: #FF0000; }
.btn-social.yt .yt-play { fill: #FFFFFF; }

/* TikTok duotone (három réteg, kis offsettel) */
.icon.tiktok { position: relative; width:24px; height:24px; }
.icon.tiktok .tt-magenta { position:absolute; left:1px; top:1px;  fill:#EE1D52; }
.icon.tiktok .tt-cyan    { position:absolute; left:-1px; top:-1px; fill:#69C9D0; }
.icon.tiktok .tt-white   { position:relative;                  fill:#FFFFFF; }
/* --- Realistic Social Buttons --- */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.btn-social svg {
  width: 26px;
  height: 26px;
}

.btn-social.real-yt {
  background: #FF0000;
  color: white;
}

.btn-social.real-yt:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

.btn-social.real-tt {
  background: #000000;
  color: #ffffff;
}

.btn-social.real-tt:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(37, 244, 238, 0.4), 0 0 20px rgba(254, 44, 85, 0.4);
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}