/* ============================================================
   Smoking Gorillas – Startseite Redesign (Energetic Gaming)
   Scoped: Body-Inhalt unter #home, Rahmen unter body.pg-home.
   Nutzt die vorhandenen Fonts (Teko/Barlow) + JetBrains Mono.
   ============================================================ */
body.pg-home{
  --h-ink:#09090c; --h-ink2:#0f0f15; --h-panel:#15151d; --h-panel2:#1b1b25;
  --h-line:#26262f; --h-line2:#343440;
  --h-text:#f3f3f6; --h-muted:#9a9aa8; --h-dim:#6a6a78;
  --h-orange:#E8791E; --h-orange-br:#ff9d3f; --h-ember:#ff4b26; --h-gold:#f5c542;
  --h-win:#43d98a; --h-loss:#ff6a5a;
  --h-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  background:var(--h-ink);
}
body.pg-home main{overflow:hidden}
/* Grain kommt site-weit aus theme.css */

#home{color:var(--h-text);font-family:'Barlow',sans-serif}
#home h1,#home h2,#home h3,#home .disp{font-family:'Teko',sans-serif;text-transform:uppercase;line-height:.92;letter-spacing:.5px;margin:0;font-weight:600}
#home a{color:inherit;text-decoration:none}
#home img{max-width:100%;display:block}
#home .hwrap{width:100%;max-width:1220px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
#home .eyebrow{font-family:var(--h-mono);font-size:12px;font-weight:500;letter-spacing:3px;text-transform:uppercase;color:var(--h-orange)}
#home .notch{clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px))}
#home .notch-sm{clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px))}
#home .btn{font-family:'Teko',sans-serif;text-transform:uppercase;letter-spacing:1px;font-size:19px;padding:11px 22px;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:9px;transition:transform .12s,box-shadow .2s;position:relative;line-height:1}
#home .btn-orange{background:linear-gradient(100deg,var(--h-orange),var(--h-orange-br));color:#140a02;box-shadow:0 6px 24px -6px rgba(232,121,30,.7)}
#home .btn-orange:hover{transform:translateY(-2px);box-shadow:0 12px 34px -6px rgba(232,121,30,.85)}
#home .btn-ghost{background:transparent;color:var(--h-text);border:1px solid var(--h-line2)}
#home .btn-ghost:hover{border-color:var(--h-orange);color:var(--h-orange-br)}

/* ---------- NAV (bestehendes Header-Markup umgestylt) ---------- */
body.pg-home nav{position:sticky;top:0;z-index:100;background:rgba(9,9,12,.72);backdrop-filter:blur(14px);border-bottom:1px solid var(--h-line)}
body.pg-home nav .nav-in{display:flex;align-items:center;gap:20px;height:66px}
body.pg-home nav .brand{display:flex;align-items:center;gap:11px;font-family:'Teko',sans-serif;font-weight:700;font-size:25px;letter-spacing:.5px;color:var(--h-text)}
body.pg-home nav .brand img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(232,121,30,.5))}
body.pg-home nav .brand b{color:var(--h-orange)}
body.pg-home nav .menu{display:flex;gap:2px;margin-left:6px;align-items:center}
body.pg-home nav .menu a{font-family:'Teko',sans-serif;font-size:19px;letter-spacing:.5px;text-transform:uppercase;color:var(--h-muted);padding:6px 12px;background:none;border:0}
body.pg-home nav .menu a:hover,body.pg-home nav .menu a.active{color:var(--h-text)}
body.pg-home nav .menu a.menu-cta{display:none}
body.pg-home nav .nav-cta{margin-left:auto;background:linear-gradient(100deg,var(--h-orange),var(--h-orange-br));color:#140a02;font-family:'Teko',sans-serif;font-size:19px;text-transform:uppercase;letter-spacing:1px;padding:10px 20px;border-radius:0;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));box-shadow:0 6px 24px -6px rgba(232,121,30,.7)}
body.pg-home nav .nav-cta:hover{transform:translateY(-2px)}
body.pg-home nav .navtoggle{margin-left:auto}

/* ---------- HERO ---------- */
#home .hero{position:relative;overflow:hidden;border-bottom:1px solid var(--h-line);padding:0}
#home .hero-bg{position:absolute;inset:0;z-index:0}
#home .hero-bg .glow{position:absolute;border-radius:50%;filter:blur(70px);opacity:.5}
#home .hero-bg .g1{width:620px;height:620px;left:-120px;top:-180px;background:radial-gradient(circle,rgba(232,121,30,.55),transparent 70%);animation:h_drift1 16s ease-in-out infinite}
#home .hero-bg .g2{width:520px;height:520px;right:-120px;bottom:-200px;background:radial-gradient(circle,rgba(255,75,38,.4),transparent 70%);animation:h_drift2 20s ease-in-out infinite}
#home .hero-bg canvas{position:absolute;inset:0;width:100%;height:100%}
#home .hero-bg .grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:radial-gradient(120% 90% at 30% 10%,#000 40%,transparent 80%);mask-image:radial-gradient(120% 90% at 30% 10%,#000 40%,transparent 80%)}
@keyframes h_drift1{50%{transform:translate(60px,40px)}}
@keyframes h_drift2{50%{transform:translate(-50px,-30px)}}
#home .hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1.25fr .9fr;gap:30px;align-items:center;padding:66px 0 54px}
#home .hero-l{text-align:left}
#home .hero-l .eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:16px}
#home .hero-l .eyebrow::before{content:"";width:28px;height:1px;background:var(--h-orange)}
#home .hero-h{font-family:'Teko',sans-serif;font-weight:700;font-size:clamp(56px,9vw,116px);letter-spacing:0;color:var(--h-text)}
#home .hero-h .l2{display:block;color:transparent;-webkit-text-stroke:1.5px var(--h-orange)}
#home .hero-sub{max-width:46ch;color:#cfcfd8;font-size:18px;margin:16px 0 26px;line-height:1.6;text-wrap:balance}
#home .hero-sub b{color:var(--h-text)}
#home .hero-cta{display:flex;gap:13px;flex-wrap:wrap}
#home .hud{display:flex;margin-top:32px;border:1px solid var(--h-line);background:linear-gradient(180deg,rgba(255,255,255,.03),transparent)}
#home .hud .s{flex:1;padding:15px 16px;border-right:1px solid var(--h-line)}
#home .hud .s:last-child{border-right:0}
#home .hud .n{font-family:'Teko',sans-serif;font-weight:600;font-size:40px;line-height:1;color:var(--h-orange-br)}
#home .hud .k{font-family:var(--h-mono);font-size:10.5px;letter-spacing:2px;text-transform:uppercase;color:var(--h-muted);margin-top:5px}
#home .hero-r{position:relative;display:grid;place-items:center;min-height:380px}
#home .emblem{position:relative;width:min(380px,80%);aspect-ratio:1}
#home .emblem img{width:100%;height:100%;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 18px 50px rgba(232,121,30,.5));animation:h_float 6s ease-in-out infinite}
@keyframes h_float{50%{transform:translateY(-14px)}}
#home .emblem .ring{position:absolute;inset:-6%;border:1px solid rgba(232,121,30,.4);border-radius:50%;animation:h_spin 24s linear infinite}
#home .emblem .ring::before{content:"";position:absolute;top:-5px;left:50%;width:9px;height:9px;border-radius:50%;background:var(--h-orange);box-shadow:0 0 14px var(--h-orange)}
#home .emblem .ring2{position:absolute;inset:4%;border:1px dashed rgba(255,75,38,.3);border-radius:50%;animation:h_spin 34s linear infinite reverse}
@keyframes h_spin{to{transform:rotate(360deg)}}
#home .hero-tag{position:absolute;font-family:var(--h-mono);font-size:11px;letter-spacing:1px;color:var(--h-dim)}
#home .hero-tag.t1{top:6%;right:2%}
#home .hero-tag.t2{bottom:8%;left:0}
#home .livedot{width:8px;height:8px;border-radius:50%;background:var(--h-ember);box-shadow:0 0 10px var(--h-ember);display:inline-block;animation:h_pulse 1.4s infinite}
@keyframes h_pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}

/* ---------- TICKER ---------- */
#home .ticker{background:var(--h-ink2);border-bottom:1px solid var(--h-line);overflow:hidden;display:flex;align-items:center}
#home .ticker .lbl{position:relative;z-index:2;flex:none;background:var(--h-ember);color:#fff;font-family:'Teko',sans-serif;font-size:17px;letter-spacing:1.5px;padding:9px 16px;display:flex;align-items:center;gap:8px;text-transform:uppercase}
#home .ticker .track{display:flex;gap:40px;white-space:nowrap;animation:h_scroll 34s linear infinite;padding-left:40px;font-family:var(--h-mono);font-size:13px;color:var(--h-muted)}
#home .ticker .track b{color:var(--h-text)}
#home .ticker .w{color:var(--h-win)}#home .ticker .x{color:var(--h-loss)}
@keyframes h_scroll{to{transform:translateX(-50%)}}

/* ---------- SECTIONS ---------- */
#home .sec{padding:64px 0}
#home .sechead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px;flex-wrap:wrap}
#home .sechead .t .eyebrow{display:block;margin-bottom:6px}
#home .sechead h2{font-size:clamp(34px,5vw,54px);color:var(--h-text)}
#home .sechead h2 .ac{color:var(--h-orange)}
#home .sechead .more{font-family:var(--h-mono);font-size:12px;letter-spacing:1px;color:var(--h-muted);border-bottom:1px solid var(--h-line2);padding-bottom:3px}
#home .sechead .more:hover{color:var(--h-orange-br);border-color:var(--h-orange)}

/* NEXT MATCH */
#home .bout{position:relative;background:linear-gradient(135deg,var(--h-panel),var(--h-ink2));border:1px solid var(--h-line2);padding:30px;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;overflow:hidden}
#home .bout::before{content:"";position:absolute;top:-40%;left:50%;transform:translateX(-50%);width:60%;height:200%;background:radial-gradient(ellipse,rgba(232,121,30,.18),transparent 70%)}
#home .bout .side{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
#home .bout .mono{width:94px;height:94px;display:grid;place-items:center;font-family:'Teko',sans-serif;font-size:42px;font-weight:700;color:var(--h-text);background:linear-gradient(160deg,var(--h-panel2),#0c0c12);border:1px solid var(--h-line2);overflow:hidden}
#home .bout .mono img{width:100%;height:100%;object-fit:cover}
#home .bout .side.a .mono{color:var(--h-orange-br);box-shadow:inset 0 0 0 1px rgba(232,121,30,.3)}
#home .bout .side .nm{font-family:'Teko',sans-serif;font-size:26px}
#home .bout .side .gm{font-family:var(--h-mono);font-size:11px;letter-spacing:1px;color:var(--h-muted)}
#home .bout .center{position:relative;text-align:center}
#home .bout .vs{font-family:'Teko',sans-serif;font-size:30px;color:var(--h-ember);letter-spacing:2px}
#home .bout .cd{display:flex;gap:8px;margin-top:10px;justify-content:center}
#home .bout .cd div{background:#0b0b10;border:1px solid var(--h-line2);padding:8px 10px;min-width:52px}
#home .bout .cd .cn{font-family:'Teko',sans-serif;font-size:30px;line-height:1;color:var(--h-text);font-variant-numeric:tabular-nums}
#home .bout .cd .cl{font-family:var(--h-mono);font-size:9px;letter-spacing:1px;color:var(--h-dim);margin-top:3px}
#home .bout .center .meta{font-family:var(--h-mono);font-size:11px;color:var(--h-muted);margin-top:12px;letter-spacing:1px}
#home .bout .act{margin-top:14px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* TEAMS */
#home .tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:16px}
#home .tcard{position:relative;background:linear-gradient(180deg,var(--h-panel),var(--h-ink2));border:1px solid var(--h-line);padding:22px;display:flex;align-items:center;gap:16px;transition:transform .16s,border-color .16s,box-shadow .16s}
#home .tcard:hover{transform:translateY(-4px);border-color:rgba(232,121,30,.6);box-shadow:0 18px 40px -22px rgba(232,121,30,.8)}
#home .tcard .lg{width:58px;height:58px;flex:none;display:grid;place-items:center;font-family:'Teko',sans-serif;font-size:26px;font-weight:700;color:#120a03;background:linear-gradient(150deg,var(--h-orange),var(--h-orange-br));overflow:hidden}
#home .tcard .lg img{width:100%;height:100%;object-fit:cover}
#home .tcard:hover .lg{box-shadow:0 0 22px -4px var(--h-orange)}
#home .tcard .tt{font-family:'Teko',sans-serif;font-size:24px;line-height:1;color:var(--h-text)}
#home .tcard .meta{display:flex;gap:8px;margin-top:7px;flex-wrap:wrap}
#home .chip{font-family:var(--h-mono);font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--h-muted);border:1px solid var(--h-line2);padding:3px 8px}
#home .chip.g{color:var(--h-orange-br);border-color:rgba(232,121,30,.4)}

/* MATCHES */
#home .mlist{display:flex;flex-direction:column;gap:10px}
#home .mrow{display:flex;align-items:center;gap:16px;background:var(--h-panel);border:1px solid var(--h-line);border-left:3px solid var(--h-line2);padding:14px 18px;transition:transform .15s;color:var(--h-text)}
#home .mrow:hover{transform:translateX(3px)}
#home .mrow.win{border-left-color:var(--h-win)}#home .mrow.loss{border-left-color:var(--h-loss)}#home .mrow.bye{border-left-color:var(--h-orange)}
#home .mrow .res{font-family:'Teko',sans-serif;font-size:15px;letter-spacing:1px;width:84px;flex:none}
#home .mrow.win .res{color:var(--h-win)}#home .mrow.loss .res{color:var(--h-loss)}#home .mrow.bye .res{color:var(--h-orange-br)}
#home .mrow .opp{flex:1;min-width:0;font-family:'Teko',sans-serif;font-size:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#home .mrow .opp span{color:var(--h-muted);font-family:'Barlow',sans-serif;font-size:13px;text-transform:none;letter-spacing:0}
#home .mrow .sc{font-family:'Teko',sans-serif;font-size:26px;color:var(--h-text);font-variant-numeric:tabular-nums}
#home .mrow .dt{font-family:var(--h-mono);font-size:11px;color:var(--h-dim);width:86px;text-align:right;flex:none}

/* HALL OF FAME */
#home .hof{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
#home .trophy{position:relative;background:linear-gradient(180deg,var(--h-panel),var(--h-ink2));border:1px solid var(--h-line);padding:26px 18px;text-align:center;overflow:hidden;transition:transform .16s}
#home .trophy:hover{transform:translateY(-4px)}
#home .trophy::before{content:"";position:absolute;inset:0 0 auto;height:70%;background:radial-gradient(130px 90px at 50% -10%,rgba(255,255,255,.08),transparent 70%)}
#home .trophy .medal{width:66px;height:66px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;font-family:'Teko',sans-serif;font-size:30px;font-weight:700;position:relative;color:#33383e}
#home .trophy .medal.g1{background:radial-gradient(circle at 35% 28%,#ffe89a,#f5c542 55%,#bd8c22);color:#5a3c00;box-shadow:0 0 30px -4px rgba(245,197,66,.6)}
#home .trophy .medal.g2{background:radial-gradient(circle at 35% 28%,#f7f9fb,#cbd0d6 55%,#8f959d);color:#33383e}
#home .trophy .medal.g3{background:radial-gradient(circle at 35% 28%,#f4bd8f,#d68a4e 55%,#9a5628);color:#3f2200}
#home .trophy .medal.gx{background:radial-gradient(circle at 35% 28%,#33333d,#22222a 60%);color:#9a9aa6}
#home .trophy .ev{font-family:'Teko',sans-serif;font-size:21px;line-height:1.05;color:var(--h-text)}
#home .trophy .mt{font-family:var(--h-mono);font-size:11px;color:var(--h-muted);margin-top:5px}
#home .trophy .pl{display:inline-block;margin-top:9px;font-family:'Teko',sans-serif;font-size:14px;letter-spacing:1px;padding:3px 12px;color:#140a02}
#home .trophy.r1{border-color:rgba(245,197,66,.4)}#home .trophy.r1 .pl{background:linear-gradient(90deg,#f5c542,#c99a1e)}
#home .trophy.r2 .pl{background:linear-gradient(90deg,#d7dce2,#a9aeb5);color:#1a1c1f}
#home .trophy.r3 .pl{background:linear-gradient(90deg,#d98f52,#a9663a)}
#home .trophy.rx .pl{background:var(--h-orange);color:#140a02}

/* PARTNERS */
#home .pstrip{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}
#home .pstrip .p{display:grid;place-items:center;min-width:150px;height:70px;padding:12px 26px;border:1px solid var(--h-line);background:var(--h-ink2);transition:.15s}
#home .pstrip .p:hover{border-color:var(--h-line2)}
#home .pstrip .p img{max-height:42px;width:auto;filter:grayscale(1) brightness(1.4);opacity:.7;transition:.15s}
#home .pstrip .p:hover img{filter:none;opacity:1}
#home .pstrip .p .pn{font-family:'Teko',sans-serif;font-size:22px;color:var(--h-dim);letter-spacing:1px}
#home .pstrip .p:hover .pn{color:var(--h-text)}

/* RECRUIT */
#home .recruit{position:relative;overflow:hidden;border:1px solid var(--h-line2);background:linear-gradient(120deg,#1a0f06,#0c0c12 60%);padding:52px 40px;text-align:center}
#home .recruit::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 50% 120%,rgba(232,121,30,.3),transparent 70%)}
#home .recruit::after{content:"";position:absolute;right:3%;bottom:-6px;width:210px;height:210px;background:url("../img/logo.png") no-repeat center/contain;opacity:.08;pointer-events:none}
@media(max-width:620px){#home .recruit::after{width:140px;height:140px;opacity:.06;right:1%}}
#home .recruit .in{position:relative}
#home .recruit h2{font-size:clamp(40px,7vw,78px);color:var(--h-text)}
#home .recruit h2 .ac{color:transparent;-webkit-text-stroke:1.5px var(--h-orange-br)}
#home .recruit p{color:var(--h-muted);max-width:52ch;margin:14px auto 24px;font-size:17px}

/* reveal */
#home .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
#home .reveal.in{opacity:1;transform:none}

@media (max-width:860px){
  #home .hero-in{grid-template-columns:1fr;gap:18px;padding:40px 0 38px}
  #home .hero-r{min-height:0;order:-1}
  #home .emblem{width:min(210px,56%)}
  #home .hero-tag{display:none}
  /* Gestapelt: alles sauber zentrieren */
  #home .hero-l{text-align:center}
  #home .hero-l .eyebrow{justify-content:center}
  #home .hero-sub{margin-left:auto;margin-right:auto}
  #home .hero-cta{justify-content:center}
  #home .bout{grid-template-columns:1fr;gap:18px}
  #home .bout .center{order:3}
  #home .hud .n{font-size:32px}
}
@media (max-width:560px){
  /* Nav-Drawer bleibt über style.css aktiv */
  #home .hero-h{font-size:clamp(46px,14vw,74px)}
  #home .hud{flex-wrap:wrap}#home .hud .s{flex:1 1 50%;border-bottom:1px solid var(--h-line)}
  #home .sec{padding:46px 0}
  #home .mrow .dt{display:none}
}
@media (prefers-reduced-motion:reduce){
  #home *{animation:none!important;transition:none!important}
  #home .reveal{opacity:1;transform:none}
}
