/* design-0de6.css — online games basefiles stylesheet (prefix: s0de-) */

:root {
  --s0de-bg: #2D2D2D;
  --s0de-bg-soft: #1f1f1f;
  --s0de-bg-card: #3a3a3a;
  --s0de-gold: #CD853F;
  --s0de-gold-deep: #A0522D;
  --s0de-gold-light: #DEB887;
  --s0de-cream: #FFF176;
  --s0de-white: #FFFFFF;
  --s0de-radius: 14px;
  --s0de-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--s0de-bg);
  color: var(--s0de-white);
  line-height: 1.5;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.s0de-wrap { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }

/* ===== Header ===== */
.s0de-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2D2D2D 0%, #3a2a1d 100%);
  border-bottom: 2px solid var(--s0de-gold);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s0de-logo { display: flex; align-items: center; gap: 0.6rem; }
.s0de-logo img { width: 36px; height: 36px; border-radius: 8px; }
.s0de-logo strong { color: var(--s0de-cream); font-size: 1.7rem; letter-spacing: 0.4px; }

.s0de-head-btns { display: flex; align-items: center; gap: 0.6rem; }
.s0de-btn {
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.s0de-btn-login {
  background: transparent;
  color: var(--s0de-white);
  border: 1.5px solid var(--s0de-gold);
}
.s0de-btn-register {
  background: linear-gradient(135deg, var(--s0de-gold) 0%, var(--s0de-gold-deep) 100%);
  color: #1f1206;
  box-shadow: 0 3px 10px rgba(205, 133, 63, 0.4);
}
.s0de-btn:hover { transform: translateY(-1px); }

.s0de-menu-toggle {
  background: transparent;
  border: none;
  color: var(--s0de-cream);
  font-size: 2.2rem;
  cursor: pointer;
  margin-right: 0.4rem;
}

/* ===== Mobile Slide Menu ===== */
.s0de-side-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--s0de-bg-soft);
  z-index: 9999;
  padding: 2.2rem 1.6rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--s0de-gold-deep);
}
.s0de-side-menu.open { right: 0; }
.s0de-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
}
.s0de-overlay.open { opacity: 1; visibility: visible; }
.s0de-side-menu h3 { color: var(--s0de-cream); font-size: 1.6rem; margin: 1.4rem 0 0.8rem; border-bottom: 1px solid #444; padding-bottom: 0.5rem; }
.s0de-side-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-radius: 8px;
  color: var(--s0de-white);
  font-size: 1.4rem;
  border-bottom: 1px dashed #3a3a3a;
}
.s0de-side-menu a:hover { background: #333; color: var(--s0de-cream); }
.s0de-menu-close { background: transparent; border: none; color: var(--s0de-cream); font-size: 2.4rem; float: right; cursor: pointer; }

/* ===== Hero ===== */
.s0de-hero {
  background: radial-gradient(circle at 30% 20%, #4a3320 0%, var(--s0de-bg) 70%);
  padding: 2rem 1.4rem 2.4rem;
  text-align: center;
  border-bottom: 1px solid #3a3a3a;
}
.s0de-hero h1 { font-size: 2.4rem; color: var(--s0de-cream); margin-bottom: 0.6rem; line-height: 1.25; }
.s0de-hero p { color: #e8e8e8; font-size: 1.4rem; margin-bottom: 1.4rem; }
.s0de-hero .s0de-btn { font-size: 1.5rem; padding: 0.9rem 2.2rem; }

/* ===== Sections ===== */
.s0de-section { padding: 2rem 1.2rem; }
.s0de-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.s0de-section-head h2 {
  font-size: 1.8rem;
  color: var(--s0de-cream);
  border-left: 4px solid var(--s0de-gold);
  padding-left: 0.8rem;
}
.s0de-section-head a { font-size: 1.3rem; color: var(--s0de-gold-light); }

/* ===== Category Pills ===== */
.s0de-cats { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 1.2rem 1rem; scrollbar-width: none; }
.s0de-cats::-webkit-scrollbar { display: none; }
.s0de-cat {
  flex: 0 0 auto;
  padding: 0.6rem 1.3rem;
  border-radius: 20px;
  background: #3a3a3a;
  color: var(--s0de-white);
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}
.s0de-cat.active { background: var(--s0de-gold); color: #1f1206; }

/* ===== Game Grid ===== */
.s0de-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.s0de-game-card {
  background: var(--s0de-bg-card);
  border-radius: var(--s0de-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--s0de-shadow);
  position: relative;
}
.s0de-game-card:hover { transform: translateY(-3px); }
.s0de-game-card .s0de-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.s0de-game-card .s0de-game-name {
  padding: 0.55rem 0.5rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--s0de-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s0de-game-card .s0de-play-tag {
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(160, 82, 45, 0.9);
  color: #fff;
  font-size: 1rem;
  padding: 0.18rem 0.55rem;
  border-radius: 10px;
}

/* ===== Promo Banner ===== */
.s0de-promo {
  margin: 1.5rem 1.2rem;
  padding: 1.6rem;
  border-radius: var(--s0de-radius);
  background: linear-gradient(135deg, var(--s0de-gold-deep) 0%, #5a3a20 100%);
  text-align: center;
  box-shadow: var(--s0de-shadow);
}
.s0de-promo h3 { color: var(--s0de-cream); font-size: 1.7rem; margin-bottom: 0.5rem; }
.s0de-promo p { color: #f3e9d8; font-size: 1.3rem; margin-bottom: 1.1rem; }

/* ===== Features ===== */
.s0de-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 1.2rem 1.5rem; }
.s0de-feature {
  background: var(--s0de-bg-card);
  padding: 1.4rem 1rem;
  border-radius: var(--s0de-radius);
  text-align: center;
}
.s0de-feature .s0de-ico { font-size: 2.6rem; color: var(--s0de-gold); margin-bottom: 0.5rem; }
.s0de-feature h4 { color: var(--s0de-cream); font-size: 1.35rem; margin-bottom: 0.3rem; }
.s0de-feature p { color: #d6d6d6; font-size: 1.15rem; }

/* ===== Inline link in text ===== */
.s0de-text-link {
  color: var(--s0de-cream);
  font-weight: 700;
  border-bottom: 1px dashed var(--s0de-gold-light);
  cursor: pointer;
}

/* ===== Footer ===== */
.s0de-footer {
  background: var(--s0de-bg-soft);
  padding: 2.2rem 1.4rem 2rem;
  border-top: 2px solid var(--s0de-gold-deep);
  font-size: 1.25rem;
  color: #b8b8b8;
}
.s0de-footer h3 { color: var(--s0de-cream); font-size: 1.45rem; margin-bottom: 0.7rem; }
.s0de-footer a { color: #c8c8c8; display: inline-block; margin: 0.3rem 0.9rem 0.3rem 0; }
.s0de-footer a:hover { color: var(--s0de-cream); }
.s0de-footer .s0de-foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 1.4rem; }
.s0de-footer .s0de-disclaimer { border-top: 1px solid #3a3a3a; padding-top: 1rem; line-height: 1.5; font-size: 1.15rem; color: #8c8c8c; }
.s0de-footer .s0de-copyright { text-align: center; margin-top: 1rem; color: #777; }

/* ===== Mobile Bottom Nav ===== */
.s0de-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #2D2D2D 0%, #1f1f1f 100%);
  border-top: 2px solid var(--s0de-gold);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.s0de-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: #c8c8c8;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.s0de-nav-item .s0de-nav-ico { font-size: 2.2rem; line-height: 1; margin-bottom: 3px; }
.s0de-nav-item .s0de-nav-label { font-size: 1.05rem; font-weight: 600; }
.s0de-nav-item.active { color: var(--s0de-cream); }
.s0de-nav-item:active { transform: scale(0.92); }
.s0de-nav-item.s0de-nav-cta {
  background: linear-gradient(135deg, var(--s0de-gold) 0%, var(--s0de-gold-deep) 100%);
  color: #1f1206;
  border-radius: 30px 30px 0 0;
}

/* ===== Help and content pages ===== */
.s0de-page-hero {
  background: radial-gradient(circle at 20% 10%, #5a3a20 0%, var(--s0de-bg) 68%);
  padding: 2.2rem 1.4rem 1.8rem;
  text-align: left;
  border-bottom: 1px solid #3a3a3a;
}
.s0de-page-hero h1 { color: var(--s0de-cream); font-size: 2.25rem; line-height: 1.25; margin-bottom: 0.7rem; }
.s0de-page-hero p { color: #e8e8e8; font-size: 1.38rem; margin-bottom: 1.1rem; }
.s0de-breadcrumb { font-size: 1.18rem; color: #b8b8b8; margin-bottom: 0.9rem; }
.s0de-article-card {
  background: var(--s0de-bg-card);
  border-radius: var(--s0de-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--s0de-shadow);
}
.s0de-article-card h2 { color: var(--s0de-cream); font-size: 1.75rem; margin-bottom: 0.8rem; }
.s0de-article-card h3 { color: var(--s0de-gold-light); font-size: 1.45rem; margin: 1rem 0 0.45rem; }
.s0de-article-card p, .s0de-article-card li { color: #e4e4e4; font-size: 1.32rem; line-height: 1.58; }
.s0de-article-card ul, .s0de-article-card ol { padding-left: 1.8rem; margin-top: 0.7rem; }
.s0de-step-list { display: grid; gap: 0.9rem; }
.s0de-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #303030;
  border: 1px solid #454545;
  border-radius: 12px;
  padding: 1rem;
}
.s0de-step b {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: #1f1206; background: var(--s0de-gold);
}
.s0de-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.s0de-mini-tile { background: #303030; border-radius: 12px; padding: 1rem; border: 1px solid #454545; }
.s0de-mini-tile strong { display: block; color: var(--s0de-cream); margin-bottom: 0.35rem; }
.s0de-faq-item { border-bottom: 1px dashed #555; padding: 1rem 0; }
.s0de-faq-item:last-child { border-bottom: none; }
.s0de-faq-item h3 { margin-top: 0; }
.s0de-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .s0de-bottom-nav { display: none; }
  .s0de-wrap { max-width: 960px; }
  .s0de-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s0de-features { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 0 !important; }
}

/* ===== Mobile spacing for bottom nav clearance ===== */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
