/* ============================================
   Bounty Queen - Western Wild West Theme
   Main Stylesheet
   ============================================ */

/* --- Google Fonts Import (Local fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Rye&family=Lato:wght@300;400;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --color-primary: #2B1B0E;
  --color-secondary: #D2691E;
  --color-accent: #FFD700;
  --color-text: #F5DEB3;
  --color-link: #D2691E;
  --color-dark: #1a0f06;
  --color-wood: #3E2723;
  --color-leather: #5D4037;
  --color-parchment: #F5DEB3;
  --font-heading: 'Rye', 'Georgia', serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --shadow-gold: 0 0 15px rgba(255, 215, 0, 0.3);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
  --border-wood: 3px solid #5D4037;
  --transition-base: all 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-accent);
  line-height: 1.3;
  margin-bottom: 0.8em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

/* --- Interference Tag (Hidden) --- */
.sjnw-interference-tag {
  display: none;
  font-size: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(43, 27, 14, 0.98) 0%, rgba(26, 15, 6, 0.95) 100%);
  border-bottom: 2px solid var(--color-secondary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  padding: 0;
  transition: var(--transition-base);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
}

.navbar-logo span {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.3rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  position: relative;
  transition: var(--transition-base);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--color-accent);
  background: rgba(255, 215, 0, 0.1);
}

.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 70px);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-dark) 100%);
  border-left: 2px solid var(--color-secondary);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 15px 25px;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
  transition: var(--transition-base);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: var(--color-accent);
  background: rgba(255, 215, 0, 0.08);
  padding-left: 35px;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(43, 27, 14, 0.4) 0%,
    rgba(43, 27, 14, 0.6) 50%,
    rgba(43, 27, 14, 0.9) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--color-accent);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
  color: var(--color-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateY(-3px);
  color: var(--color-accent);
}

/* ============================================
   HONOR BAR
   ============================================ */
.honor-bar {
  background: linear-gradient(90deg, var(--color-wood) 0%, var(--color-leather) 50%, var(--color-wood) 100%);
  padding: 12px 0;
  text-align: center;
  border-top: 1px solid var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

.honor-bar p {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.honor-bar .trophy-icon {
  font-size: 1.3rem;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--color-dark);
}

.section-wood {
  background: linear-gradient(180deg, var(--color-wood) 0%, var(--color-primary) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.section-title p {
  color: var(--color-text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 15px auto 0;
  opacity: 0.85;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(62, 39, 35, 0.9) 0%, rgba(43, 27, 14, 0.95) 100%);
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-secondary));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--color-accent);
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* ============================================
   LIVE MULTIPLIER FEED
   ============================================ */
.live-feed {
  background: var(--color-dark);
  border: 2px solid var(--color-wood);
  border-radius: 12px;
  padding: 25px;
  overflow: hidden;
}

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

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
  transition: var(--transition-base);
}

.feed-item:hover {
  background: rgba(255, 215, 0, 0.05);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-player {
  font-weight: 700;
  color: var(--color-text);
}

.feed-multiplier {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.feed-time {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ============================================
   STRATEGY CARDS
   ============================================ */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.strategy-card {
  display: flex;
  background: linear-gradient(145deg, rgba(62, 39, 35, 0.8) 0%, rgba(43, 27, 14, 0.9) 100%);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: var(--color-secondary);
}

.strategy-card-img {
  width: 200px;
  min-height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.strategy-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strategy-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.strategy-card-body p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.strategy-card-meta {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   SHOWDOWN BANNER
   ============================================ */
.showdown-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.showdown-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showdown-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(43, 27, 14, 0.9) 0%, rgba(43, 27, 14, 0.4) 100%);
}

.showdown-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 550px;
}

.showdown-banner-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.showdown-banner-content p {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* ============================================
   BEGINNER GUIDE
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.guide-img {
  border-radius: 12px;
  border: 2px solid var(--color-leather);
}

.guide-content h3 {
  margin-bottom: 15px;
}

.guide-content ul {
  list-style: none;
  margin-top: 15px;
}

.guide-content ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
}

.guide-content ul li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ============================================
   COMMUNITY SPOTLIGHT
   ============================================ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.community-card {
  background: rgba(62, 39, 35, 0.6);
  border: 1px solid var(--color-leather);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition-base);
}

.community-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

.community-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.community-card-body {
  padding: 15px;
}

.community-card-body h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.community-card-body p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   ABOUT US
   ============================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-item {
  padding: 15px 25px;
  background: rgba(62, 39, 35, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 8px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.partner-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0d0805 100%);
  border-top: 2px solid var(--color-secondary);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-secondary);
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.footer-logo span {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(93, 64, 55, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 50%;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.social-links a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

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

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

.footer-nav li a {
  color: var(--color-text);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition-base);
}

.footer-nav li a:hover {
  color: var(--color-accent);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--color-text);
  opacity: 0.8;
}

.footer-bottom a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.footer-license {
  margin-top: 8px;
}

.footer-license a {
  margin: 0 10px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 15px 0;
  margin-top: 70px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--color-secondary);
}

.breadcrumb span {
  color: var(--color-text);
  opacity: 0.6;
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--color-accent);
}

/* ============================================
   PAGE BANNER (Inner Pages)
   ============================================ */
.page-banner {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
  overflow: hidden;
}

.page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(43, 27, 14, 0.5) 0%, rgba(43, 27, 14, 0.85) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-content h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.page-banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SIMULATOR PAGE
   ============================================ */
.simulator-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.slot-machine {
  background: linear-gradient(145deg, #4a3020 0%, #2B1B0E 100%);
  border: 3px solid var(--color-accent);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.slot-reels {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.reel {
  width: 100px;
  height: 120px;
  background: linear-gradient(180deg, #1a0f06 0%, #2B1B0E 50%, #1a0f06 100%);
  border: 2px solid var(--color-secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.reel.spinning {
  animation: reelSpin 0.1s infinite;
}

@keyframes reelSpin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.slot-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.slot-info-item {
  text-align: center;
}

.slot-info-item label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 5px;
}

.slot-info-item .value {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.3rem;
}

.spin-btn {
  margin-top: 25px;
  padding: 18px 60px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  color: var(--color-primary);
  font-family: var(--font-heading);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.spin-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
}

.spin-btn:active {
  transform: scale(0.95);
}

/* ============================================
   SALOON PAGE - CHARTS & DATA
   ============================================ */
.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.data-card {
  background: linear-gradient(145deg, rgba(62, 39, 35, 0.9) 0%, rgba(43, 27, 14, 0.95) 100%);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  padding: 25px;
}

.data-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

/* Leaderboard */
.leaderboard {
  width: 100%;
}

.leaderboard-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.leaderboard-tab {
  padding: 8px 20px;
  background: rgba(93, 64, 55, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 6px;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.leaderboard-tab.active,
.leaderboard-tab:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

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

.leaderboard-table th,
.leaderboard-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
}

.leaderboard-table th {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.leaderboard-table tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

.rank-1 { color: #FFD700; }
.rank-2 { color: #C0C0C0; }
.rank-3 { color: #CD7F32; }

/* Strategy Calculator */
.calculator {
  background: linear-gradient(145deg, rgba(62, 39, 35, 0.9) 0%, rgba(43, 27, 14, 0.95) 100%);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}

.calculator h3 {
  text-align: center;
  margin-bottom: 25px;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-weight: 700;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-leather);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.calc-result {
  margin-top: 25px;
  padding: 20px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  text-align: center;
  display: none;
}

.calc-result.show {
  display: block;
}

.calc-result h4 {
  margin-bottom: 10px;
}

/* ============================================
   APP DOWNLOAD PAGE
   ============================================ */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.app-info h2 {
  margin-bottom: 20px;
}

.app-features {
  list-style: none;
  margin: 20px 0 30px;
}

.app-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
}

.app-features li::before {
  content: '\2605';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.app-img-container {
  text-align: center;
}

.app-img-container img {
  max-width: 100%;
  border-radius: 12px;
}

.qr-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: rgba(62, 39, 35, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
}

.qr-section img {
  max-width: 250px;
  margin: 20px auto;
  border-radius: 10px;
}

/* ============================================
   ARTICLE / CONTENT PAGE
   ============================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.article-content {
  background: rgba(62, 39, 35, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  padding: 35px;
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 30px;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 15px 20px;
  margin: 20px 0;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: rgba(62, 39, 35, 0.5);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-widget h4 {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-secondary);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(93, 64, 55, 0.2);
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-widget ul li a {
  color: var(--color-text);
  font-size: 0.9rem;
  opacity: 0.85;
}

.sidebar-widget ul li a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* ============================================
   STRATEGY LIST PAGE
   ============================================ */
.strategy-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.strategy-list-card {
  background: rgba(62, 39, 35, 0.6);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.strategy-list-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.strategy-list-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.strategy-list-card-body {
  padding: 20px;
}

.strategy-list-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.strategy-list-card-body p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.strategy-list-card-body .meta {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-leather);
  border-radius: 6px;
  color: var(--color-text);
  font-weight: 700;
  transition: var(--transition-base);
}

.pagination a:hover,
.pagination span.active {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* ============================================
   SHOWDOWN PAGE
   ============================================ */
.showdown-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.rule-card {
  background: rgba(62, 39, 35, 0.7);
  border: 1px solid var(--color-leather);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: var(--transition-base);
}

.rule-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

.rule-card .rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-accent), #FFA500);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

.rule-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.rule-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.prize-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.prize-table th,
.prize-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(93, 64, 55, 0.3);
}

.prize-table th {
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.prize-table tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop: 1440px */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Desktop: 1024px */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .data-grid {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-widget {
    flex: 1;
    min-width: 250px;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .strategy-grid {
    grid-template-columns: 1fr;
  }
  .strategy-card {
    flex-direction: column;
  }
  .strategy-card-img {
    width: 100%;
    height: 180px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .app-showcase {
    grid-template-columns: 1fr;
  }
  .strategy-list-grid {
    grid-template-columns: 1fr;
  }
  .showdown-rules {
    grid-template-columns: 1fr;
  }
  .calc-form {
    grid-template-columns: 1fr;
  }
  .page-banner {
    height: 250px;
  }
  .page-banner-content h1 {
    font-size: 1.8rem;
  }
  .slot-reels {
    gap: 10px;
  }
  .reel {
    width: 80px;
    height: 100px;
    font-size: 2.5rem;
  }
}

/* Mobile: 360px */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 12px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
  }
  .section {
    padding: 50px 0;
  }
  .showdown-banner-content {
    padding: 20px;
  }
  .showdown-banner-content h2 {
    font-size: 1.4rem;
  }
  .slot-reels {
    gap: 8px;
  }
  .reel {
    width: 65px;
    height: 85px;
    font-size: 2rem;
  }
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .download-buttons {
    flex-direction: column;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
