
/* =========================================================
  Animace hub hero sekce začátek
   ========================================================= */

.new-hero-visual{
 
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(104,175,255,.10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.003));
}

.new-visual-stage{
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.new-visual-grid{
  position: absolute;
  inset: -8%;
  background-image:
    linear-gradient(rgba(140,190,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,190,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 36%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, #000 36%, transparent 82%);
  opacity: .34;
  transform: perspective(1200px) rotateX(74deg) translateY(28%);
  transform-origin: center bottom;
}

.new-aurora{
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(circle at 18% 22%, rgba(86,175,255,.24), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(103,236,255,.18), transparent 18%),
    radial-gradient(circle at 68% 76%, rgba(255,182,88,.14), transparent 20%),
    radial-gradient(circle at 40% 58%, rgba(155,140,255,.12), transparent 26%);
  filter: blur(20px);
  animation: new-aurora-shift 14s ease-in-out infinite;
  opacity: .9;
}

.new-scan-beam{
  position: absolute;
  inset: -10% auto -10% 8%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(122,221,255,.12), rgba(255,255,255,.04), transparent);
  transform: skewX(-18deg) translateX(-120%);
  animation: new-scan-sweep 9s linear infinite;
  filter: blur(2px);
  opacity: .75;
}

.new-orbit-wrap{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.new-ring{
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(146,206,255,.14);
  box-shadow: inset 0 0 38px rgba(75,146,255,.04);
  transform-style: preserve-3d;
}

.new-ring::before,
.new-ring::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  border: inherit;
  inset: 18px;
  opacity: .34;
}

.new-ring::after{
  inset: 42px;
  opacity: .18;
}

.new-ring-a{
  width: 260px;
  height: 260px;
  animation: new-spin-slow 28s linear infinite;
}

.new-ring-b{
  width: 400px;
  height: 400px;
  animation: new-spin-reverse 34s linear infinite;
}

.new-ring-c{
  width: 560px;
  height: 560px;
  animation: new-spin-slow 42s linear infinite;
}

.new-ring-d{
  width: 760px;
  height: 760px;
  opacity: .58;
  animation: new-spin-reverse 54s linear infinite;
}

.new-core-object{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  height: 270px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.12), rgba(255,255,255,.03) 50%, rgba(0,0,0,.10) 100%);
  border: 1px solid rgba(145,216,255,.16);
  box-shadow:
    inset 0 0 44px rgba(108,191,255,.10),
    0 0 100px rgba(63,146,255,.16),
    0 0 40px rgba(94,235,255,.10);
  backdrop-filter: blur(12px);
}

.new-core-object::before{
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px solid rgba(167,222,255,.18);
  box-shadow: inset 0 0 22px rgba(255,206,118,.08);
}

.new-core-object::after{
  content: "";
  position: absolute;
  inset: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), rgba(255,255,255,.02) 50%, transparent 66%);
  border: 1px solid rgba(255,213,128,.18);
}

.new-spark{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #c8f3ff 0%, #66ebff 58%, rgba(102,235,255,0) 70%);
  box-shadow: 0 0 18px rgba(102,235,255,.48);
  animation: new-orbit-particle 12s linear infinite;
}

.new-spark-1{ animation-duration: 9s;  animation-delay: -1s; }
.new-spark-2{ animation-duration: 13s; animation-delay: -4s; }
.new-spark-3{ animation-duration: 16s; animation-delay: -7s; }
.new-spark-4{ animation-duration: 11s; animation-delay: -2s; }
.new-spark-5{ animation-duration: 19s; animation-delay: -6s; }

.new-wave{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(120,200,255,.12);
  opacity: 0;
  animation: new-pulse-wave 5s ease-out infinite;
}

.new-wave-2{ animation-delay: 1.5s; }
.new-wave-3{ animation-delay: 3s; }

@keyframes new-aurora-shift{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(16px,-10px,0) scale(1.04); }
}

@keyframes new-scan-sweep{
  0%{ transform: skewX(-18deg) translateX(-130%); }
  100%{ transform: skewX(-18deg) translateX(420%); }
}

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

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

@keyframes new-orbit-particle{
  0%{ transform: translate(-50%,-50%) rotate(0deg) translateX(140px); }
  100%{ transform: translate(-50%,-50%) rotate(360deg) translateX(140px); }
}

@keyframes new-pulse-wave{
  0%{
    opacity: 0;
    transform: translate(-50%,-50%) scale(.72);
  }
  20%{
    opacity: .4;
  }
  100%{
    opacity: 0;
    transform: translate(-50%,-50%) scale(2.1);
  }
}

@media (max-width: 860px){
  .new-hero-visual{
    min-height: 560px;
  }
}

@media (max-width: 620px){
  .new-hero-visual{
    min-height: 500px;
  }

  .new-core-object{
    width: 210px;
    height: 210px;
  }

  .new-ring-a{ width: 220px; height: 220px; }
  .new-ring-b{ width: 320px; height: 320px; }
  .new-ring-c{ width: 440px; height: 440px; }
  .new-ring-d{ width: 580px; height: 580px; }
}

/* ====   Animace hub hero v pravo konec  ========== */

/* =========================================================
  Animace a vzhled hub karty racing a hodinářství
   ========================================================= */

.new-world-card{
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(150,205,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    linear-gradient(160deg, #071525, #081729 45%, #08111f 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateZ(0);
}

.new-world-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 18%, rgba(94,170,255,.16), transparent 22%),
    radial-gradient(circle at 80% 14%, rgba(108,242,255,.10), transparent 18%),
    radial-gradient(circle at 50% 90%, rgba(255,177,80,.10), transparent 24%);
  pointer-events:none;
}

.new-world-card__inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  min-height:520px;
  padding:22px;
}

.new-world-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.new-world-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#c0d3e7;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}


.new-world-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(255,255,255,.04);
  color:#d5e4f5;
  font-size:.8rem;
  backdrop-filter:blur(10px);
}

.new-world-card__main h2{
  margin:0 0 12px;
  font-size:2.15rem;
  letter-spacing:-.04em;
  line-height:1.02;
  color:#eef6ff;
}

.new-world-card__main p{
  margin:0;
  color:#98acc4;
  line-height:1.75;
  font-size:1rem;
  max-width:58ch;
}

.new-world-preview{
  position:relative;
  min-height:220px;
  margin:18px 0 16px;
  border-radius:24px;
  border:1px solid rgba(150,205,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.new-world-foot{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:end;
  margin-top:auto;
}

.new-world-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.new-world-tags span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(255,255,255,.035);
  color:#caddf0;
  font-size:.82rem;
}

.new-world-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.new-enter-world{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(255,255,255,.05);
  color:#f3f8ff;
  font-weight:700;
  transition:260ms cubic-bezier(.2,.8,.2,1);
  text-decoration:none;
  cursor:pointer;
}

.new-enter-world:hover{
  transform:translateY(-2px);
  border-color:rgba(150,205,255,.22);
  background:rgba(255,255,255,.08);
}

.new-enter-world--primary{
  background:linear-gradient(135deg, rgba(98,203,255,.94), rgba(244,249,255,.95));
  color:#08111c;
  box-shadow:0 16px 32px rgba(64,179,255,.22);
}

/* =========================
   SIM RACING ANIMACE
   ========================= */

.new-sim-track,
.new-watch-stage{
  position:relative;
  width:100%;
  height:100%;
}

.new-sim-track::before{
  content:"";
  position:absolute;
  inset:24px;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 32%, rgba(62,167,255,.08) 33%, transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(255,255,255,.02));
  border:1px solid rgba(123,191,255,.10);
}

.new-track-line{
  position:absolute;
  left:50%;
  top:50%;
  width:68%;
  height:58%;
  transform:translate(-50%,-50%);
  border-radius:46% 42% 46% 40% / 42% 48% 40% 48%;
  border:2px solid rgba(108,224,255,.48);
  box-shadow:
    0 0 0 12px rgba(82,159,255,.05),
    0 0 40px rgba(83,178,255,.12);
  animation:new-drift-track 12s linear infinite;
}

.new-track-line::after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:inherit;
  border:1px dashed rgba(213,238,255,.24);
}

.new-car-dot{
  position:absolute;
  left:calc(50% - 6px);
  top:calc(50% - 6px);
  width:12px;
  height:12px;
  border-radius:50%;
  background:#61e8ff;
  box-shadow:0 0 18px rgba(97,232,255,.7), 0 0 40px rgba(97,232,255,.32);
  animation:new-lap 8s linear infinite;
}

.new-telemetry{
  position:absolute;
  left:18px;
  bottom:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  z-index:2;
}

.new-telemetry span{
  min-height:30px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(4,13,24,.55);
  color:#cbe0f6;
  font-size:.78rem;
}

/* =========================
   HODINÁŘSTVÍ ANIMACE
   ========================= */

.new-watch-stage::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,214,116,.10), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.new-watch-core{
  position:absolute;
  left:50%;
  top:50%;
  width:180px;
  height:180px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(255,220,145,.22);
  box-shadow:
    inset 0 0 40px rgba(255,208,117,.07),
    0 0 40px rgba(255,187,78,.10);
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.10), rgba(255,255,255,.03) 55%, rgba(0,0,0,.08) 100%);
}

.new-gear{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(255,215,130,.26);
  background:radial-gradient(circle at 38% 36%, rgba(255,255,255,.08), rgba(255,255,255,.02) 58%, rgba(0,0,0,.10) 100%);
  box-shadow:inset 0 0 14px rgba(255,210,100,.04);
}

.new-gear::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  border:1px dashed rgba(255,222,145,.24);
}

.new-gear-1{
  width:82px;
  height:82px;
  left:22%;
  top:30%;
  animation:new-spin-cw 18s linear infinite;
}

.new-gear-2{
  width:66px;
  height:66px;
  left:46%;
  top:26%;
  animation:new-spin-ccw 14s linear infinite;
}

.new-gear-3{
  width:72px;
  height:72px;
  left:56%;
  top:48%;
  animation:new-spin-cw 20s linear infinite;
}

.new-gear-4{
  width:52px;
  height:52px;
  left:34%;
  top:56%;
  animation:new-spin-ccw 11s linear infinite;
}

.new-watch-hands{
  position:absolute;
  left:50%;
  top:50%;
  width:2px;
  height:2px;
  transform:translate(-50%,-50%);
}

.new-hand{
  position:absolute;
  left:50%;
  bottom:50%;
  transform-origin:bottom center;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,240,199,.95), rgba(255,200,96,.6));
  box-shadow:0 0 12px rgba(255,212,120,.18);
}

.new-hand-hour{
  width:4px;
  height:50px;
  transform:translateX(-50%) rotate(44deg);
  animation:new-watch-hour 38s linear infinite;
}

.new-hand-minute{
  width:3px;
  height:72px;
  transform:translateX(-50%) rotate(126deg);
  animation:new-watch-minute 18s linear infinite;
}

.new-hand-second{
  width:2px;
  height:82px;
  transform:translateX(-50%) rotate(220deg);
  background:linear-gradient(180deg, rgba(193,238,255,.95), rgba(103,230,255,.45));
  animation:new-watch-second 6s steps(60,end) infinite;
}

.new-watch-labels{
  position:absolute;
  inset:16px;
  pointer-events:none;
}

.new-watch-label{
  position:absolute;
  color:#dac89d;
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.68;
}

.new-watch-label--top{
  left:50%;
  top:18px;
  transform:translateX(-50%);
}

.new-watch-label--right{
  right:24px;
  top:50%;
  transform:translateY(-50%);
}

.new-watch-label--bottom{
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
}

.new-watch-label--left{
  left:24px;
  top:50%;
  transform:translateY(-50%);
}

/* =========================
   KEYFRAMES
   ========================= */

@keyframes new-drift-track{
  0%{transform:translate(-50%,-50%) rotate(0deg)}
  100%{transform:translate(-50%,-50%) rotate(360deg)}
}

@keyframes new-lap{
  0%{transform:translate(112px,-68px)}
  12%{transform:translate(154px,-12px)}
  25%{transform:translate(132px,72px)}
  37%{transform:translate(62px,104px)}
  50%{transform:translate(-38px,102px)}
  63%{transform:translate(-122px,56px)}
  75%{transform:translate(-148px,-18px)}
  88%{transform:translate(-66px,-98px)}
  100%{transform:translate(112px,-68px)}
}

@keyframes new-spin-cw{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

@keyframes new-spin-ccw{
  from{transform:rotate(360deg)}
  to{transform:rotate(0deg)}
}

@keyframes new-watch-second{
  from{transform:translateX(-50%) rotate(0deg)}
  to{transform:translateX(-50%) rotate(360deg)}
}

@keyframes new-watch-minute{
  from{transform:translateX(-50%) rotate(126deg)}
  to{transform:translateX(-50%) rotate(486deg)}
}

@keyframes new-watch-hour{
  from{transform:translateX(-50%) rotate(44deg)}
  to{transform:translateX(-50%) rotate(404deg)}
}

@media (max-width: 860px){
  .new-world-foot{
    grid-template-columns:1fr;
  }

  .new-world-actions{
    justify-content:flex-start;
  }

  .new-world-card__inner{
    padding:16px;
  }

  .new-world-card__main h2{
    font-size:1.85rem;
  }

  .new-world-preview{
    min-height:190px;
  }

  .new-watch-core{
    width:150px;
    height:150px;
  }

  .new-gear-1{width:68px;height:68px}
  .new-gear-2{width:56px;height:56px}
  .new-gear-3{width:60px;height:60px}
  .new-gear-4{width:42px;height:42px}
}


.new-world-card__partner{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(150,205,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
}

.new-world-card__partner-logo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  border-radius:14px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.new-world-card__partner-logo img{
  max-width:80%;
  max-height:80%;
  display:block;
  object-fit:contain;
}

.new-world-card__partner-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.new-world-card__partner-label{
  color:#9cb4ca;
  font-size:.74rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.new-world-card__partner-text strong{
  color:#eef6ff;
  font-size:1rem;
  line-height:1.3;
  letter-spacing:-.02em;
}

.new-world-card__partner-link{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(150,205,255,.12);
  background:rgba(255,255,255,.05);
  color:#f3f8ff;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:260ms cubic-bezier(.2,.8,.2,1);
}

.new-world-card__partner-link:hover{
  transform:translateY(-2px);
  border-color:rgba(150,205,255,.22);
  background:rgba(255,255,255,.08);
}



.new-world-card__partner-text small{
  color:#98acc4;
  font-size:.82rem;
  line-height:1.45;
}

.new-enter-world--static{
  cursor:default;
  pointer-events:none;
}

@media (max-width: 860px){
  .new-world-card__partner{
    align-items:flex-start;
  }
}

/* toto je třida pro footer  */
.vyuka {
width:100%;
float:right;
padding:20px;
margin-top:40px;
}

footer {
text-align:center;
}