/**
 * Gece Pazarı — kapalı / açık kart tasarımı
 */

.gp-section {
  padding-top: calc(var(--site-content-offset, 100px) + 16px);
}

.gp-empty {
  text-align: center;
  color: var(--uo-text-muted, #9db0ca);
  padding: 48px 16px;
}

.gp-night-market {
  position: relative;
  padding: 24px 0 56px;
  overflow-x: visible;
  overflow-y: visible;
  background: transparent;
}

.gp-night-market::before {
  display: none;
}

.gp-night-market::after {
  display: none;
}

.gp-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.gp-header__glow {
  display: none;
}

.gp-title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 45%, #5dffb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gp-subtitle {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--uo-text-muted, #9db0ca);
}

.gp-donem {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-win, #5dffb8);
}

.gp-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(100%, 520px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(150, 176, 211, 0.22);
  background: linear-gradient(180deg, rgba(27, 40, 60, 0.88), rgba(20, 30, 46, 0.9));
}

.gp-countdown__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b8a8e8;
  white-space: nowrap;
}

.gp-countdown__time {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.gp-countdown--ended .gp-countdown__time {
  color: #f87171;
}

.gp-countdown--ended .gp-countdown__label {
  color: #94a3b8;
}

/* Grid — auto-fit: az kartta boş sütun kalmaz, satır ortalanır */
.gp-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  justify-content: center;
  gap: clamp(12px, 1.5vw, 24px);
  width: 100%;
  max-width: min(1720px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
  perspective: 1400px;
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .gp-cards-grid {
    gap: 14px;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 12px;
  }
}

@media (max-width: 767px) {
  .gp-night-market {
    padding: 8px 0 max(32px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  .gp-header {
    margin-bottom: 16px;
    padding: 0 16px;
  }

  .gp-title {
    display: block;
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    margin-bottom: 8px;
  }

  .gp-subtitle {
    font-size: 13px;
    line-height: 1.45;
    padding: 0 4px;
  }

  .gp-donem {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .gp-countdown {
    flex-direction: column;
    gap: 4px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    border-radius: 14px;
  }

  .gp-countdown__label,
  .gp-countdown__time {
    font-size: 11px;
    line-height: 1.35;
  }

  .gp-countdown__time {
    font-size: 12px;
  }

  .gp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
    padding: 0 10px;
    perspective: none;
  }

  .gp-card-scene {
    width: 100%;
    min-width: 0;
  }

  .gp-card {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 252 / 518;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .gp-card__tilt,
  .gp-card__inner {
    height: 100%;
    min-height: 100%;
  }

  .gp-card__tilt {
    transition: none;
  }

  .gp-card:not(.gp-card--open):hover {
    --gp-lift: 0;
  }

  .gp-card--open,
  .gp-card--opening {
    z-index: 20;
  }

  .gp-closed__frame {
    padding: 10px 8px 12px;
  }

  .gp-closed__corner--tl { top: 8px; left: 8px; }
  .gp-closed__corner--tr { top: 8px; right: 8px; }
  .gp-closed__corner--bl { bottom: 8px; left: 8px; }
  .gp-closed__corner--br { bottom: 8px; right: 8px; }

  .gp-opened .gp-closed__frame {
    padding: 8px 8px 10px;
    gap: 5px;
  }

  .gp-opened__ribbon {
    top: 10px;
    left: -28px;
    padding: 4px 30px 4px 28px;
  }

  .gp-opened__ribbon-text span {
    font-size: clamp(0.44rem, 2.8vw, 0.54rem);
  }

  .gp-opened__title {
    font-size: clamp(0.72rem, 3vw, 0.86rem);
    line-height: 1.18;
    max-height: 2.4em;
    -webkit-line-clamp: 2;
  }

  .gp-opened__old {
    font-size: clamp(0.72rem, 3vw, 0.85rem);
  }

  .gp-opened__price-row {
    padding: 6px 46px 6px 6px;
  }

  .gp-opened__price-row:has(.gp-opened__discount.is-hidden) {
    padding-right: 6px;
  }

  .gp-opened__price {
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
  }

  .gp-opened__discount {
    right: 6px;
    min-width: 38px;
    padding: 2px 5px;
  }

  .gp-opened__discount strong {
    font-size: 0.78rem;
  }

  .gp-opened__discount small {
    font-size: 0.5rem;
  }

  .gp-opened__deal {
    width: 70%;
    max-width: 148px;
    font-size: clamp(0.62rem, 2.8vw, 0.72rem);
    padding: 7px 9px;
    letter-spacing: 0.07em;
  }

  .gp-opened__deal-icon svg {
    width: 14px;
    height: 14px;
  }

  .gp-toast-container {
    left: 12px;
    right: 12px;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    transform: none;
    width: auto;
  }

  .gp-toast {
    font-size: 13px;
    padding: 10px 14px;
    text-align: center;
  }

  .gp-guest-modal {
    padding: max(12px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  .gp-guest-modal__panel {
    padding: 24px 20px 20px;
    border-radius: 18px 18px 14px 14px;
    max-width: 100%;
  }

  .gp-guest-modal__title {
    font-size: 1.15rem;
  }

  .gp-guest-modal__text {
    font-size: 13px;
  }

  .cekilis-page-head + .gp-night-market {
    margin-top: -4px;
  }

  .cekilis-page-head {
    padding-bottom: 8px !important;
  }
}

@media (max-width: 479px) {
  .gp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 8px;
  }

  .gp-card {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .gp-card--open,
  .gp-card--opening {
    max-width: none;
  }
}

@media (max-width: 359px) {
  .gp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 6px;
    gap: 6px;
  }

  .gp-subtitle {
    font-size: 12px;
  }
}

@media (min-width: 1100px) {
  .gp-cards-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 220px));
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .gp-cards-grid {
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
    justify-content: center;
  }
}

/* Flip kart */
.gp-card-scene {
  width: 100%;
  min-height: 0;
  perspective: 1200px;
  animation: gpCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--gp-i, 0) * 0.07s);
}

@keyframes gpCardIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gp-card {
  --gp-cover-ratio: 232 / 325.22;
  --gp-rx: 0deg;
  --gp-ry: 0deg;
  --gp-lift: 0px;
  --gp-cyan: #00f0ff;
  --gp-purple: #a855f7;
  position: relative;
  width: 100%;
  max-width: 252px;
  height: 518px;
  margin: 0 auto;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(var(--gp-lift));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gp-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.45);
  border-radius: 18px;
}

.gp-card--open {
  cursor: default;
  --gp-lift: 0;
}

.gp-card--open,
.gp-card--opening {
  z-index: 12;
  overflow: visible;
}

.gp-card--open .gp-card-scene,
.gp-card--open .gp-card__tilt,
.gp-card--open .gp-card__inner {
  overflow: visible;
}

.gp-card--open .gp-card__face--front {
  border-radius: 6px;
}

.gp-card__tilt {
  width: 100%;
  height: 100%;
  min-height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--gp-rx)) rotateY(var(--gp-ry));
  transition: transform 0.12s ease-out;
}

.gp-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.34, 1.15, 0.42, 1);
  will-change: transform;
}

.gp-card--opening .gp-card__inner {
  transform: rotateY(180deg) scale(1.02);
}

.gp-card--open:not(.gp-card--opening) .gp-card__inner {
  transform: rotateY(180deg) scale(1);
  transition: transform 1.2s cubic-bezier(0.34, 1.15, 0.42, 1);
}

.gp-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
}

.gp-card--closed .gp-card__face--back {
  pointer-events: none;
}

.gp-card--open .gp-card__face--front {
  pointer-events: none;
}

.gp-card--open .gp-card__face--back {
  overflow: hidden;
}

.gp-card__face--front {
  background: #050810;
  border: 1.5px solid rgba(0, 240, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.12),
    0 0 22px rgba(0, 240, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.gp-card__face--front::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.gp-card__face--back {
  transform: rotateY(180deg);
  background: #050810;
  border: 1.5px solid rgba(168, 85, 247, 0.75);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.2),
    0 0 28px rgba(168, 85, 247, 0.35),
    0 0 60px rgba(124, 58, 237, 0.15),
    0 20px 44px rgba(0, 0, 0, 0.55);
}

.gp-card__face--back::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.gp-card__shimmer {
  display: none;
}

.gp-card:not(.gp-card--open):hover {
  --gp-lift: -6px;
}

.gp-card:not(.gp-card--open):hover .gp-card__face--front {
  border-color: rgba(0, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.35),
    0 0 36px rgba(0, 240, 255, 0.45),
    0 0 72px rgba(0, 240, 255, 0.2),
    0 22px 48px rgba(0, 0, 0, 0.6);
}

.gp-card:not(.gp-card--open):hover .gp-closed__flare {
  opacity: 1;
  background: linear-gradient(118deg, transparent 32%, rgba(0, 255, 255, 0.22) 48%, rgba(0, 255, 255, 0.38) 50%, rgba(0, 255, 255, 0.22) 52%, transparent 68%);
}

.gp-card:not(.gp-card--open):hover .gp-closed__lock {
  filter: drop-shadow(0 0 22px rgba(0, 255, 255, 0.85)) drop-shadow(0 0 40px rgba(0, 240, 255, 0.45));
}

.gp-card:not(.gp-card--open):hover .gp-closed__cta,
.gp-card:not(.gp-card--open):hover .gp-closed__chev {
  color: #7ffbff;
  opacity: 1;
}

.gp-card--opening {
  --gp-lift: -8px;
}

.gp-card--opening .gp-card__face--front {
  border-color: rgba(0, 255, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.3),
    0 0 40px rgba(0, 240, 255, 0.4),
    0 22px 48px rgba(0, 0, 0, 0.55);
}

/* ===== KAPALI KART ===== */
.gp-closed {
  position: relative;
  width: 100%;
  height: 100%;
  color: #00f0ff;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  overflow: hidden;
}

.gp-closed__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px 18px;
  border-radius: 14px;
}

.gp-closed__dots {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(rgba(0, 240, 255, 0.75) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 48%, #000 25%, transparent 78%);
}

.gp-closed__circuit {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 52%, #000 10%, transparent 72%);
}

.gp-closed__flare {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(118deg, transparent 36%, rgba(0, 240, 255, 0.06) 46%, rgba(0, 240, 255, 0.14) 50%, rgba(0, 240, 255, 0.06) 54%, transparent 64%);
  transition: opacity 0.25s, background 0.25s;
}

.gp-closed__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #00f0ff;
  border-style: solid;
  z-index: 2;
  opacity: 0.95;
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.35);
}

.gp-closed__corner--tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.gp-closed__corner--tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.gp-closed__corner--bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.gp-closed__corner--br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.gp-closed__head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 4px;
}

.gp-closed__cube-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
}

.gp-closed__cube {
  width: 34px;
  height: 34px;
  color: #00f0ff;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.65));
}

.gp-closed__title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.gp-closed__sub {
  margin: 5px 0 0;
  font-size: clamp(0.72rem, 1.7vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0, 240, 255, 0.8);
}

.gp-closed__hex-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 0;
}

.gp-closed__hex-lines {
  position: absolute;
  width: 100%;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.gp-closed__hex {
  position: relative;
  z-index: 1;
  width: min(62%, 128px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-closed__lock {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 32px rgba(0, 240, 255, 0.25));
  transition: filter 0.25s;
}

.gp-closed__foot {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: auto;
  padding-top: 4px;
}

.gp-closed__chev {
  display: block;
  width: 22px;
  height: 16px;
  margin: 0 auto 5px;
  color: #00f0ff;
  opacity: 0.88;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.45));
  transition: color 0.25s, opacity 0.25s;
}

.gp-closed__cta {
  display: block;
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 240, 255, 0.92);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  transition: color 0.25s;
}

/* ===== AÇILMIŞ KART (kapalı kasa çerçevesi + mor tema) ===== */
.gp-opened {
  position: relative;
  width: 100%;
  height: 100%;
  color: #c084fc;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  overflow: hidden;
}

.gp-opened .gp-closed__dots {
  opacity: 0.3;
  background-image: radial-gradient(rgba(192, 132, 252, 0.75) 1px, transparent 1px);
}

.gp-opened .gp-closed__circuit {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.12) 1px, transparent 1px);
}

.gp-opened .gp-closed__flare {
  opacity: 0.5;
  background: linear-gradient(118deg, transparent 36%, rgba(192, 132, 252, 0.06) 46%, rgba(192, 132, 252, 0.14) 50%, rgba(192, 132, 252, 0.06) 54%, transparent 64%);
}

.gp-opened .gp-closed__corner {
  border-color: #c084fc;
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.4);
}

.gp-opened .gp-closed__frame {
  height: 100%;
  min-height: 0;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.gp-opened__ribbon {
  position: absolute;
  top: 12px;
  left: -30px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 34px 5px 32px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.98) 0%, rgba(109, 40, 217, 0.96) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transform: rotate(-38deg);
  transform-origin: center center;
  pointer-events: none;
}

.gp-opened__ribbon svg {
  flex-shrink: 0;
  margin-top: 1px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.gp-opened__ribbon-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  gap: 1px;
}

.gp-opened__ribbon-text span {
  display: block;
  font-size: clamp(0.5rem, 1.45vw, 0.58rem);
  white-space: nowrap;
}

.gp-opened__media {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.gp-opened__cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  aspect-ratio: unset;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d14;
  isolation: isolate;
}

.gp-opened__cover img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.gp-opened__title {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 2px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: clamp(0.82rem, 2.2vw, 0.98rem);
  font-weight: 800;
  line-height: 1.2;
  max-height: 2.45em;
  color: #fff;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-opened__pricing {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  flex-shrink: 0;
}

.gp-opened__old {
  text-align: center;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 700;
  color: #8a9bb5;
  text-decoration: line-through;
  white-space: nowrap;
}

.gp-opened__price-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 7px 52px 7px 8px;
  border-radius: 8px;
  background: rgba(14, 18, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gp-opened__price-row:has(.gp-opened__discount.is-hidden) {
  padding-right: 8px;
}

.gp-opened__price {
  flex: 0 0 auto;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  font-weight: 800;
  color: #00f0ff;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-align: center;
}

.gp-opened__discount {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.35);
  line-height: 1.1;
}

.gp-opened__discount.is-hidden {
  display: none;
}

.gp-opened__discount strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #c4b5fd;
}

.gp-opened__discount small {
  font-size: 0.58rem;
  font-weight: 600;
  color: #8a9bb5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gp-opened__deal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 72%;
  max-width: 168px;
  margin: auto auto 0;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed 0%, #6366f1 45%, #3b82f6 100%);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
  transition: filter 0.15s, transform 0.15s;
}

.gp-opened__deal:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.gp-opened__deal-icon {
  display: flex;
  flex-shrink: 0;
  opacity: 0.95;
}

.gp-opened__deal-text {
  flex: 1;
  text-align: center;
}

.gp-opened__deal-arrow {
  flex-shrink: 0;
  font-size: 1.05em;
  opacity: 0.95;
}

/* Toast & modal */
.gp-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  pointer-events: none;
}

.gp-toast {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(18, 24, 36, 0.95);
  border: 1px solid rgba(179, 136, 255, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  animation: gpToastIn 0.35s ease;
}

@keyframes gpToastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.gp-guest-modal[hidden] {
  display: none !important;
}

.gp-guest-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gp-guest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(8px);
}

.gp-guest-modal__panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px 28px;
  border-radius: 22px;
  border: 2px solid rgba(179, 136, 255, 0.35);
  background: linear-gradient(135deg, #7c4dff, #311b92);
  box-shadow: 0 24px 56px rgba(81, 45, 168, 0.45);
  text-align: center;
}

.gp-guest-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gp-guest-modal__ikon {
  color: #fff;
  margin-bottom: 12px;
}

.gp-guest-modal__ikon svg {
  width: 56px;
  height: 56px;
}

.gp-guest-modal__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.gp-guest-modal__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.gp-guest-modal__btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #5dffb8;
  color: #0b1a14;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 12px;
}

.gp-guest-modal__link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .gp-card__tilt,
  .gp-card__inner,
  .gp-card__shimmer,
  .gp-card-scene {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
