/* ==============================================================================
   Trycart Solution Private Limited - Official Website Design System
   Modern, Dark Luxury, Responsive & Google Play Compliant
   ============================================================================== */

:root {
  --bg-main: #0B1120;
  --bg-card: #131D33;
  --bg-card-hover: #1A2744;
  --bg-elevated: #1E293B;
  --border-color: #1E293B;
  --border-glow: #38BDF840;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --accent-gold: #F59E0B;
  --accent-gold-light: #FDE68A;
  --accent-cyan: #38BDF8;
  --accent-blue: #2563EB;
  --accent-emerald: #10B981;
  --accent-purple: #A855F7;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7DD3FC;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* -----------------------------------------------------------------------------
   Header & Navbar
   ----------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-badge {
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  color: white !important;
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------------------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(11, 17, 32, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
}

.hero-title span {
  background: linear-gradient(135deg, #38BDF8, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Trust Highlights Bar
   ----------------------------------------------------------------------------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0 70px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
}

.trust-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.trust-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   Game Showcase Section
   ----------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.featured-game-card {
  background: linear-gradient(180deg, #16223B 0%, #101827 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  position: relative;
}

.featured-banner-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: #070B14;
  border-bottom: 1px solid var(--border-color);
}

.featured-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.game-card-body {
  padding: 40px;
}

.game-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 32px;
}

.game-app-icon {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-info-col {
  flex: 1;
}

.game-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.game-subtitle {
  color: var(--accent-cyan);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.game-summary {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.feature-bullets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.feature-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bullet-check {
  color: var(--accent-emerald);
  font-size: 18px;
  font-weight: 800;
}

.bullet-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bullet-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Gallery row */
.screenshots-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.screen-thumb {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}

.screen-thumb:hover {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
   Legal & Policy Content Page Layout
   ----------------------------------------------------------------------------- */
.policy-page {
  padding: 50px 0 80px;
}

.policy-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
}

.policy-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.policy-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.policy-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  font-size: 15px;
  line-height: 1.8;
  color: #CBD5E1;
}

.policy-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-body h2:first-of-type {
  margin-top: 0;
}

.policy-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 10px;
}

.policy-body p {
  margin-bottom: 18px;
}

.policy-body ul {
  margin: 0 0 20px 24px;
}

.policy-body li {
  margin-bottom: 8px;
}

.policy-callout {
  background: rgba(30, 41, 59, 0.7);
  border-left: 4px solid var(--accent-cyan);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-primary);
}

.policy-callout.warning {
  border-left-color: var(--accent-gold);
}

.policy-callout.success {
  border-left-color: var(--accent-emerald);
}

/* -----------------------------------------------------------------------------
   Contact & FAQ Cards
   ----------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 30px 0 50px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-q {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-box {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin: 40px 0;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563EB, #0284C7);
  color: white;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.contact-email-btn:hover {
  color: white;
  opacity: 0.95;
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.footer {
  margin-top: auto;
  background: #070B14;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   Mobile Responsiveness
   ----------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .game-meta-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .screenshots-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 14px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .policy-body {
    padding: 24px 20px;
  }
}
