/* ==========================================================================
   Teen Patti Earning - Premium Gaming Theme Stylesheet
   Design: Modern Purple/Violet Cosmic Gaming Aesthetic with Radiant Gold CTAs
   ========================================================================== */

:root {
  --tp-bg-main: #0b071e;
  --tp-bg-surface: #140c34;
  --tp-bg-card: #18103c;
  --tp-bg-card-hover: #211652;
  --tp-border-subtle: #2d1f60;
  --tp-border-glow: #7c3aed;
  --tp-border-light: rgba(168, 85, 247, 0.35);
  --tp-gold-start: #ffe259;
  --tp-gold-end: #ffa751;
  --tp-gold-hover: #ffb703;
  --tp-gold-shadow: rgba(255, 183, 3, 0.35);
  --tp-text-white: #ffffff;
  --tp-text-light: #f1f5f9;
  --tp-text-muted: #94a3b8;
  --tp-text-subtle: #64748b;
  --tp-text-dark: #120b02;
  --tp-accent-purple: #a855f7;
  --tp-accent-violet: #8b5cf6;
  --tp-accent-green: #22c55e;
  --tp-accent-cyan: #06b6d4;
  --tp-accent-red: #ef4444;
  --tp-radius-sm: 8px;
  --tp-radius-md: 14px;
  --tp-radius-lg: 20px;
  --tp-radius-pill: 9999px;
  --tp-font-title: 'Poppins', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tp-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --tp-shadow-glow: 0 0 25px rgba(124, 58, 237, 0.25);
  --tp-container-max: 1200px;
  --tp-container-narrow: 860px;
}

/* Base Reset & Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--tp-font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--tp-bg-main);
  color: var(--tp-text-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--tp-bg-main);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(124, 58, 237, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(79, 70, 229, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--tp-text-light);
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for sticky bar */
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tp-font-title);
  color: var(--tp-text-white);
  line-height: 1.3;
  margin-top: 0;
}

/* Containers */
.tp-container {
  max-width: var(--tp-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.tp-container-narrow {
  max-width: var(--tp-container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Common Buttons */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--tp-font-title);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.tp-btn-gold {
  background: linear-gradient(135deg, var(--tp-gold-start) 0%, var(--tp-gold-end) 100%);
  color: var(--tp-text-dark) !important;
  box-shadow: 0 4px 15px var(--tp-gold-shadow);
  border-radius: var(--tp-radius-md);
  padding: 12px 24px;
}

.tp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 183, 3, 0.5);
  filter: brightness(1.05);
}

.tp-btn-gold-pill {
  border-radius: var(--tp-radius-pill);
  padding: 10px 22px;
  font-size: 0.95rem;
}

.tp-btn-purple {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--tp-border-glow);
  color: #d8b4fe !important;
  border-radius: var(--tp-radius-pill);
  padding: 8px 20px;
  font-size: 0.85rem;
}

.tp-btn-purple:hover {
  background: rgba(124, 58, 237, 0.4);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.tp-btn-outline {
  background: transparent;
  border: 1px solid var(--tp-border-purple);
  color: var(--tp-text-light);
  border-radius: var(--tp-radius-md);
  padding: 9px 18px;
  font-size: 0.88rem;
}

.tp-btn-outline:hover {
  border-color: var(--tp-border-glow);
  background: rgba(124, 58, 237, 0.15);
  color: #ffffff;
}

/* Badges */
.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--tp-radius-pill);
}

.tp-badge-hero {
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #e9d5ff;
  font-size: 0.82rem;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.tp-badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.tp-badge-green {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.tp-badge-amber {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Header Styles */
.tp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 7, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tp-border-subtle);
  padding: 12px 0;
}

.tp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tp-logo-wrap {
  flex-shrink: 0;
}

.tp-logo img {
  height: 52px;
  width: auto;
}

.tp-nav {
  display: flex;
  align-items: center;
}

.tp-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-nav-menu li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 6px 0;
  position: relative;
}

.tp-nav-menu li a:hover,
.tp-nav-menu li.current-menu-item a {
  color: #ffffff;
}

.tp-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tp-gold-start), var(--tp-gold-end));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.tp-nav-menu li a:hover::after,
.tp-nav-menu li.current-menu-item a::after {
  width: 100%;
}

.tp-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tp-search-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tp-search-btn:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: var(--tp-accent-purple);
  color: #ffffff;
}

.tp-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--tp-border-purple);
  color: #ffffff;
  padding: 8px;
  border-radius: var(--tp-radius-sm);
  cursor: pointer;
}

/* Breadcrumb Bar */
.tp-breadcrumb-bar {
  background: rgba(20, 12, 52, 0.7);
  border-bottom: 1px solid var(--tp-border-subtle);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--tp-text-muted);
}

.tp-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tp-breadcrumb-inner a {
  color: #cbd5e1;
}

.tp-breadcrumb-inner a:hover {
  color: var(--tp-gold-hover);
}

.tp-breadcrumb-inner .separator {
  color: #64748b;
}

.tp-breadcrumb-inner .current {
  color: #facc15;
  font-weight: 600;
}

/* Hero Section */
.tp-hero-section {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.tp-hero-content {
  z-index: 2;
}

.tp-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #ffffff 0%, #ffe259 50%, #ffa751 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 183, 3, 0.3));
}

.tp-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.tp-hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.tp-hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tp-hero-download-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tp-gold-start) 0%, var(--tp-gold-end) 100%);
  color: var(--tp-text-dark) !important;
  padding: 14px 38px;
  border-radius: var(--tp-radius-md);
  box-shadow: 0 8px 30px var(--tp-gold-shadow);
  transition: all 0.3s ease;
  text-decoration: none;
}

.tp-hero-download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 183, 3, 0.6);
}

.tp-hero-download-btn .main-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--tp-font-title);
}

.tp-hero-download-btn .sub-text {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

.tp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tp-hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  z-index: 1;
}

.tp-hero-img {
  position: relative;
  z-index: 2;
  border-radius: var(--tp-radius-lg);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
  max-height: 480px;
  object-fit: contain;
}

/* Feature Strip */
.tp-feature-strip-section {
  padding: 20px 0 40px;
}

.tp-feature-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  background: rgba(20, 12, 52, 0.6);
  border: 1px solid var(--tp-border-subtle);
  border-radius: var(--tp-radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}

.tp-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-feature-item:last-child {
  border-right: none;
}

.tp-feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-feature-text {
  display: flex;
  flex-direction: column;
}

.tp-feature-text .title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.tp-feature-text .desc {
  font-size: 0.72rem;
  color: var(--tp-text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* Section Header Generic */
.tp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
}

.tp-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.tp-section-title span {
  color: var(--tp-gold-hover);
}

.tp-section-subtitle {
  font-size: 0.92rem;
  color: var(--tp-text-muted);
  margin-top: 4px;
}

/* Popular Games Section */
.tp-popular-games-section {
  padding: 30px 0;
}

.tp-games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.tp-game-card {
  background: linear-gradient(180deg, #23164d 0%, #150d32 100%);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tp-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--tp-accent-purple);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.35);
}

.tp-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--tp-radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
  background: #0b071e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tp-game-card:hover .tp-game-thumb img {
  transform: scale(1.08);
}

.tp-game-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

/* App Overview Section */
.tp-app-overview-section {
  padding: 30px 0;
}

.tp-overview-box {
  background: linear-gradient(135deg, rgba(30, 18, 70, 0.9) 0%, rgba(18, 11, 44, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--tp-radius-lg);
  padding: 32px;
  box-shadow: var(--tp-shadow-glow);
}

.tp-overview-grid {
  display: grid;
  grid-template-columns: 140px 1.4fr 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.tp-overview-icon img {
  width: 130px;
  height: 130px;
  border-radius: 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.tp-overview-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: #ffffff;
}

.tp-overview-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.tp-overview-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.tp-perk-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.tp-perk-bullet.purple { background: rgba(168, 85, 247, 0.25); color: #c084fc; }
.tp-perk-bullet.green  { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.tp-perk-bullet.cyan   { background: rgba(6, 182, 212, 0.25); color: #67e8f9; }
.tp-perk-bullet.amber  { background: rgba(245, 158, 11, 0.25); color: #fde68a; }
.tp-perk-bullet.red    { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }

/* Screenshots Carousel inside Overview */
.tp-screenshots-carousel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.tp-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tp-carousel-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.tp-carousel-header p {
  font-size: 0.85rem;
  color: var(--tp-text-muted);
  margin: 2px 0 0;
}

.tp-carousel-controls {
  display: flex;
  gap: 8px;
}

.tp-carousel-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.tp-carousel-btn:hover {
  background: var(--tp-accent-purple);
}

.tp-screenshots-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.tp-screenshots-track::-webkit-scrollbar { display: none; }

.tp-screenshot-item {
  border-radius: var(--tp-radius-md);
  overflow: hidden;
  border: 1px solid var(--tp-border-purple);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background: #0e0724;
}

.tp-screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Exciting Bonuses & Rewards */
.tp-bonus-rewards-section {
  padding: 30px 0;
}

.tp-bonus-banner {
  background: radial-gradient(circle at 50% 50%, #311568 0%, #150935 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--tp-radius-lg);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 100px 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(234, 179, 8, 0.08);
}

.tp-bonus-gift-visual img {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 6px 15px rgba(245, 158, 11, 0.4));
}

.tp-bonus-headline h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.tp-bonus-headline h3 span {
  color: var(--tp-gold-hover);
}

.tp-bonus-headline p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.tp-bonus-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tp-bonus-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: var(--tp-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

.tp-bonus-pill svg {
  color: var(--tp-gold-hover);
  flex-shrink: 0;
}

/* Latest Apps Grid (4 columns) */
.tp-latest-apps-section {
  padding: 35px 0;
}

.tp-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tp-app-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--tp-shadow-card);
}

.tp-app-card:hover {
  transform: translateY(-5px);
  border-color: var(--tp-accent-purple);
  background: var(--tp-bg-card-hover);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
}

.tp-app-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.tp-app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b071e;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-app-card-meta {
  flex-grow: 1;
}

.tp-app-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.tp-app-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-app-card-desc {
  font-size: 0.85rem;
  color: var(--tp-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tp-app-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* Latest Articles Grid (3 columns) */
.tp-latest-articles-section {
  padding: 35px 0;
}

.tp-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tp-article-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--tp-shadow-card);
}

.tp-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--tp-accent-purple);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

.tp-article-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b071e;
  overflow: hidden;
}

.tp-article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tp-article-card:hover .tp-article-card-thumb img {
  transform: scale(1.06);
}

.tp-article-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tp-article-card-date {
  font-size: 0.78rem;
  color: var(--tp-text-muted);
  margin-bottom: 6px;
}

.tp-article-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.tp-article-card-title a:hover {
  color: var(--tp-gold-hover);
}

.tp-article-card-excerpt {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.tp-article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #c084fc;
}

.tp-article-read-more:hover {
  color: var(--tp-gold-hover);
}

/* FAQ Accordion */
.tp-faq-section {
  padding: 35px 0 50px;
}

.tp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tp-faq-item {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.tp-faq-item.active {
  border-color: var(--tp-accent-purple);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

.tp-faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--tp-font-title);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.tp-faq-question:hover {
  color: var(--tp-gold-hover);
}

.tp-faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--tp-accent-purple);
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tp-faq-item.active .tp-faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--tp-gold-hover);
}

.tp-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

.tp-faq-item.active .tp-faq-answer {
  display: block;
}

/* Footer */
.tp-footer {
  background: #090518;
  border-top: 1px solid var(--tp-border-subtle);
  padding: 50px 0 25px;
  color: var(--tp-text-muted);
}

.tp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 40px;
}

.tp-footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 10px;
}

.tp-footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.tp-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--tp-gold-hover);
  border-radius: 2px;
}

.tp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-footer-links li a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.tp-footer-links li a:hover {
  color: var(--tp-gold-hover);
  transform: translateX(3px);
}

.tp-social-links {
  display: flex;
  gap: 10px;
}

.tp-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.tp-social-btn:hover {
  background: var(--tp-accent-purple);
  transform: translateY(-2px);
}

.tp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.tp-disclaimer-notice {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 6px 14px;
  border-radius: var(--tp-radius-pill);
  font-size: 0.78rem;
  color: #fde68a;
  display: flex;
  align-items: center;
}

/* Sticky Download Bar */
.tp-sticky-download {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 9, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--tp-gold-hover);
  padding: 10px 0;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.tp-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tp-sticky-app {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-sticky-thumb img {
  border-radius: 12px;
}

.tp-sticky-meta h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.tp-sticky-meta p {
  font-size: 0.78rem;
  color: var(--tp-accent-green);
  margin: 2px 0 0;
  font-weight: 600;
}

.tp-sticky-btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Back to Top */
.tp-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border-glow);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.tp-back-to-top:hover {
  background: var(--tp-accent-purple);
  transform: translateY(-3px);
}

.tp-back-to-top.show {
  display: flex;
}

/* ==========================================================================
   Single Article Page Specific Styles (Matching Reference Screenshot 2)
   ========================================================================== */

.tp-single-article {
  padding: 30px 0 50px;
}

.tp-article-header {
  margin-bottom: 24px;
}

.tp-article-category {
  margin-bottom: 12px;
}

.tp-single-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  line-height: 1.25;
}

.tp-post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--tp-text-muted);
  flex-wrap: wrap;
}

.tp-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tp-single-featured-img {
  margin-bottom: 28px;
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--tp-border-purple);
}

/* Quick Information Box */
.tp-app-info-box {
  background: linear-gradient(180deg, #1d1245 0%, #130a30 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.tp-app-info-title {
  background: rgba(168, 85, 247, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tp-font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.tp-app-info-content {
  padding: 22px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 24px;
}

.tp-app-info-thumb img {
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.tp-app-info-table td {
  padding: 6px 0;
  font-size: 0.92rem;
  vertical-align: top;
}

.tp-app-info-table td.label {
  font-weight: 700;
  color: #cbd5e1;
  width: 130px;
}

.tp-app-info-table td.val {
  color: #ffffff;
}

.tp-app-info-table td.val a {
  color: #60a5fa;
  word-break: break-all;
}

/* Main Single Download Box */
.tp-main-download-box {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tp-main-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(135deg, var(--tp-gold-start) 0%, var(--tp-gold-end) 100%);
  color: var(--tp-text-dark) !important;
  font-family: var(--tp-font-title);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 30px;
  border-radius: var(--tp-radius-md);
  box-shadow: 0 8px 30px var(--tp-gold-shadow);
  transition: all 0.3s ease;
  text-decoration: none;
}

.tp-main-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 183, 3, 0.6);
}

.tp-download-subtext {
  font-size: 0.85rem;
  color: var(--tp-text-muted);
  margin-top: 8px;
}

/* Table of Contents */
.tp-toc-box {
  background: rgba(20, 12, 52, 0.8);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.tp-toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tp-font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.tp-toc-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-toc-list li a {
  font-size: 0.92rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.tp-toc-list li a:hover {
  color: var(--tp-gold-hover);
}

/* Entry Content Typography */
.tp-entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.tp-entry-content p {
  margin-bottom: 1.4em;
}

.tp-entry-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tp-border-subtle);
}

.tp-entry-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  color: #ffffff;
}

/* Step Cards */
.tp-step-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.tp-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(24, 15, 60, 0.7);
  border: 1px solid var(--tp-border-purple);
  padding: 14px 20px;
  border-radius: var(--tp-radius-md);
  font-size: 0.96rem;
  color: #e2e8f0;
}

.tp-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tp-accent-purple);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}

/* Check List */
.tp-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 26px;
}

.tp-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: #e2e8f0;
}

.tp-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Post Navigation */
.tp-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--tp-border-subtle);
}

.tp-nav-box {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.tp-nav-box.next {
  text-align: right;
  align-items: flex-end;
}

.tp-nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tp-accent-purple);
  margin-bottom: 6px;
}

.tp-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.tp-nav-title:hover {
  color: var(--tp-gold-hover);
}

/* Search Modal */
.tp-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 7, 30, 0.9);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tp-search-modal.active {
  display: flex;
}

.tp-search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: var(--tp-bg-surface);
  border: 1px solid var(--tp-border-glow);
  border-radius: var(--tp-radius-lg);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.tp-search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.tp-search-close:hover {
  color: #ffffff;
}

.tp-search-form {
  display: flex;
  gap: 10px;
}

.tp-search-input {
  flex-grow: 1;
  background: #0b071e;
  border: 1px solid var(--tp-border-purple);
  border-radius: var(--tp-radius-md);
  padding: 12px 18px;
  color: #ffffff;
  font-size: 1rem;
}

.tp-search-input:focus {
  outline: none;
  border-color: var(--tp-accent-purple);
}
