/**
 * TopTwenty Master Stylesheet
 * High-precision, clean design inspired by modern cashback & rewards portals
 * Strictly zero emojis, clean human typography, warm cream & amber/orange palette
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #fffdf5;
  --bg-card: #ffffff;
  --bg-card-subtle: #fcf9ee;
  --text-main: #1c1a17;
  --text-muted: #6b6354;
  --text-light: #948b78;
  
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-soft: #fef3c7;
  --primary-border: #fcd34d;
  
  --brand-black: #141310;
  --brand-orange: #ea580c;
  
  --border-line: #ede5cf;
  --border-card: #e5dac0;
  
  --status-success: #15803d;
  --status-success-bg: #dcfce7;
  --status-pending: #b45309;
  --status-pending-bg: #fef3c7;
  --status-rejected: #b91c1c;
  --status-rejected-bg: #fee2e2;
  --status-paid: #1d4ed8;
  --status-paid-bg: #dbeafe;
  
  --shadow-sm: 0 2px 8px rgba(35, 28, 12, 0.04);
  --shadow-md: 0 10px 30px rgba(35, 28, 12, 0.07);
  --shadow-lg: 0 20px 45px rgba(35, 28, 12, 0.10);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.22s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

/* ==========================================================================
   Top Notification Bar
   ========================================================================== */
.top-notice-bar {
  background: var(--brand-black);
  color: #efe8d4;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid #28241c;
}

.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-left, .notice-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.notice-item i {
  color: var(--primary);
  font-size: 13px;
}

.notice-link {
  color: #f7eed8;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.notice-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.main-nav {
  background: rgba(255, 253, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-black);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--brand-black);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary-border);
}

.btn-dark {
  background: var(--brand-black);
  color: #ffffff;
}

.btn-dark:hover {
  background: #2b271f;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--brand-black);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 50px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.12), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(234, 88, 12, 0.08), transparent 28%),
    linear-gradient(180deg, #fff9e6 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-line);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  color: var(--primary);
}

.hero-title {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--brand-black);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--brand-orange);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-line);
}

.stat-item .stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-black);
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Showcase Card */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-black);
}

.card-pill {
  background: var(--primary-soft);
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-payout-box {
  background: linear-gradient(135deg, #fff7d6 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.card-payout-box small {
  font-size: 12px;
  font-weight: 700;
  color: #78350f;
  text-transform: uppercase;
}

.card-payout-box .payout-amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-black);
  margin-top: 4px;
  display: block;
}

.card-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3eedf;
  font-size: 13px;
}

.step-row:last-child {
  border-bottom: none;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.step-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.step-tag {
  font-weight: 700;
  font-size: 11px;
  color: var(--status-success);
}

/* ==========================================================================
   Offers Grid Section
   ========================================================================== */
.section {
  padding: 65px 0;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 42px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--brand-black);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.offer-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.offer-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  padding: 4px;
}

.offer-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-black);
  line-height: 1.3;
}

.offer-package {
  font-size: 12px;
  color: var(--text-light);
  font-family: monospace;
  margin-top: 3px;
}

.offer-instructions {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  background: var(--bg-card-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-line);
  white-space: pre-line;
}

.offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f3eedf;
}

.offer-reward {
  display: flex;
  flex-direction: column;
}

.offer-reward small {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.offer-reward strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--status-success);
}

/* ==========================================================================
   Status Tracker Box (/check)
   ========================================================================== */
.check-box-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-file {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  cursor: pointer;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pending { background: var(--status-pending-bg); color: var(--status-pending); }
.status-approved { background: var(--status-success-bg); color: var(--status-success); }
.status-rejected { background: var(--status-rejected-bg); color: var(--status-rejected); }
.status-paid { background: var(--status-paid-bg); color: var(--status-paid); }

/* Table Style */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  background: #fbf8ec;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-line);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f5efde;
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: var(--brand-black);
  color: #b5ad98;
  padding: 55px 0 24px;
  margin-top: auto;
  border-top: 1px solid #28241c;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff9e6;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #b5ad98;
  font-size: 13px;
  font-weight: 500;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid #28241c;
  font-size: 12px;
  color: #7d7561;
}

/* ==========================================================================
   Two Column Grid & Layout Utilities
   ========================================================================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 14px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .top-notice-bar {
    display: none;
  }
  .form-input, .form-file, select, textarea {
    font-size: 16px !important;
  }
  .data-table th, .data-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}
