/*
Theme Name: Moviesda WAP
Theme URI: https://xinsta.app/
Author: Moviesda WAP
Description: Ultra-fast, lightweight mobile-first WAP directory theme inspired by Moviesda / Isaimini. Built for high performance, low data usage, clean folder directory layouts, and easy movie download management.
Version: 3.7.0
License: GNU General Public License v2 or later
Text Domain: moviesda-wap
*/

/* -------------------------------------------------------------------------
   CSS Variables & Global Reset
------------------------------------------------------------------------- */
:root {
    --primary: #003366;          /* Classic WAP Navy Blue */
    --primary-dark: #002244;
    --primary-light: #0b4f8a;
    --accent-yellow: #ffcc00;    /* Highlight / Alert Yellow */
    --accent-red: #cc0000;       /* Hot / New Badge Red */
    --accent-green: #008800;     /* Download / Verified Green */
    --link-blue: #0000cc;        /* Classic Hyperlink Blue */
    --link-hover: #cc0000;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --bg-page: #e9ebee;          /* Page Background */
    --bg-card: #ffffff;
    --border-color: #d1d5db;
    --border-light: #eeeeee;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    font-family: var(--font-stack);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------
   Layout Wrapper (WAP Central Frame)
------------------------------------------------------------------------- */
.wap-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background-color: var(--bg-card);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wap-content {
    flex: 1;
}

/* -------------------------------------------------------------------------
   Header Section
------------------------------------------------------------------------- */
.wap-header {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
    padding: 12px 10px;
    border-bottom: 3px solid var(--accent-yellow);
}

.wap-header .site-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wap-header .site-title a {
    color: #ffffff;
    text-decoration: none;
}

.wap-header .site-tagline {
    font-size: 11px;
    color: var(--accent-yellow);
    margin-top: 3px;
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   Telegram / Notice Bar
------------------------------------------------------------------------- */
.wap-notice {
    background-color: #fff9db;
    color: #735c0f;
    border-bottom: 1px solid #f1e29c;
    padding: 7px 10px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

.wap-notice a {
    color: #0066cc;
    text-decoration: underline;
}

.wap-notice .badge-alert {
    background: var(--accent-red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-right: 5px;
    text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Search Bar
------------------------------------------------------------------------- */
.wap-search-box {
    background-color: #e5e9ee;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

.wap-search-box form {
    display: flex;
    gap: 6px;
}

.wap-search-box input[type="text"] {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid #b5bdc6;
    border-radius: 3px;
    font-size: 13px;
    outline: none;
    background: #fff;
}

.wap-search-box input[type="text"]:focus {
    border-color: var(--primary);
}

.wap-search-box button {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary-dark);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
}

.wap-search-box button:hover {
    background: var(--primary-light);
}

/* -------------------------------------------------------------------------
   Breadcrumbs Navigation
------------------------------------------------------------------------- */
.wap-breadcrumbs {
    background: #f8fafc;
    padding: 7px 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.wap-breadcrumbs a {
    color: var(--link-blue);
    text-decoration: none;
}

.wap-breadcrumbs a:hover {
    text-decoration: underline;
}

.wap-breadcrumbs .separator {
    margin: 0 4px;
    color: #999999;
}

/* -------------------------------------------------------------------------
   Homepage SEO Content Block
------------------------------------------------------------------------- */
.wap-seo-block {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: #475569;
}

.wap-seo-block h1 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 6px 0;
}

.wap-seo-block h2 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 12px 0 4px 0;
}

.wap-seo-block p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #334155;
    line-height: 1.55;
}

/* -------------------------------------------------------------------------
   Section Titles / Category Headers
------------------------------------------------------------------------- */
.section-header {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid var(--primary-dark);
}

.section-header a {
    color: var(--accent-yellow);
    font-size: 11px;
    text-decoration: none;
}

.section-header h1,
.section-header h2 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    line-height: 1.35 !important;
    letter-spacing: 0.2px !important;
}

/* -------------------------------------------------------------------------
   Directory / Folder List
------------------------------------------------------------------------- */
.wap-dir-list {
    list-style: none;
}

.wap-dir-item {
    border-bottom: 1px solid var(--border-light);
}

.wap-dir-item a {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: background 0.15s ease;
}

.wap-dir-item a:hover {
    background-color: #f7f9fa;
    color: var(--link-hover);
}

.wap-dir-item .icon {
    margin-right: 8px;
    font-size: 15px;
    flex-shrink: 0;
}

.wap-dir-item .title {
    flex: 1;
}

.wap-dir-item .badge-count {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

.wap-dir-item .badge-new {
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Latest Updates List
------------------------------------------------------------------------- */
.wap-update-list {
    list-style: none;
}

.wap-update-item {
    border-bottom: 1px solid var(--border-light);
    padding: 8px 12px;
    display: flex;
    align-items: baseline;
    font-size: 13px;
}

.wap-update-item:nth-child(even) {
    background-color: #fafbfc;
}

.wap-update-item .arrow {
    color: var(--accent-red);
    font-weight: bold;
    margin-right: 6px;
    flex-shrink: 0;
}

.wap-update-item a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

.wap-update-item a:hover {
    text-decoration: underline;
    color: var(--link-hover);
}

.wap-update-item .tag-badge {
    color: #b91c1c;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

/* -------------------------------------------------------------------------
   View More Updates Button (Homepage Latest Updates)
------------------------------------------------------------------------- */
.wap-view-more-wrap {
    text-align: center;
    padding: 14px 12px 18px 12px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.btn-wap-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #0b4f8a 0%, #003366 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    border: 1px solid #002244;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-wap-view-more:hover {
    background: linear-gradient(180deg, #cc0000 0%, #990000 100%);
    border-color: #660000;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .wap-view-more-wrap {
        padding: 12px 10px 16px 10px;
    }
    .btn-wap-view-more {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 11px 16px;
        font-size: 13px;
    }
}

/* -------------------------------------------------------------------------
   Single Movie Detail Page (moviesda.ski style)
------------------------------------------------------------------------- */
.movie-single {
    padding: 10px;
}

.movie-seo-title {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: left;
    border-radius: 4px;
}

.movie-seo-title .intro-paragraph-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #1f2937;
    font-weight: 500;
}

.movie-seo-title .intro-paragraph-text strong,
.movie-seo-title .intro-paragraph-text b {
    color: #0f172a;
    font-weight: 750;
}

.movie-badge-wrap {
    margin-top: 5px;
}

.movie-poster-box {
    text-align: center;
    margin: 10px 0 14px 0;
}

.movie-poster-box img {
    max-width: 200px;
    height: auto;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Movie Information Rows */
.movie-info-block {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    margin-bottom: 14px;
    font-size: 13px;
    text-align: left !important;
}

.movie-info-block .info-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 7px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

.movie-info-block .info-row:nth-child(even) {
    background-color: #fafbfc;
}

.movie-info-block .info-label {
    width: 125px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    flex-shrink: 0 !important;
    text-align: left !important;
    margin: 0 !important;
}

.movie-info-block .info-value {
    flex: 1 !important;
    color: var(--text-dark) !important;
    text-align: left !important;
    padding-left: 10px !important;
    margin: 0 !important;
}

.movie-info-block .info-value * {
    text-align: left !important;
}

/* Movie Synopsis Box */
.movie-synopsis-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 14px;
}

.movie-synopsis-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* Movie Screenshots Box (Proper Responsive Centered Styling) */
.movie-screenshots-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 12px 10px;
    text-align: center;
    margin-bottom: 14px;
}

.movie-screenshots-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.movie-screenshots-box img:last-child {
    margin-bottom: 0;
}

/* 5 Clean Best Tags (Pills Style) */
.wap-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-top: none;
    margin-bottom: 14px;
}

.wap-tag-pill {
    background: #e2e8f0;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    display: inline-block;
    transition: all 0.15s ease;
}

.wap-tag-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-dark);
}

/* Moviesda Tags Box Fallback */
.wap-tags {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 14px;
}

/* -------------------------------------------------------------------------
   Download Links / Quality Cards
------------------------------------------------------------------------- */
.download-container {
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 10px;
    background: #ffffff;
    margin-bottom: 14px;
}

.download-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin-bottom: 9px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.download-card:last-child {
    margin-bottom: 0;
}

.download-card.sample-card {
    border-color: #f59e0b;
}

.download-card.sample-card .download-card-header {
    background: #fef3c7;
    color: #92400e;
}

/* Zip File Download Card */
.download-card.zip-card {
    border-color: #c4b5fd;
}

.download-card.zip-card .download-card-header {
    background: #ede9fe;
    color: #5b21b6;
}

.download-card-header {
    background: #eef2ff;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: bold;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
}

.download-card-header .group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    flex: 1;
    min-width: 0;
    text-align: left;
    word-break: break-word;
}

.download-card-header .file-size {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-size: 11.5px;
    font-weight: 750;
    white-space: nowrap;
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 4px;
    text-align: right;
    flex-shrink: 0;
}

.download-card-buttons {
    padding: 8px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8fafc;
}

.btn-download {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 140px;
    text-align: center;
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #166534;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: all 0.15s ease-in-out;
}

/* If single button, make it full-width */
.download-card-buttons > .btn-download:only-child {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 10px 14px;
    font-size: 13.5px;
}

.btn-download:hover {
    background: linear-gradient(180deg, #15803d 0%, #166534 100%);
    transform: translateY(-1px);
}

/* G-Direct / Instant */
.btn-download.btn-direct,
.btn-download.btn-default {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    border-color: #166534;
}

.btn-download.btn-direct:hover,
.btn-download.btn-default:hover {
    background: linear-gradient(180deg, #15803d 0%, #166534 100%);
}

/* V-Cloud / Resumable */
.btn-download.btn-cloud,
.btn-download.server-2 {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1e40af;
}

.btn-download.btn-cloud:hover,
.btn-download.server-2:hover {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
}

/* Batch / Zip */
.btn-download.btn-zip {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    border-color: #6d28d9;
}

.btn-download.btn-zip:hover {
    background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
}

.btn-download.btn-sample {
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
    border-color: #92400e;
}

.btn-download.btn-sample:hover {
    background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
}

/* -------------------------------------------------------------------------
   Ad Slots
------------------------------------------------------------------------- */
.wap-ad-slot {
    background: #fafafa;
    border: 1px dashed #d1d5db;
    margin: 8px auto;
    padding: 6px;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
}

/* -------------------------------------------------------------------------
   Pagination (Mobile-first, Clean Buttons, No Overflow)
------------------------------------------------------------------------- */
.wap-pagination {
    text-align: center;
    padding: 12px 8px;
    background: #f1f5f9;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.wap-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    color: #003366;
    border: 1px solid #cbd5e1;
    text-decoration: none !important;
    border-radius: 3px;
    min-width: 32px;
    height: 32px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.wap-pagination .page-numbers.current {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary-dark) !important;
    font-weight: 700;
}

.wap-pagination .page-numbers:hover:not(.current) {
    background: #e2e8f0;
    color: var(--accent-red);
    border-color: #94a3b8;
}

.wap-pagination .page-numbers.prev,
.wap-pagination .page-numbers.next {
    padding: 6px 14px;
    font-weight: 700;
    background: #ffffff;
    color: #003366;
    border: 1px solid #003366;
    height: 32px;
}

.wap-pagination .page-numbers.prev:hover,
.wap-pagination .page-numbers.next:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .wap-pagination {
        gap: 4px;
        padding: 10px 4px;
    }
    .wap-pagination .page-numbers {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 28px;
        height: 28px;
    }
    .wap-pagination .page-numbers.prev,
    .wap-pagination .page-numbers.next {
        padding: 5px 10px;
        font-size: 12px;
        height: 28px;
    }
}

/* -------------------------------------------------------------------------
   Watch Online Button - Mobile + Desktop (Animated & Glowing)
------------------------------------------------------------------------- */
.watch-online-container {
    text-align: center;
    padding: 12px 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    margin-bottom: 14px;
}

.watch-btn {
  --btn-from: #ff2d55;
  --btn-to: #ff7a18;
  --btn-glow: rgba(255, 45, 85, 0.45);
  --icon: 38px;
  --logo: 22px;
  --gap: 12px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  box-sizing: border-box;
  min-height: 52px;
  padding: 10px clamp(22px, 4vw, 34px) 10px 14px;
  margin: 8px 0;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  background-size: 200% 200%;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px var(--btn-glow);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease,
              background-position 0.5s ease;
  animation: watchPulse 2.6s infinite;
}

/* White round badge */
.watch-btn::before {
  content: "";
  order: -2;
  flex: 0 0 var(--icon);
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* "Watch online" logo inside the badge: a screen with a play button */
.watch-btn::after {
  content: "";
  order: -1;
  flex: 0 0 var(--logo);
  width: var(--logo);
  height: var(--logo);
  margin-left: calc(-1 * (var(--icon) + var(--gap)) + (var(--icon) - var(--logo)) / 2);
  margin-right: calc((var(--icon) - var(--logo)) / 2);
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M10 8.2v5.6l4.6-2.8z' fill='%23000'/%3E%3Cpath d='M8 20.5h8' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M10 8.2v5.6l4.6-2.8z' fill='%23000'/%3E%3Cpath d='M8 20.5h8' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}

/* ---------- Desktop / mouse: hover effects ---------- */
@media (hover: hover) and (pointer: fine) {
  .watch-btn:hover {
    transform: translateY(-3px) scale(1.04);
    background-position: 100% 50%;
    box-shadow: 0 14px 30px var(--btn-glow);
    animation-play-state: paused;
    color: #fff !important;
  }
  .watch-btn:hover::after {
    transform: scale(1.12);
  }
}

/* ---------- Phone / touch: press feedback ---------- */
.watch-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px var(--btn-glow);
}

/* Keyboard users */
.watch-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--btn-glow);
}

@keyframes watchPulse {
  0%   { box-shadow: 0 8px 20px var(--btn-glow), 0 0 0 0 var(--btn-glow); }
  70%  { box-shadow: 0 8px 20px var(--btn-glow), 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 8px 20px var(--btn-glow), 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ---------- Phones: full-width, centred ---------- */
@media (max-width: 600px) {
  .watch-btn {
    display: flex;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablet and desktop: natural width */
@media (min-width: 601px) {
  .watch-btn { min-width: 220px; }
}

/* Always full width on any screen */
.watch-btn--block {
  display: flex;
  width: 100%;
  max-width: none;
}

/* ---------- Colour variants ---------- */
.watch-btn--blue {
  --btn-from: #1e90ff;
  --btn-to: #7b2ff7;
  --btn-glow: rgba(30, 144, 255, 0.45);
}
.watch-btn--green {
  --btn-from: #11998e;
  --btn-to: #2fd16f;
  --btn-glow: rgba(17, 153, 142, 0.45);
}
.watch-btn--gold {
  --btn-from: #f7971e;
  --btn-to: #ffd200;
  --btn-glow: rgba(247, 151, 30, 0.45);
  color: #2b1b00 !important;
}
.watch-btn--outline {
  background: transparent;
  color: #ff2d55 !important;
  box-shadow: inset 0 0 0 2px #ff2d55;
  animation: none;
}
.watch-btn--outline::before { background: #ff2d55; box-shadow: none; }
.watch-btn--outline::after  { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .watch-btn--outline:hover {
    background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
    color: #fff !important;
  }
}

/* Dark mode friendly glow */
@media (prefers-color-scheme: dark) {
  .watch-btn { --btn-glow: rgba(255, 45, 85, 0.6); }
}

/* Less motion for people who prefer it */
@media (prefers-reduced-motion: reduce) {
  .watch-btn { animation: none; transition: none; }
}

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.wap-footer {
    background: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 14px 10px;
    font-size: 11px;
    border-top: 3px solid var(--accent-yellow);
}

.wap-footer a {
    color: var(--accent-yellow);
    text-decoration: none;
    margin: 0 4px;
}

.wap-footer a:hover {
    text-decoration: underline;
}

.wap-footer .dmca-notice {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 6px;
    line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Responsive Tweaks
------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .wap-header .site-title {
        font-size: 18px;
    }
    .wap-search-box input[type="text"] {
        font-size: 12px;
    }
    .download-card-buttons {
        flex-direction: column;
    }
    .btn-download {
        width: 100%;
    }
}
