/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #0c0813;
  --bg-secondary: #140e1f;
  --bg-card: rgba(26, 18, 38, 0.6);
  --bg-card-hover: rgba(38, 27, 54, 0.8);
  --text-primary: #f3f0f7;
  --text-secondary: #b3a8c3;
  --text-muted: #796c8d;
  
  --primary: #ff2e93;
  --primary-glow: rgba(255, 46, 147, 0.4);
  --secondary: #a100ff;
  --secondary-glow: rgba(161, 0, 255, 0.3);
  --accent: #00f0ff;
  
  --border-color: rgba(255, 46, 147, 0.15);
  --border-color-hover: rgba(255, 46, 147, 0.3);
  
  --max-width: 1200px;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Reset and Global Styles */
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 10% 10%, rgba(161, 0, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(255, 46, 147, 0.12) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* App Layout Grid */
.site-header {
  background: rgba(12, 8, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 20px;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #fff, #ffe3f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  background: linear-gradient(to right, var(--primary), #ff84c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Main Container */
.main-wrapper {
  max-width: var(--max-width);
  width: 100%;
  margin: 30px auto;
  padding: 0 20px 120px 20px; /* offset for player */
  flex: 1;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(20, 14, 31, 0.8), rgba(12, 8, 19, 0.9));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 600px;
}

.hero-player-widget {
  background: rgba(30, 20, 44, 0.5);
  border: 1px solid rgba(255, 46, 147, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  max-width: 450px;
  width: 100%;
  box-sizing: border-box;
}

.play-btn-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: var(--transition);
}

.play-btn-large:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px var(--primary);
}

.player-widget-info {
  flex: 1;
}

.widget-title {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.widget-status {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #666;
  border-radius: 50%;
}

.status-dot.playing {
  background-color: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  animation: pulse 1.5s infinite;
}

/* Home Grid Content */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}

.content-layout > div {
  min-width: 0;
  width: 100%;
}

/* Search and Filters */
.search-filter-section {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: rgba(12, 8, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 46, 147, 0.2);
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.category-dropdown {
  padding: 12px 16px;
  background: rgba(12, 8, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.category-dropdown:focus {
  border-color: var(--primary);
}

/* Blog Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow);
  max-width: 100% !important;
  width: 100% !important;
}

.post-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  box-shadow: 0 12px 40px 0 rgba(255, 46, 147, 0.1);
}

.card-img-wrapper {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #191224;
  width: 100%;
  max-width: 100%;
}

.card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  transition: var(--transition);
}

.post-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(12, 8, 19, 0.85);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  transition: var(--transition);
}

.post-card:hover .card-title {
  color: var(--primary);
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 46, 147, 0.08);
  padding-top: 15px;
}

.card-author {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.read-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  color: #ff5da7;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Sidebar Styling */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.widget-header {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Profile / Contact widget */
.profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-family: var(--font-title);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.profile-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.profile-contact-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 46, 147, 0.08);
  padding-top: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-all;
}

.contact-item i {
  color: var(--primary);
}

/* Category List */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-list-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(12, 8, 19, 0.4);
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.category-list-item a:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  color: #fff;
}

.category-count {
  font-size: 12px;
  background: rgba(255, 46, 147, 0.15);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #191224;
  flex-shrink: 0;
}

.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recent-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
}

.recent-title:hover {
  color: var(--primary);
}

.recent-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Post Detail / Single Page View */
.post-detail-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.post-header {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 46, 147, 0.08);
  padding-bottom: 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--primary);
}

.post-headline {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
}

.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tag {
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.2);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-main-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 35px;
  border: 1px solid var(--border-color);
}

.post-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-body p {
  margin-bottom: 24px;
}

.post-body h2 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  margin: 35px 0 20px 0;
  color: #fff;
}

.post-body h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin: 30px 0 15px 0;
  color: #fff;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px auto;
  display: block;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.post-body a {
  display: inline-block !important;
  max-width: 100% !important;
}

.post-body .separator {
  max-width: 100% !important;
  overflow: hidden !important;
  clear: both;
}

@media (min-width: 769px) {
  .post-body img {
    max-width: 480px !important;
    max-height: 360px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 768px) {
  .post-body img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }
}

.post-body iframe {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 20px 0;
}

.post-body a {
  color: var(--primary);
  border-bottom: 1px dashed var(--primary);
}

.post-body a:hover {
  color: #ff5da7;
  border-bottom-style: solid;
}

.post-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 46, 147, 0.05);
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Post Share and Footer */
.post-footer-actions {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 46, 147, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 46, 147, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 46, 147, 0.2);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.back-to-blog:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 46, 147, 0.08);
  border: 1px solid rgba(255, 46, 147, 0.15);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.share-btn.fb:hover { background: #3b5998; border-color: #3b5998; }
.share-btn.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; }

.share-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
}

.share-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary);
  opacity: 0.95;
}

.post-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.share-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 46, 147, 0.08);
  border: 1px solid rgba(255, 46, 147, 0.2);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Sticky bottom audio player */
.sticky-audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 10, 22, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 15px 20px;
  z-index: 999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.player-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 30%;
  min-width: 0;
}

.player-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 10px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  animation: pulse-slow 3s infinite;
  flex-shrink: 0;
}

.player-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-song-title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-center {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex: 1;
}

.play-pause-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition);
}

.play-pause-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--primary);
}

/* Simulated Audio Wave Visualizer */
.visualizer-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}

.wave-bar {
  width: 3px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 3px;
  height: 4px;
  transition: height 0.15s ease;
}

/* Play state anims */
.sticky-audio-player.playing .wave-bar:nth-child(1)  { animation: wave 1.2s ease infinite alternate; }
.sticky-audio-player.playing .wave-bar:nth-child(2)  { animation: wave 0.8s ease infinite alternate 0.1s; }
.sticky-audio-player.playing .wave-bar:nth-child(3)  { animation: wave 1.4s ease infinite alternate 0.2s; }
.sticky-audio-player.playing .wave-bar:nth-child(4)  { animation: wave 1.0s ease infinite alternate 0.3s; }
.sticky-audio-player.playing .wave-bar:nth-child(5)  { animation: wave 0.7s ease infinite alternate 0.1s; }
.sticky-audio-player.playing .wave-bar:nth-child(6)  { animation: wave 1.3s ease infinite alternate 0.4s; }
.sticky-audio-player.playing .wave-bar:nth-child(7)  { animation: wave 0.9s ease infinite alternate 0.2s; }
.sticky-audio-player.playing .wave-bar:nth-child(8)  { animation: wave 1.1s ease infinite alternate 0.3s; }
.sticky-audio-player.playing .wave-bar:nth-child(9)  { animation: wave 0.8s ease infinite alternate 0.5s; }
.sticky-audio-player.playing .wave-bar:nth-child(10) { animation: wave 1.2s ease infinite alternate 0.1s; }

.player-right {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 30%;
  justify-content: flex-end;
}

.volume-icon {
  color: var(--text-secondary);
  font-size: 15px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: opacity 0.2s;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 5px var(--primary);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 5px var(--primary);
}

/* Site Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  margin-top: auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--text-muted);
  font-size: 13px;
}

/* Ad Placement Containers */
.ad-container-header {
  max-width: 728px;
  margin: 0 auto 24px auto;
  text-align: center;
}

.ad-container-sidebar {
  text-align: center;
}

.ad-container-infeed {
  grid-column: 1 / -1;
  width: 100%;
}

.ad-container-inarticle {
  margin: 24px 0;
  text-align: center;
}

.ad-container-multiplex {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 46, 147, 0.08);
  padding-top: 24px;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-slow {
  0% { box-shadow: 0 0 10px var(--primary-glow); }
  50% { box-shadow: 0 0 20px var(--primary-glow), 0 0 10px var(--secondary-glow); }
  100% { box-shadow: 0 0 10px var(--primary-glow); }
}

@keyframes wave {
  0% { height: 4px; }
  100% { height: 28px; }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    margin-top: 20px;
  }
  .hero-section {
    flex-direction: column;
    padding: 30px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile drawer toggle can be triggered by JS */
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-section {
    padding: 20px !important;
    gap: 16px !important;
  }
  
  .hero-title {
    font-size: 28px !important;
  }
  
  .hero-player-widget {
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .search-filter-section {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  
  .search-box input, .category-dropdown {
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
  
  .search-box i {
    left: 12px !important;
  }
  
  .search-box input {
    padding-left: 36px !important;
  }
  
  .player-container {
    gap: 10px !important;
  }
  
  .player-left {
    width: calc(100% - 60px) !important;
  }
  
  .player-center {
    width: 48px !important;
    flex: initial !important;
    justify-content: flex-end !important;
  }
  
  .player-right {
    display: none; /* Hide volume on mobile for clean screen space */
  }
  
  .visualizer-container {
    display: none; /* Hide visualizer on mobile for spacing */
  }
  
  .post-detail-wrapper {
    padding: 20px;
  }
  
  .post-headline {
    font-size: 28px;
  }
  
  .logo-text {
    font-size: 20px !important;
  }
  
  .logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  .posts-grid {
    grid-template-columns: 1fr !important;
  }
  .main-wrapper {
    padding: 0 12px 120px 12px !important;
  }
}

/* ==========================================================================
   PODCAST STYLES
   ========================================================================== */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.podcast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
}

.podcast-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  box-shadow: 0 12px 40px 0 rgba(161, 0, 255, 0.15);
}

.podcast-card.hidden {
  display: none !important;
}

.podcast-thumb-wrapper {
  display: block;
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #191224;
}

.podcast-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.podcast-card:hover .podcast-thumb-wrapper img {
  transform: scale(1.05);
}

.podcast-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 8, 19, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.podcast-card:hover .podcast-play-overlay {
  opacity: 1;
}

.podcast-play-btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary);
  transition: var(--transition);
}

.podcast-play-btn-circle:hover {
  transform: scale(1.1);
  background: #ff5da7;
}

.podcast-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.podcast-card-date {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.podcast-card-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.podcast-card:hover .podcast-card-title {
  color: var(--primary);
}

.podcast-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.podcast-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 46, 147, 0.08);
  padding-top: 12px;
}

.podcast-duration {
  font-size: 12px;
  color: var(--text-muted);
}

.podcast-listen-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Load More Section */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

.load-more-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition);
}

.load-more-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 22px var(--primary);
}

/* ==========================================================================
   POPUP MODAL AUDIO PLAYER
   ========================================================================== */
.podcast-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 5, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.podcast-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.podcast-modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  width: 90%;
  max-width: 440px;
  position: relative;
  box-shadow: var(--shadow);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.podcast-modal-overlay.active .podcast-modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.2);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 10px var(--primary);
}

.modal-artwork-wrapper {
  margin: 15px auto 25px auto;
  width: 180px;
  height: 180px;
  position: relative;
}

.modal-artwork {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transition: transform 0.3s ease;
}

/* Vinyl record spinning effect when playing */
.modal-artwork-wrapper.playing .modal-artwork {
  animation: spin-record 12s linear infinite;
}

.modal-artwork-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  background: var(--bg-secondary);
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

.modal-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.modal-podcast-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Progress bar container */
.modal-progress-container {
  width: 100%;
  margin-bottom: 15px;
}

.modal-progress-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.modal-progress-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary);
}

.modal-time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Control buttons */
.modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.modal-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn:hover {
  color: var(--primary);
}

.modal-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 0 15px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-play-btn:hover {
  transform: scale(1.06);
  background: #ff5da7;
  box-shadow: 0 0 20px var(--primary);
}

@keyframes spin-record {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.admin-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 46, 147, 0.08);
  padding-bottom: 20px;
}

.admin-header h2 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.admin-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.admin-form-group {
  margin-bottom: 24px;
}

.admin-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.admin-input, .admin-select, .admin-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(12, 8, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.admin-input:focus, .admin-select:focus, .admin-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 46, 147, 0.2);
}

.admin-textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.5;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition);
}

.admin-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--primary);
}

.admin-submit-btn:active {
  transform: translateY(0);
}

.admin-status {
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  display: none;
}

.admin-status.success {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00ff66;
}

.admin-status.error {
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.3);
  color: var(--primary);
}

/* YouTube Video Embedding Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .admin-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}