.coingate-gift-card-widget {
  max-width: 600px;
  margin: 30px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
}

.cgc-form-container {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 100px;
  padding: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 6px 15px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

/* Added modern glass morphism effect with subtle gradient overlay */
.cgc-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.cgc-title {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 40px 0;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cgc-title-left {
  text-align: left;
}

.cgc-title-center {
  text-align: center;
}

.cgc-title-right {
  text-align: right;
}

.cgc-field-group {
  margin-bottom: 32px;
  position: relative;
}

.cgc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

/* Modern form inputs with enhanced styling and smooth animations */
.cgc-select,
.cgc-input {
  width: 100%;
  padding: 20px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  font-weight: 500;
  color: #1e293b;
}

.cgc-select:focus,
.cgc-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
  background: #ffffff;
}

.cgc-select:hover,
.cgc-input:hover {
  border-color: #cbd5e1;
  transform: translateY(-0.5px);
}

.cgc-value-info {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
  opacity: 0.8;
}

/* Enhanced price display with modern card design and gradient background */
.cgc-price-display {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25), 0 3px 10px rgba(102, 126, 234, 0.1);
}

.cgc-price-display::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.cgc-final-price {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -1px;
}

.cgc-original-price {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cgc-discount {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modern button with gradient, enhanced hover effects and smooth animations */
.cgc-buy-button {
  width: 100%;
  color: white;
  border: none;
  padding: 20px 32px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.5s;
  border-radius: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
}

/* Default gradient for buttons without specific style */
.cgc-buy-button:not([class*="cgc-btn-"]) {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4), 0 3px 10px rgba(139, 92, 246, 0.2);
}

.cgc-buy-button:not([class*="cgc-btn-"]):hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #9333ea 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5), 0 5px 15px rgba(139, 92, 246, 0.3);
}

.cgc-buy-button:active {
  transform: translateY(0);
}

/* Added 25+ button styles with unique designs and animations */

/* 1. Modern Gradient (Default) - Updated to purple gradient */
.cgc-buy-button.cgc-btn-gradient-modern {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4), 0 3px 10px rgba(139, 92, 246, 0.2);
  color: white;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
}

.cgc-buy-button.cgc-btn-gradient-modern:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #9333ea 100%);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5), 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* 2. Classic Solid */
.cgc-buy-button.cgc-btn-solid-classic {
  background: var(--button-primary, #3b82f6);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}

.cgc-buy-button.cgc-btn-solid-classic:hover {
  background: var(--button-hover, #2563eb);
  transform: translateY(-1px);
}

/* 3. Neon Glow */
.cgc-buy-button.cgc-btn-neon-glow {
  background: transparent;
  border: 2px solid var(--button-primary, #06b6d4);
  color: var(--button-primary, #06b6d4);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5), inset 0 0 20px rgba(6, 182, 212, 0.1);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

.cgc-buy-button.cgc-btn-neon-glow:hover {
  background: var(--button-primary, #06b6d4);
  color: white;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.8), inset 0 0 30px rgba(6, 182, 212, 0.2);
}

/* 4. Glass Morphism */
.cgc-buy-button.cgc-btn-glass-morphism {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--button-primary, #1f2937);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cgc-buy-button.cgc-btn-glass-morphism:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* 5. Deep Shadow */
.cgc-buy-button.cgc-btn-shadow-depth {
  background: var(--button-primary, #7c3aed);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.cgc-buy-button.cgc-btn-shadow-depth:hover {
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.5), 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 6. Minimal Outline */
.cgc-buy-button.cgc-btn-outline-minimal {
  background: transparent;
  border: 2px solid var(--button-primary, #6b7280);
  color: var(--button-primary, #6b7280);
  border-radius: 6px;
  font-weight: 500;
}

.cgc-buy-button.cgc-btn-outline-minimal:hover {
  background: var(--button-primary, #6b7280);
  color: white;
}

/* 7. Rounded Pill */
.cgc-buy-button.cgc-btn-rounded-pill {
  background: linear-gradient(135deg, var(--button-primary, #f59e0b) 0%, var(--button-hover, #d97706) 100%);
  border-radius: 50px;
  padding: 20px 40px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* 8. Bold Square */
.cgc-buy-button.cgc-btn-square-bold {
  background: var(--button-primary, #dc2626);
  border-radius: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

/* 9. Sunset Gradient */
.cgc-buy-button.cgc-btn-gradient-sunset {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%) !important;
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.4) !important;
}

.cgc-buy-button.cgc-btn-gradient-sunset:hover {
  background: linear-gradient(135deg, #feb47b 0%, #ff7e5f 100%) !important;
}

/* 10. Ocean Gradient */
.cgc-buy-button.cgc-btn-gradient-ocean {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 11. Forest Gradient */
.cgc-buy-button.cgc-btn-gradient-forest {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

/* 12. Fire Gradient */
.cgc-buy-button.cgc-btn-gradient-fire {
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  box-shadow: 0 8px 25px rgba(255, 65, 108, 0.4);
}

/* 13. Purple Gradient */
.cgc-buy-button.cgc-btn-gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* 14. Pink Gradient */
.cgc-buy-button.cgc-btn-gradient-pink {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* 15. Cyberpunk */
.cgc-buy-button.cgc-btn-cyberpunk {
  background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 100%);
  border: 2px solid #00f5ff;
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), inset 0 0 20px rgba(255, 0, 255, 0.2);
  animation: cyberpunk-pulse 2s infinite;
}

@keyframes cyberpunk-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), inset 0 0 20px rgba(255, 0, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.8), inset 0 0 30px rgba(255, 0, 255, 0.4);
  }
}

/* 16. Retro Wave */
.cgc-buy-button.cgc-btn-retro-wave {
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #3a86ff 100%);
  border: 2px solid #ff006e;
  box-shadow: 0 0 25px rgba(255, 0, 110, 0.6);
  position: relative;
  overflow: hidden;
}

.cgc-buy-button.cgc-btn-retro-wave::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: retro-shine 3s infinite;
}

@keyframes retro-shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 17. Material Raised */
.cgc-buy-button.cgc-btn-material-raised {
  background: var(--button-primary, #2196f3);
  border-radius: 4px;
  box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.cgc-buy-button.cgc-btn-material-raised:hover {
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

/* 18. Neumorphism */
.cgc-buy-button.cgc-btn-neumorphism {
  background: #e0e5ec;
  color: #333;
  border: none;
  box-shadow: 9px 9px 16px #a3b1c6, -9px -9px 16px #ffffff;
  border-radius: 20px;
}

.cgc-buy-button.cgc-btn-neumorphism:hover {
  box-shadow: inset 9px 9px 16px #a3b1c6, inset -9px -9px 16px #ffffff;
}

/* 19. Holographic */
.cgc-buy-button.cgc-btn-holographic {
  background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
  background-size: 400% 400%;
  animation: holographic 3s ease infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* 20. Metallic Gold */
.cgc-buy-button.cgc-btn-metallic-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ffd700 100%);
  color: #8b4513;
  font-weight: 900;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* 21. Metallic Silver */
.cgc-buy-button.cgc-btn-metallic-silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #808080 50%, #c0c0c0 100%);
  color: #333;
  font-weight: 900;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 22. Rainbow Border */
.cgc-buy-button.cgc-btn-rainbow-border {
  background: #fff;
  color: #333;
  border: 3px solid;
  border-image: linear-gradient(
      45deg,
      #ff0000,
      #ff8000,
      #ffff00,
      #80ff00,
      #00ff00,
      #00ff80,
      #00ffff,
      #0080ff,
      #0000ff,
      #8000ff,
      #ff00ff,
      #ff0080
    )
    1;
  position: relative;
}

.cgc-buy-button.cgc-btn-rainbow-border::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff8000,
    #ffff00,
    #80ff00,
    #00ff00,
    #00ff80,
    #00ffff,
    #0080ff,
    #0000ff,
    #8000ff,
    #ff00ff,
    #ff0080
  );
  border-radius: inherit;
  z-index: -1;
  animation: rainbow-rotate 3s linear infinite;
}

@keyframes rainbow-rotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* 23. Pulsing Glow */
.cgc-buy-button.cgc-btn-pulsing-glow {
  background: var(--button-primary, #8b5cf6);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    transform: scale(1.05);
  }
}

/* 24. Liquid Gradient */
.cgc-buy-button.cgc-btn-liquid-gradient {
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 400% 400%;
  animation: liquid-flow 4s ease infinite;
  border-radius: 25px;
}

@keyframes liquid-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

/* 25. Crystal Clear */
.cgc-buy-button.cgc-btn-crystal-clear {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--button-primary, #1f2937);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cgc-buy-button.cgc-btn-crystal-clear::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: crystal-shine 3s infinite;
}

@keyframes crystal-shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.cgc-error-message {
  background: linear-gradient(135deg, #fef2f2 0%, #fde8e8 100%);
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.cgc-currency {
  font-weight: 600;
}

/* Button Size Variations */
.cgc-btn-size-tiny {
  padding: 8px 16px;
  font-size: 12px;
  min-height: 36px;
}

.cgc-btn-size-small {
  padding: 12px 20px;
  font-size: 14px;
  min-height: 44px;
}

.cgc-btn-size-medium {
  padding: 20px 32px;
  font-size: 18px;
  min-height: 60px;
}

.cgc-btn-size-large {
  padding: 24px 40px;
  font-size: 20px;
  min-height: 68px;
  font-weight: 800;
}

.cgc-btn-size-extra-large {
  padding: 28px 48px;
  font-size: 22px;
  min-height: 76px;
  font-weight: 800;
  width: 100%;
  border-radius: 16px;
}

.cgc-btn-size-huge {
  padding: 32px 56px;
  font-size: 24px;
  min-height: 84px;
  font-weight: 800;
  width: 100%;
  border-radius: 18px;
}

/* Footer Message Styling */
.cgc-footer-message {
  margin-top: 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
  font-style: italic;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Bottom Message Styling */
.cgc-bottom-message {
  margin-top: 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  font-size: 14px;
  color: #92400e;
  text-align: left;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.cgc-bottom-message::before {
  content: "⚠️";
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 18px;
  opacity: 0.7;
}

.cgc-bottom-message strong {
  color: #d97706;
  font-weight: 600;
}

/* Enhanced responsive design with comprehensive mobile and tablet support */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
  .coingate-gift-card-widget {
    margin: 20px 15px;
    max-width: 100%;
  }

  .cgc-form-container {
    padding: 40px 30px;
    border-radius: 24px;
    min-height: 480px;
  }

  .cgc-title {
    font-size: 32px;
    margin-bottom: 36px;
  }

  .cgc-final-price {
    font-size: 34px;
  }

  .cgc-select,
  .cgc-input {
    padding: 18px 22px;
    font-size: 17px;
  }

  .cgc-buy-button {
    padding: 18px 28px;
    font-size: 17px;
    min-height: 58px;
  }

  .cgc-price-display {
    padding: 20px;
    margin: 24px 0;
  }

  .cgc-footer-message {
    font-size: 13px;
    padding: 12px 14px;
    margin-top: 18px;
  }

  .cgc-bottom-message {
    margin-top: 22px;
    padding: 16px 18px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
  .coingate-gift-card-widget {
    margin: 15px 10px;
    max-width: 100%;
  }

  .cgc-form-container {
    padding: 28px 20px;
    border-radius: 18px;
    min-height: 420px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  }

  .cgc-title {
    font-size: 26px;
    margin-bottom: 28px;
    line-height: 1.3;
  }

  .cgc-field-group {
    margin-bottom: 24px;
  }

  .cgc-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .cgc-select,
  .cgc-input {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 12px;
    /* Improve touch targets */
    min-height: 48px;
  }

  .cgc-price-display {
    padding: 18px;
    margin: 20px 0;
    border-radius: 14px;
  }

  .cgc-final-price {
    font-size: 28px;
  }

  .cgc-original-price {
    font-size: 14px;
  }

  .cgc-discount {
    padding: 3px 8px;
    font-size: 11px;
    margin-left: 6px;
  }

  .cgc-buy-button {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 52px;
    border-radius: 14px;
    /* Improve touch targets */
    min-width: 120px;
  }

  /* Mobile-optimized button sizes */
  .cgc-btn-size-tiny {
    padding: 8px 14px;
    font-size: 12px;
    min-height: 36px;
  }

  .cgc-btn-size-small {
    padding: 12px 18px;
    font-size: 14px;
    min-height: 44px;
  }

  .cgc-btn-size-medium {
    padding: 16px 22px;
    font-size: 16px;
    min-height: 52px;
  }

  .cgc-btn-size-large {
    padding: 18px 26px;
    font-size: 17px;
    min-height: 56px;
  }

  .cgc-btn-size-extra-large {
    padding: 20px 30px;
    font-size: 18px;
    min-height: 60px;
  }

  .cgc-btn-size-huge {
    padding: 22px 34px;
    font-size: 19px;
    min-height: 64px;
  }

  .cgc-footer-message {
    font-size: 12px;
    padding: 10px 12px;
    margin-top: 16px;
    border-radius: 10px;
  }

  .cgc-bottom-message {
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 13px;
    border-radius: 10px;
    line-height: 1.5;
  }

  .cgc-bottom-message::before {
    top: 10px;
    right: 12px;
    font-size: 16px;
  }

  .cgc-value-info {
    font-size: 11px;
    margin-top: 6px;
  }
}

/* Small Mobile Styles (360px and below) */
@media (max-width: 360px) {
  .coingate-gift-card-widget {
    margin: 10px 8px;
  }

  .cgc-form-container {
    padding: 24px 16px;
    border-radius: 16px;
    min-height: 400px;
  }

  .cgc-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .cgc-select,
  .cgc-input {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 44px;
  }

  .cgc-buy-button {
    padding: 14px 18px;
    font-size: 15px;
    min-height: 48px;
  }

  .cgc-final-price {
    font-size: 26px;
  }

  .cgc-price-display {
    padding: 16px;
    margin: 18px 0;
  }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
  .coingate-gift-card-widget {
    margin: 15px 20px;
  }

  .cgc-form-container {
    padding: 24px 30px;
    min-height: 380px;
  }

  .cgc-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .cgc-field-group {
    margin-bottom: 20px;
  }
}

/* High DPI Mobile Devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .cgc-select,
  .cgc-input,
  .cgc-buy-button {
    -webkit-appearance: none;
    border-radius: 12px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .cgc-select:hover,
  .cgc-input:hover {
    transform: none;
  }

  .cgc-buy-button:hover {
    transform: none;
  }

  .cgc-buy-button:active {
    transform: scale(0.98);
  }

  /* Increase touch targets */
  .cgc-select,
  .cgc-input {
    min-height: 44px;
  }

  .cgc-buy-button {
    min-height: 48px;
  }

  /* Touch feedback styles */
  .cgc-buy-button.touch-active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }

  .cgc-select.changed {
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  }

  /* Prevent text selection on buttons */
  .cgc-buy-button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* Improve input focus on mobile */
  .cgc-input:focus,
  .cgc-select:focus {
    -webkit-appearance: none;
    border-radius: 12px;
    outline: none;
  }
}

/* iOS-specific optimizations */
@supports (-webkit-touch-callout: none) {
  .cgc-input,
  .cgc-select {
    -webkit-appearance: none;
    border-radius: 12px;
  }

  .cgc-buy-button {
    -webkit-appearance: none;
    border-radius: 14px;
  }
}

/* Added smooth loading animation for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cgc-form-container {
  animation: fadeInUp 0.6s ease-out;
}

.cgc-field-group {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.cgc-field-group:nth-child(1) {
  animation-delay: 0.1s;
}
.cgc-field-group:nth-child(2) {
  animation-delay: 0.2s;
}
.cgc-field-group:nth-child(3) {
  animation-delay: 0.3s;
}
.cgc-price-display {
  animation-delay: 0.4s;
}
.cgc-buy-button {
  animation-delay: 0.5s;
}

/* 🌈 Aurora Gradient Button */
.cgc-buy-button.cgc-btn-gradient-aurora {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #feca57 100%) !important;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 0 3px 10px rgba(255, 107, 107, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-aurora:hover {
  background: linear-gradient(135deg, #ff5252 0%, #26a69a 25%, #0097a7 50%, #66bb6a 75%, #ffb300 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5), 0 5px 15px rgba(255, 107, 107, 0.3) !important;
}

/* 🌌 Cosmic Gradient Button */
.cgc-buy-button.cgc-btn-gradient-cosmic {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4), 0 3px 10px rgba(102, 126, 234, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-cosmic:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 25%, #e91e63 50%, #f44336 75%, #2196f3 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5), 0 5px 15px rgba(102, 126, 234, 0.3) !important;
}

/* 💎 Emerald Gradient Button */
.cgc-buy-button.cgc-btn-gradient-emerald {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #74b9ff 100%) !important;
  box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4), 0 3px 10px rgba(0, 184, 148, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-emerald:hover {
  background: linear-gradient(135deg, #00a085 0%, #00b894 50%, #0984e3 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 184, 148, 0.5), 0 5px 15px rgba(0, 184, 148, 0.3) !important;
}

/* 🔴 Ruby Gradient Button */
.cgc-buy-button.cgc-btn-gradient-ruby {
  background: linear-gradient(135deg, #e84393 0%, #fd79a8 50%, #fdcb6e 100%) !important;
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4), 0 3px 10px rgba(232, 67, 147, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-ruby:hover {
  background: linear-gradient(135deg, #d63384 0%, #e91e63 50%, #ff9800 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(232, 67, 147, 0.5), 0 5px 15px rgba(232, 67, 147, 0.3) !important;
}

/* 🔵 Sapphire Gradient Button */
.cgc-buy-button.cgc-btn-gradient-sapphire {
  background: linear-gradient(135deg, #0984e3 0%, #74b9ff 50%, #a29bfe 100%) !important;
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.4), 0 3px 10px rgba(9, 132, 227, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-sapphire:hover {
  background: linear-gradient(135deg, #0652dd 0%, #0984e3 50%, #6c5ce7 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(9, 132, 227, 0.5), 0 5px 15px rgba(9, 132, 227, 0.3) !important;
}

/* 🥇 Gold Gradient Button */
.cgc-buy-button.cgc-btn-gradient-gold {
  background: linear-gradient(135deg, #fdcb6e 0%, #e17055 50%, #d63031 100%) !important;
  box-shadow: 0 8px 25px rgba(253, 203, 110, 0.4), 0 3px 10px rgba(253, 203, 110, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-gold:hover {
  background: linear-gradient(135deg, #ffb300 0%, #ff5722 50%, #d32f2f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(253, 203, 110, 0.5), 0 5px 15px rgba(253, 203, 110, 0.3) !important;
}

/* 🥈 Silver Gradient Button */
.cgc-buy-button.cgc-btn-gradient-silver {
  background: linear-gradient(135deg, #b2bec3 0%, #74b9ff 50%, #a29bfe 100%) !important;
  box-shadow: 0 8px 25px rgba(178, 190, 195, 0.4), 0 3px 10px rgba(178, 190, 195, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-silver:hover {
  background: linear-gradient(135deg, #95a5a6 0%, #0984e3 50%, #6c5ce7 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(178, 190, 195, 0.5), 0 5px 15px rgba(178, 190, 195, 0.3) !important;
}

/* 🥉 Bronze Gradient Button */
.cgc-buy-button.cgc-btn-gradient-bronze {
  background: linear-gradient(135deg, #cd6133 0%, #e17055 50%, #fdcb6e 100%) !important;
  box-shadow: 0 8px 25px rgba(205, 97, 51, 0.4), 0 3px 10px rgba(205, 97, 51, 0.2) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.cgc-buy-button.cgc-btn-gradient-bronze:hover {
  background: linear-gradient(135deg, #a0522d 0%, #ff5722 50%, #ffb300 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(205, 97, 51, 0.5), 0 5px 15px rgba(205, 97, 51, 0.3) !important;
}
