/* Buy Me a Coffee - Fresh Implementation */

/* Floating Button */
.coffee-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #6f4e37 0%, #8b5a3c 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(111, 78, 55, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
}

.coffee-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 78, 55, 0.5);
}

.coffee-btn .icon {
  font-size: 18px;
}

/* Modal Overlay */
.coffee-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.coffee-modal-overlay.active {
  display: flex;
}

/* Modal Content */
.coffee-modal {
  background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
  border-radius: 16px;
  padding: 25px;
  max-width: 480px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #333;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Close Button */
.coffee-modal .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.coffee-modal .close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Header */
.coffee-modal .header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.coffee-modal .header h2 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.coffee-modal .header p {
  color: #aaa;
  font-size: 14px;
  margin: 0;
}

/* Payment Methods */
.coffee-payments {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #333;
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.payment-header .icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
  border-radius: 8px;
}

.payment-header h3 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

/* QR Container */
.qr-box {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.qr-box img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 4px;
  display: block;
}

.payment-note {
  color: #888;
  font-size: 12px;
  text-align: center;
  margin: 0;
}

/* Mobile */
@media (max-width: 480px) {
  .coffee-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .coffee-modal {
    padding: 20px;
    width: 95%;
  }
  
  .coffee-modal .header h2 {
    font-size: 22px;
  }
  
  .qr-box img {
    max-height: 150px;
  }
}
