:root {
  --red: #e63946;
  --dark: #1d1d1d;
  --gold: #ffd700;
  --bg: #f5f5f5;
  --bg2: #ffffff;
  --text: #1d1d1d;
  --text2: #555;
  --border: #e0e0e0;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 10px;
  --nav-h: 60px;
}
.dark {
  --bg: #111;
  --bg2: #1d1d1d;
  --text: #f0f0f0;
  --text2: #aaa;
  --border: #333;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Breaking Ticker */
.breaking-ticker { background: var(--red); color: white; display: flex; align-items: center; overflow: hidden; height: 36px; font-size: 0.88rem; font-weight: 600; }
.breaking-label { background: #b02030; padding: 0 14px; height: 100%; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; letter-spacing: 0.05em; }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-content { display: flex; align-items: center; gap: 24px; animation: ticker 30s linear infinite; white-space: nowrap; padding-left: 100%; }
.ticker-content a { color: white; }
.ticker-content a:hover { text-decoration: underline; }
.separator { opacity: 0.5; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Navbar */
.navbar { background: var(--dark); color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 6px; font-size: 1.4rem; font-weight: 800; color: white; flex-shrink: 0; }
.logo-icon { color: var(--gold); }
.logo-accent { color: var(--red); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { color: #ccc; padding: 6px 10px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s; }
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-form { display: flex; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
.search-form input { background: transparent; border: none; color: white; padding: 6px 12px; width: 180px; outline: none; font-size: 0.88rem; }
.search-form input::placeholder { color: rgba(255,255,255,0.5); }
.search-form button { background: transparent; border: none; color: white; padding: 6px 10px; cursor: pointer; font-size: 1rem; }
.dark-toggle, .hamburger { background: transparent; border: none; color: white; cursor: pointer; font-size: 1.2rem; padding: 6px; border-radius: 6px; transition: background 0.2s; }
.dark-toggle:hover, .hamburger:hover { background: rgba(255,255,255,0.15); }
.hamburger { display: none; }
.mobile-menu { display: none; flex-direction: column; background: #111; padding: 12px 16px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #eee; padding: 10px 4px; border-bottom: 1px solid #222; font-size: 1rem; }
.mobile-search { display: flex; margin-top: 10px; }
.mobile-search input { flex: 1; background: #222; border: none; color: white; padding: 8px 12px; border-radius: 6px 0 0 6px; outline: none; }
.mobile-search button { background: var(--red); border: none; color: white; padding: 8px 14px; border-radius: 0 6px 6px 0; cursor: pointer; }

/* PWA Install UI */
.pwa-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130; display: none; }
.pwa-bar.show { display: block; }
.pwa-bar-inner { display: flex; align-items: center; gap: 12px; background: rgba(17,17,17,0.96); color: white; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; box-shadow: 0 16px 44px rgba(0,0,0,0.28); padding: 12px 14px; backdrop-filter: blur(14px); }
.pwa-bar-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--red), #ff7a59); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.pwa-bar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pwa-bar-text strong { font-size: 0.92rem; }
.pwa-bar-text span { color: rgba(255,255,255,0.72); font-size: 0.78rem; }
.pwa-bar-btn, .pwa-bar-close { border: none; cursor: pointer; }
.pwa-bar-btn { background: var(--red); color: white; border-radius: 999px; padding: 10px 16px; font-size: 0.84rem; font-weight: 700; }
.pwa-bar-close { background: transparent; color: rgba(255,255,255,0.72); font-size: 1.05rem; padding: 6px; }

.main-content { min-height: 60vh; padding: 24px 0 40px; }
.section { margin: 32px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; border-bottom: 3px solid var(--red); padding-bottom: 8px; }
.section-title { font-size: 1.3rem; font-weight: 800; }
.see-all { color: var(--red); font-size: 0.9rem; font-weight: 600; }

/* Hero */
.hero-section { margin: 0 0 32px; }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--bg2); box-shadow: var(--card-shadow); transition: transform 0.2s; }
.hero-card:hover { transform: translateY(-3px); }
.hero-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder { background: linear-gradient(135deg, var(--red), #a0000d); display: flex; align-items: center; justify-content: center; }
.placeholder-icon { font-size: 4rem; }
.hero-content { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-size: 1.6rem; font-weight: 800; line-height: 1.3; margin: 10px 0; }
.hero-excerpt { color: var(--text2); font-size: 0.95rem; line-height: 1.6; }
.hero-meta { margin-top: 16px; font-size: 0.82rem; color: var(--text2); display: flex; gap: 8px; flex-wrap: wrap; }

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

/* Article Card */
.article-card { background: var(--bg2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); transition: transform 0.2s, box-shadow 0.2s; display: block; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.card-img-wrap { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #eee; }
.dark .card-img-wrap { background: #333; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-no-img { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #333, #555); }
.trending-num { position: absolute; top: 8px; left: 8px; background: var(--red); color: white; font-weight: 800; font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; }

/* Netflix-style Play Button */
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85); width: 54px; height: 54px; background: rgba(0,0,0,0.65); border: 3px solid rgba(255,255,255,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; opacity: 0.9; z-index: 5; backdrop-filter: blur(2px); }
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(230, 57, 70, 0.88); border-color: white; opacity: 1; box-shadow: 0 0 20px rgba(230,57,70,0.6); }
.card-img-wrap:hover .play-btn { transform: translate(-50%, -50%) scale(1); opacity: 1; }
/* Larger play button for article featured image */
.play-btn-article { width: 72px; height: 72px; border-width: 4px; }
.play-btn-article svg { width: 28px; height: 28px; }
.article-figure:hover .play-btn-article { transform: translate(-50%, -50%) scale(1.08); background: rgba(230,57,70,0.88); opacity: 1; }
.card-body { padding: 14px; }
.card-title { font-size: 0.97rem; font-weight: 700; line-height: 1.4; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-excerpt { font-size: 0.85rem; color: var(--text2); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 0.78rem; color: var(--text2); display: flex; gap: 6px; flex-wrap: wrap; }

/* Category Badges */
.cat-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-news { background: #e3f2fd; color: #0d47a1; }
.cat-entertainment { background: #fce4ec; color: #880e4f; }
.cat-viral { background: #fff3e0; color: #e65100; }
.cat-sports { background: #e8f5e9; color: #1b5e20; }
.cat-business { background: #f3e5f5; color: #4a148c; }
.cat-lifestyle { background: #e0f7fa; color: #006064; }
.dark .cat-news { background: #0d2a4a; color: #90caf9; }
.dark .cat-entertainment { background: #3a0010; color: #f48fb1; }
.dark .cat-viral { background: #3a1a00; color: #ffcc80; }
.dark .cat-sports { background: #0a2d0a; color: #a5d6a7; }
.dark .cat-business { background: #1a0a2a; color: #ce93d8; }
.dark .cat-lifestyle { background: #002a2e; color: #80deea; }
.breaking-badge { background: var(--red); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; }

/* Latest Grid */
.latest-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
.list-card { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.list-card:last-child { border-bottom: none; }
.list-card-img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.list-no-img { width: 110px; height: 80px; border-radius: 8px; background: linear-gradient(135deg, #333, #555); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.list-card-body h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin: 4px 0 6px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-block { background: var(--bg2); border-radius: var(--radius); padding: 18px; box-shadow: var(--card-shadow); }
.sidebar-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.cat-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; margin-bottom: 4px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s; }
.cat-link:hover { background: var(--bg); }
.install-block { background: linear-gradient(135deg, var(--dark), #333); color: white; }
.install-block h3 { color: var(--gold); }
.install-block p { font-size: 0.88rem; color: #ccc; margin: 8px 0 14px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; border: none; text-align: center; }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: #c1121f; transform: translateY(-1px); }
.btn-xl { padding: 14px 32px; font-size: 1.1rem; border-radius: 30px; }

/* Article Page */
.article-container { padding-top: 24px; }
.article-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 32px; margin-bottom: 40px; }
.breadcrumb { font-size: 0.82rem; color: var(--text2); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--red); }
.article-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.article-title { font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.article-meta { font-size: 0.85rem; color: var(--text2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.article-figure { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.article-img { width: 100%; max-height: 480px; object-fit: cover; }
.article-figure figcaption { font-size: 0.8rem; color: var(--text2); padding: 8px; text-align: center; }
.article-content { font-size: 1.05rem; line-height: 1.8; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; margin: 28px 0 12px; }
.article-content h3 { font-size: 1.2rem; font-weight: 600; margin: 24px 0 10px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote { border-left: 4px solid var(--red); padding: 12px 20px; margin: 20px 0; background: var(--bg); font-style: italic; border-radius: 0 8px 8px 0; }
.article-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-chip { background: var(--bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; font-size: 0.82rem; color: var(--red); transition: all 0.2s; }
.tag-chip:hover { background: var(--red); color: white; border-color: var(--red); }
.share-buttons { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.share-btn { padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; transition: all 0.2s; flex-shrink: 0; border: none; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.share-wa { background: #25D366; color: white; }
.share-wa:hover { background: #1da851; }
.share-fb { background: #1877f2; color: white; }
.share-fb:hover { background: #0d60d0; }
.share-tw { background: #000; color: white; }
.share-tw:hover { background: #333; }
.big-share { padding: 12px 22px; font-size: 0.95rem; }
.share-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 28px 0; }
.share-block h3 { margin-bottom: 14px; font-size: 1rem; }
.source-credit { font-size: 0.8rem; color: var(--text2); margin-top: 16px; }
.related-section { border-top: 1px solid var(--border); padding-top: 32px; }

/* Page Header */
.page-header { margin-bottom: 28px; border-bottom: 3px solid var(--red); padding-bottom: 16px; }
.page-title { font-size: 2rem; font-weight: 800; }
.page-subtitle { color: var(--text2); margin-top: 6px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text2); font-size: 1.1rem; }
.search-count { margin-bottom: 20px; color: var(--text2); }
.big-search-form { display: flex; margin-top: 16px; max-width: 600px; }
.big-search-form input { flex: 1; padding: 12px 18px; border: 2px solid var(--border); border-right: none; border-radius: 8px 0 0 8px; background: var(--bg2); color: var(--text); font-size: 1rem; outline: none; }
.big-search-form input:focus { border-color: var(--red); }
.big-search-form button { background: var(--red); color: white; border: none; padding: 12px 22px; border-radius: 0 8px 8px 0; font-weight: 700; cursor: pointer; font-size: 1rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.page-btn { background: var(--red); color: white; padding: 10px 20px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }
.page-btn:hover { background: #c1121f; }
.page-info { color: var(--text2); font-size: 0.9rem; }

/* App Page */
.app-page { max-width: 800px; margin: 0 auto; text-align: center; }
.app-hero { padding: 48px 20px 40px; }
.app-icon { font-size: 5rem; margin-bottom: 16px; }
.app-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.app-tagline { color: var(--text2); font-size: 1.1rem; margin-bottom: 28px; }
.app-note { color: var(--text2); font-size: 0.85rem; margin-top: 12px; }
.app-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; text-align: left; }
.feature-card { background: var(--bg2); border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); }
.feature-card p { color: var(--text2); font-size: 0.88rem; margin-top: 6px; }
.install-steps { text-align: left; margin: 32px 0; }
.install-steps h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: flex-start; gap: 14px; background: var(--bg2); padding: 16px; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.step-num { background: var(--red); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* AI-generated CTA buttons inside articles */
.vz-cta-wrap { margin: 20px 0; }
.vz-cta-red { display: inline-block; padding: 11px 22px; background: var(--red); color: #fff !important; border-radius: 8px; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: opacity 0.2s; }
.vz-cta-red:hover { opacity: 0.85; }
.vz-cta-wa { display: inline-block; padding: 11px 22px; background: #25d366; color: #fff !important; border-radius: 8px; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: opacity 0.2s; margin-left: 8px; }
.vz-cta-wa:hover { opacity: 0.85; }

/* Footer */
.footer { background: var(--dark); color: #ccc; margin-top: 60px; padding: 48px 0 0; }
.footer-install-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; margin-bottom: 34px; border-radius: 20px; background: linear-gradient(135deg, rgba(230,57,70,0.16), rgba(255,215,0,0.08)); border: 1px solid rgba(255,255,255,0.08); }
.footer-install-left { display: flex; align-items: center; gap: 16px; }
.footer-install-logo { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--red), #ff7a59); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.footer-install-title { color: white; font-size: 1.1rem; font-weight: 800; }
.footer-install-sub { color: #d7d7d7; font-size: 0.9rem; margin-top: 4px; }
.footer-install-features { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 0.8rem; color: #f1f1f1; }
.footer-install-actions { min-width: 280px; }
.footer-install-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: white; border: none; border-radius: 16px; padding: 14px 18px; font-weight: 700; box-shadow: 0 10px 28px rgba(230,57,70,0.24); }
.footer-install-btn small { display: block; color: rgba(255,255,255,0.78); font-size: 0.74rem; font-weight: 500; }
.fi-btn-icon { font-size: 1.3rem; }
.footer-ios-hint, .footer-installed-msg { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 14px 16px; }
.ios-steps { display: flex; flex-direction: column; gap: 10px; color: #f1f1f1; font-size: 0.84rem; }
.ios-step { display: flex; align-items: center; gap: 10px; }
.ios-step-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.footer-installed-msg { display: flex; align-items: center; color: #dff7e8; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #333; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 0.88rem; color: #888; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: #aaa; font-size: 0.85rem; border: 1px solid #444; padding: 4px 12px; border-radius: 4px; transition: all 0.2s; }
.footer-social a:hover { border-color: var(--red); color: white; }
.footer h4 { color: white; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: #aaa; font-size: 0.88rem; transition: color 0.2s; }
.footer ul li a:hover { color: var(--red); }
.footer-bottom { text-align: center; padding: 20px; font-size: 0.8rem; color: #666; }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-card { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .footer-install-card { flex-direction: column; align-items: flex-start; }
  .footer-install-actions { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .search-form { display: none !important; }
  .hamburger { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .article-title { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .app-features { grid-template-columns: 1fr; }
  .hero-content { padding: 18px; }
  .hero-title { font-size: 1.2rem; }
  .pwa-bar { left: 10px; right: 10px; bottom: 10px; }
  .pwa-bar-inner { padding: 12px; }
  .footer-install-left { align-items: flex-start; }
  .footer-install-features { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .list-card-img { width: 90px; height: 65px; }
  .share-btn { font-size: 0.78rem; padding: 7px 10px; }
  .pwa-bar-btn { padding: 9px 12px; }
  .footer-install-card { padding: 18px; }
  .footer-install-logo { width: 48px; height: 48px; border-radius: 14px; }
}
