:root{
  --purple:#51057A;
  --yellow:#EDBA00;
}

html,body{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans','Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';}

.bg-purple{background-color:var(--purple)!important}
.text-purple{color:var(--purple)!important}
.btn-yellow{background-color:var(--yellow);color:#1a1a1a;border:none}
.btn-yellow:hover{filter:brightness(1.05)}
.btn-outline-yellow{border-color:var(--yellow);color:var(--yellow)}
.btn-outline-yellow:hover{background-color:var(--yellow);color:#1a1a1a}

.hero{
  background: radial-gradient(ellipse at center, rgba(81,5,122,0.9) 0%, rgba(81,5,122,0.7) 50%, rgba(81,5,122,0.6) 100%), url('../img/hero-media.jpg');
  background-size: cover;
  background-position: center;
  color:#fff;
  padding: 4rem 0;
}

.now-playing .card{border:none;box-shadow:0 10px 20px rgba(0,0,0,.06)}
.news-card{border:none;box-shadow:0 10px 20px rgba(0,0,0,.06)}
.site-footer .ad-slot{min-height:80px;background:#fff}

/* Dark mode */
body.dark{background:#121212;color:#e6e6e6}
body.dark .navbar{background-color:#1f1f1f!important}
body.dark .card{background:#1b1b1b;color:#e6e6e6}
body.dark .footer-ads{background:#1b1b1b}

/* Tabs */
.nav-pills .nav-link{color:#333;border:1px solid #ddd;margin-right:.5rem}
.nav-pills .nav-link.active{background:var(--purple);color:#fff;border-color:var(--purple)}

/* Utilities */
.section-title{border-left:6px solid var(--yellow);padding-left:.75rem}
.logo-text{letter-spacing:.5px}

/* Footer hover effects */
.hover-yellow{transition:color 0.3s ease}
.hover-yellow:hover{color:var(--yellow)!important}

/* Special styling for quoted phrases inside articles */
.quote-phrase{
  background: linear-gradient(90deg, rgba(237,186,0,0.15), rgba(81,5,122,0.12));
  padding: 2px 6px;
  border-left: 3px solid var(--yellow);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(81,5,122,0.12);
  font-style: italic;
  font-weight: 600;
}

/* Dark mode adjustment */
body.dark .quote-phrase{
  background: linear-gradient(90deg, rgba(237,186,0,0.18), rgba(255,255,255,0.08));
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Font Awesome Icon Fixes */
.fa, .fas, .far, .fal, .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-brands, .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

.fa-regular, .far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400;
}

.fa-solid, .fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

/* Ensure icons are visible */
i[class*="fa-"] {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Footer links responsive */
@media (max-width: 768px){
  .footer-links a{display:block;margin:0.25rem 0}
}

@media (max-width: 576px){
  .hero{padding:2.5rem 0}
}

/* Article enhancements */
.content-wrapper p:first-of-type::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
  margin: 0.1em 0.15em 0 0.08em;
  color: var(--purple);
}

.inline-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: block;
  margin: 1rem auto;
}

.link-preview {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(124,58,237,0.15);
  background: rgba(124,58,237,0.04);
  border-radius: 1rem;
  padding: 0.75rem;
  margin: 1rem 0;
}

.link-preview-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.link-preview-info {
  flex: 1;
}

.link-preview-title {
  font-weight: 700;
  color: #1f2937;
}

.link-preview-desc {
  color: #6b7280;
  margin-top: 0.25rem;
}

.link-preview-url {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--purple);
  text-decoration: none;
}

.link-preview-url:hover {
  text-decoration: underline;
}
