/* Your Daily Info — Modern Dark Theme 2026 */

/* =========================================
   Design Tokens
   ========================================= */
:root {
  --bg-primary: #06060f;
  --bg-secondary: #0c0c1d;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --bg-glass: rgba(18, 18, 42, 0.7);
  --text-primary: #eeeef5;
  --text-secondary: #7a7a9e;
  --text-muted: #55556e;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-hover: #33dfff;
  --cta: #ff6b35;
  --cta-hover: #ff8855;
  --cta-glow: rgba(255, 107, 53, 0.2);
  --success: #00e68a;
  --star: #ffc107;
  --border: #1e1e3a;
  --border-hover: #2e2e55;
  --max-width: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px var(--accent-glow); }
  50% { box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(0,212,255,0.08); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in {
  animation: fadeInUp 0.5s ease-out both;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  background: rgba(12, 12, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

.nav-yt {
  background: #ff0000;
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-yt:hover { background: #dd0000; color: white; transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0,212,255,0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,107,53,0.03) 0%, transparent 50%);
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
  position: relative;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.badge {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}
.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* =========================================
   Sections
   ========================================= */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-header a {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =========================================
   Product Cards
   ========================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.product-card-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #12123a 0%, #1e1040 50%, #0a1a30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-img .rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--cta), #ff8855);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255,107,53,0.3);
  z-index: 2;
}

.product-card-img .video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,0,0,0.9);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.product-card-body { padding: 22px; }
.product-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-body .category {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-weight: 600;
  display: inline-block;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.stars { color: var(--star); font-size: 0.85rem; letter-spacing: 1px; }
.price { font-size: 1.25rem; font-weight: 800; color: var(--success); }

.btn-affiliate {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--cta), #ff8855);
  color: white;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.btn-affiliate:hover {
  background: linear-gradient(135deg, #ff8855, var(--cta));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--cta-glow);
}

/* =========================================
   Video Cards
   ========================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  display: block;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d0d30, #15102e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.play-btn {
  width: 68px;
  height: 68px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(255,0,0,0.3);
}
.video-card:hover .play-btn {
  transform: scale(1.12);
  background: rgba(255, 0, 0, 1);
}

.video-card-body { padding: 20px; }
.video-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-primary);
}
.video-card-body .video-date { color: var(--text-muted); font-size: 0.82rem; }

/* =========================================
   Product Detail Page
   ========================================= */
.product-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
}

.product-image-large {
  background: linear-gradient(135deg, #12123a, #1e1040);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--accent);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.product-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.product-info .category {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
  display: block;
}
.product-info .price-large {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 8px;
}
.product-info .stars-large {
  color: var(--star);
  font-size: 1.05rem;
  margin-bottom: 28px;
  display: block;
}

.btn-affiliate-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cta), #ff8855);
  color: white;
  padding: 18px 44px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--cta-glow);
}
.btn-affiliate-large:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--cta-glow);
}

.product-video {
  margin-top: 52px;
  grid-column: 1 / -1;
}
.product-video h2 { margin-bottom: 24px; font-size: 1.5rem; }

.related { grid-column: 1 / -1; margin-top: 32px; }
.related h2 { margin-bottom: 28px; font-size: 1.5rem; }

/* =========================================
   Filter Bar
   ========================================= */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* =========================================
   Page Header
   ========================================= */
.page-header {
  padding: 52px 24px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* =========================================
   Breadcrumb
   ========================================= */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* =========================================
   About Content
   ========================================= */
.about-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 24px;
}
.about-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.about-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
  color: var(--accent);
  font-weight: 700;
}
.about-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-content ul {
  color: var(--text-secondary);
  margin-left: 24px;
  margin-bottom: 18px;
}
.about-content li { margin-bottom: 10px; line-height: 1.7; }

.disclosure-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 36px 0;
}
.disclosure-box h2 { margin-top: 0; font-size: 1.2rem; }

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
}

.footer h4 {
  color: var(--text-primary);
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}
.footer p, .footer li { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--text-muted); transition: color var(--transition); }
.footer a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.affiliate-disclosure {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   Responsive — Tablet (1024px)
   ========================================= */
@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-image-large { position: static; max-height: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   Responsive — Mobile (768px)
   ========================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12,12,29,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 0; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 60px 20px 50px; }
  .hero-badges { gap: 8px; }
  .badge { padding: 8px 16px; font-size: 0.78rem; }

  .section { padding: 40px 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .video-grid { grid-template-columns: 1fr; gap: 16px; }

  .product-detail { padding: 24px 16px; }
  .product-image-large { max-height: 300px; }
  .product-info h1 { font-size: 1.4rem; }
  .btn-affiliate-large { width: 100%; justify-content: center; padding: 16px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .page-header { padding: 36px 16px 0; }
  .about-content { padding: 36px 16px; }
  .breadcrumb { padding: 14px 16px; }
}

/* =========================================
   Responsive — Small Mobile (480px)
   ========================================= */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card-img { height: 180px; }
  .hero h1 { font-size: 1.7rem; }
  .nav-yt { padding: 6px 12px; font-size: 0.78rem; }
}
