/* ========================================================
   CyberMindCo - Social Casino & Tank Registration Styles
   ======================================================== */

.play-hero {
  padding: 130px 0 40px;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(255, 107, 0, 0.15) 0%, rgba(10, 13, 18, 0.98) 70%),
              url('../assets/images/block2-bg.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.play-hero-badge {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid var(--accent-orange);
  color: #ff9d42;
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  -webkit-animation: pulse 1.8s infinite;
          animation: pulse 1.8s infinite;
}

@-webkit-keyframes pulse {
  0% { -webkit-transform: scale(0.95); transform: scale(0.95); opacity: 0.7; }
  50% { -webkit-transform: scale(1.3); transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #00ff66; }
  100% { -webkit-transform: scale(0.95); transform: scale(0.95); opacity: 0.7; }
}

@keyframes pulse {
  0% { -webkit-transform: scale(0.95); transform: scale(0.95); opacity: 0.7; }
  50% { -webkit-transform: scale(1.3); transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #00ff66; }
  100% { -webkit-transform: scale(0.95); transform: scale(0.95); opacity: 0.7; }
}

.play-hero-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-hero-title span {
  color: var(--accent-orange);
  text-shadow: 0 0 20px var(--accent-orange-glow);
}

.play-hero-desc {
  max-width: 840px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.play-hero-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.play-hero-fine {
  margin: 22px 0 0;
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.play-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.play-head p {
  margin-top: 8px;
}

/* Games */
.play-games {
  padding: 80px 0;
  background: #080b0f;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.slot-card {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #10161e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, -webkit-transform 0.25s ease;
}

.slot-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.slot-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  background: #0d121a;
}

.slot-card-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.slot-card-free {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.slot-card-body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 20px;
}

.slot-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}

.slot-card-body p {
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.slot-card-body .slot-card-meta {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--accent-amber);
  margin-bottom: 10px;
}

.slot-card-tags {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 18px;
}

.slot-card-tags li {
  padding: 2px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.slot-card-play {
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.85rem;
}

/* Why */
.play-why {
  padding: 80px 0;
  background: #0a0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.play-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Reviews */
.play-reviews {
  padding: 80px 0;
  background: #080b0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  --per: 3;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  transition: -webkit-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.review-card {
  -webkit-flex: 0 0 calc((100% - 24px * (var(--per) - 1)) / var(--per));
      -ms-flex: 0 0 calc((100% - 24px * (var(--per) - 1)) / var(--per));
          flex: 0 0 calc((100% - 24px * (var(--per) - 1)) / var(--per));
  min-width: 0;
  background: #10161e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.review-head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 48px;
  height: 48px;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid var(--accent-orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-orange);
}

.review-who {
  margin: 0;
  line-height: 1.3;
}

.review-who strong {
  display: block;
  color: var(--text-main);
  font-family: var(--font-subheading);
  font-size: 1.1rem;
}

.review-who span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.review-stars {
  display: inline-block;
  color: var(--accent-amber);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  margin: 0;
  font-size: 0.95rem;
}

.reviews-nav {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.reviews-dots {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.reviews-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s ease, width 0.25s ease;
}

.reviews-dots button[aria-current="true"] {
  width: 26px;
  border-radius: 5px;
  background: var(--accent-orange);
}

.reviews-btns {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    transition: none;
  }
}

/* Inline demo */
.play-demo {
  padding: 80px 0;
  background: #0a0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.play-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.play-demo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.play-demo-stage img,
.play-demo-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.play-demo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background: rgba(5, 7, 10, 0.72);
  transition: opacity 0.4s ease;
}

.play-demo-overlay p {
  margin: 0;
  font-family: var(--font-subheading);
  font-weight: 600;
  color: var(--text-main);
}

.play-demo-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 107, 0, 0.25);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  -webkit-animation: play-demo-spin 0.9s linear infinite;
          animation: play-demo-spin 0.9s linear infinite;
}

@-webkit-keyframes play-demo-spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes play-demo-spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.play-demo-stage.is-loaded .play-demo-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-demo-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--text-muted);
}

.play-demo-list li + li {
  margin-top: 8px;
}

.play-demo-aside .btn {
  font-size: 0.85rem;
  padding: 12px 22px;
}

@media (prefers-reduced-motion: reduce) {
  .play-demo-spinner {
    -webkit-animation: none;
            animation: none;
  }
}

/* Responsible play */
.play-rg {
  padding: 80px 0;
  background: #080b0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.play-rg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  -webkit-align-items: start;
      -ms-flex-align: start;
          align-items: start;
}

.play-rg-copy .btn {
  margin-top: 8px;
  font-size: 0.85rem;
  padding: 12px 22px;
}

.play-rg-card {
  background: #10161e;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-orange);
  border-radius: 12px;
  padding: 28px;
}

.play-rg-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.play-rg-card ul {
  list-style: none;
}

.play-rg-card li + li {
  margin-top: 10px;
}

.play-rg-card a {
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.play-rg-card a:hover {
  color: var(--accent-orange);
}

/* Disclaimer */
.disclaimer-section {
  padding: 36px 0;
  background: #040608;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.disclaimer-title {
  font-size: 0.95rem;
  color: var(--accent-amber);
  margin-bottom: 10px;
}

.disclaimer-section p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

/* Game modal */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 10, 0.92);
}

.game-modal-box {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: min(1100px, 100%);
  height: min(720px, 100%);
  background: #0f151f;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.game-modal-head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
}

.game-modal-title {
  font-size: 1rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-modal-acts {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-negative: 0;
          -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.game-modal-btn {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(22, 28, 38, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.game-modal-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.game-modal-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.game-modal-stage {
  position: relative;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: #000;
}

.game-modal-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-modal-foot {
  margin: 0;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1220px) {
  .reviews-track {
    --per: 2;
  }

  .slot-grid,
  .play-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-rg-grid,
  .play-demo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .reviews-track {
    --per: 1;
  }

  .play-hero {
    padding: 110px 0 40px;
  }

  .play-hero-title {
    font-size: 2rem;
  }

  .play-hero-desc {
    font-size: 1rem;
  }

  .play-games,
  .play-why,
  .play-reviews,
  .play-demo,
  .play-rg {
    padding: 56px 0;
  }

  h2.section-title {
    font-size: 1.6rem;
  }

  .play-demo-stage {
    aspect-ratio: 3 / 4;
  }

  .game-modal {
    padding: 0;
  }

  .game-modal-box {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
}

@media (max-width: 600px) {
  .slot-grid,
  .play-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .play-hero-title {
    font-size: 1.6rem;
  }

  .play-rg-card {
    padding: 20px;
  }
}
