@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Poppins", Arial, sans-serif;
  background: #232323;
  /* Alap háttér, nincs háttérkép */
  box-sizing: border-box;
}

/* Loading animáció */
body.preloader-active {
  overflow: hidden !important;
  height: 100vh !important;
}

#preloader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181818;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}

.loader {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #3A63C1;
  border-right: 10px solid #F94CBF;
  border-bottom: 10px solid #EC8F34;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  animation: spin 1.1s linear infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.8;
}


/* Animációk */
.section-animate {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.45, 1.6, 0.55, 0.98), transform 0.7s cubic-bezier(0.45, 1.6, 0.55, 0.98);
  will-change: opacity, transform;
}

.section-animate.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg,
      rgba(58, 99, 193, 1) 0%,
      rgba(249, 76, 191, 1) 50%,
      rgba(236, 143, 52, 1) 100%);
  opacity: 0.75;
  border-radius: 35px;
  margin: 16px 20px 0 20px;
  /* 15px oldalról beljebb */
  height: 56px;
  display: flex;
  align-items: center;
  transition: top 0.3s ease, opacity 0.3s;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.09);
  padding: 0 24px;
  backdrop-filter: blur(6px);
  border: 5px solid #fff;
  /* Fehér keret */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  /* Nincs belső padding! */
  width: 100%;
  position: relative;
}

.header-spacer {
  flex: 1 1 0;
}

.logo {
  flex: 0 0 auto;
  height: 48px;
  display: block;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.main-nav {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  height: 100%;
  position: relative;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0 24px 0 0;
  /* Jobb oldali extra tér, hogy a legszélre kerüljön */
  padding: 0;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  background: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: #3A63C1;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-right: 16px;
}

@media (max-width: 700px) {
  .main-nav ul {
    flex-direction: column;
    position: fixed;
    top: 72px;
    /* állítsd a header magasságához (56px header + 16px margin) */
    right: 24px;
    /* ugyanannyi, mint a header jobb oldali padding/margin */
    left: auto;
    background: #232323;
    border-radius: 16px;
    box-shadow: 0 4px 24px #0008;
    padding: 18px 24px;
    gap: 18px;
    z-index: 1000;
    min-width: 180px;
    max-width: 90vw;
    display: none;
    margin: 0;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    border: 3px solid #fff;
  }

  .main-nav.open ul {
    display: flex;
    /* Megjelenítés mobilon */
  }

  .menu-toggle {
    display: block;
    margin-right: 16px;
  }

  .logo {
    height: 36px;
  }

  .header-spacer {
    display: none;
  }

  .main-nav {
    flex: 0 0 auto;
  }
}




/* WELCOME SECTION SAJÁT HÁTTÉRREL */
.welcome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("images/welcome-background.png") center center / cover no-repeat;
  /* Csak itt van háttérkép */
  position: relative;
  overflow: hidden;
}

/*Animációk ki-be kapcsolása*/
.animation-toggle-row {
  position: absolute;
  top: 90px;
  left: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 700px) {
  .animation-toggle-row {
    top: 90px;
    left: 10px;
    gap: 6px;
  }
}

.toggle-label {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.7;
  user-select: none;
}

/* Kis switch */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #888;
  transition: background 0.3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0003;
}

input:checked+.slider {
  background: linear-gradient(90deg, #3a63c1 0%, #f94cbf 60%, #ec8f34 100%);
}

input:checked+.slider:before {
  transform: translateX(16px);
}


@media (max-width: 700px) {
  .toggle-animations-switch {
    top: 900px;
    left: 10px;
    font-size: 0.7rem;
    padding: 8px 12px;
  }
}

body.no-animations .twitch-bg-stripe-row {
  animation-play-state: paused !important;
}

.welcome-text {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 8px #0002;
}

.welcome-hashtag {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  text-shadow: 0 2px 8px #0002;
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 157px;
  /* vagy az SVG arányához igazítva */
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  color: #232323;
  /* vagy amit szeretnél */
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

@media (max-width: 768px) {
  .welcome {
    padding: 32px 10px 0 10px;
    /* oldalt kisebb padding */
    min-height: 70vh;
    /* kisebb magasság mobilon */
  }

  .welcome-text {
    font-size: 1.2rem;
    /* kisebb betűméret */
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .welcome-hashtag {
    font-size: 1rem;
    /* kisebb betűméret */
    margin-bottom: 16px;
  }

  .arrow-svg {
    margin-top: 8px;
  }
}

.slide-up-1,
.slide-up-2 {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp 0.8s cubic-bezier(0.45, 1.6, 0.55, 0.98) forwards;
}

/* Második sor csak késleltetve indul */
.slide-up-2 {
  animation-delay: 1.5s;
  animation-duration: 1s;
}

/* Első sor azonnal indul */
.slide-up-1 {
  animation-delay: 1s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow-svg {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-svg svg {
  display: block;
  animation: arrow-bounce 1.2s infinite alternate;
  opacity: 1;
}

@keyframes arrow-bounce {
  to {
    transform: translateY(12px);
  }
}

.main-header.hide {
  top: -80px;
  opacity: 0;
  pointer-events: none;
}

.about-section {
  background: #232323;
  padding: 90px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-inner {
  display: flex;
  align-items: center;
  max-width: 900px;
  width: 100%;
  gap: 48px;
  padding: 0 24px;
}

.about-image {
  position: relative;
  width: 320px;
  height: 320px;
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background: none !important;
  max-width: 95vw;
  max-height: 95vw;
  min-width: 180px;
  min-height: 180px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  /* Nincs kör! */
  background: none !important;
  display: block;
  z-index: 1;
  /* Fade effekt az alján: */
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.about-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%,
      #3a63c1 0%,
      #f94cbf 40%,
      #232323 80%,
      transparent 100%);
  filter: blur(18px) brightness(1.6) saturate(1.3);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 48px 16px #3a63c1, 0 0 96px 24px #f94cbf55;
}

/* Mobilon kisebb kör és portré */
@media (max-width: 768px) {
  .about-image {
    width: 90vw;
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
    flex: 0 0 auto;
  }
}

.about-text {
  flex: 1;
  color: #fff;
}

.about-text h2 {
  margin-top: 0;
  color: #f94cbf;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-text p {
  font-size: 1.1rem;
  min-width: 0;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.7;
  color: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    gap: 24px;
    padding: 0 10px;
  }

  .about-image {
    height: 120px;
    width: 120px;
  }

  .about-text h2 {
    font-size: 1.3rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* Merch SZEKCIÓ */
.merch-section {
  background: linear-gradient(135deg, #3a63c1 0%, #f94cbf 100%);
  padding: 64px 0 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.merch-inner {
  background: rgba(35, 35, 35, 0.92);
  border-radius: 24px;
  box-shadow: 0 4px 32px #0007;
  max-width: 700px;
  width: 98vw;
  margin: 0 auto;
  padding: 36px 24px 28px 24px;
  text-align: center;
}

.merch-section h2 {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.merch-info {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.merch-highlight {
  color: #f94cbf;
  font-weight: 700;
}

.twitch-highlight {
  color: #9147ff;
  font-weight: 700;
}

.merch-items {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin: 32px 0 18px 0;
  flex-wrap: wrap;
}

.merch-item {
  background: #232323;
  border-radius: 18px;
  box-shadow: 0 2px 14px #0006;
  padding: 18px 18px 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
  max-width: 150px;
  margin-bottom: 10px;
}

.merch-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px #3a63c1bb);
}

.merch-item span {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

.merch-note {
  margin-top: 18px;
  color: #fff;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.8;
}

.merch-note i {
  color: #ec8f34;
  font-size: 1.3em;
}

@media (max-width: 700px) {
  .merch-inner {
    padding: 18px 5vw 16px 5vw;
  }

  .merch-items {
    gap: 18px;
  }

  .merch-item img {
    width: 54px;
    height: 54px;
  }

  .merch-section h2 {
    font-size: 1.2rem;
  }
}

.twitch-points-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #3a63c1 0%, #f94cbf 60%, #ec8f34 100%);
  background-size: 200% 100%;
  color: #fff;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 12px 28px;
  border-radius: 14px;
  margin-top: 22px;
  text-decoration: none;
  box-shadow: 0 2px 12px #0003;
  transition: background-position 0.6s, box-shadow 0.2s;
  animation: btn-gradient-move 3s linear infinite;
  border: none;
}

.twitch-points-btn i {
  font-size: 1.3em;
  color: #fff;
}

.twitch-points-btn:hover,
.twitch-points-btn:focus {
  background-position: 100% 0;
  box-shadow: 0 4px 24px #f94cbf;
  color: #fff;
  outline: none;
}

@keyframes btn-gradient-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* GIVEAWAY SZEKCIÓ */
.giveaway-bg {
  width: 100%;
  /* vagy 100% */
  max-width: 100%;
  padding: 60px 0;
  box-sizing: border-box;
}

.giveaway-emoji-bg {
  width: 100%;
  /* vagy 100% */
  max-width: 100%;
  height: 60vh;
  /* vagy 100% */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.giveaway-section p {
  color: #858585;
  font-size: 0.8rem;
  margin: 0 0 24px 0;
  font-weight: 500;
}

#emoji-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.giveaway-section {
  position: relative;
  z-index: 1;
  margin: 48px auto;
  max-width: 500px;
  width: calc(100% - 50px);
  box-sizing: border-box;
  overflow-x: hidden;
  background: rgba(35, 35, 35, 0.65);
  outline: 2px solid #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.11);
  padding: 32px 24px;
  text-align: center;
  animation: arrow-bounce 1.2s infinite alternate;
}

@media (max-width: 700px) {
  .giveaway-section {
    max-width: 98vw;
    padding: 14px 2vw;
    margin: 24px auto;
  }
}

.giveaway-section h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

#giveawayForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

#giveawayForm input {
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-family: "Poppins", Arial, sans-serif;
  background: #292929;
  color: #fff;
}

#giveawayForm input:focus {
  outline: 2px solid #3a63c1;
}

#giveawayForm button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg,
      rgba(58, 99, 193, 1) 0%,
      rgba(249, 76, 191, 1) 50%,
      rgba(236, 143, 52, 1) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

#giveawayForm button:hover {
  background: linear-gradient(135deg,
      rgba(249, 76, 191, 1) 0%,
      rgba(58, 99, 193, 1) 100%);
}

#giveawayStatus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

#giveawayFormStatus {
  font-size: 1rem;
  color: #f94cbf;
  min-height: 1.2em;
  font-weight: 600;
}

.giveaway-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 12px #ff0000;
  animation: live-dot-pulse 1.2s infinite alternate;
  display: inline-block;
}

.giveaway-status-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #23232344;
}

/* giveaway button */
.giveaway-btn {
  background: #686bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
}

.giveaway-btn:hover {
  background: #F94CBF;
}

.giveaway-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.giveaway-modal-content {
  background: #232323;
  color: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 6px 32px #000a;
  position: relative;
  text-align: left;
}

.giveaway-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #F94CBF;
  cursor: pointer;
  font-weight: bold;
}

.giveaway-modal-content a {
  color: #3A63C1;
  text-decoration: underline;
}

.giveaway-modal-content a:hover {
  color: #F94CBF;
}


/* --- MARQUEE STÍLUSOK --- */
.social-marquee-container {
  overflow: hidden;
  width: 100%;
  background: rgba(10, 10, 10, 0.65);
  padding: 18px 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
}

.social-marquee {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #888;
  white-space: nowrap;
  font-size: 2rem;
  will-change: transform;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.marquee-text {
  color: #888;
  transition: color 0.3s, opacity 0.3s;
  margin-right: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Poppins", Arial, sans-serif;
  opacity: 0.3;
  align-items: center;
  font-size: 2.8rem;
  line-height: 1;
  vertical-align: middle;
  justify-content: center;
}

.social-icon {
  height: 2rem;
  margin: 10px;
  color: #888;
  font-size: 2.8rem;
  transition: color 0.3s, filter 0.3s, opacity 0.3s;
  text-decoration: none;
  opacity: 0.3;
  vertical-align: middle;
  justify-content: center;
}

.social-icon svg {
  width: 1.6em;
  height: 1.6em;
  min-width: 1.6em;
  min-height: 1.6em;
  color: #888;
  font-size: 2.8rem;
  transition: color 0.3s, filter 0.3s, opacity 0.3s;
  text-decoration: none;
  display: inline-block;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.social-icon:hover {
  color: transparent;
  background: linear-gradient(135deg,
      rgba(58, 99, 193, 1) 0%,
      rgba(249, 76, 191, 1) 50%,
      rgba(236, 143, 52, 1) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px #fff3);
  opacity: 1;
}

.social-icon:hover path {
  color: transparent;
  fill: url(#hover-gradient);
  filter: drop-shadow(0 0 8px #fff3);
  opacity: 1;
}

.marquee-text:hover {
  color: transparent;
  background: linear-gradient(135deg,
      rgba(58, 99, 193, 1) 0%,
      rgba(249, 76, 191, 1) 25%,
      rgba(136, 136, 136, 1) 40%,
      rgba(136, 136, 136, 1) 60%,
      rgba(249, 76, 191, 1) 75%,
      rgba(236, 143, 52, 1) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: default;
  opacity: 1;
}

/* --- Twitch --- */
.twitch-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px 0;
  min-height: 520px;
  background: linear-gradient(135deg, #3a63c1 0%, #6d1dc6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.twitch-bg-stripes {
  position: absolute;
  inset: 0;
  width: 120%;
  /* Szélesebb, hogy elforgatva is kitöltse a teljes területet */
  height: 120%;
  /* Magasabb, hogy elforgatva is kitöltse a teljes területet */
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transform: rotate(-15deg);
  /* Elforgatás -5 fokkal (balra) */
  left: -10%;
  /* Kompenzáljuk a szélesebb méretet */
  top: -10%;
  /* Kompenzáljuk a magasabb méretet */
}

.twitch-bg-stripe-row {
  display: flex;
  gap: 36px;
  font-size: 2.7rem;
  margin: 0 0 12px 0;
  white-space: nowrap;
  will-change: transform;
}

.twitch-bg-stripe-row:nth-child(even) {
  font-size: 2.2rem;
  opacity: 0.8;
}

.twitch-bg-stripe-row .fab.fa-twitch {
  color: #9147ff;
  filter: drop-shadow(0 0 8px #3a63c1cc);
}

/* Animáció: egyik sor balra, másik jobbra */
@keyframes twitch-stripe-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes twitch-stripe-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

.twitch-bg-stripe-row.left {
  animation: twitch-stripe-left 18s linear infinite;
}

.twitch-bg-stripe-row.right {
  animation: twitch-stripe-right 22s linear infinite;
}

/* Twitch tartalom fölé helyezés */
.twitch-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.twitch-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-family: 'Poppins', Arial, sans-serif;
}

.twitch-live-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F94CBF;
  box-shadow: 0 0 12px #f94cbf99;
  animation: live-dot-pulse 1.2s infinite alternate;
  display: inline-block;
}

@keyframes live-dot-pulse {
  0% {
    box-shadow: 0 0 8px #f94cbf44;
    opacity: 1;
  }

  100% {
    box-shadow: 0 0 24px #f94cbf;
    opacity: 0.7;
  }
}

.twitch-live-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #23232344;
}

.twitch-link {
  color: #fff;
  background: #9147ff;
  border-radius: 18px;
  padding: 6px 18px 6px 12px;
  font-weight: 600;
  font-size: 1.05rem;
  margin-left: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px #0002;
  transition: background 0.2s;
}

.twitch-link i {
  font-size: 1.3em;
  color: #fff;
}

.twitch-link:hover {
  background: #3A63C1;
  color: #fff;
}

.twitch-embed-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #232323;
  border-radius: 24px;
  box-shadow: 0 4px 32px #0007;
  padding: 28px 32px;
  width: 100%;
  max-width: 680px;
  position: relative;
}

.twitch-iframe {
  width: 100%;
  min-height: 380px;
  max-width: 620px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 16px #3a63c144;
  background: #000;
  margin-bottom: 18px;
}

.twitch-chat-toggle {
  margin-bottom: 10px;
}

#toggle-chat-btn {
  background: #3a63c1;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

#toggle-chat-btn:hover {
  background: #F94CBF;
  color: #fff;
}

.twitch-chat {
  width: 100%;
  min-height: 320px;
  max-width: 620px;
  border-radius: 16px;
  border: none;
  display: none;
  margin-top: 8px;
  background: #181818;
}

.twitch-chat.open {
  display: block;
  animation: chat-fade-in 0.5s;
}

@keyframes chat-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .twitch-embed-wrapper {
    padding: 14px 2vw;
    max-width: 99vw;
  }

  .twitch-iframe,
  .twitch-chat {
    max-width: 98vw;
    min-height: 220px;
    border-radius: 10px;
  }

  .twitch-content {
    max-width: 98vw;
  }

  .twitch-bg-stripe-row {
    font-size: 1.5rem;
    gap: 18px;
  }
}


.main-footer {
  background: #181818;
  color: #fff;
  padding: 36px 0 18px 0;
  font-family: "Poppins", Arial, sans-serif;
  position: relative;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3A63C1, #F94CBF, #EC8F34, #3A63C1);
  background-size: 300% 100%;
  animation: footer-bar-gradient 10s linear infinite;
  border-radius: 4px 4px 0 0;
  z-index: 2;
  pointer-events: none;
}

@keyframes footer-bar-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px #3a63c1aa);
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #3a63c1 0%, #f94cbf 50%, #ec8f34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  font-size: 1.6rem;
  transition: color 0.2s, filter 0.2s;
  opacity: 0.7;
}

.footer-links a:hover {
  color: #f94cbf;
  filter: drop-shadow(0 0 8px #f94cbf99);
  opacity: 1;
}

.footer-links .footer-svg-icon {
  vertical-align: middle;
  /* opcionális: ha kell, margin, stb. */
}

.footer-extra {
  font-size: 0.95rem;
  color: #bfbfbf;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-tech a {
  color: #3a63c1;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-tech a:hover {
  color: #f94cbf;
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 0 8px;
    font-size: 0.92rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-logo {
    height: 28px;
  }
}

/* END OF INDEX.HTML -->*/

/* SETUP SZEKCIÓ ALAP */
.setup-section {
  background: #1b3a57;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.setup-inner {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  align-items: flex-start;
  padding: 0 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Animáció ALAPÁLLAPOT - csak akkor animálódik, ha .setup-animate van a setup-section-ön */
.setup-inner>div,
.spec-list li {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

/* Animáció AKTÍVÁLÁSA, ha a szekcióhoz odagörgetnek */
.setup-animate .setup-inner>div {
  animation: setupFadeIn 0.8s cubic-bezier(0.45, 1.6, 0.55, 0.98) forwards;
}

.setup-animate .setup-inner>.setup-specs {
  animation-delay: 0.1s;
}

.setup-animate .setup-inner>.setup-peripherals {
  animation-delay: 0.3s;
}

.setup-animate .spec-list li {
  animation: specRowFadeIn 0.7s cubic-bezier(0.45, 1.6, 0.55, 0.98) forwards;
  animation-delay: calc(0.15s + 0.06s * var(--row, 0));
}

@keyframes setupFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes specRowFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.setup-image-wrapper {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 18px auto;
  border-radius: 16px;
  overflow: hidden;
  /* CSAK itt legyen! */
  box-shadow: 0 4px 32px 0 #0005;
  display: block;
}

.setup-main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  /* a wrapperen van a lekerekítés */
}

.setup-specs,
.setup-peripherals {
  background: rgba(35, 35, 35, 0.85);
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.09);
  padding: 32px 24px;
  color: #fff;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
  position: relative;
}

.setup-specs,
.setup-peripherals {
  background: rgba(35, 35, 35, 0.85);
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.09);
  padding: 32px 24px;
  color: #fff;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow: visible;
  position: relative;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  width: 100%;
}

.spec-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid #3A63C122;
  padding-bottom: 6px;
}

.spec-label {
  color: #3A63C1;
  font-weight: 700;
  font-size: 1.07rem;
  text-align: left;
  min-width: 90px;
  padding-top: 1px;
  word-break: break-word;
}

.spec-value {
  color: #fff;
  font-size: 1.07rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  word-break: break-word;
}

.spec-detail {
  font-size: 0.93rem;
  color: #bfbfbf;
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: block;
}


.setup-extra {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #BFBFBF;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* MOBIL BARÁT */
@media (max-width: 900px) {
  .setup-inner {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    padding: 0 8px;
  }

  .setup-specs,
  .setup-peripherals {
    max-width: 98vw;
    width: 100%;
    align-items: center;
    text-align: left;
    padding: 24px 8px;
  }

  .setup-main-image {
    max-width: 92vw;
    margin-bottom: 14px;
  }

  .setup-image-wrapper {
    max-width: 92vw;
  }
}

@media (max-width: 600px) {
  .spec-list li {
    grid-template-columns: 1fr;
    gap: 3px;
    padding-bottom: 10px;
  }

  .spec-label {
    padding-bottom: 0;
    font-size: 1rem;
  }

  .spec-value {
    font-size: 1rem;
  }

  .setup-specs,
  .setup-peripherals {
    padding: 14px 2vw;
    font-size: 0.98rem;
  }

  .setup-main-image {
    max-width: 98vw;
    border-radius: 10px;
  }

}

/* Alap görgetősáv stílus */
body::-webkit-scrollbar {
  width: 12px;
  background: #232323;
  transition: width 0.4s;
}

/* Görgetősáv thumb (a csúszka) */
body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3A63C1 0%, #F94CBF 50%, #EC8F34 100%);
  background-size: 200% 200%;
  animation: scrollbar-gradient-move 3s linear infinite;
  border-radius: 10px;
  border: 2px solid #232323;
  box-shadow: 0 0 10px #f94cbf77;
  transition: background 0.6s, box-shadow 0.4s;
}

/* Hover animáció: szélesebb és fényesebb lesz */
body:hover::-webkit-scrollbar {
  width: 12px;
}

body:hover::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #F94CBF 0%, #3A63C1 100%);
  box-shadow: 0 0 18px #ec8f3477;
}

@keyframes scrollbar-gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}