/* Gold Rate Banner Wrapper - Luxurious Gold Theme */
.dr1015widgetgold {
  max-width: 100%;
  background: linear-gradient(135deg, #faf3e0 0%, #e0c58f 30%, #c9a74e 70%, #9c7a32 100%);
  border-bottom: 2px solid #bfa75a;
  padding: 20px 15px 25px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(191, 167, 90, 0.3);
  z-index: 10;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeSlide 1s ease;
  transition: box-shadow 0.4s ease;
}

/* Subtle glow on hover */
.dr1015widgetgold:hover {
  box-shadow: 0 0 30px 8px rgba(191, 167, 90, 0.5), 0 4px 20px rgba(140, 116, 60, 0.4);
}

/* Soft Texture Overlay */
.dr1015widgetgold::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 Styling - Rich Gold Gradient */
.goldrate-label {
  font-weight: 800;
  font-size: 1.5rem;
  color: #7d5d1a; /* fallback */
  margin-bottom: 12px;
  position: relative;
  background: linear-gradient(to right, #bfa75a, #e0c58f, #bfa75a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
  overflow: visible;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}

/* Widget Container - Golden Glow */
.widget {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 2px solid #c2a85c;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(191, 167, 90, 0.35);
  background: #fffaf0;
  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(191, 167, 90, 0.5);
}

/* Iframe Styling */
.widget iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .goldrate-label {
    font-size: 1.2rem;
  }

  .widget {
    max-width: 90vw;
    aspect-ratio: 16 / 10;
  }
}

/* Entry Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}