/* Gold Rate Banner - Maroon & Rose Gold Theme */
.dr1048widgetgold {
  max-width: 100%;
  background: linear-gradient(135deg, #fff4f4, #fbe9e7, #e8bfbf, #b98181);
  border-bottom: 2px solid #a05252;
  padding: 20px 15px 25px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(185, 129, 129, 0.3);
  z-index: 10;
  position: relative;
  font-family: 'Poppins', 'Noto Sans Telugu', 'Segoe UI', sans-serif;
  animation: fadeSlide 1s ease;
  transition: box-shadow 0.4s ease;
}

/* Hover glow */
.dr1048widgetgold:hover {
  box-shadow: 0 0 30px 8px rgba(185, 129, 129, 0.4), 0 4px 20px rgba(124, 70, 70, 0.2);
}

/* Pattern overlay */
.dr1048widgetgold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Label */
.goldrate-label {
  font-weight: 800;
  font-size: 1.6rem;
  background-color: rgba(255, 255, 255, 0.85);
  color: #721c24;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

/* Widget Box */
.widget {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 10;
  border: 2px solid #a05252;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(185, 129, 129, 0.3);
  background: #fffafa;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.widget:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(185, 129, 129, 0.5);
}

/* Iframe */
.widget iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #fffafa;
}

/* Mobile */
@media (max-width: 480px) {
  .goldrate-label {
    font-size: 1.2rem;
  }

  .widget {
    max-width: 90vw;
    aspect-ratio: 16 / 10;
  }
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}