:root {
    --bg-dark: #0a0d14;
    --bg-card: #121722;
    --bg-surface: #182030;
    --text-main: #f0f3f8;
    --text-muted: #8c9bb0;
    --accent: #0077ff;
    --accent-hover: #005fcc;
    --success: #00c853;
    --success-hover: #00a844;
    --border: #232b3e;
    --radius: 8px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-dark); color: var(--text-main); font-family: var(--font); line-height: 1.5; }
a { text-decoration: none; color: inherit; }

.container { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* Header */
.drive-header { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 14px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.drive-logo { font-size: 20px; font-weight: 800; color: #fff; }
.drive-logo span { color: var(--accent); }
.server-badge { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.pulse-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,200,83,0.3); }

/* Main Card */
.main-content { padding: 30px 16px; }
.drive-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

.movie-header { display: flex; gap: 20px; align-items: center; }
.movie-poster img { width: 110px; height: 160px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.movie-meta h2 { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.meta-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.badge-quality { background: #0077ff; color: #fff; }
.badge-speed { background: #00c853; color: #fff; }
.badge-secure { background: #9c27b0; color: #fff; }
.file-desc { font-size: 13px; color: var(--text-muted); }

.divider { border: 0; height: 1px; background: var(--border); margin: 24px 0; }

/* Countdown */
.countdown-container { text-align: center; padding: 20px 10px; }
.countdown-spinner { width: 36px; height: 36px; border: 3px solid rgba(0,119,255,0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

.countdown-container h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.countdown-container p { font-size: 13px; color: var(--text-muted); }
.countdown-container strong { color: var(--accent); font-size: 18px; }

.timer-bar-wrap { width: 100%; max-width: 400px; height: 8px; background: var(--bg-surface); border-radius: 4px; overflow: hidden; margin: 14px auto 0; }
.timer-bar { height: 100%; background: var(--accent); transition: width 0.3s; }

/* Download Actions */
.download-actions { text-align: center; padding: 10px 0; }
.btn-download { display: block; width: 100%; max-width: 420px; margin: 12px auto; padding: 14px 20px; font-size: 15px; font-weight: 700; border-radius: 6px; text-align: center; transition: all 0.2s; }
.btn-primary { background: var(--success); color: #fff; box-shadow: 0 4px 14px rgba(0,200,83,0.3); }
.btn-primary:hover { background: var(--success-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-secondary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.direct-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* Ads */
.ad-slot { margin: 18px auto; text-align: center; max-width: 728px; }

/* Footer */
.drive-footer { text-align: center; padding: 24px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); margin-top: 40px; }

@media (max-width: 600px) {
    .movie-header { flex-direction: column; text-align: center; }
    .meta-tags { justify-content: center; }
}
