/* Rummy Ares - Official Theme with Original Hero Graphic */
:root {
  --bg-dark: #001412;
  --bg-card: #082117;
  --border-card: #154232;
  --text-main: #f1f5f9;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --gold: #f5b301;
  --gold-glow: rgba(245, 179, 1, 0.4);
  --green-btn: #10b981;
  --red-alert: #ef4444;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-stack);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-dark);
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Page Wrapper */
.page-container,
.page {
  width: 100%;
  max-width: 750px;
  margin: 0 auto !important;
  position: relative;
  background: var(--bg-dark);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
}

/* Original Hero Image Link */
.hero-wrapper,
.hero-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.hero-image-link {
  display: block;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.hero-image-link picture,
.hero-image-link img,
.hero-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* Floating Telegram Support Button */
.telegram-float,
.telegram-link {
  position: fixed;
  top: 110px;
  right: calc(50% - 360px);
  z-index: 90;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.telegram-float:hover {
  transform: scale(1.08);
}

.telegram-float img,
.telegram-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .telegram-float,
  .telegram-link {
    top: 65px;
    right: 12px;
    width: 60px;
    height: 60px;
  }
}

/* Human Content Section Below the Hero Image */
.content-wrapper {
  padding: 1.5rem 1.25rem 3rem;
}

.content-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.main-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Big Mid-Page Download Button */
.mid-download-box {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.btn-big-download {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700 0%, #f5b301 60%, #e09f00 100%);
  color: #000000;
  width: 100%;
  max-width: 380px;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px var(--gold-glow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-big-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 179, 1, 0.6);
  text-decoration: none;
  color: #000000;
}

.btn-big-download .subtext {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2b1f02;
  margin-top: 0.2rem;
}

/* Content Cards */
.card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-card);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.65rem 0.4rem;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 42%;
  font-weight: 600;
}

.specs-table td:last-child {
  color: #ffffff;
  font-weight: 700;
}

/* Game List - Clean Editorial Layout */
.game-clean-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.game-row {
  padding: 0.9rem 1.1rem;
  background: rgba(0, 20, 18, 0.45);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}

.game-row-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.game-row-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

/* Steps - Clean Human Numbered List */
.steps-clean {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.step-clean-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.step-clean-num {
  background: rgba(245, 179, 1, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.35);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-clean-body {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.step-clean-body strong {
  color: #ffffff;
}

/* FAQ Accordion - Clean Native CSS Chevron */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.faq-details {
  background: rgba(0, 20, 18, 0.45);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
}

.faq-details summary {
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.faq-details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 1.1rem 1rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 18+ Disclaimer Box */
.alert-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #fca5a5;
  line-height: 1.55;
}

.alert-box strong {
  color: #ffffff;
}

/* Floating Bottom Download Bar on Mobile */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 20, 18, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-card);
  padding: 0.6rem 1rem;
  z-index: 95;
}

.sticky-mobile-bar .btn-mobile-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: linear-gradient(135deg, #ffd700, #f5b301);
  color: #000000;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.75rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Footer Navigation */
.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.76rem;
  color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .main-heading {
    font-size: 1.5rem;
  }
  .intro-text {
    font-size: 0.95rem;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-bar {
    display: block;
  }
  .content-wrapper {
    padding-bottom: 4.5rem;
  }
}

