/* =====================================================================
   GoreWin — Hero (anasayfa açılış bölümü)
   ===================================================================== */

.hero {
    position: relative;
    padding: clamp(48px, 6vw, 92px) 0 clamp(56px, 7vw, 104px);
    overflow: hidden;
    background: var(--bg);
}

/* Işık lekeleri kaldırıldı — kurumsal düzende yalnız ince ızgara dokusu kalır. */
.hero__aurora { display: none; }
/* İnce ızgara dokusu */
.hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
    opacity: .6;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.hero__title {
    font-size: clamp(32px, 4.8vw, 58px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

/* Dönen kelime — sabit yükseklikli pencere, içindeki şerit kayar */
.hero__rotator {
    /* Adım yüksekliği tek yerden yönetilir; kaydırma da buna bağlı. */
    --rot-step: 1.32em;
    display: inline-block;
    position: relative;
    height: var(--rot-step);
    overflow: hidden;
    vertical-align: bottom;
}
.hero__rotator-track {
    display: block;
    animation: gw-rotate-words 12s cubic-bezier(.76, 0, .24, 1) infinite;
}
.hero__word {
    display: block;
    height: var(--rot-step);
    line-height: var(--rot-step);
    white-space: nowrap;
    color: var(--accent-text);   /* koyu temada token zaten limona döner */
}
@keyframes gw-rotate-words {
    0%, 20%   { transform: translateY(0); }
    25%, 45%  { transform: translateY(calc(-1 * var(--rot-step))); }
    50%, 70%  { transform: translateY(calc(-2 * var(--rot-step))); }
    75%, 95%  { transform: translateY(calc(-3 * var(--rot-step))); }
    100%      { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__rotator-track { animation: none; }
}

.hero__lead {
    max-width: 540px;
    color: var(--muted);
    font-size: clamp(15.5px, 1.8vw, 18.5px);
    margin-bottom: 28px;
}
.hero__lead strong { color: var(--text-strong); }

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 14.5px;
}
.hero__stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f5b301;
}
.hero__stars b {
    margin-left: 6px;
    color: var(--text-strong);
    font-size: 15px;
}
.hero__trust-sep {
    width: 1px; height: 18px;
    background: var(--line-strong);
}
.hero__trust-txt b { color: var(--text-strong); }

/* ---------- Görev kartı maketi ---------- */
.hero__mock {
    position: relative;
    justify-self: center;
    width: min(100%, 430px);
    animation: gw-float 7s ease-in-out infinite;
}
@keyframes gw-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.mock {
    position: relative;
    padding: 20px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.mock__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.mock__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--line-strong);
}
.mock__title {
    margin-left: 10px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 14px;
    color: var(--text-strong);
}

.mock__task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.mock__task.is-active { border-color: var(--accent-line); background: var(--accent-soft); }

.mock__ico {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--c) 16%, transparent);
    color: var(--c);
    font-size: 16px;
    flex: none;
}
:root[data-theme="dark"] .mock__ico { background: color-mix(in srgb, var(--c) 26%, transparent); }

.mock__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mock__info b { font-size: 14px; color: var(--text-strong); }
.mock__info small { font-size: 12px; color: var(--muted); }

.mock__gain {
    font-weight: 800;
    font-size: 14px;
    color: var(--ok-fg);
    white-space: nowrap;
}
.mock__gain--muted { color: var(--muted-2); }

.mock__bar {
    position: relative;
    width: 64px; height: 6px;
    border-radius: 999px;
    background: var(--surface-3);
    overflow: hidden;
    flex: none;
}
.mock__fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 999px;
    background: var(--lime-2);
    animation: gw-fill 3.4s ease-in-out infinite;
}
@keyframes gw-fill {
    0%   { width: 8%; }
    70%  { width: 88%; }
    100% { width: 8%; }
}

.mock__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px dashed var(--line-strong);
    color: var(--muted);
    font-size: 13.5px;
}
.mock__balance {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 900;
    color: var(--text-strong);
}

.mock__float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-strong);
    white-space: nowrap;
}
.mock__float i { color: var(--accent-text); }
/* Rozetler kartın KÖŞELERİNDE durur; kart içindeki metnin üstüne binmezler. */
.mock__float--1 {
    top: -20px; left: -26px;
    animation: gw-float-chip 5.5s ease-in-out infinite;
}
.mock__float--2 {
    bottom: -30px; right: -20px;
    animation: gw-float-chip 6.5s ease-in-out .8s infinite;
}
@keyframes gw-float-chip {
    0%, 100% { transform: translateY(0)     rotate(-2deg); }
    50%      { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .hero__cta, .hero__trust { justify-content: center; }
    .hero__mock { margin-top: 8px; }

    /* Tablet: iki buton yan yana — aynı genişlik, aynı yükseklik.
       (stretch açıkça yazılır; kapta farklı bir hizalama oluşursa da bozulmasın) */
    .hero__cta { align-items: stretch; }
    .hero__cta .btn { flex: 1 1 0; min-width: 0; max-width: 280px; }
}

@media (max-width: 560px) {
    /* Mobil: alt alta ve tam genişlik — ikisi de birebir aynı boyutta */
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { flex: none; width: 100%; max-width: none; }

    .hero__mock { width: min(100%, 340px); }
    .mock__float--1 { left: -6px; top: -16px; }
    .mock__float--2 { right: -6px; bottom: -26px; }
    .mock__float { font-size: 12px; padding: 7px 12px; }
    .hero__grid { background-size: 44px 44px; }
}
