/* =================================
होम पेज (समस्त) बैकग्राउंड और फॉन्ट स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
body {
    font-family: 'Karma', serif;
    background-color: #bce5cf;
    color: #000193;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    padding-bottom: 120px;
}

body::before {
    content: "";
    background-image: url(images/poster_myhindi.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bottom-scroll-wrapper {
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.bottom-scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00c2ff, #004cff);
    opacity: 0.4;
    pointer-events: none;
}

body {
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 4.6px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #9611ff;
    border-radius: 5px;
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
}
/* =================================
होम पेज (समस्त) बैकग्राउंड और फॉन्ट स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
हेडर सेक्शन के लिए स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
header {
  background: linear-gradient(142deg, #a600ff, #007dff, #3726ff, #7000ff);
  background-size: 600% 600%;
  animation: gradientFlow 12s ease infinite;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #f7ffb6;
  border-radius: 0 0 10px 10px;
  padding: 12px 20px;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  header:hover {
    transform: scale(1.01);
  }
}

@media (max-width: 600px) {
  header {
    padding: 10px 12px;
    height: auto;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 600px) {
  header {
    height: 120px;
  }
}
/* =================================
हेडर सेक्शन के लिए स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
थ्री लाइन मेनू बटन स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.menu-toggle {
  cursor: pointer;
  position: absolute;
  top: 30px;
  left: 16px;
  width: 19px;
  height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: 2px solid #ffffff;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 3px;
  z-index: 10001;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.menu-toggle span {
  display: block;
  width: 90%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .header-center h1 {
        font-size: 18px;
    }

    .header-center p {
        font-size: 10px;
    }

    .header-right img {
        max-height: 60px;
    }
}
/* =================================
थ्री लाइन मेनू बटन स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
हेडर का बीच में टाइटल My Hindi एवं डिस्क्रिप्शन वाले भाग की स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.header-center {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-70%, -70%);
    text-align: center;
    z-index: 10000;
}

.header-center h1 {
    font-size: 24px;
    margin: 0;
    color: #fdffd9;
    text-shadow: 0 0 5px #fabeff, 0 0 10px #c9ffeb, 0 0 15px #0ff;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    animation: glowPulse 3s infinite alternate;
}

.header-center h1:hover {
    transform: scale(1.2) rotate(-2deg);
    text-shadow: 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
}

.header-center p {
    font-size: 19px;
    margin: 4px 0 0;
    color: #f7ffb6;
    background: linear-gradient(90deg, #c5ffb3, #fffab1, #00ffcc);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
}

.header-center p:hover {
    transform: scale(1.1);
    text-shadow: 0 0 5px #ff0, 0 0 10px #0f0;
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 5px #0ff;
    }
    to {
        text-shadow: 0 0 20px #00f, 0 0 30px #0ff, 0 0 40px #0ff;
    }
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
/* =================================
हेडर का बीच में टाइटल My Hindi एवं डिस्क्रिप्शन वाले भाग की स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
लोगो स्टाइलिंग (हेडर का दायाँ भाग) - प्रारंभ 🔽 🔽
================================= */
.header-right {
    padding-right: 75px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 80px;
}

.header-right img {
    max-height: 50px;
    width: auto;
    display: block;
    position: absolute;
    top: 19px;
    margin-right: -75px;
    z-index: 100000;
    cursor: pointer;
    box-shadow: 1px 6px 5px rgba(78, 55, 42, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.header-right img.fade-out {
    opacity: 0;
}
/* =================================
लोगो स्टाइलिंग (हेडर का दायाँ भाग) - समाप्त 🔼 🔼
================================= */

/* =================================
एप बटन एवं सब्सक्राइब बटन स्टाइलिंग + एनिमेटेड बैकग्राउंड स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.header-buttons {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
  padding: 12px 19px;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 90px;
  margin-bottom: 9px;
  margin-left: -24px;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  gap: 7px;
  background: linear-gradient(-45deg, #50ddff, #fccaff, #b7ff50);
  background-size: 600% 600%;
  animation: waveGradient 10s ease infinite;
  color: #000d2e;
  padding: 10px 19px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.colorful-bell {
  font-size: 19px;
  background: linear-gradient(32deg, #0029ff, #5200ff, #00ffce, #200c63,  #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bell-shake 2.5s infinite ease-in-out;
  display: inline-block;
}

@keyframes bell-shake {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(20deg); }
  20%  { transform: rotate(-20deg); }
  30%  { transform: rotate(15deg); }
  40%  { transform: rotate(-15deg); }
  50%  { transform: rotate(10deg); }
  60%  { transform: rotate(-10deg); }
  70%  { transform: rotate(5deg); }
  80%  { transform: rotate(-5deg); }
  90%, 100% { transform: rotate(0deg); }
}

.header-btn:hover {
  transform: scale(1.05);
}

.header-btn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
 
@keyframes waveGradient {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 50%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 500px) {
  .header-btn {
    padding: 3px 6px;
    font-size: 11.5px;
    min-width: 112px;
  }

  .header-btn img {
    width: 18px;
    height: 18px;
  }
}
/* =================================
एप बटन एवं सब्सक्राइब बटन स्टाइलिंग + एनिमेटेड बैकग्राउंड स्टाइलिंग - समाप्त 🔼🔼
================================= */

/* =================================
सर्च बॉक्स कंटेनर, सर्च बॉक्स, क्रास बटन, वाइस टाइपिंग, सर्च बटन की स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.search-bar {
  position: fixed;
  top: 179px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  display: flex;
  gap: 7px;
  padding: 6px;
  background: linear-gradient(90deg, #336ccd, #8f00ff, #c4ff00);
  border: 5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 1) inset,
              0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  background-clip: padding-box;
  align-items: center;
  z-index: 999;
}

.input-container {
  position: relative;
  flex: 1;
}

.input-container input {
  width: 75%;
  padding: 7px 50px 6px 7px;
  font-size: 16px;
  border: 2px solid #193d21;
  border-radius: 6px;
}

.clear-button {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  color: #5000b6;
}

.clear-button:hover {
  color: #00556b;
}

.search-bar button {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.search-bar button:hover {
  transform: scale(1.2);
}
/* =================================
सर्च बॉक्स कंटेनर, सर्च बॉक्स, क्रास बटन, वाइस टाइपिंग, सर्च बटन की स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
साइड बार, मुख्य ऑप्शंस, सब-ऑप्शंस, और पॉपअप विंडो की संपूर्ण स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
#sidebar {
    position: fixed;
    top: 170px;
    height: calc(100vh - 260px);
    width: 250px;
    left: 0;
    background: linear-gradient(90deg, #336ccd, #8f00ff, #f2d6ff);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.5s ease;
    box-shadow: 2px 3px 10px rgba(6, 45, 12, 0.6);
    transform: translateX(-250px);
    padding: 20px 10px;
    box-sizing: border-box;
    z-index: 1000;
}

#sidebar.sidebar-hidden {
    transform: translateX(-250px);
}

#sidebar:not(.sidebar-hidden) {
    transform: translateX(0);
}

#sidebarMenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebarMenu > li {
    margin-bottom: 8px;
}

#sidebarMenu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    font-weight: bold;
    background: linear-gradient(90deg, #32413b, #0a422a, #3b775e, #669876);
    border: 2px solid #fff500;
    border-left: 7px solid #fff500;
    box-shadow: 6px 4px 6px rgba(12, 110, 212, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: block;
    font-family: 'Hind', sans-serif;
}

#sidebarMenu a:hover {
    background: linear-gradient(180deg, #c3cd4e, #1e5955, #1e5955, #1e5955, #c3cd4e);
    text-decoration: underline;
    transform: scale(1.06);
    box-shadow: 5px 6px 12px rgba(25, 94, 33, 0.35);
}

#sidebarMenu ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#sidebarMenu ul li {
    margin-bottom: 3px;
}

#sidebarMenu ul li a {
    font-size: 16px;
    padding: 6px 8px 6px 15px;
    background: linear-gradient(135deg, #5f6f03, #707e20, #6c7f01);
    color: #ef9fff;
    border: 1.5px solid #fff500;
    border-left: 5px solid #fff500;
    border-radius: 8px;
    margin-top: 4px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

#sidebarMenu ul li a:hover {
    background: linear-gradient(135deg, #DA70D6, #FFC0CB);
    color: #000000;
    border-left-color: #9932CC;
    transform: translateX(5px);
}

#fullscreenPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 105, 180, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fullscreenPopup.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 90%;
    max-width: 900px;
    top: 0;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    margin: 0 auto;
    box-shadow: 12px 12px 25px rgba(12, 55, 0, 0.35);
    border: none;
}

.popup-content .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(to right, #ff6b6b, #ee5253);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(25, 100, 107, 0.4);
    z-index: 10004;
    transition: all 0.2s ease-in-out;
}

.popup-content .close-btn:hover {
    background: linear-gradient(to right, #ee5253, #eb3b5a);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 15px rgba(25, 107, 107, 0.6);
}

.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex-grow: 1;
    padding: 0;
}

.policy-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(270deg, #ff7e5f, #feb47b, #ffc971, #ffecb3, #e0f7fa, #b2ebf2, #81d4fa, #4fc3f7, #29b6f6);
    background-size: 800% 800%;
    animation: vibrantGradientAnimation 25s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

@keyframes vibrantGradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.policy-modal-content {
    background: linear-gradient(135deg, #e6ffb1, #ccffb1, #b1ffb9, #b1f8ff);
    background-size: 300% 300%;
    animation: contentGradientAnimation 10s ease infinite alternate;
    margin: auto;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 850px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.4s ease-in-out, background 0.4s ease-in-out;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

@keyframes contentGradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.policy-modal-content:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.policy-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}

.policy-modal-header h2 {
    margin: 0;
    font-size: 3.00em;
    font-family: 'Poppins', sans-serif;
    color: #b500ff;
    text-shadow: 5px 5px 10px rgba(96, 55, 32, 0.7), 0 0 15px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.policy-modal-header h2:hover {
    transform: translateY(-5px) scale(1.05);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.5);
}

.policy-modal .close-button {
    position: absolute;
    top: 15px;
    right: 24px;
    color: #ff0000;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease, text-shadow 0.4s ease;
    transform: rotate(0deg) scale(1);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.policy-modal .close-button:hover {
    color: #ff4d4d;
    transform: rotate(180deg) scale(1.3);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 25px rgba(255, 100, 100, 0.5);
}

.policy-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 1.1em;
    text-align: justify;
}

.policy-modal-body::-webkit-scrollbar {
    width: 12px;
}

.policy-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.policy-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8e2de2, #4a00e0);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a742f5, #6a1aed);
}

.policy-modal-footer {
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 1em;
    color: #7101c9;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.policy-modal-footer:hover {
    transform: translateY(-3px);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.2);
}

.policy-modal-footer button,
.policy-modal-footer a {
    background: linear-gradient(45deg, #FF6B6B, #FFC971);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    margin: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    letter-spacing: 1px;
}

.policy-modal-footer button:hover,
.policy-modal-footer a:hover {
    background: linear-gradient(45deg, #FFC971, #FF6B6B);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: pulseButton 1s infinite;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

.policy-modal-body ul {
    list-style: none;
    padding: 0;
}

.policy-modal-body ul li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
    color: #444;
}

.policy-modal-body ul li:last-child {
    border-bottom: none;
}

.policy-modal-body ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #000;
}

@media (max-width: 768px) {
    .policy-modal-content {
        width: 95%;
        padding: 25px;
        max-height: 95vh;
        border-radius: 15px;
    }

    .policy-modal-header h2 {
        font-size: 2em;
        letter-spacing: 1px;
    }

    .policy-modal .close-button {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }

    .policy-modal-body {
        font-size: 1em;
        padding-right: 10px;
    }

    .policy-modal-footer button,
    .policy-modal-footer a {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
/* =================================
साइड बार, मुख्य ऑप्शंस, सब-ऑप्शंस, और पॉपअप विंडो की संपूर्ण स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
Top Auto-Scrolling Bar (हेडर के जस्ट नीचे) + टॉप स्क्रॉलबार को right side पर दिखाने के लिए - प्रारंभ 🔽🔽
================================= */
.top-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364, #191654);
  padding: 6px 0;
  box-shadow: 6px 2px 5px rgba(12,55,12,0.4);
  position: fixed;
  top: 120px;
  z-index: 9999;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

#topScrollBar {
  display: flex;
  width: max-content;
  padding-right: 20px;
  white-space: nowrap;
  animation-name: scrollRight;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes scrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.top-scroll-wrapper .scroll-option {
  flex-shrink: 0;
  padding: 8px 18px;
  margin: 0 10px;
  border-radius: 25px;
  font-family: 'Hind', sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #1f4037, #befff7);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.top-scroll-wrapper .scroll-option:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffae1c, #00c999, #cbe129);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#topScrollWrapper {
  direction: rtl;
}

#topScrollBar {
  direction: ltr;
}
/* =================================
Top Auto-Scrolling Bar + Right Side Scrollbar - समाप्त 🔼🔼
================================= */

/* =================================
main के अंदर 'स्वागतम्' शीर्षक और "हिंदी शिक्षा का संगम" विवरण की स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
main {
    padding: 123px 23px 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

main h1 {
    font-family: 'TeKo', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 19px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, text-shadow 0.1s ease;
    background: linear-gradient(45deg, #e91e63, #ff7a00, #119f00, #00b2ff, #e91e63, #7f009f, #009f9f, #3f51b5, #009688, #ffc107, #e91e63);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: swagatamColors 6s ease infinite;
}

main h1:hover {
    transform: scale(1.6);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

@keyframes swagatamColors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* =================================
main के अंदर 'स्वागतम्' शीर्षक और "हिंदी शिक्षा का संगम" विवरण की स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
"हिंदी शिक्षा का संगम" विवरण वाक्य की स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
main p {
    font-family: 'Hind', sans-serif;
    font-size: 1.2em;
    margin-top: -6px;
    text-align: center;
    transition: letter-spacing 0.2s ease;
    background: linear-gradient(90deg, #ff7a00, #119f00, #00b2ff, #e91e63, #7f009f, #009f9f);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: descripColorFlow 8s ease infinite;
}

main p:hover {
    letter-spacing: 1px;
    filter: brightness(1.3);
}

@keyframes descripColorFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* =================================
"हिंदी शिक्षा का संगम" विवरण वाक्य की स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
नवीनतम ब्लॉग्स के शीर्षक के लिए "Tilt / Pendulum" एनिमेशन स्टाइल - प्रारंभ 🔽 🔽
================================= */
.latest-heading {
  position: relative;
  text-align: center;
  font-family: 'TeKo', sans-serif;
  font-size: 2.2em;
  color: #ff2c4d;
  margin-top: -30px;
  margin-bottom: 20px;
  transform-origin: top center;
  animation: tiltWave 2.4s ease-in-out infinite;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

@keyframes tiltWave {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(3deg); }
  50%  { transform: rotate(-3deg); }
  75%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.latest-heading::after {
  content: '';
  display: block;
  width: 160px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #00f9ff, #ff00d4, #00f9ff);
  background-size: 200% auto;
  animation: shimmerBar 1.7s linear infinite;
}

@keyframes shimmerBar {
  0% { background-position: -80px; }
  100% { background-position: 80px; }
}
/* =================================
नवीनतम ब्लॉग्स के शीर्षक के लिए "Tilt / Pendulum" एनिमेशन स्टाइल - समाप्त 🔼 🔼
================================= */

/* =================================
नवीनतम ब्लाग्स हॉरिजॉन्टल स्क्रोल बार और कार्ड्स के लिए स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.scroll-latest {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 15px;
  scroll-behavior: smooth;
}

.scroll-latest::-webkit-scrollbar {
  height: 3.7px;
}

.scroll-latest::-webkit-scrollbar-thumb {
  background-color: #9f07fc;
  border-radius: 5px;
}

.scroll-latest::-webkit-scrollbar-thumb:hover {
  background-color: #d7ffae;
}

.card-latest {
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  height: 125px;
  padding: 20px;
  background: #3b7d23;
  color: #ffffff;
  text-align: center;
  box-shadow: 15px 12px 19px rgba(19,55,0,0.9);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 2px solid #fffc00;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-latest i {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}

.card-latest:hover {
  transform: scale(1.08);
  box-shadow: 1px 9px 19px rgba(155, 15, 213, 0.6);
  border-color: #ffd700;
}

.card-latest.idioms {
  background: linear-gradient(135deg, #0a5037, #b8a100);
}

.card-latest.proverbs {
  background: linear-gradient(135deg, #00c9ff, #92fe9d);
}

.card-latest.synonyms {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.card-latest.antonyms {
  background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
}

.card-latest.summary {
  background: linear-gradient(135deg, #00c3ff, #ffff1c);
}

.card-latest.active-center {
  outline: 3px dashed white;
  outline-offset: -6px;
  animation: pulseBorder 1.5s infinite;
}

@keyframes pulseBorder {
  0% { outline-color: #fff; }
  50% { outline-color: #ffeb3b; }
  100% { outline-color: #fff; }
}
/* =================================
नवीनतम ब्लाग्स हॉरिजॉन्टल स्क्रोल बार और कार्ड्स के लिए स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
डिवाइडर लाइन स्टाइलिंग कोड - सभी सेक्शन्स के लिए (दो सेक्शन्स के मध्य डिवाइडर लाइन) - प्रारंभ 🔽🔽
================================= */
.section-divider {
  width: 90%; /* लाइन की चौड़ाई */
  max-width: 1200px; /* लाइन की अधिकतम चौड़ाई */
  height: 2px; /* लाइन की मोटाई */
  background: linear-gradient(to right, #e91e63, #ff7a00, #119f00); /* रंगीन ग्रेडिएंट */
  margin: 40px auto; /* ऊपर और नीचे 40px का मार्जिन और केंद्र में */
  border-radius: 2px; /* गोल कोने */
  box-shadow: 0 0 10px rgba(0,0,0,0.3); /* हल्की परछाई (शैडो) */
  opacity: 0.8; /* थोड़ी पारदर्शिता */
}
/* =================================
डिवाइडर लाइन स्टाइलिंग कोड - समाप्त 🔼🔼
================================= */

/* =================================
लोकप्रिय ब्लॉग्स शीर्षक के लिए चमकदार Scale-Flicker एनिमेशन - प्रारंभ 🔽 🔽
================================= */
.popular-heading {
    text-align: center;
    font-family: 'TeKo', sans-serif;
    font-size: 2.1em;
    color: #8a00ff;
    margin-top: 25px;
    margin-bottom: 12px;
    position: relative;
    animation: flickerScale 3.5s ease-in-out infinite;
    text-shadow: 0 0 2px #fbffa9, 0 0 8px #a9ffff;
    transform-origin: center;
}

@keyframes flickerScale {
  0%   { transform: scale(1); opacity: 1; text-shadow: 0 0 2px #ff7b8b, 0 0 8px #ffe500; }
  25%  { transform: scale(1.02); opacity: 0.95; text-shadow: 0 0 4px #ffdaee, 0 0 12px #7ba8ff; }
  50%  { transform: scale(1.05); opacity: 1; text-shadow: 0 0 6px #c97bff, 0 0 18px #3e33ff; }
  75%  { transform: scale(1.03); opacity: 0.98; text-shadow: 0 0 4px #ffd233, 0 0 10px #00ff9c; }
  100% { transform: scale(1); opacity: 1; text-shadow: 0 0 2px #ff3232, 0 0 8px #ff977b; }
}

.popular-heading::after {
    content: '';
    display: block;
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, #ff6a00, #f800ff, #00ffe5);
    margin: 5px auto 0;
    border-radius: 5px;
}
/* =================================
लोकप्रिय ब्लॉग्स शीर्षक के लिए चमकदार Scale-Flicker एनिमेशन - समाप्त 🔼 🔼
================================= */

/* =================================
लोकप्रिय ब्लॉग्स हॉरिजॉन्टल स्क्रोल बार और कार्ड्स के लिए स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.scroll-popular {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding: 15px;
  scroll-behavior: smooth;
}

.scroll-popular::-webkit-scrollbar-thumb {
  background-color: #ff6625;
  border-radius: 5px;
}

.scroll-popular::-webkit-scrollbar {
  height: 3.7px;
}

.card-popular {
  position: relative;
  flex: 0 0 auto;
  width: 215px;
  height: 90px;
  padding: 37px;
  background: #00abff;
  color: #fcfff1;
  text-align: center;
  box-shadow: 15px 12px 19px rgba(105, 173, 23, 0.9);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 3px solid #fffc00;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to right, #00abff, #0077cc);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-clip: padding-box;
  background-origin: border-box;
  background-blend-mode: overlay;
  border: 2px solid white;
  border-radius: 10px;
}

.card-popular i {
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}

.card-popular:hover {
  transform: scale(1.08);
  box-shadow: 12px 6px 6px rgba(55, 125, 255, 0.6);
  border-color: #ff6625;
}

.card-popular.swar {
  background: linear-gradient(135deg, #7ba4ff, #00b2ff);
}

.card-popular.varnamala {
  background: linear-gradient(135deg, #93b69a, #0ea795);
}

.card-popular.sentence {
  background: linear-gradient(135deg, #fbc2eb, #e3ff5c);
}

.card-popular.literature {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.card-popular.translation {
  background: linear-gradient(135deg, #ffecd2, #edff7b);
}

.card-popular.active-center {
  outline: 3px dashed #75e2ff;
  outline-offset: -5px;
}
/* =================================
लोकप्रिय ब्लॉग्स हॉरिजॉन्टल स्क्रोल बार और कार्ड्स के लिए स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
Category section 📝 हेतु सम्पूर्ण स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.article-heading {
  text-align: center;
  font-family: 'Teko', sans-serif;
  font-size: 1.9em;
  color: #006b1b;
  margin-top: 25px;
  margin-bottom: 15px;
  position: relative;
  background: linear-gradient(to right, #fff7e5, #fdffe5, #fff7e5);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.6);
  animation: headingGlow 2s ease-in-out infinite alternate;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.article-heading:hover {
  transform: scale(1.05);
  text-shadow: 0 0 25px #00ff5e, 0 0 30px #ff00ff;
}

.article-heading::after {
  content: '';
  display: block;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, #00ff5e, #e91e63, #00ff5e);
  margin: 10px auto 0;
  border-radius: 5px;
  animation: shimmer-article 2s linear infinite;
  background-size: 200% auto;
}

@keyframes shimmer-article {
  0% { background-position: -100px; }
  100% { background-position: 100px; }
}

@keyframes headingGlow {
  0% {
    text-shadow: 0 0 5px #00ff5e;
  }
  50% {
    text-shadow: 0 0 15px #00ff5e, 0 0 10px #e91e63;
  }
  100% {
    text-shadow: 0 0 6px #00ff5e;
  }
}

.category-section {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 330px;
  gap: 20px;
  padding: 30px;
  margin: 30px auto;
  background: linear-gradient(180deg, #1990ff, #eeceff);
  border-radius: 15px;
  box-shadow: inset 0 0 10px rgba(15, 15, 113, 0.6);
  scroll-behavior: smooth;
}

.category-section::-webkit-scrollbar {
  width: 3.7px;
}

.category-section::-webkit-scrollbar-track {
  background: #f9fab7;
  border-radius: 10px;
}

.category-section::-webkit-scrollbar-thumb {
  background-color: #9225ff;
  border-radius: 5px;
}

.category-card {
  background: linear-gradient(to bottom, #ffcef6, #00ffc2);
  padding: 25px;
  border-radius: 19px;
  box-shadow: 0 10px 19px rgba(12, 15, 132,0.9);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid #fffff5;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(155, 105, 180, 0.6);
  background: linear-gradient(to bottom, #cefff3, #fff7ce);
}

.category-card i {
  font-size: 4em;
  color: #ff7a00;
  margin-bottom: 19px;
}

.category-card h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1.5em;
  color: #ff573a;
  margin-bottom: 60px;
}

.category-card p {
  font-family: 'Hind', sans-serif;
  font-size: 0.9em;
  color: #ff7bee;
  line-height: 1.9;
}
/* =================================
Category section 📝 हेतु सम्पूर्ण स्टाइलिंग - समाप्त 🔼🔼
================================= */

/* =================================
यूट्यूब ऑटो-प्ले वीडियो सेक्शन स्टाइल कोड - प्रारंभ 🔽🔽
================================= */
.video-section {
padding: 20px 0;
  background: linear-gradient(to right, #e7ffe5, #f3feff, #e7ffe5);
  border-radius: 15px;
  box-shadow: inset 0 0 10px rgba(15, 15, 113, 0.6);
text-align: center;
}

.dark-mode .video-section {
background-color: #1a1a1a;
}

.video-carousel {
display: flex;
flex-direction: row;
overflow-x: auto;
gap: 20px;
padding: 0 15px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}

.video-carousel::-webkit-scrollbar {
display: none;
}

.video-carousel {
-ms-overflow-style: none;
scrollbar-width: none;
}

.video-box {
flex-shrink: 0;
width: 100%;
max-width: 640px;
min-width: 320px;
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
box-shadow: 0 4px 12px rgba(95, 55, 42, 0.9);
border-radius: 10px;
transform: translateY(20px);
opacity: 0;
transition: transform 0.6s ease-out, opacity 0.6s ease-out;
scroll-snap-align: center;
}

.video-box.in-view {
transform: translateY(0);
opacity: 1;
}

.youtube-player {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}

.video-title {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(132, 55, 213, 0.9);
color: #fff;
padding: 10px;
text-align: center;
font-size: 1em;
font-weight: bold;
opacity: 0;
transition: opacity 0.3s;
}

.video-box:hover .video-title {
opacity: 1;
}

.no-video-placeholder {
padding: 50px 20px;
font-size: 1.2em;
color: #888;
background-color: #e0e0e0;
border-radius: 10px;
width: 100%;
}

.dark-mode .no-video-placeholder {
color: #ccc;
background-color: #2b2b2b;
}

.no-video-placeholder i {
font-size: 3em;
color: #ff0000;
margin-bottom: 10px;
}
/* =================================
यूट्यूब ऑटो-प्ले वीडियो सेक्शन स्टाइल कोड - समाप्त 🔼🔼
================================= */

/* =================================
बॉटम ऑटो-स्क्रॉलिंग बार (फुटर के जस्ट ऊपर) स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.bottom-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(270deg, #1e3c72, #2a5298, #0f2027, #1c1c1c);
  padding: 6px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.4);
  position: fixed;
  bottom: 37px;
  z-index: 9998;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#bottomScrollBar {
  display: flex;
  width: max-content;
  padding-right: 20px;
  white-space: nowrap;
  animation-name: scrollLeft;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.bottom-scroll-wrapper .scroll-option {
  flex-shrink: 0;
  padding: 8px 18px;
  margin: 0 10px;
  border-radius: 25px;
  font-family: 'Hind', sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #99f2c8, #1f4037);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.bottom-scroll-wrapper .scroll-option:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #195c55, #afdcc0, #42bd12, #5b86e5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
/* =================================
बॉटम ऑटो-स्क्रॉलिंग बार (फुटर के जस्ट ऊपर) स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
सोशल मीडिया (फुटर की) सम्पूर्ण स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.site-footer {
    background-color: #108a9f;
    color: #251b93;
    padding: 30px 20px 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-top: 5px solid #1b931c;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.4);
}

.social-title {
  text-align: center;
  font-size: 1.9em;
  color: #ff6e11;
  text-shadow: 3px -3px 5px rgba(0, 12, 22, 0.9);
  font-family: 'TeKo', sans-serif;
  margin: 0px 0px 5px;
  padding: 0px;
  line-height: 1.2;
}

.footer-section-title {
    font-size: 2.5em;
    margin-bottom: -19px;
    color: #53196f;
    position: relative;
    display: block;
    text-align: center;
    padding-bottom: 6px;
    letter-spacing: 1.0px;
    text-shadow: 5px 5px 5px rgba(15, 33, 32, 0.5);
    transform: translateY(-30px);
}

.footer-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6);
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-footer:hover .footer-section-title::after {
    width: 70%;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 19px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    padding: 50px;
    background-color: #bccab7;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(32, 114, 150, 0.3);
}

.website-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ff0000;
    padding: 19px;
    border-radius: 9px;
    background: linear-gradient(90deg, #3b81a8, #a0f4d1, #3b81a8);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.website-link-item:hover {
    background-color: #b573ff;
    transform: translateY(-7px) scale(1.12);
    box-shadow: 0 9px 15px rgba(37, 55, 95, 0.6);
}

.website-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease;
}

.website-link-item:hover .website-logo-icon {
    transform: rotate(10deg);
}

.website-link-item .link-text {
    font-size: 1.50em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-apps-section {
    padding: 30px 0;
    border-top: 0 5px 6px 7px solid rgba(215, 255, 255, 0.5);
    margin-top: 15px;
}

.app-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.app-item {
    text-align: center;
    background-color: #afa280;
    padding: 10px;
    border-radius: 37px;
    box-shadow: 0 4px 10px rgba(55, 65, 19, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-item:hover {
    transform: translateY(-9px);
    box-shadow: 0 10px 20px rgba(19, 95, 132, 0.5);
}

.app-name {
    font-size: 0.9em;
    font-weight: bold;
    color: #fffba2;
    margin-bottom: 15px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    object-fit: cover;
    border: 3px solid #fffba2;
    transition: transform 0.3s ease;
}

.app-item:hover .app-icon {
    transform: scale(1.12);
}

.youtube-channels .social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #59e1ff, #f6e6ff, #e8a8ff);
    color: #ff4646;
    font-size: 0.9em;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.youtube-channels .social-icon i {
    font-size: 2.5em;
    color: #FF0000;
    margin-bottom: 1px;
    transition: transform 0.3s ease;
}

.youtube-channels .social-icon i:hover {
    transform: translateY(-5px) scale(1.1);
}

.youtube-channels .social-icon .icon-text {
    margin-left: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.25em;
    font-weight: bold;
    width: 100%;
}

.youtube-channels .social-icon:hover {
    background: linear-gradient(135deg, #2551ff, #35dbff, #7d1083);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    filter: brightness(1.2);
    animation: none;
}

.social-media-section {
    padding: 30px 0;
    border-top: 1px solid rgba(1, 12, 27, 0.6);
    margin-top: 30px;
}

.social-icons-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.social-icons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: #fffff8;
    font-size: 1.9em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: linear-gradient(135deg, #46eeff, #FF5F6D, #729074, #976a51, #9949ff, #496bff);
    background-size: 400% 400%;
    animation: pulse-gradient 10s ease infinite;
}

@keyframes pulse-gradient {
    0% { background-position: 10% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    animation: none;
    filter: brightness(1.2);
}

.facebook-icon:hover,
.social-icon.fab.fa-facebook-f:hover,
.social-icon.fab.fa-facebook-square:hover {
    background: #006eff;
}

.instagram-icon:hover,
.social-icon.fab.fa-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #d261ac 5%, #833AB4 45%, #5851DB 60%, #405DE6 90%);
}

.twitter-icon:hover,
.social-icon.fab.fa-twitter:hover {
    background: #1DA1F2;
}

.social-icon:hover i,
.social-icon:hover .icon-text {
    color: #ffffff;
}

.social-icon .icon-text {
    margin-left: 12px;
    font-size: 0.6em;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .social-icons-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .social-icons-row {
        flex-basis: 50%;
        margin: 0 3%;
        gap: 20px;
    }

    .youtube-channels .social-icon {
        width: 110px;
        height: 110px;
        padding: 15px;
        font-size: 1em;
    }

    .social-icon {
        width: 70px;
        height: 70px;
    }
}

.site-footer a {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #aaffaaff;
    text-decoration: underline;
}

.footer-section + .footer-section {
    margin-top: 50px;
}

#goTopBtn {
    position: fixed;
    bottom: 100px;
    right: 6px;
    padding: 10px 10px;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(105deg, #ff007f, #ff8800, #f73aff);
    border: none;
    border-radius: 19px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0.5);
    z-index: 9999;
}

#goTopBtn.show {
    opacity: 1;
    transform: scale(1);
}

#goTopBtn:hover {
    background: linear-gradient(45deg, #fa32ff, #ff8800, #ff007f);
    box-shadow: 3px 5px 19px rgba(5, 6, 0, 0.6);
}

.arrow {
    display: inline-block;
    margin-right: 5px;
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-5px);
    }
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 0;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    z-index: 9999;
    letter-spacing: 0.5px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
    animation: fadeUp 1s ease-out forwards;
    background: linear-gradient(-90deg, #39003a, #330066, #21008f, #0007b7, #007dff);
    background-size: 400% 400%;
    animation-name: fadeUp, animatedBG;
    animation-duration: 1.5s, 10s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animatedBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer:hover {
    transform: scale(1.01);
    box-shadow: 0 -5px 25px rgba(255, 255, 255, 0.4);
}

.myhindi-footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    font-size: clamp(11px, 0.9vw, 14px);
    color: rgba(255, 255, 255, 0.8);
}

.myhindi-footer-text {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.myhindi-footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.myhindi-footer-button {
    border: 1px solid #feffda;
    border-radius: 23px;
    text-decoration: none;
    color: inherit;
    padding: 3px 9px;
    font-size: clamp(11px, 0.9vw, 14px);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.myhindi-footer-button:hover {
    border-color: #ebff00;
    color: #faff00f;
}

.myhindi-footer-legal-links a:nth-child(2):hover {
    border-color: #fffc00;
    color: #ff2fd;
}
/* =================================
सोशल मीडिया (फुटर की) सम्पूर्ण स्टाइलिंग - समाप्त 🔼🔼
================================= */

/* =================================
साइडबार मेन्यू एन्हांसमेंट - प्रारंभ 🔽 🔽
================================= */
#sidebarMenu .menu-item,
#sidebarMenu .menu-parent,
#sidebarMenu .menu-child {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#sidebarMenu .menu-item:hover,
#sidebarMenu .menu-parent:hover,
#sidebarMenu .menu-child:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

#sidebarMenu .menu-item i,
#sidebarMenu .menu-parent i,
#sidebarMenu .menu-child i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

#sidebarMenu .submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    border-left: 2px solid #e0e0e0;
}

#sidebarMenu .submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.scroll-option {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scroll-option:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.scroll-option i {
    margin-right: 8px;
}
/* =================================
साइडबार मेन्यू एन्हांसमेंट - समाप्त 🔼 🔼
================================= */

/* =================================
साइडबार मॉडल स्टाइलिंग - प्रारंभ 🔽 🔽
================================= */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}

.modal-body {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    text-align: right;
    border-top: 1px solid #e0e0e0;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: #ffcccc;
    transform: scale(1.1);
}

.modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 1.3em;
    }

    .modal-body {
        padding: 20px;
        max-height: 300px;
    }

    .scroll-option {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}
/* =================================
साइडबार मॉडल स्टाइलिंग - समाप्त 🔼 🔼
================================= */

/* =================================
मीडिया गैलरी (होम पेज के बाटम में) css स्टाइल - प्रारंभ 🔽🔽
================================= */
.media-gallery-section {
    padding: 30px 0;
    background-color: #a7dcd3;
    margin-top: 15px;
    text-align: center;
}

.media-gallery-section h2 {
    text-align: center;
    color: #6900ff;
    font-size: 2em;
    margin-bottom: 25px;
    text-shadow: 1px 7px 9px rgba(95, 55, 42, 0.9);
}

.gallery-box {
    max-height: 242px;
    overflow-y: auto;
    padding: 12px;
    border-radius: 15px;
    box-shadow: 1px 10px 7px rgba(95, 65, 19, 0.9);
    max-width: 1200px;
    margin: 0 auto;
    background: #b5bdbc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #b0b29b;
    border-radius: 10px;
    box-shadow: 1px 10px 9px rgba(55, 65, 19, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-9px);
    box-shadow: 3px 10px 12px rgba(99, 55, 32, 0.9);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20%;
    border: 5px solid #ffffff;
}

.img-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.img-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,.6);
    animation: zoom 0.6s ease;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    animation: zoom 0.6s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

@keyframes zoom {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
/* =================================
मीडिया गैलरी (होम पेज के बाटम में) css स्टाइल - समाप्त 🔼🔼
================================= */

/* =================================
🌙 डार्क मोड स्टाइलिंग - प्रारंभ 🔽🔽
================================= */
/*
 यह कोड डार्क मोड को सक्रिय करता है जब body टैग में 'dark-mode' क्लास जोड़ी जाती है।
 यह एक सिंगल ब्लॉक में समान स्टाइल वाले तत्वों को समूहित करता है ताकि कोड कुशल और पढ़ने में आसान रहे।
*/
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode header,
body.dark-mode footer,
body.dark-mode .app-items-container,
body.dark-mode .category-container,
body.dark-mode .search-results-modal-content,
body.dark-mode #sidebar,
body.dark-mode .social-media-section,
body.dark-mode .five-websites-section,
body.dark-mode .game-modal,
body.dark-mode .video-section,
body.dark-mode .media-gallery-section {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .scroll-option,
body.dark-mode .card-latest,
body.dark-mode .website-link-item,
body.dark-mode .app-item {
    background: #2b2b2b !important;
    color: #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .blog-title {
    background-color: #333 !important;
    color: #fff !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5 {
    color: #bb86fc;
}

body.dark-mode .colorful-scroll-text {
    -webkit-text-fill-color: unset;
    color: #e0e0e0;
    background: none;
}

body.dark-mode .all-blogs-heading {
    color: #f0f0f0;
    text-shadow: 0 0 5px #bb86fc;
}

body.dark-mode .section-title,
body.dark-mode .latest-heading,
body.dark-mode .popular-heading,
body.dark-mode .article-heading {
    color: #bb86fc !important;
}

body.dark-mode .category-card-content {
    background-color: #2b2b2b;
    color: #e0e0e0;
}

body.dark-mode .category-card p,
body.dark-mode .category-card small {
    color: #c0c0c0;
}

body.dark-mode header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .header-center h1,
body.dark-mode .header-center p {
    color: #bb86fc;
}

body.dark-mode .header-buttons .header-btn {
    background-color: #2a2a47;
    color: #e0e0e0;
    border: 1px solid #4a4a75;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.dark-mode .header-buttons .header-btn:hover {
    background-color: #3b3b5f;
}

body.dark-mode .menu-toggle span {
    background-color: #f0f0f0;
}

body.dark-mode .video-title {
    color: #f0f0f0;
}

body.dark-mode .gallery-item {
    background-color: #2b2b2b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

body.dark-mode .section-divider {
    background-color: #444;
}

body.dark-mode .gallery-box p {
    color: #bbb;
}

body.dark-mode .no-video-placeholder {
    color: #bbb;
}

.search-results-modal.dark-mode-active .search-results-modal-content {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9);
}

.search-results-modal.dark-mode-active h2 {
    color: #f0f0f0;
    border-image: linear-gradient(to right, #6a0572, #ab004f, #007bff, #00bcd4, #8e44ad) 1;
    animation: rainbowHeaderDark 5s linear infinite;
}

@keyframes rainbowHeaderDark {
    0% {
        color: #bb86fc;
        border-color: #bb86fc;
    }
    25% {
        color: #03dac6;
        border-color: #03dac6;
    }
    50% {
        color: #ffffff;
        border-color: #ffffff;
    }
    75% {
        color: #cf6679;
        border-color: #cf6679;
    }
    100% {
        color: #bb86fc;
        border-color: #bb86fc;
    }
}

.search-results-modal.dark-mode-active .close-button {
    background-color: #880e4f;
    color: #fff;
    border: 2px solid #f0f0f0;
}

.search-results-modal.dark-mode-active .close-button:hover {
    background-color: #5d0231;
}

.search-results-modal.dark-mode-active .dark-mode-toggle {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #f0f0f0;
}

.search-results-modal.dark-mode-active .dark-mode-toggle:hover {
    background-color: #0056b3;
}

.search-results-modal.dark-mode-active .search-results-list::-webkit-scrollbar-track {
    background: #333;
}

.search-results-modal.dark-mode-active .search-results-list::-webkit-scrollbar-thumb {
    background: #00bcd4;
}

.search-results-modal.dark-mode-active .search-results-list::-webkit-scrollbar-thumb:hover {
    background: #0097a7;
}

.search-results-modal.dark-mode-active .search-results-list li {
    background-color: #36454F;
    border-bottom: 1px solid #455a64;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-results-modal.dark-mode-active .search-results-list li:hover {
    background-color: #4a5a6b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.search-results-modal.dark-mode-active .search-results-list .thumbnail {
    border: 2px solid #5a7d9a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.search-results-modal.dark-mode-active .search-results-list .post-title {
    color: #e0e0e0;
}

.search-results-modal.dark-mode-active .search-results-list .no-results-message {
    background-color: #36454F;
    color: #c0c0c0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
}

/* डार्क मोड बटन स्टाइल */
.dark-mode-toggle-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    cursor: pointer;
    width: 50px;
    height: 25px;
    background-color: #ff6915;
    border-radius: 12.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.dark-mode-toggle-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: #ffffd9;
    border-radius: 50%;
    transition: transform 0.3s;
}

.dark-mode-toggle-button.active {
    background-color: #6d6f75;
}

.dark-mode-toggle-button.active::after {
    transform: translateX(25px);
    background-color: #f3ff15;
}

.dark-mode-button-label {
    position: fixed;
    left: 80px;
    bottom: 23px;
    z-index: 1000;
    font-size: 14px;
    color: #c50cc3;
    font-weight: bold;
}

body.dark-mode .dark-mode-button-label {
    color: #f3ff15;
}

@media screen and (max-width: 768px) {
    .dark-mode-toggle-button,
    .dark-mode-button-label {
        bottom: 100px;
    }
}
/* =================================
🌙 डार्क मोड स्टाइलिंग - समाप्त 🔼🔼
================================= */