:root {
  --bg-main: #130c25;
  --bg-hero: linear-gradient(135deg, #281556 0%, #17092f 100%);
  --bg-card: linear-gradient(120deg, #1b1133 70%, #22123b 100%);
  --card-radius: 1.35rem;
  --color-main: #f7eaff;
  --color-head: #ffe1ff;
  --color-accent: #ff99ee;
  --color-accent2: #a962ff;
  --color-accent3: #ff70d6;
  --color-link: #ff99ee;
  --color-link-hover: #fff;
  --shadow-hero: 0 8px 40px 0 #a962ff22;
  --shadow-card: 0 6px 32px #a962ff1b;
  --shadow-card-hover: 0 12px 40px #ff70d62a;
  --transition: all .17s cubic-bezier(.4,0,.2,1);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg-main);
  color: var(--color-main);
  font-family: 'Segoe UI', 'Inter', 'Montserrat', Arial, sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1.1rem;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.main-header {
  background: #181226e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem 1.1rem 2rem;
  box-shadow: 0 2px 16px 0 #a962ff18;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1.5px solid #32204b90;
  backdrop-filter: blur(10px);
  width: 100%;
  left: 0;
  right: 0;
  box-sizing: border-box;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo img {
  height: 48px;
  width: 48px;
  border-radius: 9px;
  box-shadow: 0 0 12px #a962ff22;
}
.logo h1 {
  font-size: 1.32rem;
  color: var(--color-head);
  font-weight: 900;
  letter-spacing: 0.03em;
  margin: 0;
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav a {
  color: var(--color-link);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  transition: color 0.16s;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15em;
  position: relative;
  overflow: hidden;
}
nav a:hover, nav a.active {
  color: var(--color-link-hover);
  border-bottom: 2px solid var(--color-accent2);
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-accent2);
  transition: width 0.33s, left 0.33s;
}
nav a.active::after, nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Hero */
.hero {
  background: var(--bg-hero);
  text-align: center;
  padding: 4.5rem 3vw 7.3rem 3vw;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-hero);
  border-radius: 0 0 3.2rem 3.2rem/0 0 2rem 2rem;
  position: relative;
  overflow: visible;
  min-height: 430px;
  width: 100%;
  max-width: 100vw;
}
.hero:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle at 50% 30%, #ff89e94d 0%, transparent 90%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}
#hero-stars {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.star {
  position: absolute;
  background: linear-gradient(90deg, #fff, #ffd6fa 80%, #a962ff 100%);
  border-radius: 50%;
  opacity: .7;
  filter: blur(0.5px) brightness(1.7) drop-shadow(0 0 4px #fff3);
  animation: star-blink 2.2s infinite alternate;
}
@keyframes star-blink {
  0% { opacity: 0.74; }
  50% { opacity: 1; filter: brightness(2.5);}
  100% { opacity: 0.6; }
}
.hero h2 {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 42px #a962ff22;
  position: relative;
  z-index: 4;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 2.1rem;
  color: #ffdafc;
  opacity: 0.92;
  position: relative;
  z-index: 4;
}
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent3), var(--color-accent2));
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  padding: 1.07em 2.7em;
  border-radius: 13px;
  box-shadow: 0 0 32px #ff66cc44;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition);
  border: none;
  position: relative;
  z-index: 4;
  outline: none;
}
.cta:hover {
  background: linear-gradient(90deg, var(--color-accent2), var(--color-accent3));
  transform: scale(1.04);
  box-shadow: 0 0 32px 8px #ff99ee66, 0 4px 24px #a962ff99;
}
.hero-wave-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 110px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.hero-wave {
  width: 100%;
  height: 100px;
  display: block;
  transition: transform 0.25s cubic-bezier(.39,.46,.33,1.16);
}

/* Main content, szekciók */
.section {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto 3rem auto;
  padding: 2.5rem 2vw 0.7rem 2vw;
  text-align: center;
  box-sizing: border-box;
}

/* Tagjaink - kártya */
.talent-grid {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.talent-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 22px #a962ff17;
  padding: 2rem 1.1rem 1.5rem 1.1rem;
  width: 235px;
  text-align: center;
  position: relative;
  border: 1.5px solid #a962ff18;
  transition: box-shadow .18s, transform .17s, border .18s, opacity .18s;
  margin-bottom: 1.2rem;
  cursor: pointer;
  box-sizing: border-box;
}
.talent-card[aria-disabled="true"] {
  opacity: 0.62;
  cursor: default;
  filter: grayscale(0.5) brightness(0.85);
  pointer-events: none;
}
.talent-card:hover:not([aria-disabled="true"]) {
  box-shadow: 0 14px 52px #a962ff33;
  transform: translateY(-5px) scale(1.05);
  border-color: #ff99ee55;
}
.talent-card > img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2.5px solid #ff99ee77;
  box-shadow: 0 0 14px #a962ff22;
  background: #222;
  transition: box-shadow .18s, border .16s, transform .17s;
}

.social-icon:hover {
  transform: scale(1.15);
}
.talent-card:hover img {
  border-color: #fff;
  box-shadow: 0 0 28px #ff99ee, 0 0 12px #fff;
  transform: scale(1.06) rotate(-2deg);
}
.talent-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0.2rem 0 0.4rem 0;
}
.stream-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-top: 0.2em;
  font-size: 1.04rem;
}
.status-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e3b8fd;
  box-shadow: 0 0 0 #82ffa3;
  margin-right: 3px;
  transition: background 0.22s, box-shadow 0.24s;
  vertical-align: middle;
}
.status-dot.online {
  background: #82ffa3;
  box-shadow: 0 0 16px 2px #82ffa399, 0 0 8px 2px #2fffac88;
  animation: pulseOnline 1.2s infinite alternate;
}
@keyframes pulseOnline {
  0% { box-shadow: 0 0 8px 1px #82ffa366, 0 0 3px #2fffac44;}
  100% { box-shadow: 0 0 22px 3px #82ffa388, 0 0 10px 4px #2fffacbb;}
}
.status-dot.offline {
  background: #c7bad5;
  opacity: 0.6;
  box-shadow: none;
}
.status-text {
  font-size: 1.04rem;
  color: #eeaaff;
  font-weight: 600;
}
.status-dot.online + .status-text {
  color: #82ffa3;
  text-shadow: 0 0 7px #82ffa333;
}
.status-dot.offline + .status-text {
  color: #eeaaff;
}
.talent-card .social-links {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  margin-top: 0.7em;
}
.social-icon {
  width: 42x;
  height: 42px;
  opacity: 0.8;
  filter: drop-shadow(0 0 3px #a962ff44);
  transition: opacity 0.14s, filter 0.14s, transform 0.14s;
  vertical-align: middle;
}
.social-icon:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px #a962ff99);
  transform: scale(1.15);
}
.talent-error {
  color: #ff6f91;
  font-weight: 700;
  margin-top: 1.6rem;
  text-shadow: 0 2px 12px #a962ff55;
}

/* Tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  display: block;
  position: absolute;
  left: 50%;
  bottom: 115%;
  transform: translateX(-50%);
  background: #1e112b;
  color: #ffdafc;
  font-size: 0.97em;
  padding: 0.37em 0.8em;
  border-radius: 8px;
  box-shadow: 0 2px 10px #a962ff22;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s, bottom 0.18s;
  z-index: 22;
  white-space: nowrap;
}
[data-tooltip]:hover::after {
  opacity: 1;
  bottom: 128%;
}

/* Loader */
.loading-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 2.5em;
  pointer-events: none;
  opacity: 0.8;
}
.loader {
  border: 4px solid #a962ff22;
  border-top: 4px solid #a962ff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5em auto;
  animation: spinLoader 1.1s linear infinite;
}
@keyframes spinLoader {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Jelentkezés box */
.apply-section {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  max-width: 570px;
  margin: 2.8rem auto 2.1rem auto;
  box-shadow: 0 0 22px #a962ff12;
  border: 1.5px solid #a962ff18;
  width: 100%;
  box-sizing: border-box;
}
.apply-section h2 {
  color: var(--color-accent);
  margin-bottom: 1.3rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.apply-section p {
  color: #ffdafc;
  font-size: 1.07rem;
  padding-bottom: 0.3rem;
}
.apply-section .small {
  color: var(--color-accent);
  font-size: 0.96rem;
}

/* Footer */
footer {
  background: #19122a;
  color: #b8aac6;
  text-align: center;
  padding: 2.1rem 1vw 1.1rem 1vw;
  font-size: 0.97rem;
  border-radius: 26px 26px 0 0/ 16px 16px 0 0;
  margin: 2rem 2vw 0 2vw;
  box-shadow: 0 0 16px #a962ff10;
  width: 100%;
  max-width: 100vw;
}

/* Footer social iconok */
footer .social-icon {
  width: 18px;
  height: 18px;
  margin: 0 0.2em;
  opacity: 0.75;
  filter: drop-shadow(0 0 3px #a962ff44);
  transition: opacity 0.14s, filter 0.14s, transform 0.14s;
}
footer .social-icon:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px #a962ff99);
  transform: scale(1.14);
}

/* --- RESPONSIVE --- */
@media (max-width: 1350px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem 0 1.1rem 0;
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  nav ul {
    gap: 1.2rem;
    justify-content: center;
    width: 100%;
    padding: 0;
  }
  nav {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .hero {
    padding: 2.7rem 1vw 6.2rem 1vw;
    border-radius: 0 0 1.5rem 1.5rem;
    min-height: 320px;
    width: 100%;
  }
  .section {
    padding: 1.1rem 1vw 0.4rem 1vw;
    margin-bottom: 2.2rem;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }
  .talent-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .talent-card {
    width: 92vw;
    max-width: 420px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .apply-section { max-width: 99vw; width: 100%; }
  footer { border-radius: 12px 12px 0 0/ 8px 8px 0 0; margin: 1.1rem 0vw 0 0vw;}
}
@media (max-width: 700px) {
  .logo img { height: 38px; width: 38px;}
  .main-header { padding: 0.6rem 0; }
  .hero { padding: 1.3rem 0.5vw 4.2rem 0.5vw; min-height: 220px;}
  .talent-card { padding: 1.2rem 0.4rem 0.9rem 0.4rem; }
  footer { font-size: 0.92rem; }
}
@media (max-width: 420px) {
  .logo img { height: 28px; width: 28px;}
  .hero { padding: 0.8rem 0.2vw 2.7rem 0.2vw;}
  .about-card, .about-summary, .talent-card, .apply-section { border-radius: 0.8rem;}
  footer { font-size: 0.88rem; }
}

/* Görgetősáv mobilon is szép */
::-webkit-scrollbar { width: 10px; background: #251842;}
::-webkit-scrollbar-thumb { background: #a962ff33; border-radius: 6px;}
