/* L2Freya template – homepage style (Steam/Blizzard vibe)
   Path after install: public/GP247/Templates/L2freyaFun/css/l2freya.css
*/

:root{
  --bg0:#070a12;
  --bg1:#0b1020;
  --card:#0f162b;
  --card2:#111b35;
  --line:rgba(255,255,255,.10);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);
  --text:#eef2ff;
  --accent:#8b5cf6; /* violet */
  --accent2:#22c55e; /* green */
  --danger:#ef4444;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font2: Unbounded, Inter, system-ui, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.l2-body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(139,92,246,.22), transparent 55%),
    radial-gradient(900px 600px at 80% 0%, rgba(34,197,94,.14), transparent 55%),
    radial-gradient(700px 600px at 70% 85%, rgba(59,130,246,.10), transparent 50%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
.l2-container{width:min(1180px, 92vw); margin:0 auto}

.l2-header{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.l2-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
  gap: 16px;
}

.l2-brand{display:flex; align-items:center; gap: 12px}
.l2-brand__logo{
  width:40px; height:40px; border-radius: 10px;
  object-fit:cover;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.l2-brand__name{font-family:var(--font2); font-weight:700; letter-spacing:.5px}
.l2-brand__tag{font-size:12px; color:var(--muted2); margin-top:2px}

.l2-nav{display:flex; align-items:center; gap: 8px; flex-wrap:wrap}
.l2-nav__link{
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.82);
  border: 1px solid transparent;
}
.l2-nav__link:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.06)}
.l2-nav__link--accent{
  background: rgba(139,92,246,.15);
  border-color: rgba(139,92,246,.26);
}

.l2-burger{
  display:none;
  width:44px; height:44px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  cursor:pointer;
  position:relative;
}
.l2-burger span{
  position:absolute; left:12px; right:12px; height:2px;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
}
.l2-burger span:nth-child(1){top:14px}
.l2-burger span:nth-child(2){top:21px; opacity:.75}
.l2-burger span:nth-child(3){top:28px}

.l2-main{padding-bottom: 40px}

.l2-hero{
  padding: 42px 0 18px;
  position:relative;
  overflow:hidden;
}
.l2-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:stretch;
}
.l2-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.84);
  font-size: 13px;
}
.l2-hero__title{
  margin: 14px 0 0;
  font-family: var(--font2);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: .2px;
}
.l2-glow{
  background: linear-gradient(90deg, rgba(139,92,246,1), rgba(34,197,94,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(139,92,246,.15);
}
.l2-hero__lead{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 58ch;
}
.l2-hero__cta{display:flex; flex-wrap:wrap; gap: 10px; margin-top: 18px}

/* Space between CTA buttons and the lower "menu" stats */
.l2-stats{
  display:grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 560px;
}
.l2-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  font-weight: 600;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.l2-btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16)}
.l2-btn--primary{
  background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(34,197,94,.85));
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 50px rgba(139,92,246,.22);
}
.l2-btn--ghost{
  background: rgba(255,255,255,.03);
}
.l2-btn--soft{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.20);
}
.l2-btn--wide{width:100%; margin-top: 12px}

.l2-hero__stats{
  display:flex; gap: 12px; flex-wrap:wrap;
  margin-top: 16px;
}
.l2-stat{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.l2-stat__k{font-weight: 800; letter-spacing:.4px}
.l2-stat__v{font-size: 12px; color: var(--muted2); margin-top: 2px}

.l2-hero__right{position:relative}
.l2-heroCard{
  border-radius: var(--radius2);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(139,92,246,.16), transparent 55%),
    radial-gradient(700px 300px at 80% 20%, rgba(34,197,94,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.l2-heroCard__top{
  display:flex; align-items:center; gap:8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.l2-heroCard__dot{
  width:10px; height:10px; border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.l2-heroCard__title{margin-left:auto; font-size: 12px; color: rgba(255,255,255,.72)}
.l2-heroCard__body{padding: 14px}

.l2-status{display:flex; align-items:center; justify-content:space-between; gap: 12px}
.l2-status__pill{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: 12px;
}
.l2-status__pill--ok{
  background: rgba(34,197,94,.16);
  border: 1px solid rgba(34,197,94,.26);
}
.l2-status__muted{color: var(--muted2); font-size: 12px}

.l2-divider{height:1px; background: rgba(255,255,255,.10); margin: 12px 0}
.l2-kv__row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 0;
  color: rgba(255,255,255,.85);
}
.l2-kv__row span{color: var(--muted2)}
.l2-link{display:inline-flex; margin-top: 10px; color: rgba(255,255,255,.86)}
.l2-link:hover{opacity:.9; text-decoration:underline}

.l2-orb{
  position:absolute;
  filter: blur(20px);
  opacity:.8;
  border-radius: 999px;
  pointer-events:none;
}
.l2-orb--a{width:140px; height:140px; right:-30px; top:40px; background: rgba(139,92,246,.35)}
.l2-orb--b{width:170px; height:170px; left:-40px; bottom:-60px; background: rgba(34,197,94,.26)}

.l2-section{padding: 26px 0}
.l2-section--alt{
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.l2-section__head{margin-bottom: 14px}
.l2-h2{
  margin:0;
  font-family: var(--font2);
  font-size: 22px;
}
.l2-muted{color: var(--muted); margin: 6px 0 0; line-height:1.55}

.l2-cards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.l2-card{
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.l2-card__icon{font-size: 20px}
.l2-card__title{margin-top: 10px; font-weight:800}
.l2-card__text{margin-top: 6px; color: var(--muted2); font-size: 13.5px; line-height:1.55}

.l2-split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items:start;
}
.l2-steps{margin: 14px 0 0; padding:0; list-style:none; display:grid; gap: 10px}
.l2-step{
  display:flex; gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.l2-step__n{
  width:34px; height:34px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  background: rgba(139,92,246,.16);
  border:1px solid rgba(139,92,246,.26);
}
.l2-step__t{font-weight:800}
.l2-step__d{margin-top: 2px; color: var(--muted2); font-size: 13.5px; line-height:1.55}
.l2-actions{display:flex; gap: 10px; flex-wrap:wrap; margin-top: 14px}

.l2-panel{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.l2-panel__title{
  padding: 12px 14px;
  font-weight: 800;
  background: rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.l2-news{display:grid}
.l2-newsItem{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .12s ease;
}
.l2-newsItem:hover{background: rgba(255,255,255,.04)}
.l2-newsItem__tag{
  display:inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.20);
  color: rgba(255,255,255,.86);
  font-size: 12px;
}
.l2-newsItem__t{margin-top: 8px; font-weight: 900}
.l2-newsItem__d{margin-top: 4px; color: var(--muted2); font-size: 13.5px; line-height:1.55}
.l2-panel__cta{padding: 12px 14px}

.l2-callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius2);
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(139,92,246,.18), transparent 55%),
    radial-gradient(900px 300px at 90% 0%, rgba(34,197,94,.14), transparent 55%),
    rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.l2-callout__kicker{color: var(--muted2); font-size: 12px; letter-spacing:.6px; text-transform:uppercase}
.l2-callout__title{margin-top: 6px; font-family:var(--font2); font-size: 20px}
.l2-callout__text{margin-top: 6px; color: var(--muted); max-width: 62ch; line-height:1.55}
.l2-callout__buttons{display:flex; gap: 10px; flex-wrap:wrap}

.l2-footer{
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
}
.l2-footer__grid{
  padding: 22px 0;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
}
.l2-footer__brand{font-family:var(--font2); font-weight:900}
.l2-footer__muted{color: var(--muted2); margin-top: 8px; line-height:1.55}
.l2-footer__small{color: rgba(255,255,255,.45); margin-top: 10px; font-size: 12px}
.l2-footer__title{font-weight:900; margin-bottom: 10px}
.l2-footer__link{display:block; color: rgba(255,255,255,.72); padding: 6px 0}
.l2-footer__link:hover{color: rgba(255,255,255,.92); text-decoration:none}

@media (max-width: 980px){
  .l2-hero__grid{grid-template-columns: 1fr}
  .l2-cards{grid-template-columns: repeat(2, 1fr)}
  .l2-split{grid-template-columns: 1fr}
  .l2-footer__grid{grid-template-columns: 1fr 1fr}
}
@media (max-width: 720px){
  .l2-burger{display:block}
  .l2-nav{
    display:none;
    position:absolute;
    right:4vw; left:4vw; top:64px;
    padding: 10px;
    background: rgba(7,10,18,.92);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction:column;
    align-items:stretch;
  }
  .l2-nav.is-open{display:flex}
  .l2-nav__link{width:100%}
  .l2-footer__grid{grid-template-columns: 1fr}
  .l2-callout{flex-direction:column; align-items:stretch}
  .l2-callout__buttons{justify-content:flex-start}
}


/* ===== Download page ===== */
.l2-pageHead{padding:28px 0 10px}
.l2-breadcrumbs{display:flex;gap:10px;align-items:center;color:rgba(255,255,255,.65);font-size:14px;margin-bottom:12px}
.l2-breadcrumbs a{color:rgba(255,255,255,.75);text-decoration:none}
.l2-breadcrumbs a:hover{color:#fff}
.l2-h1{font-family:Unbounded,Inter,system-ui;letter-spacing:.2px;font-size:40px;line-height:1.1;margin:0 0 10px}
.l2-downloadGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width: 980px){.l2-downloadGrid{grid-template-columns:1fr}}
.l2-dlCard{padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;position:relative;overflow:hidden}
.l2-dlCard:before{content:"";position:absolute;inset:-60px -60px auto auto;width:160px;height:160px;background:radial-gradient(circle, rgba(151,71,255,.35), transparent 70%);filter:blur(0);transform:rotate(15deg)}
.l2-dlCard__icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:20px;margin-bottom:10px}
.l2-dlCard__title{font-weight:700;font-size:18px;margin:0 0 8px}
.l2-dlCard__text{color:rgba(255,255,255,.78);line-height:1.5;margin:0 0 12px}
.l2-dlCard__meta{display:grid;gap:6px;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.06);margin-bottom:12px}
.l2-dlCard__meta .l2-k{color:rgba(255,255,255,.6)}
.l2-dlCard__meta .l2-v{color:rgba(255,255,255,.9)}
.l2-note{margin-top:12px;color:rgba(255,255,255,.6);font-size:13px}
.l2-mt{margin-top:22px}
.l2-faq{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08)}
.l2-faq__item{padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}
.l2-faq__item:first-child{border-top:none}
.l2-faq__q{font-weight:700;margin-bottom:6px}
.l2-faq__a{color:rgba(255,255,255,.75);line-height:1.5}
.l2-faq code{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:2px 6px;border-radius:8px}


/* ===== Hero status card improvements ===== */
.l2-heroCard__title{display:flex;align-items:center;gap:10px;font-weight:700;margin-left:0;font-size:12px;color:rgba(255,255,255,.78)}
.l2-heroCard__brand{font-weight:800}
.l2-heroCard__sep{opacity:.6}
.l2-heroCard__status{padding:4px 10px;border-radius:999px;background:rgba(46,204,113,.14);border:1px solid rgba(46,204,113,.35);color:rgba(255,255,255,.95);font-weight:800;letter-spacing:.4px}
.l2-statusBig{padding:12px 12px 10px;border-radius:16px;background:rgba(0,0,0,.20);border:1px solid rgba(255,255,255,.08);margin:2px 0 12px}
.l2-statusBig__label{color:rgba(255,255,255,.65);font-size:12px;letter-spacing:.5px;text-transform:uppercase}
.l2-statusBig__value{font-family:Unbounded,Inter,system-ui;font-weight:800;font-size:22px;margin-top:4px}
.l2-miniGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.l2-mini{padding:10px 10px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}
.l2-mini__k{color:rgba(255,255,255,.62);font-size:12px;margin-bottom:4px}
.l2-mini__v{color:rgba(255,255,255,.92);font-weight:700}
@media (max-width: 520px){.l2-miniGrid{grid-template-columns:1fr}}


/* ===== Chips (short info) ===== */
.l2-chipRow{display:flex;flex-wrap:wrap;gap:8px}
.l2-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.90);font-weight:700;font-size:12px}

/* ===== Download tiles ===== */
.l2-pageLogo{margin-top:14px}
.l2-pageLogo img{width:56px;height:56px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);object-fit:cover}
.l2-downloadTiles{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px}
@media (max-width: 980px){.l2-downloadTiles{grid-template-columns:1fr}}
.l2-dlTile{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:18px;text-decoration:none;color:inherit;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);
  min-height:320px;position:relative;overflow:hidden}
.l2-dlTile:before{content:"";position:absolute;inset:-80px -80px auto auto;width:200px;height:200px;background:radial-gradient(circle, rgba(151,71,255,.30), transparent 70%);transform:rotate(18deg)}
.l2-dlTile:hover{transform:translateY(-2px);transition:transform .15s ease}
.l2-dlTile__icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.10);font-size:22px}
.l2-dlTile__title{font-weight:900;font-size:20px}
.l2-dlTile__text{color:rgba(255,255,255,.78);line-height:1.5;max-width:44ch}
.l2-dlTile__meta{margin-top:auto;color:rgba(255,255,255,.70);font-size:13px}
.l2-dlTile__cta{margin-top:10px;padding:12px 14px;border-radius:14px;text-align:center;
  background:linear-gradient(90deg, rgba(151,71,255,.85), rgba(46,204,113,.75));
  border:1px solid rgba(255,255,255,.16);font-weight:900}


/* ===== Site background image (darkened) ===== */
body.l2-body{
  position:relative;
  min-height:100vh;
}
body.l2-body::before{
  content:"";
  position:fixed;
  inset:0;
  background:url("../images/background.jpg") center/cover no-repeat fixed;
  z-index:-3;
}
body.l2-body::after{
  content:"";
  position:fixed;
  inset:0;
  background:linear-gradient(180deg, rgba(6,8,16,.82), rgba(6,8,16,.86));
  z-index:-2;
  pointer-events:none;
}


/* ===== Legal pages ===== */
.l2-legal{padding:18px;border-radius:18px;border:1px solid rgba(255,255,255,.10)}
.l2-legal .l2-h2{margin-top:14px}
.l2-legal .l2-h2:first-child{margin-top:0}


/* ===== Floating To Top button ===== */
.l2-toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.92);
  font-weight:900;
  display:grid;
  place-items:center;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .15s ease, transform .15s ease, background .15s ease;
  z-index:50;
}
.l2-toTop.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.l2-toTop:hover{background:rgba(0,0,0,.55)}

/* ===== Support page ===== */
.l2-supportGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
@media (max-width: 980px){.l2-supportGrid{grid-template-columns:1fr}}
.l2-supportCard{padding:18px;border-radius:18px;border:1px solid rgba(255,255,255,.10)}
.l2-supportItem{padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}
.l2-supportItem:first-child{border-top:none}
.l2-supportItem__k{font-weight:900;margin-bottom:6px}
.l2-supportItem__v{color:rgba(255,255,255,.78);line-height:1.5}
.l2-contact{margin-top:12px;padding:12px;border-radius:16px;background:rgba(0,0,0,.20);border:1px solid rgba(255,255,255,.08)}
.l2-contact__row{display:flex;gap:10px;justify-content:space-between;padding:8px 0;border-top:1px solid rgba(255,255,255,.06)}
.l2-contact__row:first-child{border-top:none}
.l2-contact__k{color:rgba(255,255,255,.70);font-weight:800}
.l2-contact__v{color:rgba(255,255,255,.88);text-align:right}
@media (max-width: 520px){.l2-contact__row{flex-direction:column;align-items:flex-start}.l2-contact__v{text-align:left}}
