/* Custom Theme Variables */
:root {
  /* Primary Palette - Luxurious Rummy Theme */
  --color-primary: #ffd700;
  /* Gold */
  --color-secondary: #ff4d4d;
  /* Bright Red for highlights */
  --color-accent: #00ff88;
  /* Emerald Green for success/money vibes */

  /* Backgrounds */
  --bg-gradient: radial-gradient(circle at 50% 0%, #5e1b1b, #2b0a0a 60%, #000000 100%);
  /* Richer Maroon to Black spotlight */
  --card-bg: rgba(255, 255, 255, 0.08);
  /* Slightly lighter for contrast */
  --header-bg: linear-gradient(to bottom, rgba(30, 10, 10, 0.95), rgba(10, 5, 5, 0.9));
  /* Gradient Header */

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-gold: #ffd700;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;

  /* Transitions */
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  /* Complex Casino Background:
     1. Gradient Overlay (partially transparent)
     2. Linear Gradient (to darken the pattern)
     3. SVG Pattern of Card Suits (Heart, Diamond, Club, Spade)
  */
  background-color: #3e1010;
  /* Lighter Maroon Base */
  background-image:
    radial-gradient(circle at 50% 0%, rgba(139, 0, 0, 0.8), rgba(62, 16, 16, 0.9) 70%, rgba(40, 5, 5, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffd700' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  color: var(--text-gold);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  /* Reduced padding */
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  /* Subtle gold border */
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  /* Explicit smaller height */
}

/* Logo Area */
.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.rummy-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-primary);
  background: linear-gradient(135deg, #0e4d2d, #051a05);
  /* Match ticker green */
  /* Optional fine border */
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffd700, #ffaa00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

/* Navigation Menu (Desktop) */
.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--spacing-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-speed);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-primary);
  transition: all var(--transition-speed);
  border-radius: 2px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .site-header {
    padding: var(--spacing-md);
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 250px;
    height: 100vh;
    background: rgba(10, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding-top: 80px;
    padding-left: var(--spacing-lg);
    border-left: 1px solid rgba(255, 215, 0, 0.1);
    transition: right var(--transition-speed) ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  /* Hamburger Animation when Active */
  .menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Secondary Hero Navigation */
.hero-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-md);
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffd700;
  /* Gold text */
  background: linear-gradient(to bottom, #4a0d0d, #2b0505);
  /* Dark Red Gradient */
  border: 1px solid #ffd700;
  /* Gold Border */
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
  /* Inner highlight */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.premium-btn .icon {
  font-size: 1rem;
  /* Removed grayscale filter for consistent color */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

/* Hover Effects */
.premium-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(to bottom, #5e1b1b, #380808);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 0 5px rgba(255, 215, 0, 0.4),
    /* Enhanced Gold Glow */
    inset 0 1px 0 rgba(255, 215, 0, 0.4);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  cursor: pointer;
}

.premium-btn:hover .icon {
  transform: scale(1.1);
  /* Gentle zoom instead of color change */
}

.premium-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Adjustments for Hero Nav */
@media (max-width: 600px) {
  .hero-nav {
    flex-direction: row;
    /* Allow side-by-side */
    justify-content: center;
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .premium-btn {
    width: auto;
    flex: 0 1 auto;
    /* Don't force full width */
    font-size: 0.75rem;
    /* Even smaller on mobile */
    padding: 6px 12px;
  }
}

/* Premium Tagline */
.premium-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #cccccc;
  margin-top: 0;
  /* Flush against header */
  margin-bottom: 0;
  /* Flush against banner */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  max-width: 100%;
  text-align: left;
  padding: 6px 16px 8px;
  /* Bottom padding acts as visual space before border */
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.35);
  /* Gold border bottom */
  text-shadow: none;
}

.premium-tagline .highlight {
  color: #ffd700;
  font-weight: 700;
  display: inline;
  font-size: 0.9rem;
  /* Slightly smaller text */
}

.premium-tagline .separator {
  color: var(--color-secondary);
  /* Red separators */
  margin: 0 10px;
  font-weight: 300;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .premium-tagline {
    font-size: 0.8rem;
    text-align: left;
    padding: 0 10px;
    /* Some padding */
    width: 100%;
  }

  .premium-tagline .separator {
    display: inline;
    /* Restore separators */
    margin: 0 5px;
    opacity: 0.8;
  }

  .premium-tagline .highlight {
    display: inline;
    /* Inline flow */
    width: auto;
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Hero Banner Styles */
.hero-banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 10px;
  /* No top margin — flush against tagline */
  padding: 0 var(--spacing-md);
  border-radius: 0 0 12px 12px;
  /* Round only bottom corners */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-banner-img {
  width: 100%;
  height: 130px;
  /* Fixed compact height */
  display: block;
  object-fit: fill;
  /* Stretch to fill — no cropping, aspect ratio can distort */
  border-radius: 12px;
}

/* Mobile Adjustments for Banner */
@media (max-width: 768px) {
  .hero-banner-container {
    padding: 0 var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background: transparent;
    box-shadow: none;
    /* Simplify on mobile */
  }

  .hero-banner-img {
    max-height: 160px;
    /* Reduced form 200px */
    /* Tighter limit on mobile */
    min-height: 100px;
    border-radius: 8px;
  }
}

/* App Sections */
.app-section {
  max-width: 1200px;
  margin: 0 auto var(--spacing-lg);
  padding: 0 var(--spacing-md);
  text-align: left;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.section-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  /* font-family: 'Playfair Display', serif;  - Inherited */
}

.view-all {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all:hover {
  text-decoration: underline;
  color: #ffaa00;
}

/* App Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--spacing-md);
}

/* App Card */
.app-card {
  background: rgba(30, 10, 10, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  /* Smooth corners */
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(40, 15, 15, 0.8);
}

/* App Icon Placeholder */
.app-icon-placeholder {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  /* In real usage, this would be an <img> with rounded corners */
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 18px;
  /* iOS/App icon style */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-info {
  width: 100%;
}

.app-name {
  font-family: 'Inter', sans-serif;
  /* Clean font for readability */
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-bonus {
  font-size: 0.8rem;
  color: var(--color-accent);
  /* Green for money */
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.app-download-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.app-download-btn:hover {
  background: var(--color-primary);
  color: #2b0a0a;
  /* Dark text on gold bg */
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
    gap: 10px;
  }

  .app-card {
    padding: 10px;
  }

  .app-icon-placeholder {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    border-radius: 14px;
  }

  .section-title {
    font-size: 1.2rem;
  }
}

/* Tab Section Styles */
.tab-section {
  max-width: 900px;
  /* Focus on center column */
  margin: 0 auto var(--spacing-lg);
  padding: 0 var(--spacing-md);
  text-align: left;
}

/* Premium Tab Header */
/* Simplified Tab Header */
.tab-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
  /* Reduced from 2rem */
  padding: 5px;
  background: transparent;
  /* Removed track background */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Simplified Tab Button (Inactive) */
.tab-btn {
  background: linear-gradient(145deg, #0e4d2d 0%, #051a05 100%);
  /* Luxury Green Background */
  border: 1px solid #1a4d1a;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #cccccc;
  padding: 10px 25px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  /* Slightly curved edges */
  box-shadow: none;
  /* Removed complex shadows */
  text-shadow: none;
}

/* Simple Hover */
.tab-btn:hover {
  background: linear-gradient(145deg, #146c36 0%, #0a330a 100%);
  color: #ffd700;
  border-color: #ffd700;
  transform: translateY(-1px);
}

/* Active State (Flat Gold) */
.tab-btn.active {
  background: #ffd700;
  /* Solid Gold */
  color: #1a0505;
  /* Dark Text */
  font-weight: 800;
  border: 1px solid #ffd700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  /* Simple shadow for depth */
  transform: none;
}

/* Remove pseudo-elements */
.tab-btn::before,
.tab-btn.active::after {
  content: none;
  display: none;
}

/* App List Item (Premium Parallelogram Look) */
.app-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Richer Gradient Background */
  background: linear-gradient(145deg, #4a0d0d 0%, #2b0505 100%);
  border: 1px solid rgba(255, 215, 0, 0.4);
  /* Stronger gold border */
  border-radius: 8px;
  /* Slightly rounded edges */
  padding: 10px 15px;
  /* Reduced from 15px 25px */
  /* More horizontal padding for skew */
  margin-bottom: 10px;
  /* Reduced from 15px */
  /* Spacing */
  position: relative;
  overflow: visible;
  /* Allow badge to pop if needed */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);

  /* The Parallelogram Magic */
  transform: skewX(-10deg);
  margin-left: 10px;
  margin-right: 10px;
}

/* Un-skew content so it looks normal */
.app-list-item>* {
  transform: skewX(10deg);
}

/* Hover Effect */
.app-list-item:hover {
  transform: skewX(-10deg) translateY(-3px) scale(1.01);
  box-shadow:
    10px 10px 20px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  /* Inner glow */
  border-color: #ffd700;
  background: linear-gradient(145deg, #5e1b1b 0%, #380808 100%);
  z-index: 5;
}

/* Adjust Rank Badge for Skewed Parent */
.rank-badge {
  /* It's already absolutely positioned. 
     Since parent is skewed, absolute children skew with it.
     We need to counter-skew the badge container itself differently 
     or just let the existing un-skew rule handle the text.
     Actually, let's make the badge stick out properly. 
  */
  transform: skewX(10deg) !important;
  /* Counter skew the badge container entirely */
  top: -10px;
  left: -15px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

/* We need to ensure the text inside rank badge is upright. 
   If badge is counter-skewed (10deg), and text span was skewed (15deg)...
   Let's simplify. 
*/
.rank-badge span {
  transform: none !important;
  /* Text is now upright relative to un-skewed badge */
}

/* Vertical Parallelogram Rank Badge */
.rank-badge {
  position: absolute;
  top: -8px;
  /* Slightly overhang top */
  left: -8px;
  /* Slightly overhang left */

  /* Dimensions for vertical rectangle look (taller) */
  width: 26px;
  height: 40px;

  /* Skew for parallelogram effect */
  transform: skewX(-15deg);

  /* Flex centering for number */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Premium Styling */
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  /* Slight rounding on tips */
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
  z-index: 10;

  /* Text Styling */
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #2b0a0a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Un-skew the number inside so it is upright */
.rank-badge span {
  display: block;
  transform: skewX(15deg);
  /* Counter skew */
}

/* Variants */
.rank-badge.gold {
  background: linear-gradient(160deg, #ffd700 0%, #fdb931 50%, #ffd700 100%);
}

.rank-badge.silver {
  background: linear-gradient(160deg, #e0e0e0 0%, #bdbdbd 50%, #e0e0e0 100%);
  color: #333;
}

.rank-badge.bronze {
  background: linear-gradient(160deg, #cd7f32 0%, #a0522d 50%, #cd7f32 100%);
  color: #3e2723;
}

/* App Content Layout */
.app-icon-container {
  display: block;
  position: relative;
  /* Badge is absolute to THIS container */
  margin-right: 20px;
  margin-left: 10px;
  /* Give space for badge overhang */
}

.app-list-item .app-icon-placeholder {
  width: 60px;
  height: 60px;
  font-size: 2rem;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  /* Slightly sharper icon */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.app-list-item .app-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  /* Slightly sharper icon */
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  display: block;
  /* Cast shadow for depth */
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.6));
}

@media (max-width: 600px) {
  .app-list-item .app-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
  }
}

.app-details {
  flex: 1;
  text-align: left;
  z-index: 1;
}

.app-list-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
  /* Gold Title */
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.app-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-bonus {
  color: #00ff88;
  /* Bright Green */
  font-weight: 600;
  font-size: 0.85rem;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.2);
}

.stat-withdraw {
  color: #cccccc;
  font-size: 0.75rem;
  font-weight: 400;
}

/* Action Button */
.app-action {
  z-index: 1;
  min-width: 100px;
}

/* Gradient Download Button */
.list-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Space for icon */
  padding: 10px 24px;

  /* Bright Gold Gradient for maximum pop against dark card */
  background: linear-gradient(to bottom, #ffd700 0%, #ffc107 100%);
  color: #1a0505;
  /* Deep Maroon text for high contrast */

  font-weight: 800;
  text-transform: uppercase;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid #b8860b;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-shadow: none;
  /* No shadow needed on dark text */
}

.list-download-btn:hover {
  background: linear-gradient(to bottom, #fff0a0 0%, #ffd700 100%);
  /* Brighter on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  color: #000;
  border-color: #ffd700;
}

/* Ensure Button Text is Upright */
.list-download-btn>* {
  transform: skewX(10deg);
  /* Counter skew if not handled by parent but parent rule handles direct children */
}

/* Mobile Responsive List */
@media (max-width: 600px) {
  .app-list-item {
    padding: 10px;
  }

  .rank-badge {
    /* Keep it fixed to the icon on mobile too */
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    left: -6px;
    top: -6px;
  }

  .app-icon-container {
    margin-right: 12px;
  }

  .app-list-item .app-icon-placeholder {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: 6px;
  }

  .app-list-name {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* Changed to allow full width usage */
  }

  .stat-bonus {
    font-size: 0.75rem;
  }

  .stat-withdraw {
    font-size: 0.65rem;
    white-space: nowrap;
    /* Prevent wrapping */
  }

  .list-download-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    min-width: 80px;
    gap: 4px;
    /* Reduce gap */
  }

  .list-download-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    /* Important: prevents icon from disappearing */
  }

  /* Compact Tab Buttons on Mobile */
  .tab-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
}

/* Additional SEO Content from User */
.seo-content-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.seo-content-block p {
  margin: 0;
}

@media (max-width: 600px) {
  .seo-content-block {
    font-size: 0.75rem;
    padding: 15px;
    margin: 20px 10px;
  }
}

/* -----------------------------
   Infinite Scrolling Ticker
----------------------------- */
.ticker-wrap {
  width: 100%;
  background: linear-gradient(90deg, #0e4d2d, #051a05);
  /* Luxury Green Ticker */
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  height: 40px;
  /* Fixed height for ticker */
  margin-top: 20px;
}

.ticker-label {
  background: #ffd700;
  color: #2b0a0a;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  position: relative;
}

/* Arrow indicator after label */
.ticker-label::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid #ffd700;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.ticker-track {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content-b {
  display: inline-block;
  white-space: nowrap;
  /* Start immediately from left, no empty space initiation */
  animation: ticker 50s linear infinite;
  /* Increased duration for readability */
  color: #cccccc;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  padding-right: 50px;
  /* Space between original and clone */
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  /* Duration overridden dynamically by JS for correct speed.
     Fallback: 80s for reasonable static speed */
  animation: ticker var(--ticker-duration, 80s) linear infinite;
  color: #cccccc;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  padding-right: 50px;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  /* Start at 0 */
  100% {
    transform: translate3d(-100%, 0, 0);
  }

  /* Move strictly left */
}

/* -----------------------------
   Disclaimer Box
----------------------------- */
.disclaimer-text-box {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: rgba(43, 10, 10, 0.8);
  /* Dark Red background */
  border: 1px solid #ff4d4d;
  /* Bright Red border */
  border-radius: 8px;
  text-align: left;
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.disclaimer-title {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center the title */
  gap: 10px;
}

.disclaimer-text-box p {
  margin-bottom: 10px;
}

.disclaimer-text-box strong {
  color: #ff4d4d;
}

@media (max-width: 600px) {
  .disclaimer-text-box {
    margin: 20px 10px;
    font-size: 0.8rem;
  }
}

/* -----------------------------
   Telegram CTA
----------------------------- */
.telegram-cta-container {
  text-align: center;
  margin: 30px 0 20px;
  /* Reduced bottom margin */
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0088cc, #005f8d);
  /* Telegram Blue */
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse-telegram 1.5s ease-in-out infinite;
}

.telegram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
  background: linear-gradient(135deg, #0099e6, #0077b3);
}

@keyframes pulse-telegram {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

.telegram-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

@media (max-width: 600px) {
  .telegram-btn {
    width: 90%;
    justify-content: center;
  }
}

/* -----------------------------
   Floating Social Sidebar
----------------------------- */
.social-sidebar {
  position: fixed;
  top: 50%;
  right: 15px;
  /* Slight offset from edge */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2000;
}

.social-icon {
  height: 45px;
  display: flex;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1) translateX(-5px);
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.5);
  border-color: #ffd700;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.youtube {
  background: linear-gradient(135deg, #FF0000, #cc0000);
}

@media (max-width: 600px) {
  .social-sidebar {
    right: 55px;
    gap: 10px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}

Site Footer ----------------------------- */ .site-footer {

  margin-top: 0;
  /* Removed top margin to sit flush with telegram/ticker */
  padding: 40px 20px;
  background: linear-gradient(to top, #1a0505, #120303);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  position: relative;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.footer-link {
  color: #cccccc;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  color: #ffd700;
  border-bottom-color: #ffd700;
  /* Gold underline on hover */
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.footer-separator {
  color: #5e1b1b;
  font-size: 1.2rem;
  line-height: 1;
}

.footer-copyright {
  color: #666666;
  font-size: 0.8rem;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: inline-block;
  width: 100%;
  max-width: 600px;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 30px 15px;
  }

  .footer-links {
    gap: 10px;
    flex-direction: column;
    /* Stack links on mobile */
  }

  .footer-separator {
    display: none;
    /* Hide separators on mobile stack */
  }

  .footer-link {
    font-size: 1rem;
    padding: 5px 0;
    width: 100%;
    /* Full width tap area */
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  }

  .footer-link:last-child {
    border-bottom: none;
  }
}

/* Simple Footer */
.simple-footer {
  padding: 20px;
  background: rgba(10, 5, 5, 0.95);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.simple-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.simple-footer a:hover {
  color: var(--color-primary);
}