/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KOFITOTO DESIGN SYSTEM
   Modern, Sleek, Premium Light & Dark Mode
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --bg-primary: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent: #0052d4;
  --accent-soft: rgba(0, 82, 212, 0.1);
  --accent-hover: #0040a8;
  --border: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 82, 212, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 82, 212, 0.12);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER & NAVIGATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-item-dropdown {
  position: relative;
  padding: 1rem 0;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  padding: 0.75rem;
  min-width: 220px;
  max-height: 380px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--bg-primary);
  color: var(--accent);
}

.auth-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}

.btn-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-signup {
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.25);
  transition: all 0.2s;
}

.btn-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 82, 212, 0.35);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: #ffffff;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  z-index: 99;
}

.mobile-menu.show {
  display: flex;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-section {
  padding: 4rem 0 3rem;
  position: relative;
  background: radial-gradient(circle at top right, rgba(67, 100, 247, 0.05), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc-1, .hero-desc-2 {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-desc-1 a, .hero-desc-2 a {
  color: var(--accent);
  font-weight: 700;
}

.hero-banner {
  display: flex;
  justify-content: center;
}

.banner-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
}

.banner-wrapper img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARKET TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.table-section {
  padding: 4rem 0;
  background: transparent;
}

.section-header-center {
  text-align: center;
  margin-bottom: 2rem;
}

.table-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.table-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
}

.market-table th {
  background: #0f172a;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}

.market-table th:nth-child(1) { width: 30%; text-align: left; }
.market-table th:nth-child(2) { width: 25%; text-align: left; }
.market-table th:nth-child(3) { width: 15%; text-align: center; }
.market-table th:nth-child(4) { width: 30%; text-align: center; }

.market-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: background 0.2s;
  vertical-align: middle;
}

.market-table td:nth-child(3) { text-align: center; }
.market-table td:nth-child(4) { text-align: center; }

.market-table tr:hover td {
  background: #f8fafc;
}

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

.market-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.market-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.result-balls {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.result-ball {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
}

.result-ball:hover {
  transform: scale(1.1);
}

.date-time-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-text {
  font-weight: 600;
  color: var(--text-main);
}

.time-text {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

.page-btn, .page-number {
  background: #ffffff;
  color: #0f172a;
  padding: 0.75rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.page-btn:hover:not(:disabled), .page-number:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-number.active {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

.premium-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RECOMMENDED MARKETS (slider + search)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.recommended-section {
  padding: 4rem 0;
  background: transparent;
}

.recommended-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 900;
}

.recommended-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin: 0.5rem 0 2rem;
}

.search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.market-search {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.market-search:focus {
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #94a3b8;
}

/* Slider */
.slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.5rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track:active {
  cursor: grabbing;
}

/* Grid (search mode) */
.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

/* Card */
.slim-card {
  flex: 0 0 180px;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: fadeIn 0.3s ease both;
  animation-delay: calc(var(--i, 0) * 0.03s);
}

.slim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.1);
  border-color: var(--accent);
}

.slim-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.card-btn-result {
  display: block;
  text-align: center;
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.card-btn-result:hover {
  opacity: 0.85;
}

.no-result {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #64748b;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EEAT CONTENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.main-content {
  padding: 4rem 0 0;
}

.eeat-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 82, 212, 0.1);
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: clamp(20px, 5vw, 32px);
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.eeat-box h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 2rem;
  color: #0f172a;
  font-weight: 900;
}

.eeat-box p {
  line-height: 1.9;
  color: #1e293b;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 1rem;
}

.eeat-box a {
  color: var(--accent);
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SUPPORTED MARKETS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.supported-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.diag-decor, .diag-decor2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
  background: var(--gradient-primary);
  pointer-events: none;
}

.diag-decor { top: -200px; right: -200px; }
.diag-decor2 { bottom: -200px; left: -300px; }

.supported-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.supported-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 900;
}

.supported-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.market-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.market-compact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  transition: all 0.25s;
  min-width: 0;
  overflow: hidden;
}

.market-compact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.card-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.tag-4d, .tag-3d, .tag-5d {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tag-4d { background: #dbeafe; color: #1d4ed8; }
.tag-3d { background: #dcfce7; color: #15803d; }
.tag-5d { background: #fef3c7; color: #b45309; }

.market-name-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-action svg {
  width: 14px;
  height: 14px;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #64748b;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER & MOBILE STICKY NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2rem 0 1.25rem;
  margin-top: 3.5rem;
  border-top: 1px solid #1e293b;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.footer-dmca-badge {
  display: inline-block;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  width: fit-content;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #e2e8f0;
  border-top: 1px solid #334155;
  padding-top: 1rem;
}

.mobile-sticky-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  z-index: 999;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .header-container { height: 70px; }
  .nav-menu, .auth-desktop { display: none; }
  .burger-btn { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .banner-wrapper img { max-width: 320px; margin: 0 auto; }
  .mobile-sticky-nav { display: flex; }
  body { padding-bottom: 70px; }
  .market-table th, .market-table td { padding: 0.9rem 0.75rem; font-size: 0.85rem; }
  .result-ball { width: 30px; height: 30px; font-size: 0.85rem; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PREDIKSI & ARTICLE RESPONSIVE SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.prediksi-wrapper {
  padding: 3rem 0 5rem;
}

.prediksi-header {
  margin-bottom: 3.5rem;
}

.prediksi-title {
  color: #0f172a;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.prediksi-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 650px;
}

.prediksi-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.list-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.list-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 82, 212, 0.1);
}

.list-card-image {
  width: 220px;
  height: 220px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
}

.list-card-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.list-card:hover .list-card-image img {
  transform: scale(1.05);
}

.list-card-body {
  flex: 1;
  min-width: 0;
}

.list-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.list-card-time {
  font-weight: 600;
}

.list-card-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.list-card-title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.list-card:hover .list-card-title {
  color: var(--accent);
}

.list-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}

.list-card:hover .list-card-arrow {
  background: var(--accent);
  color: #ffffff;
}

/* Article Detail Page Styles */
.article-wrapper {
  padding: 3rem 0 5rem;
}

.article-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-banner {
  margin: 0 auto 3rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
}

.article-banner img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border-radius: 24px;
}

.article-content {
  line-height: 1.9;
  font-size: 1.1rem;
  color: #334155;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.6rem;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
}

.article-content h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin: 2rem 0 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer { margin-top: 2.5rem; padding: 2rem 0 1.25rem; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .list-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .list-card-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .list-card-arrow {
    display: none;
  }
  .article-banner {
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-col-links {
    align-items: center;
  }
  .footer-link:hover {
    transform: none;
  }
}
