/* =========================================================
   AnyWebWall - Premium Global Styles
========================================================= */

:root { 
    --accent: #00d26a; 
    --bg-main: #0a0a0a;
    --bg-card: #0d0d0d;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --border-color: rgba(255, 255, 255, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ================= NAVBAR (Injected via JS) ================= */
header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-color); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 5%; max-width: 1400px; margin: 0 auto; }
.navbar .logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.navbar .logo img { width: 35px; height: 35px; border-radius: 50%; }
.navbar .logo span { color: var(--accent); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-nav { background: rgba(0, 210, 106, 0.1); color: var(--accent); padding: 8px 20px; border-radius: 8px; border: 1px solid rgba(0, 210, 106, 0.2); }
.nav-links .btn-nav:hover { background: var(--accent); color: #000; }

/* ================= WALLPAPER PAGE LAYOUT ================= */
.seo-article { margin-bottom: 30px; background: var(--bg-card); padding: 45px; border-radius: 28px; border: 1px solid var(--border-color); }
.seo-article h1, .seo-article h2 { color: var(--accent); margin-bottom: 20px; font-size: 34px; line-height: 1.2; }
.seo-article p { color: var(--text-muted); line-height: 1.9; font-size: 17px; margin-bottom: 18px; }
.seo-article strong { color: var(--text-main); }

.main-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; margin-bottom: 30px; }
@media(max-width: 900px) { .main-grid { grid-template-columns: 1fr; } }

/* Video Player */
.video-card { position: relative; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.video-card video, .video-card img { width: 100%; aspect-ratio: 16/9; display: block; object-fit: contain; background: #000; }

/* Stats & Download Box */
.stats-box { background: #0f0f0f; padding: 30px; border-radius: 24px; border: 1px solid var(--border-color); }
.count-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; } 
.stat-card { background: rgba(255,255,255,0.03); padding: 15px 10px; border-radius: 15px; text-align: center; font-size: 14px; color: var(--text-muted); }
.stat-card span { display: block; font-size: 26px; font-weight: 800; color: var(--accent); margin-bottom: 5px; }

/* Buttons */
.btn-group { display: flex; flex-direction: column; gap: 15px; }
.btn-main { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border-radius: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; border: none; font-size: 16px; width: 100%; }
.download-btn { background: linear-gradient(135deg, var(--accent), #00a050); color: #000; text-decoration: none; box-shadow: 0 10px 20px rgba(0, 210, 106, 0.2); }
.download-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 210, 106, 0.3); }
.like-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main); }
.like-btn.liked { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-icon { width: 22px; height: 22px; filter: invert(1); }
.download-btn .btn-icon, .like-btn.liked .btn-icon { filter: none; } /* Black icon for green btn */

/* Grid Cards (Recommended) */
.section-title { font-size: 26px; margin-bottom: 20px; color: var(--text-main); }
.wallpaper-grid { display: grid; gap: 20px; }
.wallpaper-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; text-decoration: none; border: 1px solid var(--border-color); transition: 0.3s; }
.wallpaper-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.wallpaper-image img, .wallpaper-image video { width: 100%; height: 160px; object-fit: cover; display: block; background: #000; }
.wallpaper-content { padding: 15px; }
.card-title { font-size: 16px; color: var(--text-main); }

/* ================= FOOTER (Injected via JS) ================= */
footer { border-top: 1px solid var(--border-color); padding: 40px 20px; text-align: center; margin-top: 50px; background: var(--bg-card); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 14px; transition: 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-text { color: #666; font-size: 13px; }