
@media screen and (max-width: 1024px) {
  .wizard-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px;
  }

  .wizard-content {
    display: flex !important;         /* חשוב */
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    gap: 30px !important;
  }

  .wizard-showcase, .wizard-content {
        padding: 0px 0 110px !important; 
    }

  .left-text,
  .features,
  .feature-sidebar,
  .video-box {
    display: none !important;
  }

  .cta-floating {
    width: 180% !important;
    max-width: 600px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.3);
    text-align: center;
  }

  .cta-floating p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
  }

  .cta-floating a {
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 200, 0, 0.5);
    font-weight: bold;
    text-shadow: none;
    text-decoration: none;
    transition: 0.3s;
  }

  .event-rank-wrapper {
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-direction: column-reverse !important; /* הכי חשוב */
  }

  .rankBlock {
    width: 120 !important%;
    max-width: 600px;
    height: 460px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.2);
    overflow-y: auto;
  }

  .blockTitle h1 {
    font-size: 22px;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 15px;
  }

  .topTabs {
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .topTabs-button {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
  }

  .btn-see-all {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #ffcc00;
    font-weight: bold;
    font-size: 14px;
    text-decoration: underline;
  }
}


@media screen and (max-width: 768px) {
  .wizard-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 15px;
  }

  .wizard-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    gap: 25px !important;
  }

  .left-text,
  .features,
  .feature-sidebar,
  .video-box {
    display: none !important;
  }

  .cta-floating {
    width: 100% !important;
    max-width: 420px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(255, 200, 0, 0.35);
    text-align: center;
  }

  .cta-floating p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .cta-floating a {
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #000;
    box-shadow: 0 0 12px rgba(255, 200, 0, 0.5);
    font-weight: bold;
    text-shadow: none;
    text-decoration: none;
    transition: 0.3s;
  }

  .event-rank-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column-reverse !important; /* טיימר מתחת לדירוג */
    align-items: center;
    gap: 20px;
  }

  .rankBlock {
    width: 100% !important;
    max-width: 420px;
    height: 420px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.2);
    overflow-y: auto;
  }

  .blockTitle h1 {
    font-size: 20px;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 12px;
  }

  .topTabs {
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
  }

  .topTabs-button {
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 8px;
  }

  .btn-see-all {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #ffcc00;
    font-weight: bold;
    font-size: 13px;
    text-decoration: underline;
  }
}
