/* ===== LELANG HERO SECTION ===== */
.lelang-hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.lelang-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  animation: pulse 2s infinite;
  margin-bottom: 20px;
}

.lelang-hero h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lelang-hero p {
  font-size: 18px;
  color: #bbb;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===== DEPOSIT INFO SECTION IN BID MODAL ===== */
.deposit-info-section {
  margin-bottom: 25px;
  animation: slideIn 0.3s ease;
}

.deposit-info-box {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 15px;
  padding: 20px;
}

.deposit-info-box h4 {
  font-size: 16px;
  color: #ffd700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-info-box h4 i {
  font-size: 20px;
}

.deposit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.deposit-row:last-child {
  border-bottom: none;
}

.deposit-row span {
  color: #aaa;
}

.deposit-row strong {
  font-size: 16px;
  font-weight: 700;
}

.deposit-shortage {
  background: rgba(255, 107, 107, 0.15);
  border: 2px solid rgba(255, 107, 107, 0.4);
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.deposit-shortage i {
  font-size: 24px;
  color: #ff6b6b;
  flex-shrink: 0;
}

.shortage-text {
  flex: 1;
}

.shortage-text h4 {
  font-size: 14px;
  color: #ff6b6b;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.shortage-text p {
  font-size: 12px;
  color: #ffaaaa;
  margin: 0;
}

.deposit-shortage .shortage-amount {
  font-size: 18px;
  color: #ff6b6b;
  font-weight: bold;
}

.btn-topup-deposit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ===== HERO COUNTDOWN ===== */
.hero-countdown {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  display: inline-block;
}

.countdown-label {
  display: block;
  font-size: 16px;
  color: #00ffff;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-timer {
  display: flex;
  gap: 15px;
  align-items: center;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  padding: 20px 25px;
  border-radius: 15px;
  min-width: 90px;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.timer-value {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  line-height: 1;
}

.timer-label {
  font-size: 13px;
  color: #000;
  margin-top: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.timer-colon {
  font-size: 32px;
  color: #00ffff;
  font-weight: bold;
}

/* ===== FILTER SECTION ===== */
.filter-section {
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-item label {
  font-size: 14px;
  color: #aaa;
  font-weight: 600;
}

.filter-item select {
  padding: 10px 20px;
  background: #2a2a2a;
  color: #fff;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.filter-item select:hover,
.filter-item select:focus {
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.active-auctions-count {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 107, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid rgba(255, 107, 107, 0.5);
}

.active-auctions-count i {
  color: #ff6b6b;
  font-size: 18px;
  animation: flicker 1.5s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.active-auctions-count span {
  color: #fff;
  font-size: 14px;
}

.active-auctions-count strong {
  color: #ff6b6b;
  font-size: 18px;
}

/* ===== LELANG ITEMS GRID ===== */
.lelang-items {
  padding: 60px 20px;
}

.lelang-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* ===== AUCTION ITEM CARD ===== */
.auction-item {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.auction-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
  border-color: #00ffff;
}

/* ===== AUCTION STATUS BADGE ===== */
.auction-status {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  background: rgba(0, 255, 255, 0.9);
  color: #000;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.auction-status.hot {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  animation: pulse 2s infinite;
}

.auction-status i {
  font-size: 14px;
}

/* ===== AUCTION IMAGE ===== */
.auction-image {
  width: 100%;
  height: 280px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.auction-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.auction-item:hover .auction-image::before {
  left: 100%;
}

.auction-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.auction-item:hover .auction-image img {
  transform: scale(1.1);
}

/* ===== AUCTION DETAILS ===== */
.auction-details {
  padding: 25px;
}

.auction-details h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

.auction-desc {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 20px;
}

.auction-desc i {
  color: #00ffff;
  margin-right: 5px;
}

/* ===== AUCTION PRICE INFO ===== */
.auction-price-info {
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.price-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
  font-size: 13px;
  color: #aaa;
}

.opening-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.price-row.highlight {
  margin-top: 5px;
}

.current-price {
  font-size: 20px;
  color: #00ffff;
  font-weight: bold;
}

/* ===== AUCTION STATS ROW ===== */
.auction-stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
}

.auction-stats-row .stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
}

.auction-stats-row .stat i {
  color: #00ffff;
  font-size: 16px;
}

/* ===== AUCTION TIMER ===== */
.auction-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.auction-timer i {
  color: #ff6b6b;
  font-size: 16px;
}

.time-remaining {
  font-size: 14px;
  color: #ff6b6b;
  font-weight: 600;
}

/* ===== BID BUTTON ===== */
.btn-bid {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-bid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
  background: linear-gradient(135deg, #00ccff, #00aacc);
}

.btn-bid i {
  font-size: 18px;
}

/* ===== BID MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 25px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  color: #aaa;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.close-modal:hover {
  color: #ff6b6b;
  transform: rotate(90deg);
}

/* ===== MODAL HEADER ===== */
.modal-header {
  background: linear-gradient(135deg, #00ffff, #00ccff);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 23px 23px 0 0;
}

.modal-header i {
  font-size: 32px;
  color: #000;
}

.modal-header h2 {
  font-size: 28px;
  color: #000;
  margin: 0;
  font-weight: bold;
}

/* ===== MODAL BODY ===== */
.modal-body {
  padding: 30px;
}

.modal-body h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

/* ===== BID INFO BOX ===== */
.bid-info-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: 2px solid rgba(0, 255, 255, 0.2);
}

.bid-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
}

.bid-info-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bid-info-row span {
  color: #aaa;
}

.bid-info-row strong {
  color: #00ffff;
  font-size: 16px;
}

/* ===== BID INPUT GROUP ===== */
.bid-input-group {
  margin-bottom: 25px;
}

.bid-input-group label {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.currency {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #00ffff;
  font-weight: bold;
}

#bid-amount {
  width: 100%;
  padding: 15px 15px 15px 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 18px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

#bid-amount:focus {
  border-color: #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* ===== QUICK BID BUTTONS ===== */
.quick-bid-buttons {
  display: flex;
  gap: 10px;
}

.quick-bid-buttons button {
  flex: 1;
  padding: 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: #00ffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-bid-buttons button:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: translateY(-2px);
}

/* ===== BID HISTORY ===== */
.bid-history {
  margin-bottom: 25px;
}

.bid-history h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bid-history h4 i {
  color: #00ffff;
}

.history-list {
  max-height: 250px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 10px;
}

.history-list::-webkit-scrollbar {
  width: 8px;
}

.history-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.history-list::-webkit-scrollbar-thumb {
  background: #00ffff;
  border-radius: 10px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: 0.3s;
}

.history-item:hover {
  background: rgba(0, 255, 255, 0.1);
}

.bidder-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.bidder-info i {
  font-size: 24px;
  color: #00ffff;
}

.bidder-name {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.history-item .bid-amount {
  font-size: 15px;
  color: #00ffff;
  font-weight: bold;
  margin: 0 15px;
}

.bid-time {
  font-size: 12px;
  color: #888;
}

/* ===== TERMS CHECKBOX ===== */
.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #00ffff;
}

.terms-checkbox label {
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
}

.terms-checkbox a {
  color: #00ffff;
  text-decoration: none;
}

.terms-checkbox a:hover {
  text-decoration: underline;
}

/* ===== SUBMIT BID BUTTON ===== */
.btn-submit-bid {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.btn-submit-bid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

.btn-submit-bid:disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-submit-bid i {
  font-size: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .lelang-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .timer-item {
    min-width: 70px;
    padding: 15px 20px;
  }
  
  .timer-value {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .lelang-hero h1 {
    font-size: 36px;
  }
  
  .lelang-hero p {
    font-size: 16px;
  }
  
  .hero-timer {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .timer-item {
    min-width: 60px;
    padding: 12px 15px;
  }
  
  .timer-value {
    font-size: 28px;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-item {
    width: 100%;
  }
  
  .active-auctions-count {
    margin-left: 0;
    justify-content: center;
  }
  
  .lelang-container {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-header h2 {
    font-size: 22px;
  }
}