/*
Theme Name: SnapDL
Theme URI: https://downloader.1v1lol.sbs/
Author: SnapDL
Description: Clean white theme for SnapDL — a YouTube video downloader. Mobile-first, lightweight, no external requests.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: snapdl
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #0f0f0f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: #e62117; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
code { background: #f2f2f2; padding: 1px 6px; border-radius: 4px; font-size: .9em; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid #eee; background: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.site-logo { font-size: 26px; font-weight: 800; color: #0f0f0f; letter-spacing: -.02em; }
.site-logo span { color: #e62117; }
.site-logo:hover { text-decoration: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a { display: block; color: #333; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { color: #e62117; background: #f9f9f9; text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 19px; color: #444; max-width: 720px; margin: 0 auto 28px; }
.hero .trust { color: #666; font-size: 14px; margin-top: 18px; }

/* Sections */
.section { padding: 44px 0; }
.section.alt { background: #f9f9f9; }
.section h2 { text-align: center; margin-bottom: .4em; }
.section .section-intro { text-align: center; color: #444; max-width: 760px; margin: 0 auto 28px; }
.section-narrow { max-width: 760px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col h3 { margin-top: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.cross-list { list-style: none; padding: 0; }
.cross-list li { padding-left: 28px; position: relative; }
.cross-list li::before { content: "✕"; position: absolute; left: 0; color: #e62117; font-weight: 800; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #e62117; color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 18px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.card h3 { font-size: 18px; }
.card p { margin-bottom: 0; color: #444; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.platform { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.platform h3 { font-size: 18px; }
.platform p { margin-bottom: 0; color: #444; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border: 1px solid #eee; border-radius: 10px; background: #fff; padding: 14px 18px; margin-bottom: 10px; }
.faq-list summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq-list summary:hover { color: #e62117; }
.faq-list details p { margin: .7em 0 0; color: #444; }

/* CTA */
.cta { text-align: center; padding: 52px 0; background: #0f0f0f; color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #ccc; }
.btn { display: inline-block; background: #e62117; color: #fff; font-weight: 700; padding: 14px 30px; border-radius: 10px; font-size: 17px; }
.btn:hover { background: #c81e14; color: #fff; text-decoration: none; }

/* Pages / posts */
.page-wrap { padding: 40px 0 56px; }
.page-wrap .entry-title { margin-bottom: .4em; }
.post-meta { color: #666; font-size: 14px; margin-bottom: 20px; }
.post-list article { border-bottom: 1px solid #eee; padding: 22px 0; }
.post-list h2 { font-size: 23px; margin-bottom: .3em; }
.post-list h2 a { color: #0f0f0f; }
.post-list h2 a:hover { color: #e62117; }
.pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { border: 1px solid #ddd; border-radius: 8px; padding: 8px 14px; color: #0f0f0f; }
.pagination .current { background: #e62117; border-color: #e62117; color: #fff; }

/* Search form */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; border: 2px solid #ddd; border-radius: 10px; padding: 12px 14px; font-size: 16px; }
.search-form input[type="submit"] { background: #e62117; color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 700; cursor: pointer; }

/* Footer */
.site-footer { background: #0f0f0f; color: #bbb; padding: 40px 0 28px; font-size: 15px; }
.site-footer .footer-logo { font-size: 24px; font-weight: 800; color: #fff; }
.site-footer .footer-logo span { color: #e62117; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #fff; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 16px 0; padding: 0; }
.footer-disclaimer { color: #888; font-size: 13px; margin-top: 18px; }

@media (max-width: 860px) {
  h1 { font-size: 31px; }
  h2 { font-size: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 28px; }
  .steps, .cards, .platforms { grid-template-columns: 1fr; }
  .site-header .container { justify-content: center; text-align: center; }
  .main-nav ul { justify-content: center; }
}
