* {
  box-sizing: border-box;
}

:root {
  --bg:#E1290D;
  --panel: rgba(35, 15, 11, 0.78);
  --panel-strong: rgba(46, 20, 14, 0.90);
  --text: #f5eee7;
  --muted: rgba(245, 238, 231, 0.64);
  --border: rgba(255, 255, 255, 0.14);
  --green: #22c55e;
  --green-dark: #16a34a;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 5, 3, 0.20), rgba(10, 5, 3, 0.72)),
    radial-gradient(circle at 50% 30%, transparent 0%, rgba(0,0,0,0.30) 100%);
}

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 18px;
  padding: 24px 28px;
}

.clock {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.05em;
  padding-top: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.live-count {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255,255,255,.86);
  padding-top: 6px;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34,197,94,.8);
  animation: pulse 1.8s infinite;
}

.top-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 620px;
}

.nav-pill {
  border: 1px solid var(--border);
  background: rgba(20, 9, 7, .48);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  padding: 9px 13px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

.nav-pill:hover {
  transform: translateY(-1px);
  background: rgba(55, 25, 17, .78);
  border-color: rgba(255,255,255,.25);
}

.install-icon {
  margin-right: 3px;
}

.hero {background-image:url("./assets/desktop-bg.jpg");
  min-height: 700px;
  height: 72vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 800px) {
  .hero {
    background-image: url("./assets/mobile-bg.jpg");
    background-position: center center;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  padding-top: 70px;
}

.brand-title {
  font-size: clamp(64px, 9.5vw, 145px);
  line-height: .82;
  letter-spacing: -0.075em;
  font-weight: 900;
  text-shadow: 0 8px 30px rgba(0,0,0,.32);
  margin-bottom: 28px;
}

.tagline {
  font-size: 11px;
  letter-spacing: .34em;
  color: rgba(255,255,255,.64);
  margin-bottom: 14px;
}

.action-card {
  width: min(560px, 100%);
  margin: 10px auto 0;
  min-height: 64px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(45, 18, 12, .74);
  box-shadow: 0 12px 35px rgba(0,0,0,.24);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.action-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 850;
  font-size: 15px;
}

.whatsapp-icon {
  background: #25d366;
  color: #fff;
  font-size: 22px;
}

.rg-icon {
  background: #7a3f27;
  color: #fff5eb;
  border: 1px solid rgba(255,255,255,.15);
}

.action-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-copy strong {
  font-size: 13px;
  line-height: 1.2;
}

.action-copy span {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-button {
  color: #073d1d;
  background: #35e27b;
}

.install-action {
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
}

.dismiss-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  font-size: 21px;
  cursor: pointer;
  padding: 5px;
}

.about {
  position: relative;
  margin-top: -2px;
  background:
    linear-gradient(to bottom, rgba(50, 21, 14, .96), rgba(36, 17, 13, .99)),
    url("assets/desktop-bg.jpg") center / cover;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 5, .42);
  pointer-events: none;
}

.about-inner {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 30px 85px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7a3f27;
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
  font-size: 12px;
}

.footer-brand h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.03em;
}

.footer-kicker {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: .32em;
  color: rgba(255,255,255,.58);
}

.intro {
  max-width: 680px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 30px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 70px;
  margin-bottom: 30px;
}

.playlist-item {
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 0;
  transition: opacity .2s ease, transform .2s ease;
}

.playlist-item:hover {
  opacity: .76;
  transform: translateX(2px);
}

.playlist-item span {
  font-size: 13px;
  font-weight: 650;
}

.playlist-item small {
  color: rgba(255,255,255,.47);
  font-size: 10px;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.09);
  margin: 4px 0 22px;
}

.rights {
  color: rgba(255,255,255,.46);
  font-size: 10.5px;
  line-height: 1.65;
  margin: 0 0 13px;
}

.rights a {
  color: rgba(255,255,255,.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  margin-top: 20px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  letter-spacing: .27em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.8); }
}

@media (max-width: 800px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 18px 16px;
  }

  .live-count {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding: 0;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-pill {
    flex: 0 0 auto;
  }

  .hero {background-image:url("./assets/desktop-bg.jpg");
    min-height: 720px;
    height: 92vh;

    /* MOBILE BACKGROUND: replace assets/mobile-bg.jpg with your image */
    
    background-position: center;
  }

  .hero-content {
    padding-top: 115px;
  }

  .brand-title {
    font-size: clamp(60px, 17vw, 100px);
    line-height: .86;
    margin-bottom: 22px;
  }

  .tagline {
    font-size: 8px;
    letter-spacing: .24em;
    margin-bottom: 13px;
  }

  .action-card {
    min-height: 61px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .action-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .action-copy strong {
    font-size: 11px;
  }

  .action-copy span {
    font-size: 9px;
  }

  .action-button {
    padding: 8px 11px;
    font-size: 10px;
  }

  .about-inner {
    padding: 34px 20px 65px;
  }

  .playlist-grid {
    gap: 8px 25px;
  }
}

@media (max-width: 520px) {
  .clock {
    font-size: 13px;
  }

  .live-count {
    font-size: 12px;
  }

  .brand-title {
    font-size: 68px;
  }

  .action-copy span {
    max-width: 155px;
  }

  .install-card {
    display: flex;
  }

  .playlist-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   RADIO GULLY INSTALL POPUP
   FINAL VERSION
========================================================= */

/* POPUP IS HIDDEN BY DEFAULT */
#rgInstallModal {
    display: none !important;
}

/* POPUP OPEN */
#rgInstallModal.rg-open {
    display: flex !important;
}


/* MAIN FULL SCREEN CONTAINER */

.rg-install-modal {
    position: fixed !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    z-index: 2147483647 !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    box-sizing: border-box !important;
}


/* DARK BACKGROUND */

.rg-install-backdrop {
    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    background: rgba(0, 0, 0, 0.78) !important;

    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}


/* POPUP BOX */

.rg-install-box {
    position: relative !important;

    z-index: 2 !important;

    width: min(430px, calc(100vw - 36px)) !important;

    max-height: calc(100vh - 40px) !important;

    overflow-y: auto !important;

    box-sizing: border-box !important;

    padding: 30px 25px 22px !important;

    border-radius: 24px !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    background:
        linear-gradient(
            145deg,
            #3a1b14 0%,
            #25100d 100%
        ) !important;

    color: #f6eee7 !important;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;

    font-family: inherit !important;

    animation: rgInstallPopupIn 0.22s ease-out !important;
}


@keyframes rgInstallPopupIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* CLOSE BUTTON */

.rg-install-close {
    position: absolute !important;

    top: 13px !important;
    right: 14px !important;

    width: 34px !important;
    height: 34px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.07) !important;

    color: rgba(255, 255, 255, 0.7) !important;

    font-size: 23px !important;
    line-height: 34px !important;

    text-align: center !important;

    cursor: pointer !important;
}


.rg-install-close:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    color: #ffffff !important;
}


/* RG LOGO */

.rg-install-logo {
    width: 58px !important;
    height: 58px !important;

    margin: 0 auto 15px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #8b4b2d !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;

    color: #fff6ed !important;

    font-size: 17px !important;
    font-weight: 900 !important;
}


/* TITLE */

.rg-install-box h2 {
    margin: 0 !important;

    text-align: center !important;

    color: #fff7f0 !important;

    font-size: 24px !important;
    line-height: 1.2 !important;

    font-weight: 800 !important;
}


/* DESCRIPTION */

.rg-install-description {
    margin: 9px auto 24px !important;

    max-width: 330px !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.58) !important;

    font-size: 12px !important;
    line-height: 1.5 !important;
}


/* DEVICE SECTION */

.rg-device-section {
    display: none !important;
}

.rg-device-section.rg-visible {
    display: block !important;
}


/* SECTION TITLE */

.rg-section-title {
    margin-bottom: 12px !important;

    color: #fff4eb !important;

    font-size: 13px !important;

    font-weight: 800 !important;
}


/* STEPS */

.rg-step {
    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    padding: 10px 0 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-size: 11px !important;

    line-height: 1.5 !important;
}


.rg-step > span {
    flex: 0 0 27px !important;

    width: 27px !important;
    height: 27px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.09) !important;

    color: #ffffff !important;

    font-size: 11px !important;

    font-weight: 800 !important;
}


.rg-step strong {
    color: #ffffff !important;
}


/* SHARE ICON */

.rg-share-icon {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 21px !important;
    height: 21px !important;

    margin-left: 3px !important;

    border-radius: 5px !important;

    background: rgba(255, 255, 255, 0.12) !important;

    color: #ffffff !important;

    font-weight: 800 !important;
}


/* GREEN INSTALL BUTTON */

.rg-main-install {
    display: block !important;

    width: 100% !important;

    margin: 16px 0 10px !important;

    padding: 13px 18px !important;

    border: 0 !important;

    border-radius: 999px !important;

    background: #35e27b !important;

    color: #073d1d !important;

    font-size: 12px !important;

    font-weight: 850 !important;

    cursor: pointer !important;
}


.rg-main-install:hover {
    background: #4be98b !important;
}


/* SMALL NOTE */

.rg-small-note {
    margin: 10px 0 0 !important;

    color: rgba(255, 255, 255, 0.45) !important;

    font-size: 10px !important;

    line-height: 1.6 !important;
}


/* CANCEL */

.rg-install-cancel {
    display: block !important;

    width: 100% !important;

    margin-top: 20px !important;

    padding: 11px !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    border-radius: 999px !important;

    background: rgba(255, 255, 255, 0.04) !important;

    color: rgba(255, 255, 255, 0.72) !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    cursor: pointer !important;
}


.rg-install-cancel:hover {
    background: rgba(255, 255, 255, 0.09) !important;

    color: #ffffff !important;
}


/* MOBILE */

@media (max-width: 520px) {

    .rg-install-modal {
        padding: 14px !important;
    }

    .rg-install-box {
        width: calc(100vw - 28px) !important;

        max-height: calc(100vh - 28px) !important;

        padding: 27px 20px 19px !important;

        border-radius: 21px !important;
    }

    .rg-install-logo {
        width: 52px !important;
        height: 52px !important;
    }

    .rg-install-box h2 {
        font-size: 21px !important;
    }

}

/* RADIO GULLY FIXES v6 */

/* Real WhatsApp mark */
.whatsapp-icon {
  background: #25d366 !important;
  color: #fff !important;
}
.whatsapp-icon svg {
  width: 21px !important;
  height: 21px !important;
  display: block !important;
  fill: currentColor !important;
}

/* Keep install popup completely out of document flow until opened */
#rgInstallModal[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#rgInstallModal[aria-hidden="false"] {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#rgInstallModal .rg-install-box {
  max-height: min(760px, calc(100dvh - 32px)) !important;
}
@media (max-width:520px) {
  #rgInstallModal .rg-install-box {
    max-height: calc(100dvh - 24px) !important;
  }
}

/* ===== GANPATI 2026 GOLD THEME — same Radio Gully template ===== */
:root{--bg:#d8a72c;--panel:rgba(86,57,8,.78);--panel-strong:rgba(69,45,5,.92);--text:#fff8df;--muted:rgba(255,248,223,.72);--border:rgba(255,244,190,.28);--green:#43d36f;--green-dark:#249c4a}
body{background:#d8a72c;color:var(--text)}
body::before{background:linear-gradient(180deg,#e6bd4d 0%,#d8a72c 48%,#bd8317 100%)}
body::after{background:radial-gradient(circle at 50% 18%,rgba(255,245,190,.24),transparent 42%),linear-gradient(to bottom,rgba(73,45,4,.04),rgba(72,42,3,.30))}
.topbar{background:linear-gradient(180deg,rgba(91,58,7,.24),transparent)}
.nav-pill{background:rgba(76,48,4,.35);border-color:rgba(255,244,190,.34);color:#fff8df}
.nav-pill:hover{background:rgba(96,61,5,.62);border-color:rgba(255,248,213,.55)}
.hero{background-image:url("./assets/desktop-bg.jpg");}
.hero::before{background:radial-gradient(circle at 50% 36%,rgba(255,247,205,.30),transparent 48%),linear-gradient(to bottom,rgba(122,79,5,.04),rgba(90,55,3,.30) 70%,rgba(67,40,3,.48) 100%)}
.brand-title{color:#fff7d1;text-shadow:0 8px 30px rgba(89,55,4,.35)}
.tagline{color:rgba(91,56,4,.78)}
.action-card{background:rgba(83,53,6,.40);border-color:rgba(255,248,211,.32);box-shadow:0 12px 35px rgba(91,56,4,.20)}
.action-copy span{color:rgba(255,248,223,.76)}
.gbm-icon{background:linear-gradient(135deg,#f5cf5b,#a96d0d)!important;color:#fff6cf!important}
.install-action{color:#fff3c2;background:rgba(78,48,3,.25);border-color:rgba(255,244,190,.35)}
.dismiss-btn{color:rgba(255,248,223,.75)}
.about{background:linear-gradient(to bottom,rgba(154,103,11,.97),rgba(111,70,5,.99))}
.about::before{background:linear-gradient(180deg,rgba(255,221,102,.08),rgba(70,40,3,.20))}
.footer-logo{background:linear-gradient(135deg,#f4cf5b,#a96d0d);border-color:rgba(255,244,190,.45);color:#fff8df}
.footer-kicker,.playlist-item small,.rights,.copyright{color:rgba(255,248,223,.68)}
.intro{color:rgba(255,248,223,.82)}
.playlist-item{color:#fff8df}.rights a{color:#fff0a8}.footer-divider{background:rgba(255,244,190,.24)}
.clock{color:#fff7d1;text-shadow:0 2px 10px rgba(85,51,2,.35)}
.live-count{color:rgba(255,248,223,.90)}
@media(max-width:800px){.hero-content{padding-top:95px}.brand-title{font-size:clamp(52px,15vw,96px)}}


/* Mobile background for About section */
@media (max-width: 800px) {
  .about {
    background:
      linear-gradient(to bottom, rgba(50, 21, 14, .96), rgba(36, 17, 13, .99)),
      url("./assets/mobile-bg.jpg") center center / cover no-repeat;
  }
}



/* =========================================================
   FINAL GANPATI 2026 RESPONSIVE BACKGROUND FIX
   One background image only — no square/repeated image
========================================================= */

/* DESKTOP */
.hero {
  background-image: url("./assets/desktop-bg.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Never put the background image on the content itself */
.hero-content {
  background-image: none !important;
}

/* Overlay only — no duplicate background image */
.hero::before {
  background-image: none !important;
}

/* MOBILE */
@media (max-width: 800px) {
  .hero {
    background-image: url("./assets/mobile-bg.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .hero-content {
    background-image: none !important;
  }

  .hero::before {
    background-image: none !important;
  }

  .about {
    background-image:
      linear-gradient(
        to bottom,
        rgba(50, 21, 14, .96),
        rgba(36, 17, 13, .99)
      ),
      url("./assets/mobile-bg.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}