* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #0b0e14; color: #e6edf3; line-height: 1.6; }
a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Header */
.header { background: #161b22; border-bottom: 1px solid #30363d; padding: 16px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; }
.logo svg { color: #2f81f7; }
.nav a { color: #8b949e; margin-left: 20px; font-size: 14px; font-weight: 500; }
.nav a:hover { color: #58a6ff; }

/* Hero */
.hero { padding: 50px 0 30px; }
.hero-title { font-size: 34px; font-weight: 800; color: #ffffff; margin-bottom: 10px; }
.hero-sub { color: #8b949e; font-size: 16px; margin-bottom: 30px; }

/* Downloader Box */
.downloader-card { background: #161b22; border: 1px solid #30363d; border-radius: 16px; padding: 24px; max-width: 760px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper input { width: 100%; padding: 16px 110px 16px 18px; border-radius: 10px; border: 1px solid #30363d; background: #0d1117; color: #fff; font-size: 15px; outline: none; transition: border-color 0.2s; }
.input-wrapper input:focus { border-color: #2f81f7; }
.btn-paste { position: absolute; right: 10px; background: #21262d; border: 1px solid #30363d; color: #c9d1d9; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-paste:hover { background: #30363d; color: #fff; }

.btn-submit { width: 100%; margin-top: 14px; padding: 16px; background: linear-gradient(135deg, #1f6feb 0%, #238636 100%); border: none; border-radius: 10px; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.btn-submit:hover { opacity: 0.92; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Alerts & Results */
.alert { margin-top: 18px; padding: 14px; border-radius: 8px; font-size: 14px; }
.alert-danger { background: rgba(248, 81, 73, 0.15); border: 1px solid #f85149; color: #ff7b72; }

.result-container { max-width: 760px; margin: 30px auto 0; }
.result-card { background: #161b22; border: 1px solid #30363d; border-radius: 16px; padding: 24px; text-align: left; }
.result-card h3 { font-size: 18px; color: #56d364; margin-bottom: 10px; }
.author-tag { font-size: 14px; color: #8b949e; margin-bottom: 20px; }
.media-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.media-card { background: #0d1117; border: 1px solid #30363d; border-radius: 12px; padding: 16px; text-align: center; }
.media-preview { max-width: 100%; max-height: 420px; border-radius: 8px; margin-bottom: 14px; background: #000; }
.btn-download { display: inline-block; background: #238636; color: #fff; font-weight: 700; padding: 12px 24px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.btn-download:hover { background: #2ea043; text-decoration: none; }

/* Ad Slots */
.ad-slot { margin: 20px auto; max-width: 760px; text-align: center; min-height: 50px; }

/* Steps & Features */
.section { padding: 60px 0; }
.bg-light { background: #12161f; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 40px; color: #ffffff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step-card { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 24px; }
.step-num { width: 36px; height: 36px; background: #1f6feb; border-radius: 50%; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 16px; }
.step-card h3 { font-size: 17px; margin-bottom: 10px; color: #fff; }
.step-card p { font-size: 14px; color: #8b949e; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-item { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 20px; }
.feature-item h4 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #8b949e; }

/* Footer */
.footer { background: #161b22; border-top: 1px solid #30363d; padding: 30px 0; font-size: 13px; color: #8b949e; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
