/*
Theme Name: Niladri Astro
Theme URI: https://example.com/niladri-astro
Author: DeepMind Antigravity
Author URI: https://deepmind.google/
Description: A premium, highly customizable, and deeply aesthetic WordPress theme for Astrologer Dr. Niladri Narayan Basu. Features glassmorphism, dynamic animations, and a rich dark mode.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niladri-astro
*/

/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
  --color-bg: #fdfbf7;
  /* Crisp cream/white */
  --color-surface: #ffffff;
  --color-primary: #d97706;
  /* Richer gold/amber for light bg */
  --color-primary-hover: #b45309;
  --color-accent: #7c3aed;
  /* Deeper purple */
  --color-text: #1e293b;
  /* Dark slate */
  --color-text-muted: #64748b;
  --color-success: #059669;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-success {
  color: var(--color-success);
}

.text-text-muted {
  color: var(--color-text-muted);
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #f59e0b);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--glass-shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Sections General
   ========================================================================== */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-title h2 span {
  color: var(--color-primary);
}

.section-title p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at center, #ffffff 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Mystical Background Elements */
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, rgba(253, 251, 247, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-subheadline {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.urgency-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ==========================================================================
   2. About / Trust Section
   ========================================================================== */
.about-section {
  background-color: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.about-image-wrapper img {
  width: 100%;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   3. Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-primary));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.service-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   4. Why Choose Us
   ========================================================================== */
.features-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f1f5f9 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.feature-icon-wrapper {
  background: rgba(251, 191, 36, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   5. Daily Rashi Phal
   ========================================================================== */
.rashi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.rashi-item {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.rashi-item:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.rashi-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   6. Panchang / Tithi
   ========================================================================== */
.panchang-section {
  background-color: var(--color-surface);
}

.panchang-container {
  background: radial-gradient(circle at top right, #ffffff, #f1f5f9);
  border-radius: 20px;
  padding: 4rem;
  border: 1px solid var(--color-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Mandala background decoration */
.panchang-container::after {
  content: '☸';
  position: absolute;
  right: -50px;
  top: -50px;
  font-size: 300px;
  color: rgba(217, 119, 6, 0.05);
  pointer-events: none;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.panchang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.panchang-item h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   7. Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 20px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(251, 191, 36, 0.1);
  font-family: serif;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.rating {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. Video Section
   ========================================================================== */
.video-section {
  background-color: var(--color-surface);
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--glass-border);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   9. Final CTA
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #f59e0b 100%);
  text-align: center;
  padding: 8rem 0;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
  background-color: #020617;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-widget h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border-radius: 50%;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-primary);
  color: #1e293b;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   Bonus: Sticky WhatsApp
   ========================================================================== */
.sticky-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-normal);
  animation: pulse-green 2s infinite;
}

.sticky-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large tablets (992px and below) */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-subheadline {
    font-size: 1.25rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rashi-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .panchang-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .cta-section h2 {
    font-size: 2.25rem;
  }
}

/* Tablets and mobile (768px and below) */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* Mobile navigation */
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-close {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-surface);
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    text-align: left;
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 1.15rem;
    padding: 0.5rem 0;
    display: block;
  }

  /* Layout adjustments */
  section {
    padding: 3.5rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panchang-container {
    padding: 2rem 1.5rem;
  }

  .panchang-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rashi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 5rem 0;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .about-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .rashi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .panchang-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .panchang-container {
    padding: 1.25rem;
  }

  .panchang-container::after {
    display: none;
  }

  .sticky-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

  .feature-item {
    flex-direction: column;
    gap: 1rem;
  }

  .urgency-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }
}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.6rem;
  }

  .rashi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .panchang-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. New Layout Features & Enhancements
   ========================================================================== */

/* Mobile Menu Close Button & Overlay */
.mobile-menu-close {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.75rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  transition: color var(--transition-fast);
}

.mobile-menu-close:hover {
  color: var(--color-primary);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Announcement Bar Slideshow */
.announcement-bar {
  background: linear-gradient(90deg, #b45309, #d97706);
  color: #ffffff;
  padding: 0.5rem 2.5rem 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1001;
  min-height: 40px;
}

.announcement-slider {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement-slide {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(10px);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
}

.announcement-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.announcement-close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.announcement-close:hover {
  color: #ffffff;
}

/* YouTube Showcase Section */
.youtube-section {
  background-color: var(--color-surface);
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.youtube-card {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.youtube-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.youtube-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
}

.youtube-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn-youtube {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
  color: white;
}

@media (max-width: 992px) {
  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* Skeleton Loader Animations */
.skeleton-pulse {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-rashi {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.skeleton-rashi-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.skeleton-rashi-title {
  width: 60px;
  height: 16px;
  border-radius: 4px;
}

.skeleton-rashi-desc {
  width: 100%;
  height: 32px;
  border-radius: 4px;
}

.skeleton-panchang-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.skeleton-panchang-title {
  width: 80px;
  height: 16px;
  border-radius: 4px;
}

.skeleton-panchang-value {
  width: 120px;
  height: 20px;
  border-radius: 4px;
}

/* Animation for loaded content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rashi-item,
.panchang-item {
  animation: fadeIn 0.5s ease forwards;
}

/* Blog Styles */
.blog-header {
  background: radial-gradient(circle at center, #ffffff 0%, var(--color-bg) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.blog-thumbnail {
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumbnail img {
  transform: scale(1.08);
}

.blog-thumbnail-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(124, 58, 237, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 3rem;
}

.blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-title a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.blog-pagination ul.page-numbers {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
}

.blog-pagination ul.page-numbers li a,
.blog-pagination ul.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--color-text);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.blog-pagination ul.page-numbers li span.current {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.blog-pagination ul.page-numbers li a:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Single Post Content and Layout */
.single-post-hero {
  background: radial-gradient(circle at center, #ffffff 0%, var(--color-bg) 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.single-post-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-top: 1rem;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.single-post-content h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

.post-tags a {
  display: inline-block;
  background: #f1f5f9;
  color: var(--color-text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  transition: all var(--transition-fast);
}

.post-tags a:hover {
  background: var(--color-primary);
  color: white;
}

.tags-label {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 0.5rem;
}