:root { --hatter: #050505; --arany: #D4AF37; --arany-glow: rgba(212, 175, 55, 0.45); }
* { box-sizing: border-box; margin: 0; padding: 0; cursor: none; }
body { font-family: 'Montserrat', sans-serif; background: var(--hatter); color: #fff; line-height: 1.6; overflow-x: hidden; }

/* LAYOUT ALAPOK */
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
section { padding: 120px 0; position: relative; }

/* Mobil hamburger ikon mérete */
@media (max-width: 768px) {
  .menu-toggle i,
  .hamburger i,
  .nav-toggle i {
    font-size: 28px;     /* eddig pl. 20-24 volt */
    line-height: 1;
  }
}

/* PRELOADER FIXÁLT KÖZÉP */
#preloader { position: fixed; inset: 0; background: #000; z-index: 99999; display: flex; justify-content: center; align-items: center; }
#preloader.hide { opacity: 0; visibility: hidden; transition: 0.8s ease; }
.preloader-content { display: flex; flex-direction: column; align-items: center; width: 300px; text-align: center; }
.loading-container { width: 100%; height: 4px; background: rgba(255,255,255,0.1); margin-top: 25px; border-radius: 10px; overflow: hidden; }
.loading-bar { width: 0%; height: 100%; background: var(--arany); box-shadow: 0 0 15px var(--arany); transition: width 2s ease; }

/* LOGÓ ÉS HEADER */
header { display: flex; justify-content: space-between; align-items: center; padding: 25px 60px; position: sticky; top: 0; background: rgba(5,5,5,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(212, 175, 55, 0.1); }
.logo { font-size: 28px; font-weight: 900; color: #fff; text-decoration: none; }
.logo-arany { color: var(--arany); }
nav a { color: #fff; text-decoration: none; margin-left: 30px; font-weight: 700; transition: 0.3s; }
nav a:hover { color: var(--arany); text-shadow: 0 0 10px var(--arany); }

/* HERO */
.hero { text-align: center; padding: 180px 0; }
.hero h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 30px; }
.hero h1 span { color: var(--arany); }
.hero-gomb { margin-top: 60px; }
.gomb { background: var(--arany); color: #000; padding: 20px 50px; text-decoration: none; font-weight: 900; border-radius: 50px; display: inline-block; transition: 0.3s; border: none; }
.gomb:hover { box-shadow: 0 0 30px var(--arany); transform: translateY(-3px); }

/* RÓLUNK GRID */
.rolunk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rolunk-szoveg h2 { font-size: 3rem; margin-bottom: 30px; font-weight: 900; }
.rolunk-szoveg span { color: var(--arany); }
.rolunk-kep-keret { position: relative; }
.rolunk-kep-keret img { width: 100%; border-radius: 15px; position: relative; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.kep-dekor { position: absolute; top: -15px; right: -15px; width: 100%; height: 100%; border: 3px solid var(--arany); border-radius: 15px; z-index: 1; }

/* KÁRTYÁK GLOW EFFEKTEL */
.szekcio-cim { text-align: center; font-size: 2.8rem; margin-bottom: 80px; font-weight: 900; }
.kartya-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.kartya { background: rgba(255,255,255,0.03); padding: 60px 40px; border-radius: 25px; border: 1px solid rgba(212,175,55,0.1); text-align: center; transition: 0.4s; }
.kartya:hover { transform: translateY(-15px); border-color: var(--arany); box-shadow: 0 15px 40px var(--arany-glow); }
.lepes-szam { width: 60px; height: 60px; background: var(--arany); color: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 30px; font-weight: 900; font-size: 1.5rem; }

/* KUPON 3D FLIP */
.kupon-card { width: 350px; height: 200px; perspective: 1000px; margin: 0 auto; cursor: pointer; }
.kupon-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; }
.kupon-card.active .kupon-inner { transform: rotateY(180deg); }
.kupon-front, .kupon-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 20px; border: 2px solid var(--arany); background: #111; }
.kupon-back { transform: rotateY(180deg); background: var(--arany); color: #000; }
.kupon-back h3 { font-size: 2.5rem; font-weight: 900; }

/* KURZOR ÉS HÁTTÉR */
.cursor-follower { 
    position: fixed; 
    width: 20px; 
    height: 20px; 
    border: 2px solid var(--arany); 
    border-radius: 50%; 
    z-index: 10000; 
    mix-blend-mode: difference; 
    transition: transform 0.1s ease-out; 
    transform: translate(-50%, -50%);
    
    /* EZ JAVÍTJA MEG A KATTINTÁST: */
    pointer-events: none; 
}

/* Biztosíték, hogy a gombok minden felett legyenek */
.gomb, .kupon-card, nav a {
    position: relative;
    z-index: 10001;
}


/* ====== EXTRA: FADE-IN ANIM ====== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.megjelent { opacity: 1; transform: translateY(0); }

/* ====== EXTRA: FLOATING CTA (mobile only) ====== */
.floating-cta{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--arany);
  color: #000;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 30px var(--arany-glow);
  z-index: 10050;
}
.floating-cta:active{ transform: translateY(1px); }

/* Mobilon is látszódjon a hero CTA (ne tűnjön el) */
@media (max-width: 768px){
  .hero .hero-gomb{ display: inline-block !important; }
  .floating-cta{ display: none; }
}
/* Touch eszközökön legyen normál kurzor és ne jelenjen meg a follower */
@media (hover: none){
  *{ cursor: auto !important; }
  .cursor-follower{ display: none !important; }
}

/* ====== PRELOADER SUBTEXT ====== */
.preloader-sub{
  margin-top: 10px;
  font-weight: 700;
  opacity: .9;
  letter-spacing: .2px;
}

/* ====== PREVIEW SZEKCIÓ: iPhone mockup ====== */
.preview-szekcio{ padding: 120px 0; }
.preview-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items:center; }
.preview-copy h2{ font-size: 2.8rem; font-weight: 900; margin-bottom: 18px; }
.preview-copy h2 span{ color: var(--arany); }
.preview-copy p{ opacity: .9; max-width: 52ch; }

.preview-cards{ display:flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.mini-card{
  flex: 1 1 220px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 20px;
  padding: 18px 18px;
  transition: .35s ease;
}
.mini-card h4{ font-size: 1.05rem; margin-bottom: 8px; }
.mini-card p{ font-size: .95rem; opacity: .85; }
.mini-card:hover{ transform: translateY(-6px); border-color: var(--arany); box-shadow: 0 14px 40px var(--arany-glow); }

.preview-tabs{ display:flex; gap: 10px; justify-content:center; margin-bottom: 14px; }
.preview-tab{
  border: 1px solid rgba(212,175,55,0.25);
  background: rgba(255,255,255,0.03);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}
.preview-tab.active{
  background: var(--arany);
  color: #000;
  border-color: var(--arany);
  box-shadow: 0 0 24px var(--arany-glow);
}

.phone-area{ display:flex; flex-direction:column; align-items:center; }
.phone-mockup{
  position: relative;
  width: 320px; /* kisebb, mint eddig */
  max-width: 80vw;
  transform-style: preserve-3d;
  will-change: transform;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat{
  0%,100%{ transform: translateY(0) rotate(-1.2deg); }
  50%{ transform: translateY(-10px) rotate(1.2deg); }
}
.phone-bezel{
  position: relative;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-notch{
  position:absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: rgba(0,0,0,.75);
  z-index: 3;
}
.phone-screen{
  overflow:hidden;
  border-radius: 34px;
  background: #000;
  aspect-ratio: 9 / 19.5;
  position: relative;
}
.phone-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity:0;
  transform: scale(1.02);
  transition: opacity .5s ease, transform .7s ease;
}
.phone-img.active{
  opacity:1;
  transform: scale(1);
}
.phone-glow{
  position:absolute;
  inset:-20px;
  filter: blur(26px);
  background: radial-gradient(circle at 50% 40%, rgba(212,175,55,0.20), transparent 60%);
  z-index:-1;
  opacity:.9;
}
.phone-hint{
  margin-top: 12px;
  font-size: .9rem;
  opacity: .7;
  text-align:center;
}

@media (max-width: 900px){
  .preview-grid{ grid-template-columns: 1fr; gap: 36px; }
  .preview-copy h2{ font-size: 2.3rem; text-align:center; }
  .preview-copy p{ margin: 0 auto; text-align:center; }
  .preview-cards{ justify-content:center; }
}

/* ====== KAPCSOLAT: select + form basic styling (ha hiányzott) ====== */
.kapcsolat-wrapper{ display:grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 40px; }
.kapcsolat-form{ background: rgba(255,255,255,0.03); border: 1px solid rgba(212,175,55,0.12); border-radius: 26px; padding: 30px; }
.input-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-field label{ display:block; font-weight: 800; margin-bottom: 8px; }
.input-field input, .input-field textarea{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color:#fff;
  outline:none;
}
.input-field textarea{ resize: vertical; min-height: 120px; }
.input-field input:focus, .input-field textarea:focus{ border-color: rgba(212,175,55,0.55); box-shadow: 0 0 0 3px rgba(212,175,55,0.14); }

.custom-select-wrapper{ position: relative; }
.custom-select{ position: relative; user-select:none; }
.custom-select-trigger{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}
.custom-options{
  position:absolute;
  left:0; right:0; top: calc(100% + 10px);
  background: rgba(10,10,10,0.98);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px;
  overflow:hidden;
  opacity:0; visibility:hidden;
  transform: translateY(-6px);
  transition: .2s ease;
  z-index: 50;
}
.custom-select.open .custom-options{ opacity:1; visibility:visible; transform: translateY(0); }
.custom-option{ display:block; padding: 12px 14px; cursor:pointer; }
.custom-option:hover{ background: rgba(212,175,55,0.10); }

.form-status{
  margin-top: 14px;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.35;
  min-height: 1.35em;
  opacity: .92;
}
.form-status.ok{ color: rgba(212,175,55,0.95); }
.form-status.err{ color: rgba(255,120,120,0.95); }

.kapcsolat-form button[disabled]{
  opacity: .6;
  cursor: not-allowed;
}
@media (max-width: 900px){
  .kapcsolat-wrapper{ grid-template-columns: 1fr; }
  .input-row{ grid-template-columns: 1fr; }
}



/* ====== ANIMÁLT HÁTTÉR (canvas) ====== */
.animated-background{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.animated-background canvas{
  width: 100%;
  height: 100%;
  display:block;
  opacity: .75;
}
header, section, footer{ position: relative; z-index: 2; }

/* ====== FOOTER + JOGI LINKEK ====== */
footer{
  padding: 44px 0;
  border-top: 1px solid rgba(212,175,55,0.12);
  background: rgba(5,5,5,0.75);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links{ display:flex; gap: 16px; flex-wrap: wrap; }
.footer-links a{ color:#fff; text-decoration:none; opacity:.8; font-weight:800; }
.footer-links a:hover{ color: var(--arany); opacity: 1; }
.footer-copy{ opacity:.75; font-weight:700; }

/* ====== JOGI OLDALAK ====== */
.legal{ padding: 90px 0 120px; }
.legal h1{ font-size: 2.6rem; font-weight: 900; margin-bottom: 18px; }
.legal h2{ font-size: 1.35rem; font-weight: 900; margin: 26px 0 10px; }
.legal p, .legal li{ opacity:.9; }
.legal ul{ padding-left: 18px; margin-top: 8px; }
.legal .box{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 26px;
  padding: 26px;
}

/* ====== STATISZTIKA SZEKCIÓ ====== */
.stats-szekcio{ padding: 110px 0; }
.stats-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 30px;
}
.stat-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 26px;
  padding: 34px 26px;
  text-align:center;
  transition: .35s ease;
}
.stat-card:hover{
  transform: translateY(-10px);
  border-color: var(--arany);
  box-shadow: 0 15px 40px var(--arany-glow);
}
.stat-number{
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: .5px;
  color: #fff;
}
.stat-label{
  margin-top: 8px;
  font-weight: 800;
  opacity: .85;
}
@media (max-width: 900px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stat-number{ font-size: 2.6rem; }
}

/* ====== KAPCSOLAT: dropdown mindig a gomb felett legyen ====== */
.custom-select.open{ z-index: 10030; }
.custom-options{ z-index: 10031; }

/* ====== GLOBAL MOBILE POLISH ====== */
@media (max-width: 768px){
  .container{ padding: 0 18px; }
  section{ padding: 80px 0; }
  header{ padding: 16px 18px; }
  .logo{ font-size: 22px; }

  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  header nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,5,5,0.98);
    border-bottom: 1px solid rgba(212,175,55,0.12);
    display: none;
    flex-direction: column;
    padding: 12px 18px 16px;
    gap: 10px;
  }
  header.nav-open nav{ display:flex; }
  nav a{ margin-left: 0; padding: 10px 8px; border-radius: 12px; }
  nav a:hover{ background: rgba(212,175,55,0.10); }

  .hero{ padding: 120px 0 90px; }
  .hero h1{ font-size: 2.6rem; }
  .hero p{ font-size: 1.02rem; }

  .szekcio-cim{ font-size: 2.1rem; margin-bottom: 44px; }
  .rolunk-grid{ grid-template-columns: 1fr; gap: 34px; }
  .rolunk-szoveg h2{ font-size: 2.2rem; }

  .kartya{ padding: 40px 26px; }
  .kupon-card{ width: min(350px, 92vw); }
}

@media (max-width: 420px){
  .hero h1{ font-size: 2.2rem; }
  .stat-number{ font-size: 2.25rem; }
}


/* Consent checkbox alignment */
.consent-field{ margin-top: 12px; }
.consent-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
  font-weight:800;
  margin:0;
}
.consent-label input[type="checkbox"]{
  margin-top:4px;
  flex:0 0 auto;
}
.consent-label span{
  opacity:.9;
  line-height:1.35;
}
.consent-label a{
  color: var(--arany);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ====== FIX: header mindig legfelül (mobil menü kattintható) ====== */
header{ position: sticky; top: 0; z-index: 10060 !important; }
header nav{ z-index: 10060; }
header.nav-open nav{ z-index: 10060; }
section, footer{ position: relative; z-index: 1; }

/* Mobil hamburger gomb (kattintható terület + „szélesebb” érzet) */
@media (max-width: 768px) {
  .menu-toggle,
  .hamburger,
  .nav-toggle {
    padding: 12px 16px;  /* ettől lesz szélesebb a gomb */
    min-width: 52px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Desktopon NE látszódjon a hamburger */
.menu-toggle,
.hamburger,
.nav-toggle {
  display: none !important;
}

/* Mobilon látszódjon, desktop menü meg maradjon rendesen */
@media (max-width: 768px) {
  .menu-toggle,
  .hamburger,
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Mobilon a normál menü legyen összecsukva alapból */
  .nav-links,
  .nav-menu,
  nav ul {
    display: none;
  }

  /* Ha nyitva van (JS ráteszi az active/open class-t), akkor látszódjon */
  .nav-links.active,
  .nav-menu.active,
  nav ul.active {
    display: flex;
    flex-direction: column;
  }
}