/* ===================================
   🎰 Super Stepper Slot - Flame & Classic Slot Machine Theme
   =================================== */

/* ===== 1. FLAME & SLOT MACHINE COLOR SYSTEM ===== */
:root {
  /* Deep Backgrounds (purple-blue gradient) */
  --bg-dark: #1E1B4B;              /* deep indigo/black */
  --bg-panel: #312E81;             /* medium indigo panel */
  --bg-panel-hover: #3730A3;       /* lighter indigo hover */

  /* Flame/Red Gradient (classic slot machine fire) */
  --flame-red: #DC2626;            /* primary flame red */
  --flame-orange: #EF4444;         /* bright orange-red */
  --flame-yellow: #F97316;         /* golden yellow fire */
  --flame-gradient: linear-gradient(135deg, #DC2626, #EF4444, #F97316);
  --flame-glow: rgba(220, 38, 38, 0.3);

  /* Metallic Silver (slot machine metal) */
  --silver-dark: #6B7280;          /* dark metallic */
  --silver-light: #D1D5DB;         /* light silver */
  --silver-gradient: linear-gradient(135deg, #9CA3AF, #D1D5DB, #F3F4F6);

  /* Premium Gold (jackpot/winning) */
  --gold-soft: #FCD34D;            /* soft gold */
  --gold-bright: #FBBF24;          /* bright gold */
  --gold-gradient: linear-gradient(135deg, #FCD34D, #FBBF24, #F59E0B);

  /* Neon Effects (classic slot lights) */
  --neon-glow: rgba(220, 38, 38, 0.25); /* flame neon glow */

  /* Text Colors */
  --text-primary: #F3F4F6;         /* off-white */
  --text-secondary: #D1D5DB;       /* silver grey */
  --text-white: #FFFFFF;           /* pure white */
  --text-dark: #1F2937;            /* dark text on gold buttons */

  /* Button Colors */
  --btn-primary: #DC2626;          /* flame red button */
  --btn-alternate: #9CA3AF;        /* silver alternate button */
}

/* ===== 2. BASE LAYOUT (Flame Slot Machine Style) ===== */
body {
  margin: 0;
  background: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== Flame Gradient Headings ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.title-gradient {
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Text System */
.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-white {
  color: var(--text-white);
}

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.small-text, .caption, .disclaimer {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.layout {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ===== 3. SIDEBAR (Classic Slot Machine Style) ===== */
.sidebar {
  width: 230px;
  background: var(--bg-panel);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
  padding: 18px;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: var(--flame-gradient);
  opacity: 0.5;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 35px;
  height: 30px;
  background: var(--flame-gradient);
  border: 2px solid var(--gold-bright);
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold-bright);
  margin: 2px auto;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle span:first-child {
  margin-top: 0;
}

.mobile-menu-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-panel);
  z-index: 1000;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.btn-menu {
  background: var(--flame-gradient) !important;
  color: var(--text-white) !important;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  border-radius: 8px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
  border: 2px solid var(--gold-bright);
}

.btn-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.logo {
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: block;
  padding: 12px;
  margin-bottom: 6px;
  background: var(--bg-panel);
  border-radius: 6px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.menu-item:hover,
.menu-item.active {
  background: var(--bg-panel-hover);
  color: var(--gold-bright);
  border-color: var(--flame-red);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

/* ===== 4. MAIN CONTENT ===== */
.main {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-dark);
  padding: 20px;
  box-sizing: border-box;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: var(--bg-panel);
  border-radius: 10px;
  border: 1px solid var(--flame-red);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* ===== Promo Banner ===== */
.promo-banner {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
}

.promo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 600px;
}

.promo-small {
  font-size: 1.1rem;
  color: var(--gold-bright);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.promo-main {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.promo-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 40px;
  background: var(--flame-gradient);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
  transition: all 0.3s ease;
}

.promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.7);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  margin-bottom: 20px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  color: var(--text-secondary);
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin: 0 10px;
  color: var(--flame-orange);
}

.breadcrumb-item a {
  color: var(--flame-orange);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--gold-bright);
}

.breadcrumb-item.active {
  color: var(--text-primary);
}

/* ===== CTR Banner ===== */
.ctr-banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-panel);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  border: 2px solid var(--flame-red);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
}

.ctr-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.ctr-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.ctr-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.ctr-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ctr-small-text {
  font-size: 0.85rem;
  color: var(--flame-orange);
  font-weight: 600;
  text-transform: uppercase;
}

.ctr-big-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.ctr-medium-text {
  font-size: 1rem;
  color: var(--text-primary);
}

.ctr-disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ctr-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
}

.ctr-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  font-size: 1.2rem;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.ctr-time-text {
  font-size: 0.9rem;
  color: var(--flame-orange);
  font-weight: 600;
}

.ctr-green-btn {
  padding: 12px 30px;
  background: var(--flame-gradient);
  color: var(--text-white);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: all 0.3s ease;
  text-align: center;
}

.ctr-green-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

/* ===== Games Grid ===== */
.games {
  margin-bottom: 30px;
}

.block-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--flame-red);
  display: inline-block;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--bg-panel);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  border-color: var(--flame-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-title {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text-white);
  background: var(--bg-panel-hover);
}

/* ===== SEO Content ===== */
.seo-content {
  background: var(--bg-panel);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid var(--flame-red);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
}

.content-wrapper h2 {
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--flame-orange);
}

.content-wrapper h3 {
  font-size: 1.4rem;
  color: var(--flame-orange);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.content-wrapper ul {
  list-style: none;
  padding-left: 0;
}

.content-wrapper ul li {
  padding: 8px 0 8px 25px;
  position: relative;
}

.content-wrapper ul li::before {
  content: '🔥';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 0.9rem;
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-panel-hover);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: var(--flame-gradient);
}

thead th {
  padding: 15px;
  text-align: left;
  font-weight: 700;
  color: var(--text-white);
}

tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--bg-panel-hover);
}

tbody tr:hover {
  background: rgba(220, 38, 38, 0.1);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-panel);
  border-top: 3px solid var(--flame-red);
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: var(--flame-orange);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--bg-panel-hover);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .game-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main {
    padding: 15px;
  }

  .game-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .ctr-banner {
    flex-direction: column;
    gap: 15px;
  }

  .ctr-left {
    flex-direction: column;
    text-align: center;
  }

  .promo-main {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .game-list {
    grid-template-columns: 1fr;
  }

  .promo-main {
    font-size: 1.5rem;
  }

  .site-title {
    font-size: 1.2rem;
  }
}
