/*
Theme Name: SHBET Bento India
Theme URI: https://shbett8.vip/
Description: SHBET - Bento grid layout for Indian online casino. Asymmetric CSS Grid, glassmorphism cards, rainbow hover borders.
Version: 2.0
Author: SHBET
Author URI: https://shbett8.vip
License: All rights reserved
Text Domain: shbet-bento
*/

:root {
  --bg-base: #0d1117;
  --bg-card: rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.05);
  --glass-blur: blur(20px);
  --border-card: 1px solid rgba(255,255,255,0.08);
  --border-hover: linear-gradient(135deg, #ff6b6b, #ffd700, #00d4ff, #a855f7, #ff6b6b);
  --accent: #00d4ff;
  --gold: #ffd700;
  --green: #10b981;
  --purple: #a855f7;
  --pink: #ec4899;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius: 20px;
  --radius-sm: 16px;
  --radius-pill: 25px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: var(--bg-base); color: var(--text-primary);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ===== Capsule Header ===== */
.bento-header {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: 95%; max-width: 1200px;
}
.capsule-nav {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13,17,23,0.8); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50px;
  padding: 10px 15px 10px 25px; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.capsule-logo img { height: 36px; width: auto; }
.capsule-links { display: flex; gap: 6px; align-items: center; }
.capsule-link {
  padding: 8px 20px; border-radius: var(--radius-pill);
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: all 0.3s; white-space: nowrap;
}
.capsule-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.capsule-link.active { color: #fff; background: rgba(0,212,255,0.15); }
.capsule-actions { display: flex; gap: 8px; }
.btn-pill {
  padding: 8px 22px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-pill-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-pill-outline:hover { background: var(--accent); color: var(--bg-base); }
.btn-pill-gold { background: var(--gold); color: var(--bg-base); }
.btn-pill-gold:hover { box-shadow: 0 0 20px rgba(255,215,0,0.4); transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 5px; }

/* ===== Bento Grid System ===== */
.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto); gap: 16px; padding: 16px 0;
}
.bento-card {
  background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-card); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s ease; position: relative;
}
.bento-card:hover {
  transform: scale(1.02); z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.bento-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: var(--border-hover); opacity: 0; transition: opacity 0.35s;
  z-index: -1; background-size: 300% 300%;
  animation: rainbowBorder 4s linear infinite;
}
.bento-card:hover::before { opacity: 1; }
@keyframes rainbowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.span-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }

/* ===== Banner Cards ===== */
.bento-banner {
  padding: 40px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(168,85,247,0.1) 100%);
}
.bento-banner h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.bento-banner p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 20px; }
.bento-banner .btn-pill { padding: 12px 30px; font-size: 1rem; }

/* ===== Game Category Cards ===== */
.bento-game {
  padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; cursor: pointer;
}
.bento-game-icon { font-size: 3rem; margin-bottom: 12px; }
.bento-game h3 { font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.bento-game p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.bento-game-1 { background: linear-gradient(135deg, rgba(255,107,107,0.15) 0%, rgba(255,107,107,0.05) 100%); }
.bento-game-2 { background: linear-gradient(135deg, rgba(0,212,255,0.15) 0%, rgba(0,212,255,0.05) 100%); }
.bento-game-3 { background: linear-gradient(135deg, rgba(168,85,247,0.15) 0%, rgba(168,85,247,0.05) 100%); }
.bento-game-4 { background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.05) 100%); }
.bento-game-5 { background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(16,185,129,0.05) 100%); }
.bento-game-6 { background: linear-gradient(135deg, rgba(236,72,153,0.15) 0%, rgba(236,72,153,0.05) 100%); }
.bento-game-7 { background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(99,102,241,0.05) 100%); }

/* ===== Info Cards ===== */
.bento-info { padding: 25px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-info-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.bento-info-value { font-size: 1.8rem; font-weight: 700; color: #fff; }
.bento-info-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; }
.online-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 6px; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== News Cards ===== */
.bento-news { padding: 25px; }
.bento-news-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bento-news-header h3 { font-size: 1.2rem; color: #fff; margin: 0; }
.bento-news-header a { font-size: 0.85rem; color: var(--accent); }
.bento-news-item { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.bento-news-item:last-child { border-bottom: none; }
.bento-news-item h4 { font-size: 1rem; margin-bottom: 5px; }
.bento-news-item h4 a { color: #fff; }
.bento-news-item h4 a:hover { color: var(--accent); }
.bento-news-item .date { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Winner Card ===== */
.bento-winner { padding: 25px; }
.bento-winner h3 { font-size: 1.1rem; color: #fff; margin-bottom: 15px; }
.winner-item-bento { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.winner-avatar-sm { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #f5a623); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--bg-base); font-size: 0.9rem; flex-shrink: 0; }
.winner-info-sm h4 { font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
.winner-info-sm span { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

/* ===== Features Card ===== */
.bento-features { padding: 25px; }
.bento-features h3 { font-size: 1.1rem; color: #fff; margin-bottom: 15px; }
.feature-item-bento { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.feature-item-bento:last-child { margin-bottom: 0; }
.feature-icon-bento { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.feature-icon-bento.fi-1 { background: rgba(0,212,255,0.15); color: var(--accent); }
.feature-icon-bento.fi-2 { background: rgba(255,215,0,0.15); color: var(--gold); }
.feature-icon-bento.fi-3 { background: rgba(16,185,129,0.15); color: var(--green); }
.feature-icon-bento.fi-4 { background: rgba(168,85,247,0.15); color: var(--purple); }
.feature-text-bento h4 { font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
.feature-text-bento p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ===== Promo Row ===== */
.bento-promo { padding: 25px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.bento-promo-icon { font-size: 2rem; margin-bottom: 10px; }
.bento-promo h4 { font-size: 1rem; color: #fff; margin-bottom: 6px; }
.bento-promo p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.bento-promo .btn-pill { padding: 8px 20px; font-size: 0.8rem; }

/* ===== Page Wrapper ===== */
.page-wrapper-bento { margin-top: 100px; padding: 30px 0; min-height: 70vh; }
.content-layout-bento { display: grid; grid-template-columns: 1fr 350px; gap: 20px; }
.main-content-bento { background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: var(--border-card); border-radius: var(--radius); padding: 35px; }
.article-title-bento { font-size: 2.2rem; color: #fff; margin-bottom: 15px; }
.breadcrumb-bento { padding: 12px 20px; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; border: var(--border-card); }
.breadcrumb-bento a { color: var(--accent); }
.breadcrumb-bento span { color: var(--text-muted); }
.article-meta-bento { display: flex; gap: 20px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text-muted); }
.article-meta-bento i { color: var(--accent); margin-right: 5px; }
.article-content-bento { font-size: 1.1rem; line-height: 1.9; color: var(--text-secondary); }
.article-content-bento h2 { font-size: 1.8rem; color: #fff; margin: 35px 0 15px; border-left: 4px solid var(--accent); padding-left: 15px; }
.article-content-bento p { margin-bottom: 18px; }
.article-content-bento ul, .article-content-bento ol { margin: 18px 0; padding-left: 28px; }
.article-content-bento li { margin-bottom: 8px; list-style: disc; }
.article-content-bento ol li { list-style: decimal; }
.article-content-bento blockquote { border-left: 4px solid var(--gold); padding: 18px 25px; margin: 25px 0; background: rgba(255,255,255,0.02); border-radius: var(--radius-sm); font-style: italic; }
.article-content-bento img { border-radius: var(--radius-sm); margin: 18px 0; }
.article-content-bento table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-content-bento th, .article-content-bento td { padding: 12px; border: 1px solid rgba(255,255,255,0.08); text-align: left; }
.article-content-bento th { background: rgba(255,255,255,0.03); color: var(--gold); font-weight: 600; }
.article-featured-img-bento { margin: 25px 0; border-radius: var(--radius); overflow: hidden; }
.article-featured-img-bento img { width: 100%; height: auto; }
.article-tags-bento { margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); }
.article-tags-bento a { display: inline-block; background: rgba(255,255,255,0.05); color: var(--accent); padding: 6px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; margin: 4px 4px 4px 0; border: 1px solid rgba(255,255,255,0.08); }
.article-tags-bento a:hover { background: var(--accent); color: var(--bg-base); border-color: var(--accent); }
.share-bento { display: flex; align-items: center; gap: 12px; margin-top: 25px; padding: 18px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); }
.share-bento a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); color: #fff; transition: all 0.3s; }
.share-bento a:hover { background: var(--accent); }
.article-cta-bento { margin-top: 35px; padding: 35px; background: rgba(255,255,255,0.02); border: 1px solid var(--gold); border-radius: var(--radius); text-align: center; }
.article-cta-bento h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: 15px; }
.related-bento { margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.08); }
.related-bento h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 20px; }
.related-grid-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card-bento { background: rgba(255,255,255,0.03); border: var(--border-card); border-radius: var(--radius-sm); padding: 15px; transition: all 0.3s; }
.related-card-bento:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-card-bento h4 { font-size: 0.95rem; margin-bottom: 6px; }
.related-card-bento h4 a { color: #fff; }
.related-card-bento h4 a:hover { color: var(--accent); }
.related-thumb-bento { width: 100%; height: 120px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; background: rgba(255,255,255,0.03); }
.related-thumb-bento img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer Bento ===== */
.footer-bento { padding: 50px 0 30px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.3); }
.footer-grid-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col-bento h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; font-weight: 600; }
.footer-col-bento ul li { margin-bottom: 10px; }
.footer-col-bento ul li a { color: var(--text-muted); font-size: 0.9rem; transition: all 0.3s; }
.footer-col-bento ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-social-bento { display: flex; gap: 12px; margin-bottom: 15px; }
.footer-social-bento a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.3s; border: 1px solid rgba(255,255,255,0.08); }
.footer-social-bento a:hover { background: var(--accent); color: var(--bg-base); border-color: var(--accent); }
.footer-bottom-bento { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-bento p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Sidebar Bento ===== */
.sidebar-bento { display: flex; flex-direction: column; gap: 16px; }
.widget-bento { background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: var(--border-card); border-radius: var(--radius); padding: 22px; }
.widget-title-bento { color: var(--gold); font-size: 1.1rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 600; }
.search-form-bento { display: flex; gap: 0; }
.search-form-bento input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-pill) 0 0 var(--radius-pill); padding: 10px 18px; color: #fff; font-size: 0.9rem; }
.search-form-bento input:focus { outline: none; border-color: var(--accent); }
.search-form-bento button { background: var(--accent); border: none; color: var(--bg-base); padding: 10px 18px; border-radius: 0 var(--radius-pill) var(--radius-pill) 0; cursor: pointer; font-weight: 600; }
.widget-hot-bento { display: grid; grid-template-columns: 60px 1fr; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget-hot-bento:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.widget-hot-thumb-bento { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.03); }
.widget-hot-thumb-bento img { width: 100%; height: 100%; object-fit: cover; }
.widget-hot-info-bento h4 { font-size: 0.9rem; margin-bottom: 4px; line-height: 1.3; }
.widget-hot-info-bento h4 a { color: #fff; }
.widget-hot-info-bento h4 a:hover { color: var(--accent); }
.widget-hot-info-bento span { color: var(--text-muted); font-size: 0.8rem; }
.widget-cat-bento li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget-cat-bento li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.widget-cat-bento li a { color: var(--text-secondary); display: flex; justify-content: space-between; font-size: 0.9rem; }
.widget-cat-bento li a:hover { color: var(--accent); }
.widget-cta-bento { background: rgba(255,255,255,0.02); border: 1px solid var(--gold); text-align: center; }
.widget-cta-bento h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 10px; }
.widget-cta-bento p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 15px; }

/* ===== Floating Buttons ===== */
.float-bento { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn-bento { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(255,215,0,0.3); transition: all 0.3s; }
.float-btn-bento:hover { transform: scale(1.1); }
.float-btn-bento img { width: 28px; height: 28px; object-fit: contain; }

/* ===== Pagination ===== */
.pagination-bento { margin-top: 30px; display: flex; justify-content: center; gap: 8px; }
.pagination-bento .page-numbers { display: inline-block; padding: 10px 16px; background: rgba(255,255,255,0.05); color: #fff; border-radius: var(--radius-sm); font-weight: 500; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.08); }
.pagination-bento .page-numbers.current, .pagination-bento .page-numbers:hover { background: var(--accent); color: var(--bg-base); border-color: var(--accent); }

/* ===== Category Cards ===== */
.cat-card-bento { background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: var(--border-card); border-radius: var(--radius); overflow: hidden; transition: all 0.35s; }
.cat-card-bento:hover { transform: scale(1.02); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.cat-card-bento .card-thumb-bento { width: 100%; height: 180px; overflow: hidden; }
.cat-card-bento .card-thumb-bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card-bento:hover .card-thumb-bento img { transform: scale(1.08); }
.cat-card-bento .card-body-bento { padding: 18px; }
.cat-card-bento .card-body-bento h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cat-card-bento .card-body-bento h3 a { color: #fff; }
.cat-card-bento .card-body-bento h3 a:hover { color: var(--accent); }

/* ===== No results ===== */
.no-results-bento { text-align: center; padding: 50px 20px; }
.no-results-bento h2 { color: var(--gold); font-size: 1.8rem; margin-bottom: 12px; }
.no-results-bento p { color: var(--text-secondary); margin-bottom: 20px; }

/* ===== Responsive ===== */
@media (max-width: 1200px) { .bento-grid { grid-template-columns: repeat(3, 1fr); } .content-layout-bento { grid-template-columns: 1fr 300px; } .footer-grid-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } .content-layout-bento { grid-template-columns: 1fr; } .capsule-links { display: none; } .mobile-menu-btn { display: block; } }
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } .span-2, .span-row-2 { grid-column: span 1; grid-row: span 1; } .bento-header { top: 10px; } .capsule-nav { padding: 8px 12px 8px 18px; } .footer-grid-bento { grid-template-columns: 1fr; } .related-grid-bento { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .container { padding: 0 12px; } .bento-banner h2 { font-size: 1.6rem; } }

/* ===== Mobile Menu ===== */
.mobile-menu-overlay-bento { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(13,17,23,0.97); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-menu-overlay-bento.open { opacity: 1; pointer-events: all; }
.mobile-menu-overlay-bento a { font-size: 1.3rem; color: #fff; padding: 8px 25px; }
.mobile-menu-close-bento { position: absolute; top: 20px; right: 25px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ===== Utilities ===== */
.fade-in-bento { opacity: 0; transform: translateY(25px); transition: all 0.6s ease; }
.fade-in-bento.visible { opacity: 1; transform: translateY(0); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
