/* ==========================================================================
   MINIMALISTA FEKETE-FEHÉR KARBANTARTÁSI OLDAL
   ÖSSZETETT GEOMETRIAI KINETIKUS GÉPEZETTEL (Vonalak, görbék, csíkok, gyűrűk)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Finom háttérben mozgó alakzatok, vonalak és görbék
   ========================================================================== */
.shapes-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  pointer-events: none;
}

/* Átlós háttérvonalak */
.bg-line-1 {
  top: 10%;
  left: -5%;
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(-35deg);
  animation: floatLine1 25s infinite ease-in-out;
}

.bg-line-2 {
  bottom: 15%;
  right: -5%;
  width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(25deg);
  animation: floatLine2 30s infinite ease-in-out;
}

.bg-ring-1 {
  top: 15%;
  right: 12%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  animation: spinSlow 35s infinite linear;
}

.bg-square-1 {
  bottom: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: floatRotate 24s infinite linear;
}

.bg-triangle-1 {
  top: 60%;
  right: 22%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: rotate(45deg);
  animation: floatRotateReverse 28s infinite linear;
}

/* ==========================================================================
   Fő tartalom és konténer
   ========================================================================== */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  max-width: 640px;
}

/* ==========================================================================
   KÖZPONTI KINETIKUS GEOMETRIAI ALAKZATRENDSZER
   ========================================================================== */
.kinetic-centerpiece {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

/* Táguló pulzáló hullámok (Ripples) */
.pulse-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.wave-1 {
  width: 180px;
  height: 180px;
  animation: rippleOut 5s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wave-2 {
  width: 180px;
  height: 180px;
  animation: rippleOut 5s infinite cubic-bezier(0.2, 0.8, 0.2, 1) 2.5s;
}

@keyframes rippleOut {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.65); opacity: 0; }
}

/* 3D Giroszkóp gyűrűk */
.gyro-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gyro-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gyro-x {
  width: 250px;
  height: 250px;
  border-top-color: #ffffff;
  animation: rotateGyroX 14s infinite linear;
}

.gyro-y {
  width: 220px;
  height: 220px;
  border-left-color: #ffffff;
  border-right-color: transparent;
  animation: rotateGyroY 18s infinite linear reverse;
}

.gyro-z {
  width: 190px;
  height: 190px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  animation: rotateGyroZ 22s infinite linear;
}

@keyframes rotateGyroX {
  0% { transform: rotateX(65deg) rotateZ(0deg); }
  100% { transform: rotateX(65deg) rotateZ(360deg); }
}

@keyframes rotateGyroY {
  0% { transform: rotateY(65deg) rotateZ(0deg); }
  100% { transform: rotateY(65deg) rotateZ(360deg); }
}

@keyframes rotateGyroZ {
  0% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
  100% { transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg); }
}

/* ==========================================================================
   Fő SVG Vektoros Geometria (Vonalak, görbék, ívek, szálkereszt, csíkok)
   ========================================================================== */
.complex-svg {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Külső körök és szálkeresztek */
.svg-orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.svg-orbit-dashed {
  stroke-dasharray: 4 6;
  transform-origin: 160px 160px;
  animation: spinSlow 40s infinite linear;
}

.svg-crosshair {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
  stroke-dasharray: 6 8;
}

.svg-crosshair-diag {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
  stroke-dasharray: 2 10;
}

/* Forgó szegmentált ívek */
.svg-arc {
  fill: none;
  stroke-width: 1.5;
  transform-origin: 160px 160px;
}

.arc-cw {
  stroke: rgba(255, 255, 255, 0.6);
  stroke-dasharray: 70 120;
  animation: spinSlow 12s infinite linear;
}

.arc-ccw {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-dasharray: 40 80 15 40;
  animation: spinSlowReverse 16s infinite linear;
}

/* Szinusz hullámok és görbék */
.svg-wave-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.2;
  stroke-dasharray: 180;
  transform-origin: 160px 160px;
}

.wave-path-1 {
  animation: waveMotion1 8s infinite ease-in-out;
}

.wave-path-2 {
  stroke: rgba(255, 255, 255, 0.3);
  animation: waveMotion2 10s infinite ease-in-out;
}

@keyframes waveMotion1 {
  0% { stroke-dashoffset: 0; transform: scaleY(1); opacity: 0.3; }
  50% { stroke-dashoffset: 90; transform: scaleY(-1.2); opacity: 0.8; }
  100% { stroke-dashoffset: 180; transform: scaleY(1); opacity: 0.3; }
}

@keyframes waveMotion2 {
  0% { stroke-dashoffset: 180; transform: scaleX(1); opacity: 0.6; }
  50% { stroke-dashoffset: 90; transform: scaleX(-1.1); opacity: 0.2; }
  100% { stroke-dashoffset: 0; transform: scaleX(1); opacity: 0.6; }
}

/* Spirálszerű finom görbe */
.svg-spiral {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  stroke-dasharray: 30 50;
  transform-origin: 160px 160px;
  animation: spinSlow 20s infinite linear;
}

/* Poligonok: Hexagon, Rombusz, Háromszög */
.svg-polygon, .svg-rect, .svg-triangle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  transform-origin: 160px 160px;
}

.poly-hex {
  stroke-dasharray: 10 20;
  animation: spinSlowReverse 26s infinite linear;
}

.rect-inner {
  stroke: #ffffff;
  stroke-width: 1;
  animation: rectSpinPulse 7s infinite ease-in-out;
}

.svg-triangle {
  stroke: rgba(255, 255, 255, 0.45);
  animation: triangleSpin 15s infinite ease-in-out;
}

@keyframes rectSpinPulse {
  0% { transform: rotate(0deg) scale(0.85); opacity: 0.4; }
  50% { transform: rotate(180deg) scale(1.15); opacity: 0.9; }
  100% { transform: rotate(360deg) scale(0.85); opacity: 0.4; }
}

@keyframes triangleSpin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-180deg) scale(0.9); }
  100% { transform: rotate(-360deg); }
}

/* Pásztázó / Kinetikus csíkok (Scanning stripes) */
.stripe-line {
  stroke: #ffffff;
  stroke-width: 1;
  animation: stripeScan 2.4s infinite ease-in-out;
}

.str-1 { animation-delay: 0.1s; }
.str-2 { animation-delay: 0.2s; }
.str-3 { animation-delay: 0.3s; }
.str-4 { animation-delay: 0.4s; }
.str-5 { animation-delay: 0.5s; }

@keyframes stripeScan {
  0%, 100% { opacity: 0.15; transform: scaleX(0.7); }
  50% { opacity: 0.9; transform: scaleX(1.2); }
}

/* Központi mag */
.svg-core-ring {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1;
  transform-origin: 160px 160px;
  animation: corePulse 3s infinite ease-in-out;
}

.svg-core-dot {
  fill: #ffffff;
  animation: dotPulse 2s infinite ease-in-out;
}

@keyframes corePulse {
  0%, 100% { transform: scale(0.8); opacity: 0.3; }
  50% { transform: scale(1.4); opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* ==========================================================================
   Alap Animációk
   ========================================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes floatRotate {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes floatRotateReverse {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(25px) rotate(-180deg); }
  100% { transform: translateY(0) rotate(-360deg); }
}

@keyframes floatLine1 {
  0%, 100% { transform: translateY(0) rotate(-35deg); opacity: 0.4; }
  50% { transform: translateY(-40px) rotate(-30deg); opacity: 0.9; }
}

@keyframes floatLine2 {
  0%, 100% { transform: translateY(0) rotate(25deg); opacity: 0.3; }
  50% { transform: translateY(35px) rotate(30deg); opacity: 0.7; }
}

/* ==========================================================================
   Tipográfia: Letisztult, sallangmentes
   ========================================================================== */
.title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.15;
}

.subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: #888888;
  letter-spacing: -0.01em;
  line-height: 1.6;
  max-width: 450px;
}
