/* ==========================================================================
   ShreeWin Official Stylesheet (Modeled after shreewinlogin.in.net)
   ========================================================================== */

:root {
  --shree-gold-start: #7c6817;
  --shree-purple-mid: #4b2675;
  --shree-indigo-end: #1e266d;
  --shree-gold-bright: #ffc107;
  --shree-gold-dark: #d39e00;
  --shree-navy-dark: #0a0d24;
  --shree-navy-card: #121738;
  --shree-purple-light: #8e44ad;
  --shree-blue-accent: #00d2ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --table-border: #cbd5e1;
  --max-width: 920px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #d97706, #b45309, #78350f);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.3px;
}

.top-announcement a {
  color: #fef08a;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}

/* ==========================================================================
   Header & Navbar (Dark Luxury)
   ========================================================================== */
.site-header {
  background-color: var(--shree-navy-dark);
  color: #ffffff;
  border-bottom: 2px solid var(--shree-gold-start);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-text span {
  color: var(--shree-gold-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--shree-gold-bright);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-shree {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-shree-gold {
  background: linear-gradient(180deg, #ffd700 0%, #f39c12 100%);
  color: #0f172a !important;
  box-shadow: 0 3px 10px rgba(243, 156, 18, 0.35);
}

.btn-shree-gold:hover {
  background: linear-gradient(180deg, #ffe033 0%, #e67e22 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(243, 156, 18, 0.45);
}

.btn-shree-purple {
  background: linear-gradient(180deg, #6f42c1 0%, #4b2675 100%);
  color: #ffffff !important;
  border: 1px solid #8e44ad;
  box-shadow: 0 3px 10px rgba(111, 66, 193, 0.3);
}

.btn-shree-purple:hover {
  background: linear-gradient(180deg, #814fd8 0%, #5d2f92 100%);
  transform: translateY(-1px);
}

.btn-shree-large {
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Gradient Banners & Headings (Exact Shreewin Feature)
   ========================================================================== */
.gradient-banner {
  background: linear-gradient(90deg, var(--shree-gold-start) 0%, var(--shree-purple-mid) 50%, var(--shree-indigo-end) 100%);
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(75, 38, 117, 0.35);
  margin: 26px 0 18px 0;
  text-transform: uppercase;
}

.gradient-banner h2, .gradient-banner h1 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

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

.hero-logo-box {
  display: inline-block;
  margin-bottom: 16px;
}

.hero-logo-img {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(75, 38, 117, 0.4);
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

.hero-cta-group {
  margin-top: 10px;
  margin-bottom: 24px;
}

/* ==========================================================================
   Quick Details Info Table
   ========================================================================== */
.info-table-card {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 20px 0 30px 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th, .info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--table-border);
  text-align: left;
  font-size: 14px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  background-color: #f1f5f9;
  width: 38%;
  font-weight: 700;
  color: var(--shree-navy-dark);
}

.code-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invite-code-val {
  font-weight: 800;
  font-family: monospace;
  font-size: 17px;
  color: #7c2d12;
  background: #ffedd5;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #fed7aa;
}

.btn-copy-badge {
  background: linear-gradient(180deg, #6f42c1, #4b2675);
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-copy-badge:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.toc-box {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-left: 5px solid var(--shree-purple-mid);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 25px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shree-navy-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style-type: decimal;
  margin-left: 24px;
}

.toc-list li {
  margin-bottom: 5px;
}

.toc-list a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.toc-list a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Visual Phone Mockups (Shreewin Screenshot Style)
   ========================================================================== */
.mockup-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.phone-card-frame {
  width: 100%;
  max-width: 330px;
  background: #11142e;
  border: 4px solid #232857;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 12px 35px rgba(10, 13, 36, 0.4);
  color: #ffffff;
  text-align: center;
}

.phone-screen-header {
  background: #1e245a;
  padding: 8px;
  border-radius: 12px 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
  border-bottom: 1px solid #363d82;
}

.phone-mockup-body {
  padding: 10px 6px;
}

.mockup-input {
  background: #1a1f49;
  border: 1px solid #323a78;
  color: #94a3b8;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 10px;
  text-align: left;
}

.mockup-btn {
  background: linear-gradient(90deg, #6f42c1, #3b82f6);
  color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
}

.qr-code-box {
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  display: inline-block;
  margin: 12px 0;
}

.qr-code-box img {
  width: 130px;
  height: 130px;
  display: block;
}

/* ==========================================================================
   VIP Charts & Rebate Tables
   ========================================================================== */
.data-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.custom-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.custom-data-table th, .custom-data-table td {
  padding: 10px 14px;
  border: 1px solid var(--table-border);
  text-align: center;
}

.custom-data-table th {
  background: linear-gradient(90deg, var(--shree-purple-mid), var(--shree-indigo-end));
  color: #ffffff;
  font-weight: 700;
}

.custom-data-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.vip-badge-tag {
  background: linear-gradient(180deg, #f59e0b, #b45309);
  color: #ffffff;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
}

/* ==========================================================================
   Frequently Asked Questions (FAQ Accordions)
   ========================================================================== */
.faq-wrap {
  margin: 25px 0 35px 0;
}

.faq-item-card {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.faq-header-bar {
  background: linear-gradient(90deg, #2b1b54 0%, #1e266d 100%);
  color: #ffffff;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-header-bar:hover {
  background: linear-gradient(90deg, #37236b 0%, #29348e 100%);
}

.faq-toggle-icon {
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.2s;
}

.faq-body-content {
  padding: 14px 18px;
  font-size: 14px;
  color: #334155;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   Blog Cards Grid & Single Post Styles
   ========================================================================== */
.blog-section-wrapper {
  margin: 35px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.blog-card-header {
  background: linear-gradient(135deg, #1b103e, #0a0d24);
  padding: 24px 16px;
  text-align: center;
}

.blog-card-logo {
  width: 65px;
  height: 65px;
  border-radius: 14px;
}

.blog-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shree-navy-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #2563eb;
}

.blog-card-excerpt {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* Single Post Reader Layout */
.single-post-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin: 30px 0;
}

.post-main-content {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.post-main-content h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--shree-navy-dark);
  margin-bottom: 12px;
}

.post-meta-row {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.post-article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.post-article-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--shree-navy-dark);
  margin: 24px 0 10px 0;
}

.post-article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--shree-navy-dark);
  margin: 18px 0 8px 0;
}

.post-article-body ul, .post-article-body ol {
  margin: 12px 0 16px 24px;
}

.post-article-body li {
  margin-bottom: 6px;
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--table-border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--shree-navy-dark);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--shree-gold-start);
  padding-bottom: 6px;
}

.recent-post-item {
  margin-bottom: 12px;
}

.recent-post-item a {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.recent-post-item a:hover {
  color: #2563eb;
}

/* ==========================================================================
   Mobile Sticky Bottom CTA Bar
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--shree-navy-dark);
  border-top: 2px solid var(--shree-gold-start);
  box-shadow: 0 -3px 15px rgba(0,0,0,0.25);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px;
  z-index: 1000;
}

.mobile-bottom-bar .btn-mobile {
  flex: 1;
  margin: 0 4px;
  text-align: center;
  padding: 9px 8px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
}

.btn-mobile-login {
  background: #1e245a;
  color: #ffffff !important;
  border: 1px solid #363d82;
}

.btn-mobile-register {
  background: linear-gradient(180deg, #ffd700, #f39c12);
  color: #0f172a !important;
}

.btn-mobile-download {
  background: linear-gradient(180deg, #6f42c1, #4b2675);
  color: #ffffff !important;
}

/* Back to top */
.back-to-top-btn {
  position: fixed;
  bottom: 75px;
  right: 20px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--shree-purple-mid), var(--shree-indigo-end));
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.2s;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-2px);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background-color: #0f172a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2000;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: var(--shree-navy-dark);
  color: #94a3b8;
  border-top: 2px solid var(--shree-gold-start);
  padding: 26px 0 35px 0;
  margin-top: 45px;
  font-size: 13px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 14px;
}

.footer-links a:hover {
  color: var(--shree-gold-bright);
}

/* Responsive */
@media (max-width: 768px) {
  .single-post-container {
    grid-template-columns: 1fr;
  }
  .navbar-inner {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    margin: 8px 0;
  }
  .gradient-banner {
    font-size: 15px;
    padding: 10px 14px;
  }
  .gradient-banner h2, .gradient-banner h1 {
    font-size: 15px;
  }
}
