/* ==========================================================================
   YONO07.VIP - Full Stylesheet with Strict Mobile Horizontal Overflow Fixes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg-dark: #090a14;
  --bg-header: #0e101f;
  --bg-card: #131528;
  --bg-card-hover: #1b1e38;
  --border-color: #242747;
  --border-active: #ffab00;
  
  --primary-gold: #ffd700;
  --gold-gradient: linear-gradient(135deg, #ffd700, #ff8c00);
  --cyan-neon: #00e5ff;
  --btn-gradient: linear-gradient(135deg, #00e676, #00e5ff);
  --btn-hover: linear-gradient(135deg, #00e5ff, #00e676);
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  --radius-custom: 5px;
}

/* Reset & Base Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  box-shadow: none !important; /* STRICT REQUIREMENT: NO BOX SHADOWS */
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

img, iframe, video, object, embed, table {
  max-width: 100% !important;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  color: #ffffff;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 { font-weight: 800; font-size: 38px; }
h2 { font-weight: 800; font-size: 26px; }
h3 { font-weight: 800; font-size: 20px; }

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

main.container {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* Header Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  width: 100%;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* EXACT MATCH TO USER SCREENSHOT: GRADIENT TEXT + VIP BADGE */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-brand-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffd700 0%, #fff3a1 40%, #76f6db 75%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  line-height: 1;
}

.logo-vip-badge {
  background: linear-gradient(135deg, #ff9d00, #ff1a53);
  color: #000000;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: var(--radius-custom);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.nav-links a i {
  color: var(--primary-gold);
  font-size: 16px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.telegram-btn {
  background: #0088cc;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-custom);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.telegram-btn:hover {
  background: #0077b3;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: #131528;
  border: 1px solid var(--border-color);
  color: var(--primary-gold);
  font-size: 18px;
  padding: 8px 12px;
  border-radius: var(--radius-custom);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 32px 0 20px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 6px 16px;
  border-radius: var(--radius-custom);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--primary-gold);
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.referral-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #000000;
  font-weight: 800;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: var(--radius-custom);
  transition: transform 0.25s ease;
  margin-bottom: 24px;
}

.referral-banner-btn:hover {
  transform: scale(1.03);
}

/* Horizontal Scrollable Category Carousel Bar */
.search-filter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-input-wrap input {
  width: 100%;
  background: #090a14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 12px 16px 12px 42px;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-wrap input:focus {
  border-color: var(--primary-gold);
}

.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: #090a14;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  padding: 9px 18px;
  border-radius: var(--radius-custom);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gold);
  color: #000000;
  border-color: var(--primary-gold);
  font-weight: 800;
}

/* Section Header Typography & Badge Fixes */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  line-height: 1.3;
}

.section-title i {
  color: var(--primary-gold);
}

.live-count-badge {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-custom);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

/* Game Card Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  margin-bottom: 44px;
  width: 100%;
}

.screenshot-game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 13px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
  width: 100%;
}

.screenshot-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-neon);
  background: var(--bg-card-hover);
}

.card-corner-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--primary-gold);
  color: #000000;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-custom);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-icon-container {
  margin: 8px 0 12px;
  position: relative;
  display: inline-block;
}

.card-icon-img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--cyan-neon);
  display: block;
}

.card-game-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-bonus-line {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-bonus-amount {
  color: var(--primary-gold);
  font-weight: 800;
}

.card-download-btn {
  width: 100%;
  background: var(--btn-gradient);
  color: #021a0d;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 10px;
  border-radius: var(--radius-custom);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.card-download-btn:hover {
  background: var(--btn-hover);
  transform: scale(1.02);
}

/* Blog Ranked List */
.blog-ranked-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
  width: 100%;
}

.blog-ranked-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
  width: 100%;
}

.blog-ranked-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.blog-rank-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-gold);
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
}

.blog-ranked-content {
  flex: 1;
  min-width: 0;
}

.blog-ranked-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 6px;
}

.continue-reading-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.blog-ranked-card:hover .continue-reading-text {
  transform: translateX(4px);
}

/* STYLISH SEO TEXT BLOCK (HOMEPAGE BOTTOM BLOCK) */
.seo-text-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 28px;
  margin-bottom: 44px;
  width: 100%;
}

.seo-text-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-gold);
  margin: 24px 0 12px;
  border-left: 4px solid var(--primary-gold);
  padding-left: 12px;
  line-height: 1.3;
}

.seo-text-section h2:first-child {
  margin-top: 0;
}

.seo-text-section p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.seo-text-section p strong {
  color: #ffffff;
}

.seo-text-section ul {
  background: #090a14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  padding: 18px 20px 18px 38px;
  margin-top: 14px;
  list-style-type: disc;
}

.seo-text-section ul li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.seo-text-section ul li:last-child {
  margin-bottom: 0;
}

.seo-text-section ul li strong {
  color: #ffffff;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 44px;
  width: 100%;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  width: 100%;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-custom);
  overflow: hidden;
  width: 100%;
}

.faq-item.active {
  border-color: var(--primary-gold);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question i {
  color: var(--primary-gold);
  transition: transform 0.3s ease;
  font-size: 16px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* Footer */
.footer {
  background: #05060d;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  width: 100%;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-about-col h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 14px;
}

.footer-about-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-trust-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-chip {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-custom);
}

.footer-links-wrap {
  display: contents;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list li a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-list li a:hover {
  color: var(--primary-gold);
}

.footer-buttons-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.footer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-custom);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.footer-telegram-btn {
  background: #0088cc;
  color: #ffffff;
}

.footer-telegram-btn:hover {
  background: #0077b3;
  transform: translateY(-2px);
}

.footer-support-btn {
  background: var(--gold-gradient);
  color: #000000;
}

.footer-support-btn:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   📱 STRICT MOBILE OVERRIDES & OVERFLOW PREVENTION (ZERO OVERFLOW)
   ========================================================================== */
@media (max-width: 768px) {
  html, body { 
    font-size: 15px; 
    overflow-x: hidden !important; 
    max-width: 100vw !important; 
    width: 100% !important;
  }

  .container { 
    padding: 0 10px !important; 
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  main.container {
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }

  .header { padding: 10px 0; }
  
  .logo-brand-text {
    font-size: 18px;
  }

  .logo-vip-badge {
    font-size: 11px;
    padding: 3px 6px;
  }

  .header-actions {
    gap: 6px;
  }

  .telegram-btn {
    font-size: 13px;
    padding: 6px 10px;
    gap: 4px;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 6px 10px;
  }

  .hero-title { font-size: 24px; line-height: 1.3; }

  .hero-subtitle { font-size: 14px; }

  .referral-banner-btn {
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
    justify-content: center;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* ARTICLE & POST MOBILE RESPONSIVE FIXES (STRICT 10PX LEFT & RIGHT PADDING) */
  .seo-article-content,
  .single-post-view,
  .seo-text-section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 14px !important;
    padding-bottom: 24px !important;
    overflow-x: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .seo-text-section ul {
    padding: 12px 14px 12px 26px !important;
  }

  .seo-article-content h1,
  .single-post-view h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }

  .seo-article-content h2,
  .single-post-view h2,
  .seo-text-section h2 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .seo-article-content p,
  .seo-article-content li,
  .single-post-view p,
  .single-post-view li {
    font-size: 18px !important;
    line-height: 1.7 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .seo-text-section p,
  .seo-text-section li {
    font-size: 16px !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .seo-article-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d101f;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 14px;
    gap: 10px;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    font-size: 16px;
    padding: 10px 14px;
    background: #131528;
    border-radius: var(--radius-custom);
    border: 1px solid var(--border-color);
    width: 100%;
  }

  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 17px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .live-count-badge {
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 20px !important;
  }

  .card-game-title { font-size: 15px; }

  .card-bonus-line { font-size: 13px; }

  .card-download-btn {
    font-size: 14px;
    padding: 6px 4px;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .footer-main-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .footer-links-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-list li a { font-size: 15px; }

  .footer-buttons-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .footer-action-btn {
    font-size: 13px;
    padding: 11px 4px;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .blog-ranked-list {
    grid-template-columns: 1fr;
  }
}
