/* COMMON AD SYSTEM STYLESHEET FOR ADAPT PLATFORM */

:root {
  --ad-width: 240px;
}

/* Side Ad Containers */
.ad-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--ad-width);
  z-index: 9000;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.ad-sidebar.left {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.ad-sidebar.right {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
}

.ad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.ad-badge {
  font-family: 'JetBrains Mono', 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #94a3b8;
}

.ad-tag {
  font-family: 'JetBrains Mono', 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(0, 243, 255, 0.1);
  color: #00f3ff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 243, 255, 0.3);
}

.ad-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.ad-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 243, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.ad-card-badge {
  font-family: 'JetBrains Mono', 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #c084fc;
  background: rgba(143, 0, 255, 0.15);
  padding: 3px 7px;
  border-radius: 4px;
  width: fit-content;
}

.ad-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.25;
  margin: 0;
}

.ad-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.ad-cta {
  margin-top: 6px;
  display: inline-block;
  box-sizing: border-box;
  text-decoration: none;
  background: rgba(0, 243, 255, 0.08);
  color: #00f3ff;
  border: 1px solid rgba(0, 243, 255, 0.5);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-align: center;
}

.ad-cta:hover {
  background: #00f3ff;
  color: #0f172a;
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.5);
}

.ad-card.ad-promo {
  border-color: rgba(0, 243, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 243, 255, 0.05) 100%);
}

/* Responsive adjustments for narrow screens */
@media (max-width: 1100px) {
  .ad-sidebar {
    width: 160px;
    padding: 16px 10px;
  }
  .ad-desc {
    display: none;
  }
}

@media (max-width: 768px) {
  .ad-sidebar {
    display: none !important;
  }
}

/* GLOBAL COPYRIGHT BAR (MATCHING MAIN MENU FOOTER STYLING) */
.copyright-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 34px !important;
  line-height: 34px !important;
  text-align: center !important;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
  background: rgba(13, 20, 36, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  box-sizing: border-box !important;
}

.copyright-bar .footer-brand {
  font-weight: 700 !important;
  color: #ffffff !important;
}

.copyright-bar .accent-cyan {
  color: #00f3ff !important;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4) !important;
}

.copyright-bar .accent-purple {
  color: #c084fc !important;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.4) !important;
}
