:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --text-main: #0f172a;
  --text-slate: #334155;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}


body {
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* LAYOUT */
.container {
  max-width: 940px;
  margin: auto;
  padding: 0 24px;
  width: 100%;
}

/* ====================================
   HEADER
   ==================================== */
.header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { font-size: 22px; }

.logo-text {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

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

.main-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
}

.main-nav a:hover { color: var(--primary); background: #f0f9ff; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0f172a;
  border-radius: 2px;
  transition: 0.3s;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 24px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  box-shadow: inset 0 6px 10px -10px rgba(0,0,0,0.1);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: 16px;
  transition: 0.2s;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mobile-nav.open {
  display: flex !important;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a:hover {
  background: #f0f9ff;
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

/* ====================================
   HERO
   ==================================== */
.hero { padding: 60px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* ORIGINAL LINKEDIN PINPOINT CLUES STYLE */
.pinpoint-clues-container {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
  width: 100%;
  box-sizing: border-box;
}
.pinpoint-clue {
  padding: 18px 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
.pinpoint-clue.clue-1 { background-color: #add1f8; }
.pinpoint-clue.clue-2 { background-color: #8cbdf5; }
.pinpoint-clue.clue-3 { background-color: #6aaaf2; }
.pinpoint-clue.clue-4 { background-color: #4996ee; }
.pinpoint-clue.clue-5 { background-color: #2781ea; }


.hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
}

.date { color: #64748b; margin-bottom: 15px; }

.hero p { color: #475569; margin-bottom: 15px; }

.highlight-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #9a3412;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #fed7aa;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.secondary-btn {
  border: 1px solid var(--border-light);
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  text-align: center;
  background: white;
}

.secondary-btn:hover { background: #f1f5f9; }

.trust { display: flex; gap: 25px; font-size: 13px; }
.trust strong { font-size: 18px; }

/* HERO CARD */
.hero-card {
  background: white;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.hero-card:hover { transform: translateY(-6px); }
.hero-card h2 { margin-bottom: 15px; }
.hero-card li { background: #f1f5f9; padding: 10px; border-radius: 8px; margin-bottom: 8px; list-style: none; }

/* WHY */
.why { padding: 40px 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--primary);
}

/* COUNTDOWN */
.countdown {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 45px 20px;
  border-radius: 18px;
  margin: 50px auto;
  max-width: 820px;
}

#timer { font-size: 32px; font-weight: 700; margin: 15px 0; }

/* RECENT */
.recent { padding: 40px 0; }

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recent-card {
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
}

.recent-card:hover { transform: translateY(-4px); }

/* ANSWER */
.answer-section { padding: 50px 0; }

.answer-card {
  background: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.answer-list li { background: #f1f5f9; margin-bottom: 10px; padding: 10px; border-radius: 8px; list-style: none; }

.final-answer { font-size: 30px; font-weight: 800; color: #0a66c2; margin: 20px 0; }

.difficulty {
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
}

/* FAQ */
.faq { padding: 40px 0; }

.faq-item {
  background: white;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* EXTENSION: ADAPTED HERO CARD */
.clue-list { padding: 0; margin-bottom: 25px; }

.clue-row {
  display: flex !important;
  padding: 0 !important;
  background: transparent !important;
  margin-bottom: 12px !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.clue-num {
  background: white;
  color: #0f172a;
  font-weight: 800;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-right: none;
  font-size: 15px;
}

.clue-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.bg-blue  { background: #3b82f6; color: white; border: 1px solid #3b82f6; }
.bg-green { background: #10b981; color: white; border: 1px solid #10b981; }
.bg-yellow{ background: #f59e0b; color: white; border: 1px solid #f59e0b; }

.clue-icon { font-size: 10px; opacity: 0.8; }

.card-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-answer-section { border-top: 2px solid #e5e7eb; padding-top: 18px; }
.start-game-section { margin-top: 25px; }
.start-game-section a { transition: 0.2s; }
.start-game-section a:hover { transform: translateX(4px); color: #0a66c2 !important; }
.play-triangle { color: #f87171; font-size: 12px; }

/* ====================================
   MOBILE
   ==================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .primary-btn, .secondary-btn { width: 100%; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero-card { padding: 25px !important; }
  .container { padding: 0 25px; }
}

@media (max-width: 480px) {
  .hero-card { padding: 20px !important; }
  .pinpoint-clues-container {
    margin: 0 0 20px 0;
  }
  .pinpoint-clue {
    padding: 16px 12px;
    font-size: 14.5px;
  }
  .container { padding: 0 15px; }
}



/* ====================================
   FOOTER (Multi-column premium dark)
   ==================================== */
.footer-main {
  background: #0f172a;
  color: #94a3b8;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo-icon { font-size: 24px; }

.footer-logo-text {
  font-size: 16px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.footer-brand-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e2e8f0;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.footer-col ul li a:hover { color: #e2e8f0; }

.footer-disclaimer {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-bottom { border-top: 1px solid #1e293b; }

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-trademark { text-align: right; }

@media (max-width: 900px) {
  .footer-inner { 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    text-align: center;
  }
  .footer-brand { 
    grid-column: 1 / -1; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-logo { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-trademark { text-align: center; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ====================================
   BOOKMARK WIDGET (Consolidated)
   ==================================== */
.tp-widget-container {
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 15px;
  padding: 24px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 100%;
}

.tp-star-icon {
  font-size: 32px;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.tp-widget-center { flex-grow: 1; }
.tp-widget-center h3 { margin: 0; color: #0f172a; font-size: 18px; font-weight: 800; }
.tp-widget-center p { margin: 4px 0 0; color: #64748b; font-size: 14px; font-weight: 500; }

.tp-btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.tp-btn:hover { background: #d97706; color: white; transform: scale(1.02); }

.tp-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.tp-modal {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 90%;
  width: 420px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tp-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #94a3b8;
}

#tp-instructions-content { margin-top: 20px; line-height: 1.6; color: #334155; font-weight: 500; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .tp-widget-container { flex-direction: column; text-align: center; gap: 15px; }
  .tp-btn { width: 100%; }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-col ul {
    padding: 0;
    list-style: none;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

