/* ==========================================================================
   VTA6 GTA 6 CHEAT CODES STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cheats Hero Section
   -------------------------------------------------------------------------- */
.cheats-hero {
  position: relative;
  padding: var(--space-10) 0 var(--space-8);
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 85, 0, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(255, 184, 0, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, rgba(20, 28, 38, 0.7) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.cheats-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.cheats-hero-inner {
  position: relative;
  z-index: 1;
}

.cheats-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
}

.cheats-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.cheats-hero-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.cheats-hero-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cheats-hero-banner img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

/* Trophy Warning Callout */
.trophy-warning-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: rgba(224, 93, 93, 0.1);
  border: 1px solid rgba(224, 93, 93, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.trophy-warning-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.trophy-warning-text {
  font-size: 13px;
  color: #ff9999;
  line-height: 1.5;
  margin-bottom: 0;
}

.trophy-warning-text strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Platform Switcher Tabs
   -------------------------------------------------------------------------- */
.platform-switcher-bar {
  display: flex;
  gap: var(--space-2);
  background: rgba(16, 24, 32, 0.9);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.platform-tab-btn {
  flex: 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.platform-tab-btn:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

.platform-tab-btn.active {
  background: var(--gradient-fire);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.4);
  border-color: rgba(255, 184, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Interactive Cheats Toolbar (Category Filter & Search)
   -------------------------------------------------------------------------- */
.cheats-toolbar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cheats-search-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.cheats-search-wrap {
  position: relative;
  flex: 1;
}

.cheats-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.cheats-search-input {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px 10px 42px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.2s ease;
}

.cheats-search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.2);
}

.cheats-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cheat-cat-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cheat-cat-pill:hover {
  background-color: var(--color-border);
  color: var(--color-text);
}

.cheat-cat-pill.active {
  background: var(--gradient-fire);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Cheats List & Card Items
   -------------------------------------------------------------------------- */
.cheats-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.cheat-row-card {
  background: linear-gradient(180deg, rgba(21, 31, 40, 0.9) 0%, rgba(16, 24, 32, 0.95) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: var(--space-5);
  align-items: center;
  transition: all 0.2s ease;
}

.cheat-row-card:hover {
  border-color: rgba(255, 85, 0, 0.45);
  background: linear-gradient(180deg, rgba(27, 39, 49, 0.95) 0%, rgba(20, 29, 39, 0.98) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 85, 0, 0.12);
}

.cheat-info {
  display: flex;
  flex-direction: column;
}

.cheat-name-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 4px;
}

.cheat-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
}

.cheat-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Key Caps & Button Glyphs */
.cheat-code-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.key-cap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #0b1117;
  border: 1px solid #364756;
  border-bottom: 3px solid #23313d;
  border-radius: 6px;
  font-family: var(--font-heading), monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* PlayStation Button Symbols */
.btn-ps-triangle { color: #2ecc71; border-color: rgba(46, 204, 113, 0.4); }
.btn-ps-circle   { color: #e74c3c; border-color: rgba(231, 76, 60, 0.4); }
.btn-ps-cross    { color: #3498db; border-color: rgba(52, 152, 219, 0.4); }
.btn-ps-square   { color: #e91e63; border-color: rgba(233, 30, 99, 0.4); }

/* Xbox Button Symbols */
.btn-xb-y { color: #f1c40f; border-color: rgba(241, 196, 15, 0.4); }
.btn-xb-b { color: #e74c3c; border-color: rgba(231, 76, 60, 0.4); }
.btn-xb-a { color: #2ecc71; border-color: rgba(46, 204, 113, 0.4); }
.btn-xb-x { color: #3498db; border-color: rgba(52, 152, 219, 0.4); }

/* Phone Number Badge */
.phone-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.35);
  color: #FFB800;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pc-cmd-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  color: #FF7700;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Copy Action Button */
.cheat-copy-btn {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cheat-copy-btn:hover {
  background: var(--color-border);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.cheat-copy-btn.copied {
  background: rgba(104, 185, 132, 0.2);
  color: var(--color-success);
  border-color: var(--color-success);
}

/* --------------------------------------------------------------------------
   Cheat Instructions & FAQ Section
   -------------------------------------------------------------------------- */
.cheats-guide-section {
  margin: var(--space-10) 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.cheats-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.guide-step-box {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-3);
}

.guide-step-box h3 {
  font-size: 17px;
  margin-bottom: var(--space-2);
}

.guide-step-box p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Toast Notification */
.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #101820;
  border: 1px solid var(--color-success);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.copy-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .cheats-hero-grid {
    grid-template-columns: 1fr;
  }
  .cheat-row-card {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .cheat-copy-btn {
    align-self: flex-start;
  }
}
