/* Axe Radio FM - Custom Polish & Argentina Compliance Styles */

:root {
  --axe-dark: #121418;
  --axe-surface: #1a1e24;
  --axe-card: #222730;
  --axe-orange: #f48840;
  --axe-orange-hover: #fb9857;
  --axe-red: #ff3b30;
  --axe-text: #e1e4ea;
  --axe-muted: #9aa0a6;
  --axe-border: rgba(255, 255, 255, 0.08);
}

/* Header & Navigation Polish */
header {
  position: relative;
  width: 100%;
  background-color: #121418 !important;
  border-bottom: 1px solid var(--axe-border);
  z-index: 1000;
  height: auto !important;
}

header .navbar {
  padding: 14px 0 !important;
}

.background-header {
  position: sticky !important;
  top: 0;
  background-color: rgba(18, 20, 24, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.navbar .navbar-brand {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .navbar-brand h2 {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  margin: 0;
}

.navbar .navbar-brand h2 span.freq {
  color: var(--axe-orange);
  font-size: 14px;
  font-weight: 700;
  background: rgba(244, 136, 64, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  border: 1px solid rgba(244, 136, 64, 0.3);
}

@media (min-width: 992px) {
  .navbar .navbar-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .navbar .navbar-nav .nav-item {
    margin: 0 clamp(3px, 0.7vw, 10px) !important;
  }
  .navbar .navbar-nav a.nav-link {
    font-size: clamp(12px, 0.88vw, 13.5px) !important;
    font-weight: 700 !important;
    color: #e5e7eb !important;
    padding: 8px 6px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease;
  }
  .navbar .navbar-nav a.nav-link:hover,
  .navbar .navbar-nav .nav-item.active a.nav-link {
    color: var(--axe-orange) !important;
  }
}

/* On-Air Live Badge */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 59, 48, 0.12);
  color: #ff5247;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 59, 48, 0.3);
  letter-spacing: 0.8px;
}

.live-pill .dot {
  width: 7px;
  height: 7px;
  background-color: #ff3b30;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1.1); opacity: 0.9; box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
  100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* Audio Player Bar Widget */
.radio-player-bar {
  background: #181c22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 35px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.player-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--axe-orange);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 18px;
}

.player-btn:hover {
  background: var(--axe-orange-hover);
  transform: scale(1.06);
}

.player-meta h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.player-meta p {
  font-size: 12.5px;
  color: #a0a6b1;
  margin: 0;
  line-height: 1.3;
}

/* Wave animation */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.equalizer .bar {
  width: 3px;
  background-color: var(--axe-orange);
  border-radius: 2px;
  animation: eq 1.2s ease-in-out infinite;
}

.equalizer .bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.equalizer .bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.equalizer .bar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.equalizer .bar:nth-child(4) { height: 10px; animation-delay: 0.4s; }
.equalizer .bar:nth-child(5) { height: 15px; animation-delay: 0.15s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Page Header ACA Section */
.page-heading {
  padding: 85px 0 65px 0 !important;
  background-color: #121418;
  position: relative;
  border-bottom: 1px solid var(--axe-border);
}

.page-heading h1 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.page-heading p.lead-aca {
  font-size: 16px;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 780px;
  margin: 0 auto;
}

/* Cards & Content */
.axe-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.axe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.axe-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(244, 136, 64, 0.1);
  color: var(--axe-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.axe-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.axe-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Buttons */
.btn-axe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--axe-orange);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-axe:hover {
  background-color: var(--axe-orange-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(244, 136, 64, 0.35);
}

.btn-axe-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid var(--axe-orange);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-axe-outline:hover {
  background: var(--axe-orange);
  color: #ffffff !important;
}

/* Calculator specific */
.calc-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.calc-summary-card {
  background: #181c22;
  color: #ffffff;
  border-radius: 12px;
  padding: 26px;
  position: sticky;
  top: 90px;
}

.calc-price-display {
  font-size: 32px;
  font-weight: 900;
  color: var(--axe-orange);
  margin: 14px 0 6px 0;
}

/* Footer Requisites & AFIP */
footer {
  background-color: #121418 !important;
  border-top: 1px solid var(--axe-border);
  padding: 60px 0 30px 0 !important;
  color: #9aa0a6;
}

footer h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #9aa0a6 !important;
  font-size: 14px;
  transition: color 0.2s ease;
}

footer ul li a:hover {
  color: var(--axe-orange) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 25px;
  font-size: 13px;
  color: #80868b;
}

.afip-badge-wrap img {
  width: 78px;
  height: auto;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.afip-badge-wrap:hover img {
  transform: scale(1.05);
}

/* Toast container */
.axe-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #181c22;
  color: #ffffff;
  border-left: 4px solid var(--axe-orange);
  padding: 16px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 999999;
  display: none;
  font-size: 14px;
}
