/* ===== Teen Patti Star - Full Site Styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-wrap {
  background: #0a0a0a;
  min-height: 100vh;
}

/* Mobile container - centered on desktop */
.mobile-container {
  max-width: 430px;
  margin: 0 auto;
  background: #731923;
  position: relative;
}

/* ===== Hero Section ===== */
.hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 1680;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Download Button - positioned at 78% from top */
.download-btn-wrap {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  z-index: 10;
}

.download-btn-link {
  display: block;
  width: 100%;
  animation: glow-pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.download-btn-link:hover {
  transform: scale(1.05);
}

.download-btn-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

/* Fortune text - positioned at 93% from top */
.fortune-text {
  position: absolute;
  top: 93%;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 16px;
  z-index: 10;
}

.fortune-text p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: #fcd34d;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 16px 8px;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  border-radius: 8px;
  padding: 10px 12px;
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-text {
  min-width: 0;
  overflow: hidden;
}

.feature-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #78350f;
  line-height: 1.2;
}

.feature-desc {
  font-size: 0.65rem;
  color: #92400e;
  line-height: 1.2;
}

/* ===== Copyright ===== */
.copyright {
  padding: 8px 16px 24px;
  text-align: center;
}

.copyright p {
  font-size: 0.7rem;
  color: rgba(253, 230, 138, 0.6);
}

/* ===== Main Heading ===== */
.main-heading {
  background: #0a0a0a;
  padding: 32px 16px;
}

.main-heading h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fbbf24;
  text-align: center;
}

/* ===== Content Area ===== */
.content-area {
  background: #0a0a0a;
  padding: 0 16px 32px;
  color: #e5e5e5;
}

.article-section {
  margin-bottom: 32px;
}

.article-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 12px;
}

.article-section p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 12px;
}

.article-section ol,
.article-section ul {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 12px;
  padding-left: 20px;
}

.article-section li {
  margin-bottom: 8px;
}

.article-section strong {
  color: #fcd34d;
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-wrap details {
  border: 1px solid rgba(120, 53, 15, 0.5);
  background: #1a1a1a;
  border-radius: 8px;
  padding: 12px;
}

.faq-wrap summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fcd34d;
  cursor: pointer;
  list-style: none;
}

.faq-wrap summary::-webkit-details-marker { display: none; }

.faq-wrap details p {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #d1d5db;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.cta-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-section p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
}

/* ===== Disclaimer Box ===== */
.disclaimer-box {
  border: 1px solid rgba(120, 53, 15, 0.3);
  background: #1a1a1a;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.disclaimer-box h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 8px;
}

.disclaimer-box p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  padding: 32px 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-copy {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.footer-note {
  font-size: 0.65rem;
  color: #374151;
}

/* ===== Page styles (Privacy, Terms, Disclaimer) ===== */
.page-pad {
  background: #0a0a0a;
  padding: 32px 16px;
}

.back-link {
  margin-bottom: 24px;
}

.back-link a {
  font-size: 0.875rem;
  color: #fbbf24;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 24px;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #d1d5db;
}

.page-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fcd34d;
  margin-top: 8px;
}

.page-footer {
  margin-top: 32px;
  border-top: 1px solid #1f2937;
  padding-top: 16px;
  text-align: center;
}

.page-footer p {
  font-size: 0.75rem;
  color: #4b5563;
}

/* ===== Animations ===== */
@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.4)) drop-shadow(0 0 20px rgba(245, 197, 24, 0.2));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(245, 197, 24, 0.7)) drop-shadow(0 0 40px rgba(245, 197, 24, 0.4));
    transform: scale(1.03);
  }
}

/* ===== Responsive tweaks ===== */
@media (min-width: 640px) {
  .main-heading h1 {
    font-size: 1.75rem;
  }
  .fortune-text p {
    font-size: 1.25rem;
  }
}
