/*
Theme Name: SattaStar
Theme URI: https://sattastar.live
Author: SattaStar Development Team
Author URI: https://sattastar.live
Description: Custom, high-speed, full-width mobile-first WordPress portal theme for SattaStar.live. Built around verified SattaStar Result Manager plugin (v2.4.0) shortcodes. Features dynamic Live Result Date Strip ([sattastar_date_strip]), direct finger-touch horizontal swiping for result charts ([ssrm_result_chart]), 3-column Results Table with dynamic dates (Game Details | KAL KA RESULT | AAJ KA RESULT), Official Notice Board ([sattastar_notice_board]), strict 6-card locked [sattastar_games], interactive WhatsApp Contact Form (+91 7206694654), and responsive mobile layout.
Version: 1.10.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sattastar
Tags: mobile-first, custom-header, custom-menu, full-width-template, results-portal
*/

:root {
  /* User-Mandated Exact Colors */
  --ss-red: #a70000;
  --ss-red-dark: #820000;
  --ss-red-glow: rgba(167, 0, 0, 0.3);

  /* Butter Yellow */
  --ss-butter-yellow: #fef08a;
  --ss-butter-light: #fef9c3;
  --ss-butter-accent: #fde047;

  /* Deep Grey & Neutral Tones */
  --ss-deep-grey: #333333;
  --ss-grey-darker: #222222;
  --ss-grey-darkest: #171717;
  --ss-grey-surface: #262626;
  --ss-grey-border: #444444;
  --ss-grey-text-muted: #aaaaaa;
  --ss-grey-text-light: #e5e5e5;
  --ss-white: #ffffff;

  /* Calibri Typography with Anti-Aliasing */
  --ss-font-calibri: Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body.sattastar-theme {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--ss-font-calibri);
  background-color: var(--ss-grey-darkest);
  color: var(--ss-grey-text-light);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Full-Width Container Utility (No narrow max-width restriction) */
.sattastar-fullwidth-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(10px, 2.5vw, 24px);
  padding-right: clamp(10px, 2.5vw, 24px);
  box-sizing: border-box;
}

/* Subtle fade-in animation for dynamic data tables */
@keyframes ssrmFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ssrm-fade-in,
.sattastar-chart-scroll-box,
.ssrm-ghc-scroll-container,
.ssrm-matrix-wrap,
.ssrm-table-scroll {
  animation: ssrmFadeIn 0.35s ease-out forwards;
}

/* Base anchor styles */
.sattastar-theme a {
  color: var(--ss-butter-yellow);
  text-decoration: none;
  transition: color 0.15s ease;
}

.sattastar-theme a:hover,
.sattastar-theme a:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* Screen reader accessible skip link */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  padding: 12px 20px;
  top: 5px;
  width: auto;
  z-index: 100000;
}
