/* ============================================
   DIAMOND IPTV — Header & Footer
   ============================================ */

/* ──────────────────────────────────────────
   Header
   ────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--tr-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  z-index: 1001;
  text-decoration: none;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  position: relative;
}

.header__logo-icon svg {
  width: 100%;
  height: 100%;
}

.header__logo-text {
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.header__logo-text strong {
  font-weight: var(--fw-extrabold);
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.header__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: color var(--tr-fast);
  position: relative;
  padding: var(--sp-sm) 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all var(--tr-base);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.header__link:hover,
.header__link.active {
  color: var(--color-text);
}

.header__link:hover::after,
.header__link.active::after {
  width: 100%;
}

/* CTA Button in Header */
.header__cta {
  padding: 0.6rem 1.4rem;
  font-size: var(--fs-sm);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--tr-base);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ──────────────────────────────────────────
   Footer
   ────────────────────────────────────────── */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

/* Footer Trust Bar */
.footer__trust {
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-xl) 0;
}

.footer__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xl);
  flex-wrap: wrap;
}

.footer__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.footer__trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Footer Main Grid */
.footer__main {
  padding: var(--sp-4xl) 0 var(--sp-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
}

/* Footer Brand Column */
.footer__brand {
  padding-right: var(--sp-xl);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-lg);
  text-decoration: none;
  color: var(--color-text);
}

.footer__brand-logo svg {
  width: 36px;
  height: 36px;
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.footer__social {
  display: flex;
  gap: var(--sp-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--tr-base);
}

.footer__social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* Footer Columns */
.footer__col-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: var(--sp-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer__col-link {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.footer__col-link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Footer Payment & Apps */
.footer__payment {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  align-items: center;
}

.footer__payment-card {
  width: 48px;
  height: 32px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  overflow: hidden;
}

.footer__payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.footer__payment-card i {
  font-size: 1.8rem;
  color: #1a1f35;
}

.footer__payment-card .fa-cc-visa { color: #1a1f71; }
.footer__payment-card .fa-cc-mastercard { color: #eb001b; }
.footer__payment-card .fa-cc-paypal { color: #003087; }
.footer__payment-card .fa-cc-apple-pay { color: #000000; }

.ideal-logo {
  font-size: 0.65rem;
  font-weight: 900;
  color: #cc0066;
  font-family: Arial, sans-serif;
  letter-spacing: -0.5px;
  border: 1px solid #cc0066;
  padding: 1px 3px;
  border-radius: 3px;
}

.footer__apps {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer__app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer__app-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__app-btn i {
  font-size: 1.35rem;
  color: #ffffff;
}

.footer__app-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__app-btn-sub {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
  margin-bottom: 2px;
}

.footer__app-btn-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--sp-lg) 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer__copyright {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-lg);
}

.footer__bottom-link {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--tr-fast);
}

.footer__bottom-link:hover {
  color: var(--color-accent);
}
