/* Ana sayfa — Shell Market Panel (shellmarket.online) */

body.page-home {
  background: #f4f7f6;
}

.topbar__brand-text .logo-dot {
  margin-left: 2px;
}

.pill__shield {
  font-size: 14px;
}

.home-announce {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
}

.home-announce__ico {
  font-size: 22px;
  flex-shrink: 0;
}

.home-cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-cta__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(13px, 2vw, 15px);
  color: #dc2626;
  text-align: center;
  letter-spacing: 0.02em;
}

.home-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #7c4dff, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.home-cta__btn:hover {
  filter: brightness(1.05);
}

/* Kartlar satırı */
.home-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 0.85fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-card--welcome {
    grid-column: 1 / -1;
  }
}

/* Telefon: masaüstü sırasıyla tek sütun (hoş geldin → çark → istatistikler → göz) */
@media (max-width: 768px) {
  .home-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .home-cards {
    gap: 10px;
  }

  .home-card {
    padding: 14px;
  }

  .home-card--stat .stat-num {
    font-size: 22px;
  }

  .home-card--stat .stat-label {
    font-size: 11px;
  }

  .home-card--eye,
  .home-card--brand-mascot {
    min-height: 140px;
  }

  .prize-wheel-shell {
    width: min(190px, 100%);
    margin-top: 6px;
  }

  .btn-wheel {
    max-width: 220px;
    padding: 10px 12px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .home-cards {
    gap: 8px;
  }

  .home-card {
    padding: 12px;
  }
}

.home-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.home-card--welcome .welcome-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.home-card--welcome .welcome-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.home-r10 {
  margin-top: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px dashed #c7d2fe;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #4338ca;
}

.home-r10__smiley {
  font-size: 28px;
  margin-top: 6px;
}

.home-card--wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Şans çarkı — 5 dilim (saat yönü, üstten başlar) */
.prize-wheel-shell {
  position: relative;
  width: min(228px, 100%);
  margin: 10px auto 14px;
  padding-top: 20px;
}

.prize-wheel-pointer {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 15;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 16px solid #2563eb;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.prize-wheel {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  transform: rotate(0deg);
  box-shadow:
    inset 0 0 0 6px #fff,
    0 12px 32px rgba(15, 23, 42, 0.14);
  background: conic-gradient(
    from -90deg,
    #ff9f43 0deg 72deg,
    #3b82f6 72deg 144deg,
    #8b5cf6 144deg 216deg,
    #ec4899 216deg 288deg,
    #22c55e 288deg 360deg
  );
}

.prize-wheel::before {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  z-index: 2;
  background: conic-gradient(
    from -90deg,
    #ff9f43 0deg 72deg,
    #3b82f6 72deg 144deg,
    #8b5cf6 144deg 216deg,
    #ec4899 216deg 288deg,
    #22c55e 288deg 360deg
  );
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.55),
    0 0 18px rgba(139, 92, 246, 0.35);
}

.prize-wheel::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  z-index: 3;
  background: radial-gradient(
    circle at 50% 42%,
    #fff7ed 0%,
    #fce7f3 28%,
    #ede9fe 55%,
    #ddd6fe 78%,
    #c4b5fd 100%
  );
  box-shadow:
    inset 0 2px 10px rgba(124, 58, 237, 0.12),
    inset 0 -2px 8px rgba(236, 72, 153, 0.1);
}

/* Çark ortası — canlı göz */
.wheel-eye {
  position: absolute;
  left: 50%;
  top: calc(50% + 10px);
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 12;
  pointer-events: none;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    rgba(255, 159, 67, 0.85) 0deg 72deg,
    rgba(59, 130, 246, 0.85) 72deg 144deg,
    rgba(139, 92, 246, 0.9) 144deg 216deg,
    rgba(236, 72, 153, 0.85) 216deg 288deg,
    rgba(34, 197, 94, 0.85) 288deg 360deg
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.wheel-eye__face {
  position: relative;
  width: 100%;
  height: 100%;
}

.wheel-eye__sclera {
  position: absolute;
  inset: 18% 12% 28%;
  border-radius: 50%;
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow:
    inset 0 -2px 6px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.wheel-eye__iris {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 55%, #5b21b6);
  animation: wheel-eye-look 4s ease-in-out infinite;
  will-change: transform;
}

.wheel-eye__pupil {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 42%;
  height: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #0f172a;
  animation: wheel-eye-pupil 2.6s ease-in-out infinite;
  will-change: transform;
}

.wheel-eye__gleam {
  position: absolute;
  top: 22%;
  left: 28%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 12px 14px 0 -6px rgba(255, 255, 255, 0.45);
  animation: wheel-eye-gleam 2.2s ease-in-out infinite;
}

.wheel-eye__lid {
  position: absolute;
  left: -8%;
  right: -8%;
  background: linear-gradient(180deg, #c4b5fd 0%, #a78bfa 45%, #8b5cf6 100%);
  z-index: 4;
  box-shadow: 0 1px 0 rgba(91, 33, 182, 0.15);
}

.wheel-eye__lid--top {
  top: 10%;
  height: 58%;
  border-radius: 50% 50% 42% 42%;
  transform-origin: top center;
  transform: scaleY(0.02);
  animation: wheel-eye-blink-top 3.2s ease-in-out infinite;
  will-change: transform;
}

.wheel-eye__lid--bottom {
  bottom: 8%;
  height: 38%;
  border-radius: 42% 42% 50% 50%;
  transform-origin: bottom center;
  transform: scaleY(0.05);
  animation: wheel-eye-blink-bottom 3.2s ease-in-out infinite;
  will-change: transform;
}

.wheel-eye__smile {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 48%;
  height: 24%;
  transform: translateX(-50%) scaleY(0);
  border-bottom: 3px solid #7c3aed;
  border-radius: 0 0 50% 50%;
  opacity: 0;
  animation: wheel-eye-smile 5.5s ease-in-out infinite;
}

@keyframes wheel-eye-pupil {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-46%, -50%) scale(1.12);
  }
}

@keyframes wheel-eye-gleam {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.wheel-eye__cheek {
  position: absolute;
  bottom: 22%;
  width: 16%;
  height: 10%;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.35);
  opacity: 0;
  animation: wheel-eye-blush 7s ease-in-out infinite;
}

.wheel-eye__cheek--l {
  left: 4%;
}

.wheel-eye__cheek--r {
  right: 4%;
}

@keyframes wheel-eye-blink-top {
  0%,
  82%,
  100% {
    transform: scaleY(0.02);
  }
  86%,
  90% {
    transform: scaleY(1.02);
  }
}

@keyframes wheel-eye-blink-bottom {
  0%,
  82%,
  100% {
    transform: scaleY(0.06);
  }
  86%,
  90% {
    transform: scaleY(0.92);
  }
}

@keyframes wheel-eye-look {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  25% {
    transform: translate(-58%, -48%);
  }
  50% {
    transform: translate(-42%, -52%);
  }
  75% {
    transform: translate(-50%, -46%);
  }
}

@keyframes wheel-eye-smile {
  0%,
  72%,
  100% {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
  }
  78%,
  86% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}

@keyframes wheel-eye-blush {
  0%,
  78%,
  100% {
    opacity: 0;
  }
  84%,
  92% {
    opacity: 1;
  }
}

.wheel-eye.is-spinning .wheel-eye__iris {
  animation: wheel-eye-excited 0.35s ease-in-out infinite;
}

.wheel-eye.is-spinning .wheel-eye__lid--top,
.wheel-eye.is-spinning .wheel-eye__lid--bottom {
  animation-duration: 0.55s;
}

.wheel-eye.is-happy .wheel-eye__smile,
.wheel-eye.is-happy .wheel-eye__cheek {
  animation: none;
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
}

.wheel-eye.is-happy .wheel-eye__cheek {
  transform: none;
}

@keyframes wheel-eye-excited {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.prize-wheel__labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.prize-wheel__lbl {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-68px);
}

.prize-wheel__lbl-text {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--rot)));
  width: 78px;
  margin-left: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-wheel {
  width: 100%;
  max-width: 260px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ddd6fe, #c4b5fd);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.btn-wheel:not(:disabled):hover {
  filter: brightness(1.04);
}

.btn-wheel:disabled {
  cursor: default;
  opacity: 0.98;
}

.btn-wheel--ready {
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  animation: wheel-ready-pulse 2s ease-in-out infinite;
}

@keyframes wheel-ready-pulse {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
  }
  50% {
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.45);
  }
}

.prize-wheel.is-spinning {
  transition: transform 4.2s cubic-bezier(0.15, 0.85, 0.2, 1);
}

.wheel-daily-hint {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
  max-width: 260px;
}

.wheel-daily-hint.is-wait {
  color: #94a3b8;
}

.wheel-result-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
}

.wheel-result-overlay[hidden] {
  display: none !important;
}

.wheel-result-modal {
  width: min(360px, 100%);
  padding: 28px 24px 22px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.wheel-result-modal__ico {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.wheel-result-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
}

.wheel-result-modal__prize {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #7c3aed;
}

.wheel-result-modal__bal {
  margin: 0 0 10px;
  font-size: 14px;
  color: #475569;
}

.wheel-result-modal__note {
  margin: 0 0 18px;
  font-size: 12px;
  color: #94a3b8;
}

.wheel-result-modal__btn {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #7c4dff, #6b3dff);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-card--stat {
  text-align: center;
}

.home-card--stat .stat-ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.home-card--stat .stat-num {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.home-card--stat .stat-label {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.home-card--eye,
.home-card--brand-logo {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 16px;
}

/* Zebra kartı: stat-figures.css (flex + mor alt zemin) */
.home-card--brand-mascot {
  padding: 0;
  min-height: 248px;
}

.home-card--brand-logo .card-brand-logo__img {
  width: auto;
  max-width: 92%;
  max-height: 130px;
  height: auto;
  object-fit: contain;
}

/* Referans — referans paneli (Hacklink tarzı mavi kutu) */
.home-ref {
  margin-top: 18px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 55%, #fff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.home-ref h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.home-ref p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-ref__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

.home-ref__input-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fafafa;
}

.home-ref__input-wrap span {
  opacity: 0.55;
  font-size: 16px;
}

.home-ref__input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 13px;
  min-width: 0;
}

.home-ref__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-ref-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(90deg, #7c4dff, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.btn-ref-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--blue-bright);
  background: var(--white);
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

/* İki sütun: havuz (etiket+Google dahil) | duyurular */
.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}

@media (max-width: 768px) {
  .home-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.home-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.home-panel__sub {
  margin: 6px 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.pool-chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #3b82f6 0deg 182deg,
    #22c55e 182deg 211deg,
    #f97316 211deg 224deg,
    #06b6d4 224deg 237deg,
    #ef4444 237deg 247deg,
    #a855f7 247deg 257deg,
    #eab308 257deg 268deg,
    #64748b 268deg 360deg
  );
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.donut__hole {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.donut__hole small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.donut__hole strong {
  font-size: 22px;
  font-weight: 900;
}

.pool-legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 14px;
  width: 100%;
  font-size: 12px;
}

.pool-legend__empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0;
}

.pool-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.pool-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.news-feed__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.news-feed__head .bell {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item__ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #60a5fa, #3b82f6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
}

.news-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.news-item__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.news-item__date {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.news-item__body {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.news-item__body a {
  font-weight: 700;
}

/* Etiket bulutu + Google */
.home-promo {
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* Link Havuzu panelinin içinde (masaüstü referans düzeni) */
.home-promo--in-pool {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 18px 0 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--border);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 22px;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.tag-cloud i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.promo-google {
  text-align: center;
}

.google-word {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  font-family: "Inter", system-ui, sans-serif;
}

.google-word .c1 {
  color: #4285f4;
}
.google-word .c2 {
  color: #ea4335;
}
.google-word .c3 {
  color: #fbbc05;
}
.google-word .c4 {
  color: #4285f4;
}
.google-word .c5 {
  color: #34a853;
}
.google-word .c6 {
  color: #ea4335;
}

.promo-google p {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.promo-google p strong {
  font-weight: 800;
}

/* Giriş tablosu */
.home-logins {
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 8px;
}

.home-logins__title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.login-table-wrap {
  overflow-x: auto;
}

.login-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}

.login-table thead {
  background: #f8f9fa;
  color: var(--muted);
}

.login-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.login-table td {
  padding: 14px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

.login-table .td-browser {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.chrome-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(#4285f4 0 25%, #ea4335 0 50%, #fbbc05 0 75%, #34a853 0);
}

.home-footer {
  margin-top: 28px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.home-footer .google-inline span {
  font-weight: 800;
}

.home-footer .google-inline .c1 {
  color: #4285f4;
}
.home-footer .google-inline .c2 {
  color: #ea4335;
}
.home-footer .google-inline .c3 {
  color: #fbbc05;
}
.home-footer .google-inline .c4 {
  color: #4285f4;
}
.home-footer .google-inline .c5 {
  color: #34a853;
}
.home-footer .google-inline .c6 {
  color: #ea4335;
}

/* Şanslı Kutu modal */
.lucky-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(4px);
}

.lucky-overlay[hidden] {
  display: none !important;
}

.lucky-modal-wrap {
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 45%, #3b82f6 100%);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.22);
  max-width: 440px;
  width: 100%;
}

.lucky-modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 28px;
  text-align: center;
}

.lucky-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: inherit;
}

.lucky-modal__close:hover {
  background: #f3f4f6;
  color: var(--text);
}

.lucky-modal__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-right: 28px;
}

.lucky-modal__gift-ico {
  font-size: 28px;
  line-height: 1;
}

.lucky-modal__head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.lucky-modal__sub {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.55;
}

.lucky-modal__boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lucky-modal__boxes[hidden] {
  display: none !important;
}

.lucky-result {
  text-align: center;
  padding: 20px 12px 8px;
}

.lucky-result:not([hidden]) {
  display: block;
  animation: lucky-result-in 0.35s ease;
}

.lucky-result.is-visible .lucky-result__text {
  animation: lucky-result-pop 0.4s ease 0.08s both;
}

@keyframes lucky-result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lucky-result-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lucky-result__emoji {
  font-size: 42px;
  margin: 0 0 12px;
}

.lucky-result__text {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.55;
  white-space: pre-wrap;
}

.lucky-result__btn {
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  background: linear-gradient(180deg, #7c4dff, #6b3dff);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lucky-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  padding: 16px;
}

@media (max-width: 380px) {
  .lucky-modal__boxes {
    gap: 8px;
  }
}

.lucky-box {
  aspect-ratio: 1;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 12px;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.lucky-box:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.lucky-box:active {
  transform: scale(0.98);
}

.lucky-box__gift {
  font-size: clamp(36px, 12vw, 52px);
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.lucky-box--blue {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.lucky-box--green {
  background: linear-gradient(180deg, #10b981, #059669);
}

.lucky-box--purple {
  background: linear-gradient(180deg, #a855f7, #7c3aed);
}

@media (max-width: 768px) {
  .home-announce {
    padding: 12px 14px;
    font-size: 12px;
    margin-top: 12px;
  }

  .home-cta {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .home-cta__text {
    font-size: 12px;
  }

  .home-cta__btn {
    width: 100%;
    justify-content: center;
  }

  .home-ref__actions {
    width: 100%;
  }

  .home-ref__actions .btn-ref-copy,
  .home-ref__actions .btn-ref-track {
    flex: 1;
    min-width: 0;
    justify-content: center;
    font-size: 12px;
    padding: 10px 12px;
  }

  .home-logins {
    padding: 14px 12px 12px;
    margin-bottom: 8px;
  }

  .login-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding-bottom: 4px;
  }

  .home-split {
    gap: 12px;
  }

  .home-panel {
    padding: 14px 12px;
    min-width: 0;
  }

  .lucky-overlay {
    padding: 12px;
    align-items: flex-end;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  }

  .lucky-modal {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px 22px;
    border-radius: 18px 18px 0 0;
    max-height: min(92vh, 720px);
    overflow-y: auto;
  }

  .donut {
    width: min(200px, 72vw);
    height: min(200px, 72vw);
  }

  .donut__hole {
    width: 108px;
    height: 108px;
  }

  .donut__hole strong {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .home-ref__actions {
    flex-direction: column;
  }

  .home-ref__actions .btn-ref-copy,
  .home-ref__actions .btn-ref-track {
    width: 100%;
  }

  .pool-legend {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    font-size: 11px;
  }

  .news-item {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .news-item__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .news-item__date {
    font-size: 11px;
  }

  /* Giriş tablosu: yatay kaydırma yerine kart satırı */
  .login-table {
    min-width: 0;
  }

  .login-table thead {
    display: none;
  }

  .login-table tbody tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .login-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .login-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-top: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
  }

  .login-table td:last-child {
    border-bottom: none;
  }

  .login-table td::before {
    content: attr(data-label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
  }

  .login-table .td-browser {
    justify-content: space-between;
  }

  .login-table .td-browser::before {
    align-self: center;
  }
}
