:root{--bg:#09090a;--panel:#121213;--panel2:#181819;--text:#f7f3ea;--muted:#aaa59a;--cream:#f3e4c9;--ink:#12110f;--line:rgba(255,255,255,.13);--danger:#ff8585;--green:#9ed5a7;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#09090a;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input{font:inherit}.bg{position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 20% 0,rgba(243,228,201,.13),transparent 29%),radial-gradient(circle at 90% 40%,rgba(255,255,255,.06),transparent 25%),#080809}.bg:after{content:"";position:absolute;inset:0;background:url('/pictures/backgrounds/oryn-octopus-cream-dark.webp') center/cover no-repeat;opacity:.22;filter:saturate(.65)}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.site-header{height:92px;position:relative;z-index:50}.brand{position:fixed;left:18px;top:16px;width:64px;height:64px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:50%;background:rgba(80,80,80,.68);backdrop-filter:blur(16px)}.brand img{width:50px;height:50px;object-fit:contain}.menu-btn{position:fixed;left:50%;top:15px;transform:translateX(-50%);z-index:55;width:66px;height:66px;border:0;border-radius:50%;background:var(--cream);display:grid;place-content:center;gap:6px;cursor:pointer}.menu-btn span{width:28px;height:3px;background:#111;border-radius:4px;transition:.2s}.menu-btn.is-open span:nth-child(1){transform:translateY(9px) rotate(45deg)}.menu-btn.is-open span:nth-child(2){opacity:0}.menu-btn.is-open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}.header-actions{position:fixed;right:18px;top:18px;z-index:55;height:58px;padding:0 12px 0 16px;display:flex;align-items:center;gap:12px;border:1px solid rgba(17,17,17,.08);border-radius:999px;background:#ffefd5;color:#111;box-shadow:0 12px 32px rgba(0,0,0,.22)}.lang-switch{min-width:34px;text-align:center;font-weight:950;font-size:.9rem}.head-divider{width:1px;height:24px;background:rgba(17,17,17,.18)}.ig-link{width:32px;height:32px;display:grid;place-items:center;border-radius:50%}.ig-link svg{width:23px;height:23px;fill:#e4405f}.menu-panel{position:fixed;inset:0;z-index:52;padding:124px max(20px,calc((100vw - 760px)/2)) 40px;background:rgba(7,7,8,.97);backdrop-filter:blur(25px);display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:10px;opacity:0;visibility:hidden;pointer-events:none;transition:.25s}.menu-panel.is-open{opacity:1;visibility:visible;pointer-events:auto}.menu-panel a{padding:16px 18px;border:1px solid var(--line);border-radius:14px;text-align:center;background:rgba(255,255,255,.035);font-weight:800}.hero{min-height:calc(100vh - 92px);display:grid;grid-template-columns:1fr .9fr;gap:56px;align-items:center;padding-block:44px 70px}.eyebrow{display:inline-block;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:900;color:#c9bca5}.hero h1,.legal-page h1{font-size:clamp(4rem,8vw,8rem);line-height:.8;margin:22px 0 28px;letter-spacing:-.07em}.hero h1 span{color:transparent;-webkit-text-stroke:1.5px rgba(247,243,234,.86)}.lead{max-width:690px;color:#ddd7cb;font-size:clamp(1.05rem,1.7vw,1.35rem);line-height:1.7}.deadline{display:flex;gap:18px;align-items:baseline;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.deadline span{color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.12em}.deadline strong{font-size:1.05rem}.countdown{display:flex;gap:8px;margin-top:18px}.countdown div{min-width:78px;padding:12px 10px;border:1px solid var(--line);border-radius:14px;background:rgba(17,17,18,.75);text-align:center}.countdown b{display:block;font-size:1.3rem}.countdown span{font-size:.65rem;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.hero-media{border:1px solid var(--line);border-radius:32px;overflow:hidden;background:#111;box-shadow:0 38px 90px rgba(0,0,0,.42)}.hero-media img{width:100%;aspect-ratio:4/5;object-fit:cover}.section-head{margin-bottom:28px}.section-head h2,.legal-teaser h2{font-size:clamp(2.5rem,5vw,4.8rem);letter-spacing:-.05em;margin:10px 0}.section-head p{color:var(--muted);max-width:720px;line-height:1.7}.prizes{padding:90px 0}.prize-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.prize-card{overflow:hidden;border:1px solid var(--line);border-radius:26px;background:rgba(16,16,17,.88)}.prize-card img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center 33%}.prize-card div{padding:24px}.prize-card small{color:#c6b89f;font-weight:900}.prize-card h3{font-size:1.45rem;margin:8px 0 10px}.prize-card p{color:var(--muted);line-height:1.6;margin:0}.entry-section{padding:70px 0 110px}.entry-form{padding:28px;border:1px solid var(--line);border-radius:30px;background:rgba(13,13,14,.86);box-shadow:0 30px 80px rgba(0,0,0,.28)}.shirt-grid{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.shirt-option{cursor:pointer}.shirt-option input{position:absolute;opacity:0}.shirt-card{display:block;height:100%;padding:8px;border:1px solid var(--line);border-radius:20px;background:#141415;transition:.2s}.shirt-card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}.shirt-card b{display:block;padding:14px 10px 6px}.shirt-card>span{display:block;padding:0 10px 12px;color:var(--muted);font-size:.78rem}.shirt-option input:checked+.shirt-card{border-color:var(--cream);background:var(--cream);color:var(--ink);transform:translateY(-3px)}.shirt-option input:checked+.shirt-card>span{color:#5a5144}.email-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-top:26px}.field label{display:block;margin:0 0 9px;color:#b8b1a5;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.field input{width:100%;height:58px;padding:0 18px;border:1px solid var(--line);border-radius:15px;background:#151516;color:white;outline:none}.field input:focus{border-color:rgba(243,228,201,.68);box-shadow:0 0 0 3px rgba(243,228,201,.08)}.primary-btn,.secondary-btn{min-height:58px;padding:0 26px;border:0;border-radius:999px;background:var(--cream);color:#111;font-weight:900;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.secondary-btn{background:transparent;color:white;border:1px solid var(--line)}.consents{display:grid;gap:10px;margin-top:18px}.consents label{display:flex;align-items:flex-start;gap:10px;color:#c7c0b4;font-size:.9rem;line-height:1.5}.consents input{width:18px;height:18px;accent-color:#f3e4c9}.consents a{text-decoration:underline;text-underline-offset:3px}.micro{color:#7f7b74;font-size:.78rem;line-height:1.6}.notice{margin:0 0 18px;padding:16px 18px;border-radius:16px;border:1px solid var(--line);line-height:1.6}.notice.success{border-color:rgba(158,213,167,.35);background:rgba(28,74,39,.72)}.notice.error{border-color:rgba(255,133,133,.35);background:rgba(80,25,25,.72)}.closed-card{padding:48px;border:1px solid var(--line);border-radius:28px;background:#121213}.closed-card h3{font-size:2rem;margin:10px 0}.closed-card p{color:var(--muted)}.legal-teaser{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:60px 0 90px;border-top:1px solid var(--line)}.legal-buttons{display:flex;gap:10px;flex-wrap:wrap}.legal-buttons a{padding:14px 18px;border:1px solid var(--line);border-radius:999px;font-weight:800}.legal-page{padding:80px 0 100px}.legal-page h1{font-size:clamp(3rem,7vw,6.5rem);line-height:.95}.legal-updated{color:var(--muted);margin-bottom:30px}.legal-card{max-width:960px;padding:34px;border:1px solid var(--line);border-radius:28px;background:rgba(15,15,16,.88)}.legal-card h2{margin:34px 0 10px;font-size:1.35rem}.legal-card h2:first-child{margin-top:0}.legal-card p,.legal-card li{color:#c8c2b7;line-height:1.75}.legal-card a{text-decoration:underline;text-underline-offset:3px}.legal-actions{display:flex;gap:10px;margin-top:24px}.site-footer{padding:58px max(20px,calc((100vw - var(--max))/2));border-top:1px solid var(--line);background:#09090a}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:38px}.footer-brand img{width:72px;height:72px;object-fit:contain}.footer-brand p{color:var(--muted)}.footer-links,.footer-contact{display:grid;align-content:start;gap:9px}.footer-links a,.footer-contact a{color:#b8b3a9;font-size:.9rem}.footer-bottom{margin-top:38px;padding-top:22px;border-top:1px solid var(--line);color:#77736c;font-size:.8rem}.hp{position:absolute!important;left:-9999px!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto}.hero-media{max-width:680px}.prize-grid{grid-template-columns:1fr}.prize-card{display:grid;grid-template-columns:220px 1fr}.prize-card img{height:100%;aspect-ratio:auto}.shirt-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:620px){.wrap{width:min(100% - 24px,var(--max))}.site-header{height:84px}.brand{width:56px;height:56px;left:10px;top:12px}.brand img{width:44px;height:44px}.menu-btn{width:58px;height:58px;top:11px}.header-actions{right:10px;top:14px;height:52px;padding:0 10px 0 13px;gap:9px}.lang-switch{font-size:.82rem}.head-divider{height:21px}.ig-link{width:29px;height:29px}.ig-link svg{width:21px;height:21px}.menu-panel{grid-template-columns:1fr;padding-top:100px}.hero{padding-top:30px;gap:28px}.hero h1{font-size:clamp(3.3rem,18vw,5.4rem)}.countdown div{min-width:0;flex:1}.prizes{padding:65px 0}.prize-card{grid-template-columns:130px 1fr}.prize-card div{padding:16px}.prize-card h3{font-size:1.1rem}.entry-form{padding:14px;border-radius:22px}.shirt-grid{grid-template-columns:1fr 1fr;gap:8px}.shirt-card b{font-size:.9rem}.email-row{grid-template-columns:1fr}.primary-btn{width:100%}.legal-teaser{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.legal-card{padding:22px}.legal-actions{flex-direction:column}.legal-actions a{width:100%}}


/* =========================================================
   ORYN GIVEAWAY V3 — BUTTON RHYTHM / SPACING POLISH
========================================================= */
.primary-btn,
.secondary-btn,
.legal-buttons a,
.menu-panel a {
  min-height: 58px;
}

.email-row {
  gap: 18px;
  margin-top: 32px;
}

.consents {
  gap: 14px;
  margin-top: 24px;
}

.legal-buttons {
  gap: 14px;
  row-gap: 14px;
}

.legal-buttons a {
  padding-inline: 22px;
}

.legal-actions {
  gap: 14px;
  row-gap: 14px;
  margin-top: 30px;
}

.menu-panel {
  gap: 14px;
}

@media(max-width:620px){
  .email-row { gap: 14px; margin-top: 26px; }
  .legal-buttons { width: 100%; }
  .legal-buttons a { width: 100%; justify-content: center; text-align: center; }
  .legal-actions { gap: 12px; }
}

/* =========================================================
   ORYN GIVEAWAY V5 — SHOP-MATCHED FIXED HEADER + MENU
   A fejléc mindig látható marad görgetés közben, a menü
   elrendezése és viselkedése a webshop teljes képernyős
   menüjéhez igazodik.
========================================================= */
body {
  padding-top: 92px;
}
body.menu-open {
  overflow: hidden;
}
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  z-index: 100001 !important;
  pointer-events: none;
  background: transparent;
}
.site-header > * {
  pointer-events: auto;
}
.brand {
  z-index: 100003 !important;
}
.menu-btn {
  z-index: 100004 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}
.header-actions {
  z-index: 100003 !important;
}
.menu-panel {
  z-index: 100002 !important;
  padding: 126px max(20px, calc((100vw - 760px)/2)) 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  background: rgba(7,7,8,.975);
  backdrop-filter: blur(26px) saturate(120%);
  -webkit-backdrop-filter: blur(26px) saturate(120%);
}
.menu-panel a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
  color: #f7f3ea;
  font-weight: 850;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: #f3e4c9;
  border-color: #f3e4c9;
  color: #12110f;
  transform: translateY(-1px);
  outline: none;
}
.hero {
  min-height: calc(100vh - 92px);
}

@media (max-width: 620px) {
  body {
    padding-top: 84px;
  }
  .site-header {
    height: 84px;
  }
  .menu-panel {
    grid-template-columns: 1fr;
    padding: 100px 14px 30px;
    gap: 8px;
  }
  .menu-panel a {
    min-height: 52px;
    padding: 13px 16px;
  }
  .hero {
    min-height: auto;
  }
}


/* =========================================================
   ORYN GIVEAWAY V6 — SHOP-MATCHED HEADER + RESPONSIVE LAYOUT
========================================================= */
:root { --gw-header-h: 88px; }
body.menu-open { overflow: hidden !important; }
.giveaway-main { min-height: 70vh; padding-top: var(--gw-header-h); }

/* Exact visual language of the Oryn Shop/Admin header. */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gw-header-h);
  z-index: 100001;
  background: transparent;
  pointer-events: none;
}
#main-header > * { pointer-events: auto; }
#main-header.hide:not(.menu-is-open) { opacity: 0; transform: translateY(-120%); pointer-events: none; }

#logoLink {
  position: fixed;
  top: 14px;
  left: max(12px, env(safe-area-inset-left));
  width: 64px;
  height: 64px;
  z-index: 100003;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(100,100,100,.78);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .2s ease, background .2s ease;
}
#logoLink:hover { transform: translateY(-2px); background: rgba(115,115,115,.88); }
#logoLink .logo { position:absolute; width:52px; height:52px; object-fit:contain; }
#logoLink .logo-white { display:block; }
#logoLink .logo-black { display:none; }

.glass-nav { position: static; }
#menuToggle {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100004;
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffefd5;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
  transition: background .2s ease, transform .2s ease;
}
#menuToggle:hover { background:#fff6e6; transform:translateX(-50%) translateY(-1px); }
#menuToggle span { display:block; width:28px; height:3px; border-radius:999px; background:#111; transition:transform .23s ease,opacity .18s ease; }
#menuToggle.active span:nth-child(1) { transform:translateY(9px) rotate(45deg); }
#menuToggle.active span:nth-child(2) { opacity:0; }
#menuToggle.active span:nth-child(3) { transform:translateY(-9px) rotate(-45deg); }

.social-icons-menu {
  position: fixed;
  top: 14px;
  right: max(14px, env(safe-area-inset-right));
  z-index: 100003;
  height: 58px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #ffefd5;
  color: #111;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}
.lang-toggle {
  min-width: 38px;
  min-height: 40px;
  padding: 0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#111;
  border-radius:999px;
  font-size:.88rem;
  line-height:1;
  font-weight:950;
  letter-spacing:.025em;
}
.lang-toggle:hover { background:rgba(17,17,17,.06); }
.header-divider { width:1px; height:27px; background:rgba(17,17,17,.17); }
.icon-link { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; }
.icon-link .icon { width:24px; height:24px; display:block; }

#menuList {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 106px 20px 36px;
  list-style: none;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,350px));
  grid-auto-rows: minmax(54px,auto);
  justify-content: center;
  align-content: center;
  gap: 10px 14px;
  background: rgba(10,10,10,.975);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: scaleY(.985);
  transform-origin: top;
  pointer-events: none;
  transition: opacity .2s ease,visibility .2s ease,transform .24s ease;
}
#menuList.show { opacity:1; visibility:visible; transform:scaleY(1); pointer-events:auto; }
#menuList li { min-width:0; margin:0; padding:0; list-style:none; }
#menuList li:last-child:nth-child(odd) { grid-column:1/-1; width:calc(50% - 7px); justify-self:center; }
#menuList a {
  width:100%;
  min-height:54px;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid rgba(255,255,255,.17);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(31,31,31,.98),rgba(19,19,19,.98));
  color:#fff !important;
  text-decoration:none !important;
  text-shadow:0 2px 11px rgba(0,0,0,.6);
  font-size:clamp(17px,1.45vw,21px);
  font-weight:900;
  line-height:1.1;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
#menuList a:hover,#menuList a:focus-visible { color:#ffefd5 !important; transform:scale(1.06); outline:none; }
body.menu-open #main-header { opacity:1!important; transform:none!important; }

/* Responsive giveaway content. */
.hero { min-height:calc(100svh - var(--gw-header-h)); }
.hero-media { justify-self:end; width:min(100%,540px); }
.entry-form,.legal-card,.closed-card { overflow:hidden; }
.email-row > * { min-width:0; }

@media (max-width: 1024px) {
  :root { --gw-header-h:78px; }
  #logoLink { top:10px; left:max(10px,env(safe-area-inset-left)); width:58px; height:58px; }
  #logoLink .logo { width:48px; height:48px; }
  #menuToggle { top:10px; width:58px; height:58px; min-width:58px; }
  .social-icons-menu { top:10px; right:max(10px,env(safe-area-inset-right)); height:54px; padding:5px 8px; gap:7px; }
  .lang-toggle { min-width:34px; min-height:38px; font-size:.82rem; }
  .header-divider { height:24px; }
  .icon-link { width:30px; height:30px; }
  .icon-link .icon { width:22px; height:22px; }
  #menuList { padding-top:92px; grid-template-columns:repeat(2,minmax(0,310px)); gap:8px 12px; }
  #menuList a { min-height:50px; padding:8px 14px; font-size:17px; }

  .hero { grid-template-columns:1fr; min-height:auto; gap:36px; padding-block:44px 64px; }
  .hero-copy { max-width:760px; }
  .hero-media { width:min(100%,680px); justify-self:center; }
  .prize-grid { grid-template-columns:1fr; }
  .prize-card { grid-template-columns:minmax(160px,240px) 1fr; display:grid; }
  .prize-card img { height:100%; aspect-ratio:auto; }
  .shirt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (min-width:621px) and (max-height:760px) {
  #menuList { padding-top:86px; padding-bottom:18px; gap:6px 12px; grid-auto-rows:minmax(42px,auto); align-content:start; }
  #menuList a { min-height:42px; padding:6px 12px; font-size:16px; }
}

@media (max-width: 720px) {
  .hero h1,.legal-page h1 { letter-spacing:-.055em; }
  .deadline { flex-wrap:wrap; gap:8px 16px; }
  .countdown { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; }
  .countdown div { min-width:0; }
  .email-row { grid-template-columns:1fr; }
  .email-row .primary-btn { width:100%; }
  .legal-teaser { align-items:flex-start; flex-direction:column; }
  .legal-actions,.legal-buttons { width:100%; }
  .legal-actions a,.legal-buttons a { flex:1; text-align:center; }
}

@media (max-width: 620px) {
  :root { --gw-header-h:68px; }
  .wrap { width:min(calc(100% - 24px),var(--max)); }
  #logoLink { top:8px; width:52px; height:52px; }
  #logoLink .logo { width:43px; height:43px; }
  #menuToggle { top:8px; width:52px; height:52px; min-width:52px; gap:5px; }
  #menuToggle span { width:23px; height:2.5px; }
  #menuToggle.active span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
  #menuToggle.active span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }
  .social-icons-menu { top:8px; right:max(8px,env(safe-area-inset-right)); height:50px; padding:4px 7px; gap:5px; }
  .lang-toggle { min-width:31px; min-height:36px; padding:0 3px; font-size:.76rem; }
  .header-divider { height:20px; }
  .icon-link { width:27px; height:27px; }
  .icon-link .icon { width:20px; height:20px; }
  #menuList { grid-template-columns:1fr; grid-auto-rows:auto; align-content:start; justify-content:stretch; gap:7px; padding:calc(var(--gw-header-h) + 18px) 14px max(22px,env(safe-area-inset-bottom)); }
  #menuList li:last-child:nth-child(odd) { grid-column:auto; width:100%; justify-self:stretch; }
  #menuList a { min-height:48px; font-size:clamp(15px,4.3vw,18px); border-radius:10px; }

  .hero { padding:28px 0 54px; gap:26px; }
  .hero h1 { font-size:clamp(3.1rem,17vw,5rem); margin:18px 0 22px; }
  .lead { font-size:1rem; line-height:1.62; }
  .countdown { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
  .countdown div { padding:10px 5px; border-radius:12px; }
  .countdown b { font-size:1.08rem; }
  .countdown span { font-size:.58rem; }
  .hero-media { border-radius:22px; }
  .prizes { padding:58px 0; }
  .prize-card { grid-template-columns:120px minmax(0,1fr); border-radius:20px; }
  .prize-card div { padding:15px; }
  .prize-card h3 { font-size:1.05rem; }
  .entry-section { padding:52px 0 76px; }
  .entry-form { padding:14px; border-radius:22px; }
  .shirt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .shirt-card { border-radius:16px; }
  .shirt-card img { border-radius:11px; }
  .shirt-card b { font-size:.86rem; padding:10px 8px 4px; }
  .shirt-card>span { padding:0 8px 9px; font-size:.7rem; }
  .field input { height:54px; }
  .consents label { font-size:.84rem; }
  .closed-card { padding:26px 20px; }
  .legal-page { padding:46px 0 72px; }
  .legal-card { padding:22px 18px; border-radius:22px; }
  .site-footer { padding:42px 16px; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-brand { grid-column:auto; }
}

@media (max-width: 420px) {
  .social-icons-menu { padding-left:5px; }
  .hero h1 { font-size:clamp(2.8rem,16vw,4.25rem); }
  .countdown { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shirt-grid { grid-template-columns:1fr; }
  .prize-card { grid-template-columns:100px minmax(0,1fr); }
  .legal-actions,.legal-buttons { flex-direction:column; }
  .legal-actions a,.legal-buttons a { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  #menuList,#menuToggle span,#logoLink,#menuList a { transition:none!important; }
}


/* =========================================================
   ORYN PACKAGE 01 — HEADER + HAMBURGER FIX (CORRECTED)
   - no stray dot/pseudo content on the hamburger
   - the close X is optically centered and slightly smaller
   - header is visible at the top, hides smoothly while scrolling down,
     and returns on scroll up; when the menu is open it stays visible
========================================================= */
#main-header {
  transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity;
}
#main-header.menu-is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

#menuToggle {
  overflow: hidden;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
}
#menuToggle::before,
#menuToggle::after {
  content: none !important;
  display: none !important;
}
#menuToggle > span::before,
#menuToggle > span::after {
  content: none !important;
  display: none !important;
}

/* Once opened, take the bars out of flex flow so Safari/iPad cannot leave
   a tiny middle-bar dot and the X stays exactly in the circle centre. */
#menuToggle.active span {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 24px !important;
  height: 2.5px !important;
  margin: 0 !important;
  transform-origin: 50% 50% !important;
}
#menuToggle.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
#menuToggle.active span:nth-child(2) {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
#menuToggle.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

@media (max-width: 620px) {
  #menuToggle.active span {
    width: 21px !important;
    height: 2.4px !important;
  }
}

/* =========================================================
   ORYN PACKAGE 04 — GIVEAWAY RESPONSIVE FIX
   Mobile + tablet:
   - title / description stay inside viewport
   - hero / promo image scales without cropping or overflow
   - deadline / countdown fit narrow screens
   - no horizontal page scrolling
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.wrap,
.hero,
.hero-copy,
.hero-media,
.deadline,
.countdown,
.entry-form,
.shirt-grid,
.legal-teaser,
.legal-card {
  min-width: 0;
  max-width: 100%;
}

.hero-copy {
  width: 100%;
}

.hero h1 {
  max-width: 100%;
}

.hero h1 span {
  display: block;
  max-width: 100%;
}

.lead,
.deadline strong,
.section-head p,
.prize-card p,
.closed-card p,
.legal-card p,
.legal-card li {
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.countdown {
  width: 100%;
}

.countdown > div {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    width: min(var(--max), calc(100% - 32px));
    gap: clamp(28px, 5vw, 46px);
    padding-top: clamp(34px, 5vw, 54px);
    padding-bottom: clamp(52px, 7vw, 76px);
  }

  .hero-copy {
    width: 100%;
    max-width: 820px;
    justify-self: center;
  }

  .hero h1 {
    width: 100%;
    font-size: clamp(3.6rem, 10vw, 6.4rem);
    line-height: .84;
  }

  /* A magyar NYEREMÉNYJÁTÉK egyetlen hosszú szó, ezért külön,
     viewport-alapú méretet kap tableten és mobilon. */
  html[lang="hu"] .hero h1 span {
    font-size: clamp(2.7rem, 8.5vw, 5.5rem);
    letter-spacing: -.055em;
    white-space: nowrap;
  }

  .lead {
    width: 100%;
    max-width: 760px;
  }

  .deadline {
    width: 100%;
    max-width: 760px;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-width: 760px;
  }

  .hero-media {
    width: min(100%, 660px);
    max-width: 660px;
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    width: min(var(--max), calc(100% - 24px));
    padding-top: 28px;
    gap: 28px;
  }

  .eyebrow {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: .86;
    margin: 18px 0 22px;
    letter-spacing: -.055em;
  }

  html[lang="hu"] .hero h1 span {
    font-size: clamp(2.1rem, 8.8vw, 4rem);
    line-height: 1;
    letter-spacing: -.05em;
  }

  .lead {
    font-size: clamp(.98rem, 3.6vw, 1.08rem);
    line-height: 1.6;
  }

  .deadline {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 7px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .deadline span,
  .deadline strong {
    min-width: 0;
    max-width: 100%;
  }

  .deadline strong {
    line-height: 1.35;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .countdown > div {
    width: 100%;
    min-width: 0;
    padding: 10px 4px;
  }

  .countdown b {
    font-size: clamp(1.02rem, 4vw, 1.25rem);
  }

  .countdown span {
    display: block;
    font-size: clamp(.52rem, 1.8vw, .62rem);
    letter-spacing: .07em;
    white-space: nowrap;
  }

  .hero-media {
    width: 100%;
    max-width: 620px;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .wrap,
  .hero {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
    max-width: 100%;
  }

  html[lang="hu"] .hero h1 span {
    font-size: clamp(2rem, 8.7vw, 3.35rem);
    white-space: nowrap;
  }

  .lead {
    max-width: 100%;
  }

  .deadline,
  .countdown {
    max-width: 100%;
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-media img {
    width: 100%;
    height: auto;
  }

  .section-head h2,
  .legal-teaser h2 {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .entry-form,
  .closed-card,
  .legal-card {
    width: 100%;
    max-width: 100%;
  }

  .field,
  .field input,
  .primary-btn {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .hero {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  html[lang="hu"] .hero h1 span {
    font-size: clamp(1.9rem, 8.55vw, 2.7rem);
    letter-spacing: -.045em;
  }

  .lead {
    font-size: .98rem;
    line-height: 1.56;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .countdown > div {
    padding: 9px 2px;
    border-radius: 11px;
  }

  .countdown b {
    font-size: 1rem;
  }

  .countdown span {
    font-size: .5rem;
    letter-spacing: .04em;
  }

  .hero-media {
    border-radius: 19px;
  }
}

/* Nagyon keskeny telefonokon a 4 countdown-kártya helyett 2×2,
   hogy még 320 px körül se legyen vízszintes túlcsordulás. */
@media (max-width: 340px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .countdown span {
    font-size: .56rem;
  }

  html[lang="hu"] .hero h1 span {
    font-size: clamp(1.72rem, 8.35vw, 2rem);
  }
}

/* =========================================================
   ORYN PACKAGE 04A — MOBILE MENU + DESKTOP TITLE FIX
========================================================= */

/* Desktop / nagy kijelző:
   a hosszú magyar NYEREMÉNYJÁTÉK felirat maradjon a bal hero-oszlopon belül,
   ne fusson a promókép alá. */
@media (min-width: 1025px) {
  html[lang="hu"] .hero h1 span {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(3.55rem, 5.15vw, 6.15rem);
    line-height: .88;
    letter-spacing: -.06em;
    white-space: nowrap;
  }

  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }
}

/* Telefon: a teljes képernyős hamburger menü kétoszlopos legyen,
   ne egy hosszú, görgetendő egysávos lista. */
@media (max-width: 620px) and (orientation: portrait) {
  #menuList {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(40px, auto);
    align-content: center;
    justify-content: stretch;
    column-gap: 8px;
    row-gap: 6px;
    padding:
      calc(var(--gw-header-h) + 10px)
      10px
      max(14px, env(safe-area-inset-bottom));
    overflow-y: hidden;
    overflow-x: hidden;
  }

  #menuList li,
  #menuList li:last-child:nth-child(odd) {
    width: 100%;
    min-width: 0;
    grid-column: auto;
    justify-self: stretch;
  }

  /* Páratlan elemszámnál az utolsó elem fusson át két oszlopon,
     de maradjon vizuálisan egy menügomb szélességű és középen. */
  #menuList li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 4px);
    justify-self: center;
  }

  #menuList a {
    min-width: 0;
    min-height: 40px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: clamp(11.5px, 3.45vw, 14.5px);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Alacsonyabb portré telefonokon még kompaktabb, hogy a menü
   görgetés nélkül elférjen. */
@media (max-width: 620px) and (orientation: portrait) and (max-height: 720px) {
  #menuList {
    grid-auto-rows: minmax(36px, auto);
    row-gap: 4px;
    padding-top: calc(var(--gw-header-h) + 6px);
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  #menuList a {
    min-height: 36px;
    padding: 4px 6px;
    font-size: clamp(10.5px, 3.15vw, 13px);
    border-radius: 8px;
  }
}

/* Nagyon keskeny telefonon is maradjon két oszlop, ne váltson vissza egyre. */
@media (max-width: 390px) and (orientation: portrait) {
  #menuList {
    column-gap: 6px;
    row-gap: 5px;
    padding-left: 8px;
    padding-right: 8px;
  }

  #menuList a {
    font-size: clamp(10px, 3.2vw, 12.5px);
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Fekvő telefonon a magasság sokkal kisebb lehet; ott két oszlop marad,
   de szükség esetén engedjük a függőleges görgetést, hogy ne vágódjon le menüpont. */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
  #menuList {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-content: start;
    padding-top: calc(var(--gw-header-h) + 8px);
    overflow-y: auto;
  }
}

/* =========================================================
   ORYN PACKAGE 11B — PERMANENT GIVEAWAY HEADER
========================================================= */

/* A korábbi V5 body offset + V6 main offset ne adódjon össze kétszer. */
body {
  padding-top: 0 !important;
}

.giveaway-main {
  padding-top: var(--gw-header-h) !important;
}

#main-header,
#main-header.hide,
#main-header.hide:not(.menu-is-open),
#main-header.menu-is-open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--gw-header-h) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  background:
    linear-gradient(
      180deg,
      rgba(10,10,11,.96) 0%,
      rgba(12,12,13,.90) 72%,
      rgba(12,12,13,.82) 100%
    ) !important;
  border-bottom: 1px solid rgba(243,228,201,.14) !important;
  box-shadow:
    0 10px 34px rgba(0,0,0,.34),
    inset 0 -1px 0 rgba(255,255,255,.025) !important;
  backdrop-filter: blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(135%) !important;
  transition: none !important;
  will-change: auto !important;
}

html {
  scroll-padding-top: calc(var(--gw-header-h) + 18px) !important;
}

/* =========================================================
   ORYN PACKAGE 11C — GIVEAWAY HEADER POSITION / POLISH
========================================================= */
:root {
  --gw-header-h: 82px;
}

#main-header,
#main-header.hide,
#main-header.hide:not(.menu-is-open),
#main-header.menu-is-open {
  height: var(--gw-header-h) !important;
  background:
    linear-gradient(180deg,
      rgba(8,8,9,.965) 0%,
      rgba(12,12,13,.93) 64%,
      rgba(15,15,16,.89) 100%) !important;
}

/* A giveaway ugyanazt a vizuális tengelyt kapja, mint a Shop. */
#logoLink {
  top: 50% !important;
  left: max(18px, env(safe-area-inset-left)) !important;
  width: 56px !important;
  height: 56px !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(243,228,201,.18) !important;
  box-shadow: 0 7px 22px rgba(0,0,0,.30) !important;
}

#logoLink .logo {
  width: 44px !important;
  height: 44px !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%,-50%) !important;
}

#menuToggle {
  display: flex !important;
  top: 50% !important;
  left: 50% !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  transform: translate(-50%,-50%) !important;
  gap: 5px !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.38) !important;
}

#menuToggle:hover {
  transform: translate(-50%,-50%) scale(1.035) !important;
}

#menuToggle span {
  width: 25px !important;
  height: 2.5px !important;
}

.social-icons-menu {
  top: 50% !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  transform: translateY(-50%) !important;
  min-height: 52px !important;
  height: 52px !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.36) !important;
}

@media (max-width: 1024px) {
  :root { --gw-header-h: 76px; }

  #logoLink {
    left: max(14px, env(safe-area-inset-left)) !important;
    width: 52px !important;
    height: 52px !important;
  }

  #logoLink .logo {
    width: 41px !important;
    height: 41px !important;
  }

  #menuToggle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }
}

@media (max-width: 620px) {
  :root { --gw-header-h: 70px; }

  #logoLink {
    left: max(10px, env(safe-area-inset-left)) !important;
    width: 48px !important;
    height: 48px !important;
  }

  #logoLink .logo {
    width: 38px !important;
    height: 38px !important;
  }

  #menuToggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  #menuToggle span {
    width: 22px !important;
    height: 2.25px !important;
  }

  .social-icons-menu {
    right: max(8px, env(safe-area-inset-right)) !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}

/* =========================================================
   ORYN PACKAGE 11D — GIVEAWAY HEADER CONTAINMENT / SIZE FIX
========================================================= */
:root {
  --gw-header-h: 82px;
  --gw-header-btn-size: 50px;
  --gw-header-logo-size: 34px;
  --gw-header-side-pad: 16px;
}

#main-header,
#main-header.hide,
#main-header.hide:not(.menu-is-open),
#main-header.menu-is-open {
  height: var(--gw-header-h) !important;
  min-height: var(--gw-header-h) !important;
  overflow: hidden !important;
}

#logoLink {
  top: calc(var(--gw-header-h) / 2) !important;
  left: max(var(--gw-header-side-pad), env(safe-area-inset-left)) !important;
  width: var(--gw-header-btn-size) !important;
  height: var(--gw-header-btn-size) !important;
  transform: translateY(-50%) !important;
}

#logoLink:hover {
  transform: translateY(-50%) scale(1.03) !important;
}

#logoLink .logo {
  width: var(--gw-header-logo-size) !important;
  height: var(--gw-header-logo-size) !important;
}

#menuToggle {
  top: calc(var(--gw-header-h) / 2) !important;
  width: var(--gw-header-btn-size) !important;
  height: var(--gw-header-btn-size) !important;
  min-width: var(--gw-header-btn-size) !important;
  min-height: var(--gw-header-btn-size) !important;
  transform: translate(-50%,-50%) !important;
}

#menuToggle:hover {
  transform: translate(-50%,-50%) scale(1.03) !important;
}

#menuToggle span {
  width: 22px !important;
  height: 2.25px !important;
}

.social-icons-menu {
  top: calc(var(--gw-header-h) / 2) !important;
  right: max(var(--gw-header-side-pad), env(safe-area-inset-right)) !important;
  min-height: 46px !important;
  height: 46px !important;
}

@media (max-width: 1024px) {
  :root {
    --gw-header-h: 74px;
    --gw-header-btn-size: 46px;
    --gw-header-logo-size: 31px;
    --gw-header-side-pad: 12px;
  }

  .social-icons-menu {
    min-height: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 620px) {
  :root {
    --gw-header-h: 68px;
    --gw-header-btn-size: 42px;
    --gw-header-logo-size: 28px;
    --gw-header-side-pad: 8px;
  }

  #menuToggle span {
    width: 19px !important;
    height: 2px !important;
  }

  .social-icons-menu {
    min-height: 38px !important;
    height: 38px !important;
  }
}

/* =========================================================
   ORYN PACKAGE 11E — GIVEAWAY FULLSCREEN MENU FIX
========================================================= */
#main-header,
#main-header.hide,
#main-header.hide:not(.menu-is-open),
#main-header.menu-is-open {
  overflow: visible !important;
}

#main-header .glass-nav {
  overflow: visible !important;
}

#menuList,
#menuList.show {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100dvh !important;
  max-height: none !important;
  z-index: 2147483000 !important;
}

#menuList.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.menu-open #main-header,
#main-header.menu-is-open {
  z-index: 2147482000 !important;
  overflow: visible !important;
}

/* =========================================================
   ORYN PACKAGE 11F — GIVEAWAY MENU X FIX
========================================================= */
#menuToggle,
#menuToggle.active,
body.menu-open #menuToggle {
  position: relative !important;
  z-index: 2147483646 !important;
  overflow: hidden !important;
}

#menuList,
#menuList.show {
  z-index: 2147483000 !important;
}

#menuToggle.active span {
  background: #111 !important;
  opacity: 1 !important;
}
#menuToggle.active span:nth-child(2) {
  display: none !important;
  opacity: 0 !important;
}

/* =========================================================
   ORYN GLOBAL LABEL SYSTEM v1 — GIVEAWAY
========================================================= */
.field > label,
.email-row .field > label,
form label[for] {
  display: inline-flex !important;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  margin: 0 0 9px !important;
  padding: 5px 9px;
  align-items: center;
  border: 1px solid rgba(243,228,201,.16);
  border-radius: 999px;
  background: rgba(243,228,201,.055);
  color: #f3e4c9 !important;
  font-size: .68rem !important;
  line-height: 1.1;
  font-weight: 850 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase;
}
@media (max-width:620px){
  .field > label,.email-row .field > label,form label[for]{font-size:.64rem!important;padding:5px 8px}
}

/* =============================================================
   ORYN GIVEAWAY SCROLL CONTROL — HU/EN, egységes Oryn vizuál
   Kizárólag a Nyereményjáték aloldalaira hat.
============================================================= */
#scrollTopBtn.gw-scroll-control {
  position: fixed;
  left: max(clamp(22px, 2.2vw, 34px), env(safe-area-inset-left));
  right: auto;
  bottom: max(clamp(30px, 4vh, 46px), env(safe-area-inset-bottom));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 239, 213, .48);
  border-radius: 999px;
  background: rgba(19, 16, 14, .92);
  color: #ffefd5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity .28s ease, visibility .28s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1), background-color .18s ease;
}
#scrollTopBtn.gw-scroll-control.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#scrollTopBtn.gw-scroll-control:hover {
  background: rgba(38, 31, 25, .98);
  transform: translateY(-2px) scale(1.01);
}
#scrollTopBtn.gw-scroll-control:focus-visible {
  outline: 2px solid #ffefd5;
  outline-offset: 4px;
}
#scrollTopBtn.gw-scroll-control .scroll-top-label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
#scrollTopBtn.gw-scroll-control .scroll-top-arrow {
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  animation: gwScrollArrowUp 1.35s ease-in-out infinite;
}
#scrollTopBtn.gw-scroll-control:not(.is-top-mode) .scroll-top-arrow {
  animation-name: gwScrollArrowDown;
}
#scrollTopBtn.gw-scroll-control.content-switch-down .scroll-top-label,
#scrollTopBtn.gw-scroll-control.content-switch-down .scroll-top-arrow {
  animation: gwScrollSwitchDown .34s cubic-bezier(.22, 1, .36, 1);
}
#scrollTopBtn.gw-scroll-control.content-switch-up .scroll-top-label,
#scrollTopBtn.gw-scroll-control.content-switch-up .scroll-top-arrow {
  animation: gwScrollSwitchUp .34s cubic-bezier(.22, 1, .36, 1);
}
@keyframes gwScrollArrowUp { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-2px); } }
@keyframes gwScrollArrowDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
@keyframes gwScrollSwitchDown { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gwScrollSwitchUp { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

/* Fullscreen menü nyitva: a navigációs gomb nem jelenhet meg a menü fölött. */
body.menu-open #scrollTopBtn.gw-scroll-control {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 620px) {
  #scrollTopBtn.gw-scroll-control {
    left: max(18px, env(safe-area-inset-left));
    bottom: max(26px, env(safe-area-inset-bottom));
    height: 38px;
    padding-inline: 12px;
  }
  #scrollTopBtn.gw-scroll-control .scroll-top-label { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  #scrollTopBtn.gw-scroll-control,
  #scrollTopBtn.gw-scroll-control .scroll-top-arrow { animation: none !important; transition: none !important; }
}
