/* Start custom CSS for html, class: .elementor-element-87b93a0 *//* =========================================================
   All IPTV Player – TV Box Page
   Full New Design – Existing HTML Remains Unchanged
========================================================= */

.atv-tvbox-page {
  --tvbox-primary: #24dde0;
  --tvbox-primary-dark: #00aeb5;
  --tvbox-teal: #006f73;
  --tvbox-dark: #021416;
  --tvbox-dark-soft: #062629;
  --tvbox-title: #092f31;
  --tvbox-text: #405f61;
  --tvbox-muted: #708587;
  --tvbox-white: #ffffff;
  --tvbox-light: #f3ffff;
  --tvbox-soft: #f7fbfb;
  --tvbox-border: #dcebec;

  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: var(--tvbox-title);
  font-family: inherit;
}

.atv-tvbox-page *,
.atv-tvbox-page *::before,
.atv-tvbox-page *::after {
  box-sizing: border-box;
}

.atv-tvbox-container {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1280px);
  max-width: none;
  margin-inline: auto;
}

/* =========================================================
   Intro Section
========================================================= */

.atv-tvbox-intro {
  position: relative;
  padding: clamp(78px, 8vw, 112px) 0 52px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(36, 221, 224, 0.13),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fbfb 100%
    );
}

.atv-tvbox-intro::before {
  content: "";
  position: absolute;
  top: 65px;
  right: 4%;
  width: 145px;
  height: 145px;
  opacity: 0.24;
  background-image: radial-gradient(
    rgba(0, 174, 181, 0.48) 1.2px,
    transparent 1.2px
  );
  background-size: 13px 13px;
  pointer-events: none;
}

.atv-tvbox-intro::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -190px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 221, 224, 0.09),
    transparent 68%
  );
  pointer-events: none;
}

.atv-tvbox-intro-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 85px);
}

/* =========================================================
   Intro Content
========================================================= */

.atv-tvbox-content {
  position: relative;
  min-width: 0;
}

.atv-tvbox-content::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -25px;
  width: 4px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--tvbox-primary),
    var(--tvbox-primary-dark)
  );
}

.atv-tvbox-badge,
.atv-tvbox-section-title > span {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 174, 181, 0.2);
  border-radius: 999px;
  background: var(--tvbox-light);
  color: var(--tvbox-teal);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.2px;
}

.atv-tvbox-badge::before,
.atv-tvbox-section-title > span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--tvbox-primary-dark);
  box-shadow: 0 0 0 5px rgba(0, 174, 181, 0.1);
}

.atv-tvbox-content h2 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--tvbox-title);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: clamp(-1.9px, -0.12vw, -0.8px);
  text-wrap: balance;
}

.atv-tvbox-content > p {
  max-width: 670px;
  margin: 0 0 27px;
  color: var(--tvbox-text);
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.82;
}

/* =========================================================
   Key Points
========================================================= */

.atv-tvbox-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.atv-tvbox-points > div {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 44px;
  overflow: hidden;
  border: 1px solid var(--tvbox-border);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(4, 70, 73, 0.045);
  color: var(--tvbox-title);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.atv-tvbox-points > div::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 181, 0.19);
  border-radius: 50%;
  background: var(--tvbox-light);
  color: var(--tvbox-primary-dark);
  font-size: 10px;
  font-weight: 950;
  transform: translateY(-50%);
}

.atv-tvbox-points > div:first-child {
  border-color: rgba(0, 174, 181, 0.25);
  background:
    linear-gradient(
      135deg,
      var(--tvbox-light),
      #ffffff
    );
}

/* =========================================================
   Intro Buttons
========================================================= */

.atv-tvbox-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.atv-tvbox-btn-primary,
.atv-tvbox-btn-secondary,
.atv-tvbox-order-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.atv-tvbox-btn-primary,
.atv-tvbox-order-btn {
  border: 1px solid var(--tvbox-primary);
  background: linear-gradient(
    135deg,
    var(--tvbox-primary),
    var(--tvbox-primary-dark)
  );
  color: #032224 !important;
  box-shadow: 0 13px 27px rgba(0, 174, 181, 0.22);
}

.atv-tvbox-btn-primary:hover,
.atv-tvbox-order-btn:hover {
  color: #032224 !important;
  box-shadow: 0 17px 35px rgba(0, 174, 181, 0.31);
  transform: translateY(-2px);
}

.atv-tvbox-btn-secondary {
  border: 1px solid var(--tvbox-border);
  background: #ffffff;
  color: var(--tvbox-title) !important;
  box-shadow: 0 9px 23px rgba(4, 70, 73, 0.055);
}

.atv-tvbox-btn-secondary:hover {
  border-color: rgba(0, 174, 181, 0.34);
  background: var(--tvbox-light);
  color: var(--tvbox-teal) !important;
  transform: translateY(-2px);
}

/* =========================================================
   Product Media
========================================================= */

.atv-tvbox-media {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(36, 221, 224, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(36, 221, 224, 0.2),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #062629,
      #031719
    );
  box-shadow: 0 30px 70px rgba(3, 45, 47, 0.23);
}

.atv-tvbox-media::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 31px;
  width: 115px;
  height: 115px;
  opacity: 0.22;
  background-image: radial-gradient(
    rgba(36, 221, 224, 0.7) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  pointer-events: none;
}

.atv-tvbox-media::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 50%;
  width: 360px;
  height: 230px;
  border-radius: 50%;
  background: rgba(36, 221, 224, 0.12);
  filter: blur(48px);
  transform: translateX(-50%);
  pointer-events: none;
}

.atv-tvbox-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 465px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 21px;
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.28));
  transition: transform 0.35s ease;
}

.atv-tvbox-media:hover img {
  transform: scale(1.025) translateY(-4px);
}

/* =========================================================
   Gallery Section
========================================================= */

.atv-tvbox-gallery-section {
  position: relative;
  padding: 0 0 clamp(78px, 8vw, 110px);
  background:
    linear-gradient(
      180deg,
      #f7fbfb,
      #ffffff
    );
}

.atv-tvbox-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.atv-tvbox-gallery-card {
  position: relative;
  grid-column: span 4;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid var(--tvbox-border);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 15px 38px rgba(4, 70, 73, 0.075);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.atv-tvbox-gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(2, 20, 22, 0.23)
  );
  pointer-events: none;
}

.atv-tvbox-gallery-card:hover {
  border-color: rgba(0, 174, 181, 0.32);
  box-shadow: 0 23px 52px rgba(4, 70, 73, 0.13);
  transform: translateY(-5px);
}

.atv-tvbox-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.atv-tvbox-gallery-card:hover img {
  transform: scale(1.045);
}

/* =========================================================
   Packages Section
========================================================= */

.atv-tvbox-packages {
  position: relative;
  padding: clamp(80px, 8vw, 115px) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(36, 221, 224, 0.12),
      transparent 27%
    ),
    radial-gradient(
      circle at 92% 84%,
      rgba(0, 174, 181, 0.09),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #021416 0%,
      #062629 50%,
      #021416 100%
    );
}

.atv-tvbox-packages::before {
  content: "";
  position: absolute;
  top: 65px;
  right: 4%;
  width: 145px;
  height: 145px;
  opacity: 0.22;
  background-image: radial-gradient(
    rgba(36, 221, 224, 0.6) 1.2px,
    transparent 1.2px
  );
  background-size: 13px 13px;
  pointer-events: none;
}

.atv-tvbox-packages::after {
  content: "";
  position: absolute;
  bottom: -190px;
  left: 50%;
  width: 720px;
  height: 320px;
  border-radius: 50%;
  background: rgba(36, 221, 224, 0.05);
  filter: blur(65px);
  transform: translateX(-50%);
  pointer-events: none;
}

/* =========================================================
   Packages Heading
========================================================= */

.atv-tvbox-section-title {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);
  grid-template-areas:
    "label description"
    "heading description";
  align-items: end;
  gap: 12px clamp(35px, 6vw, 90px);
  max-width: none;
  margin: 0 0 48px;
  text-align: left;
}

.atv-tvbox-section-title > span {
  grid-area: label;
  width: fit-content;
  border-color: rgba(36, 221, 224, 0.24);
  background: rgba(36, 221, 224, 0.075);
  color: var(--tvbox-primary);
}

.atv-tvbox-section-title > span::before {
  background: var(--tvbox-primary);
  box-shadow: 0 0 0 5px rgba(36, 221, 224, 0.1);
}

.atv-tvbox-section-title h2 {
  grid-area: heading;
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(35px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: clamp(-1.7px, -0.1vw, -0.7px);
  text-wrap: balance;
}

.atv-tvbox-section-title p {
  grid-area: description;
  max-width: 540px;
  margin: 0;
  padding-left: 23px;
  border-left: 2px solid var(--tvbox-primary-dark);
  color: #c3d8da;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.8;
}

/* =========================================================
   Package Grid
========================================================= */

.atv-tvbox-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

/* =========================================================
   Package Card
========================================================= */

.atv-tvbox-package-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 29px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(36, 221, 224, 0.14);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 22px 54px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.atv-tvbox-package-card::before {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 221, 224, 0.11),
    transparent 68%
  );
  pointer-events: none;
}

.atv-tvbox-package-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 48px;
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    var(--tvbox-primary),
    var(--tvbox-primary-dark)
  );
  transition: width 0.25s ease;
}

.atv-tvbox-package-card:hover {
  border-color: rgba(36, 221, 224, 0.34);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.23);
  transform: translateY(-7px);
}

.atv-tvbox-package-card:hover::after {
  width: 82px;
}

/* Featured Package */

.atv-tvbox-package-card.featured {
  border: 1px solid rgba(36, 221, 224, 0.42);
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(36, 221, 224, 0.22),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #0a3f42,
      #041d1f
    );
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.27);
  transform: translateY(-9px);
}

.atv-tvbox-package-card.featured:hover {
  border-color: rgba(36, 221, 224, 0.62);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.34);
  transform: translateY(-13px);
}

.atv-tvbox-best {
  position: absolute;
  top: 0;
  right: 23px;
  z-index: 3;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    135deg,
    var(--tvbox-primary),
    var(--tvbox-primary-dark)
  );
  color: #032224;
  font-size: 9.5px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

/* =========================================================
   Package Header
========================================================= */

.atv-tvbox-package-header {
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
  text-align: left;
}

.atv-tvbox-package-header::before {
  content: "TV BOX";
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: 15px;
  padding: 5px 9px;
  border: 1px solid rgba(36, 221, 224, 0.16);
  border-radius: 999px;
  background: rgba(36, 221, 224, 0.065);
  color: var(--tvbox-primary);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
}

.atv-tvbox-package-header h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.35px;
}

.atv-tvbox-package-header p {
  min-height: 67px;
  margin: 0 0 20px;
  color: #9db6b8;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.7;
}

/* =========================================================
   Price
========================================================= */

.atv-tvbox-price {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-bottom: 21px;
  padding: 0 0 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

.atv-tvbox-price > span {
  align-self: flex-start;
  margin: 7px 0 0;
  padding: 0;
  color: var(--tvbox-primary);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.atv-tvbox-price strong {
  color: #ffffff;
  font-size: clamp(45px, 4.1vw, 58px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -2px;
}

.atv-tvbox-price small {
  width: 100%;
  display: block;
  margin-top: 7px;
  color: var(--tvbox-primary);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.4;
}

/* =========================================================
   Package Features
========================================================= */

.atv-tvbox-package-card ul {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  flex: 1;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.atv-tvbox-package-card li {
  position: relative;
  margin: 0;
  padding: 0 0 0 27px;
  color: #c1d4d5;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.5;
}

.atv-tvbox-package-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 221, 224, 0.18);
  border-radius: 50%;
  background: rgba(36, 221, 224, 0.085);
  color: var(--tvbox-primary);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.atv-tvbox-order-btn {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto 0 0;
}

/* =========================================================
   Package Note
========================================================= */

.atv-tvbox-note {
  position: relative;
  max-width: 1050px;
  margin: 30px auto 0;
  padding: 22px 24px 22px 70px;
  overflow: hidden;
  border: 1px solid rgba(36, 221, 224, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.atv-tvbox-note::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 221, 224, 0.18);
  border-radius: 10px;
  background: rgba(36, 221, 224, 0.08);
  color: var(--tvbox-primary);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 900;
  transform: translateY(-50%);
}

.atv-tvbox-note p {
  margin: 0 0 7px;
  color: #b8cdcf;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.7;
}

.atv-tvbox-note p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Features Section
========================================================= */

.atv-tvbox-features {
  position: relative;
  padding: clamp(78px, 8vw, 110px) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(36, 221, 224, 0.1),
      transparent 27%
    ),
    #ffffff;
}

.atv-tvbox-features::before {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -190px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 174, 181, 0.08),
    transparent 68%
  );
  pointer-events: none;
}

/* =========================================================
   Feature Grid – Bento Layout
========================================================= */

.atv-tvbox-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.atv-tvbox-feature-card {
  position: relative;
  min-width: 0;
  min-height: 245px;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--tvbox-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 17px 44px rgba(4, 70, 73, 0.07);
  text-align: left;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.atv-tvbox-feature-card:nth-child(3) {
  grid-column: span 5;
}

.atv-tvbox-feature-card:nth-child(4) {
  grid-column: span 7;
}

.atv-tvbox-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 50px;
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    var(--tvbox-primary),
    var(--tvbox-primary-dark)
  );
  transition: width 0.25s ease;
}

.atv-tvbox-feature-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 221, 224, 0.11),
    transparent 68%
  );
  pointer-events: none;
}

.atv-tvbox-feature-card:hover {
  border-color: rgba(0, 174, 181, 0.32);
  box-shadow: 0 25px 58px rgba(4, 70, 73, 0.13);
  transform: translateY(-6px);
}

.atv-tvbox-feature-card:hover::before {
  width: 84px;
}

/* Dark Feature Card */

.atv-tvbox-feature-card:first-child {
  border-color: rgba(36, 221, 224, 0.23);
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(36, 221, 224, 0.18),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #062629,
      #031719
    );
  box-shadow: 0 25px 58px rgba(3, 45, 47, 0.2);
}

.atv-tvbox-feature-card > div {
  position: absolute;
  top: 27px;
  left: 27px;
  z-index: 2;
  width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(0, 174, 181, 0.18);
  border-radius: 16px;
  background: var(--tvbox-light);
  color: var(--tvbox-primary-dark);
  font-size: 24px;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.atv-tvbox-feature-card:hover > div {
  background: rgba(36, 221, 224, 0.14);
  transform: rotate(-4deg) scale(1.05);
}

.atv-tvbox-feature-card:first-child > div {
  border-color: rgba(36, 221, 224, 0.2);
  background: rgba(36, 221, 224, 0.1);
  color: var(--tvbox-primary);
}

.atv-tvbox-feature-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: var(--tvbox-title);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.3px;
}

.atv-tvbox-feature-card:first-child h3 {
  color: #ffffff;
}

.atv-tvbox-feature-card p {
  position: relative;
  z-index: 2;
  max-width: 570px;
  margin: 0;
  color: var(--tvbox-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.72;
}

.atv-tvbox-feature-card:first-child p {
  color: #a9c1c3;
}

/* =========================================================
   Accessibility
========================================================= */

.atv-tvbox-page a:focus-visible {
  outline: 3px solid rgba(0, 174, 181, 0.36);
  outline-offset: 4px;
}

/* =========================================================
   Responsive – Tablet
========================================================= */

@media (max-width: 1050px) {
  .atv-tvbox-intro-grid {
    grid-template-columns: 1fr;
  }

  .atv-tvbox-content {
    max-width: 850px;
  }

  .atv-tvbox-media {
    min-height: 470px;
  }

  .atv-tvbox-gallery-card {
    grid-column: span 6;
  }

  .atv-tvbox-gallery-card:last-child {
    grid-column: 1 / -1;
    min-height: 350px;
  }

  .atv-tvbox-package-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .atv-tvbox-package-card.featured {
    transform: none;
  }

  .atv-tvbox-package-card.featured:hover {
    transform: translateY(-7px);
  }

  .atv-tvbox-package-header p {
    min-height: 0;
  }

  .atv-tvbox-section-title {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "heading"
      "description";
    align-items: start;
    gap: 14px;
  }

  .atv-tvbox-section-title p {
    max-width: 760px;
  }
}

@media (max-width: 850px) {
  .atv-tvbox-feature-card,
  .atv-tvbox-feature-card:nth-child(3),
  .atv-tvbox-feature-card:nth-child(4) {
    grid-column: span 12;
  }
}

/* =========================================================
   Responsive – Mobile
========================================================= */

@media (max-width: 700px) {
  .atv-tvbox-container {
    width: min(100% - 30px, 1280px);
  }

  .atv-tvbox-intro,
  .atv-tvbox-packages,
  .atv-tvbox-features {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .atv-tvbox-content {
    text-align: center;
  }

  .atv-tvbox-content::before {
    display: none;
  }

  .atv-tvbox-badge {
    margin-inline: auto;
  }

  .atv-tvbox-content h2 {
    margin-inline: auto;
    font-size: clamp(34px, 10vw, 45px);
  }

  .atv-tvbox-content > p {
    margin-inline: auto;
    font-size: 15px;
  }

  .atv-tvbox-points {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .atv-tvbox-actions {
    justify-content: center;
  }

  .atv-tvbox-btn-primary,
  .atv-tvbox-btn-secondary {
    width: 100%;
    max-width: 340px;
  }

  .atv-tvbox-media {
    min-height: 390px;
    padding: 17px;
    border-radius: 23px;
  }

  .atv-tvbox-gallery-section {
    padding-bottom: 65px;
  }

  .atv-tvbox-gallery-card,
  .atv-tvbox-gallery-card:last-child {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .atv-tvbox-gallery-card img {
    min-height: 260px;
  }

  .atv-tvbox-section-title {
    text-align: center;
  }

  .atv-tvbox-section-title > span {
    margin-inline: auto;
  }

  .atv-tvbox-section-title h2 {
    font-size: clamp(32px, 9.5vw, 43px);
  }

  .atv-tvbox-section-title p {
    padding: 0;
    border-left: 0;
    font-size: 15px;
  }

  .atv-tvbox-package-card {
    padding: 26px 21px 21px;
  }

  .atv-tvbox-price strong {
    font-size: 49px;
  }

  .atv-tvbox-note {
    padding: 58px 20px 20px;
    text-align: center;
  }

  .atv-tvbox-note::before {
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
  }

  .atv-tvbox-feature-card {
    min-height: 235px;
    padding: 25px 22px;
  }

  .atv-tvbox-feature-card > div {
    top: 23px;
    left: 22px;
  }
}

@media (max-width: 480px) {
  .atv-tvbox-media {
    min-height: 320px;
  }

  .atv-tvbox-gallery-card,
  .atv-tvbox-gallery-card:last-child {
    min-height: 230px;
  }

  .atv-tvbox-gallery-card img {
    min-height: 230px;
  }

  .atv-tvbox-package-card {
    border-radius: 20px;
  }

  .atv-tvbox-feature-card {
    min-height: 225px;
  }
}

/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .atv-tvbox-page *,
  .atv-tvbox-page *::before,
  .atv-tvbox-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   All IPTV Player – TV Box Arabic RTL Support
   Add after the original TV Box CSS
========================================================= */

.atv-tvbox-page.atv-tvbox-page-ar {
  direction: rtl;
  text-align: right;
}

/* العناصر العامة */
.atv-tvbox-page-ar .atv-tvbox-container,
.atv-tvbox-page-ar .atv-tvbox-intro-grid,
.atv-tvbox-page-ar .atv-tvbox-content,
.atv-tvbox-page-ar .atv-tvbox-gallery,
.atv-tvbox-page-ar .atv-tvbox-package-grid,
.atv-tvbox-page-ar .atv-tvbox-package-card,
.atv-tvbox-page-ar .atv-tvbox-package-header,
.atv-tvbox-page-ar .atv-tvbox-feature-grid,
.atv-tvbox-page-ar .atv-tvbox-feature-card {
  direction: rtl;
  text-align: right;
}

/* =========================================================
   Intro Decorative Elements
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-intro::before {
  right: auto;
  left: 4%;
}

.atv-tvbox-page-ar .atv-tvbox-intro::after {
  right: -190px;
  left: auto;
}

/* الخط الجانبي بجانب العنوان */
.atv-tvbox-page-ar .atv-tvbox-content::before {
  right: -25px;
  left: auto;
}

/* =========================================================
   Intro Content
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-content h2,
.atv-tvbox-page-ar .atv-tvbox-content > p {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-badge,
.atv-tvbox-page-ar .atv-tvbox-section-title > span {
  direction: rtl;
}

/* =========================================================
   Key Points
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-points {
  direction: rtl;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-points > div {
  padding: 12px 44px 12px 14px;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-points > div::before {
  right: 13px;
  left: auto;
}

/* =========================================================
   Intro Buttons
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-actions {
  direction: rtl;
  justify-content: flex-start;
}

.atv-tvbox-page-ar .atv-tvbox-btn-primary,
.atv-tvbox-page-ar .atv-tvbox-btn-secondary,
.atv-tvbox-page-ar .atv-tvbox-order-btn {
  direction: rtl;
  text-align: center;
}

/* =========================================================
   Product Media
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-media::before {
  right: auto;
  left: 31px;
}

/* =========================================================
   Packages Decorative Elements
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-packages::before {
  right: auto;
  left: 4%;
}

/* =========================================================
   Packages Heading
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-section-title {
  direction: rtl;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-section-title h2,
.atv-tvbox-page-ar .atv-tvbox-section-title p {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-section-title p {
  padding-right: 23px;
  padding-left: 0;
  border-right: 2px solid var(--tvbox-primary-dark);
  border-left: 0;
}

/* =========================================================
   Package Cards
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-card::before {
  right: auto;
  left: -75px;
}

/* الخط الزخرفي أعلى البطاقة */
.atv-tvbox-page-ar .atv-tvbox-package-card::after {
  right: 24px;
  left: auto;
}

/* البطاقة المميزة */
.atv-tvbox-page-ar .atv-tvbox-package-card.featured {
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(36, 221, 224, 0.22),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #0a3f42,
      #041d1f
    );
}

/* شارة الخيار الأفضل */
.atv-tvbox-page-ar .atv-tvbox-best {
  right: auto;
  left: 23px;
  letter-spacing: 0;
  text-transform: none;
}

/* =========================================================
   Package Header
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-header {
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-header h3,
.atv-tvbox-page-ar .atv-tvbox-package-header p {
  text-align: right;
}

/* إبقاء عبارة TV BOX واضحة */
.atv-tvbox-page-ar .atv-tvbox-package-header::before {
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 1px;
}

/* =========================================================
   Package Price
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-price {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-price > span,
.atv-tvbox-page-ar .atv-tvbox-price strong {
  direction: ltr;
  unicode-bidi: isolate;
}

.atv-tvbox-page-ar .atv-tvbox-price small {
  text-align: right;
}

/* =========================================================
   Package Features
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-package-card ul {
  direction: rtl;
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-card li {
  padding-right: 27px;
  padding-left: 0;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-package-card li::before {
  right: 0;
  left: auto;
}

/* =========================================================
   Package Note
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-note {
  padding: 22px 70px 22px 24px;
  text-align: right;
}

.atv-tvbox-page-ar .atv-tvbox-note::before {
  right: 22px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-note p {
  text-align: right;
}

/* =========================================================
   Features Section
========================================================= */

.atv-tvbox-page-ar .atv-tvbox-features::before {
  right: -190px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-feature-card {
  align-items: flex-start;
  text-align: right;
}

/* الخط الزخرفي أعلى البطاقة */
.atv-tvbox-page-ar .atv-tvbox-feature-card::before {
  right: 28px;
  left: auto;
}

/* الدائرة الزخرفية داخل البطاقة */
.atv-tvbox-page-ar .atv-tvbox-feature-card::after {
  right: auto;
  left: -80px;
}

/* خلفية البطاقة الداكنة */
.atv-tvbox-page-ar .atv-tvbox-feature-card:first-child {
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(36, 221, 224, 0.18),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #062629,
      #031719
    );
}

/* أيقونة بطاقة الميزة */
.atv-tvbox-page-ar .atv-tvbox-feature-card > div {
  right: 27px;
  left: auto;
}

.atv-tvbox-page-ar .atv-tvbox-feature-card h3,
.atv-tvbox-page-ar .atv-tvbox-feature-card p {
  text-align: right;
}

/* =========================================================
   Tablet RTL
========================================================= */

@media (max-width: 1050px) {
  .atv-tvbox-page-ar .atv-tvbox-content {
    margin-right: 0;
    margin-left: auto;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    margin-right: 0;
    margin-left: auto;
  }
}

/* =========================================================
   Mobile RTL
========================================================= */

@media (max-width: 700px) {
  .atv-tvbox-page-ar .atv-tvbox-content {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-content h2,
  .atv-tvbox-page-ar .atv-tvbox-content > p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-actions {
    justify-content: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-points {
    text-align: right;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title,
  .atv-tvbox-page-ar .atv-tvbox-section-title h2,
  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-section-title p {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
  }

  .atv-tvbox-page-ar .atv-tvbox-package-header,
  .atv-tvbox-page-ar .atv-tvbox-package-header h3,
  .atv-tvbox-page-ar .atv-tvbox-package-header p {
    text-align: right;
  }

  .atv-tvbox-page-ar .atv-tvbox-note {
    padding: 58px 20px 20px;
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-note::before {
    top: 17px;
    right: 50%;
    left: auto;
    transform: translateX(50%);
  }

  .atv-tvbox-page-ar .atv-tvbox-note p {
    text-align: center;
  }

  .atv-tvbox-page-ar .atv-tvbox-feature-card > div {
    right: 22px;
    left: auto;
  }
}/* End custom CSS */