/* ===== Buy Points Page Styles - Glassmorphism Redesign ===== */

/* Main Container */
.buy-points-page {
  padding: 3rem 0;
  background: transparent;
  min-height: calc(100vh - 80px);
  position: relative;
}

.buy-points-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
}

/* Page Header */
.buy-points-page .page-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.buy-points-page .page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
}

.buy-points-page .page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}

/* Current Points Card */
.current-points-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  color: var(--white);
  padding: 3rem;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.current-points-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 30px 30px 0 0;
}

.current-points-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  animation: rotateGlow 15s linear infinite;
  z-index: -1;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.points-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.points-label {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.points-value {
  font-size: 4rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

/* Offers Section */
.offers-section {
  margin-bottom: 4rem;
}

.offers-section h2 {
  text-align: center;
  color: var(--white);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.offers-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 10px;
}

/* Offers Grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
}

/* Offer Card */
.offer-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-card:nth-child(1) {
  animation-delay: 0.1s;
}
.offer-card:nth-child(2) {
  animation-delay: 0.2s;
}
.offer-card:nth-child(3) {
  animation-delay: 0.3s;
}
.offer-card:nth-child(4) {
  animation-delay: 0.4s;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 25px 25px 0 0;
}

.offer-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.5);
}

.offer-card:hover::before {
  transform: scaleX(1);
}

.offer-card.featured {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.5);
}

.offer-card.featured:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-15px) scale(1.07);
}

.offer-card.featured::before {
  transform: scaleX(1);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow);
}

/* Offer Badge */
.offer-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: var(--gradient-accent);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  animation: pulse 2s infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.offer-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.offer-description {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.offer-points {
  font-size: 3rem;
  font-weight: 900;
  color: #10b981;
  margin: 2rem 0;
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.offer-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 2rem 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Offer Features */
.offer-features {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  text-align: right;
}

.offer-features li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  position: relative;
  padding-right: 40px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.offer-features li:hover {
  padding-right: 45px;
  color: var(--white);
}

.offer-features li:last-child {
  border-bottom: none;
}

.offer-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981, #059669);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Payment Section */
.payment-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  padding: 3.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

.payment-section h2 {
  text-align: center;
  color: var(--white);
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.payment-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 10px;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.payment-method-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.payment-method-card:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.payment-method-card.active {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4);
}

.payment-method-card.active::after {
  content: "✓";
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.payment-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
}

.payment-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Purchase History */
.purchase-history {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  padding: 3.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.purchase-history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

.purchase-history h2 {
  color: var(--white);
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.purchase-history h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 10px;
}

/* History Table Container */
.history-table-container {
  overflow-x: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.history-table th {
  background: rgba(59, 130, 246, 0.3);
  color: var(--white);
  padding: 1.5rem 1.2rem;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.history-table td {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.history-table tr {
  transition: all 0.3s ease;
}

.history-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.history-table tr:last-child td {
  border-bottom: none;
}

/* No History */
.no-history {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-history p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Modal Styles for Purchase */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(15px);
}

.modal-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  border-radius: 25px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.close-modal:hover {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.2);
  transform: rotate(90deg);
}


/* 🔥 تنسيقات العروض الخاصة والوقت المتبقي */
.special-offer {
    border: 2px solid #ff6b6b;
    position: relative;
}

.special-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.offer-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.final-price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: bold;
}

.discount-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

.time-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 12px;
}

.time-left.urgent {
    background: #fff5f5;
    border-color: #ff6b6b;
    color: #e74c3c;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.time-icon {
    font-size: 14px;
}

.time-text {
    font-weight: bold;
}

/* Modal Body */
.modal-body {
  padding: 2.5rem;
}

.purchase-details {
  margin-bottom: 2.5rem;
}

.purchase-details h4 {
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.purchase-info {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item span:first-child {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.info-item strong {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Payment Form */
.payment-form {
  margin-top: 2.5rem;
}

.payment-form .form-group {
  margin-bottom: 2rem;
}

.payment-form label {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.payment-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.payment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 25px rgba(59, 130, 246, 0.3);
}

.payment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Modal Footer */
.modal-footer {
  padding: 2rem 2.5rem 2.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

/* Loading States */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Success Animation */
.success-animation {
  text-align: center;
  padding: 3rem 2rem;
}

.success-animation .checkmark {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #10b981;
  stroke-miterlimit: 10;
  margin: 0 auto;
  box-shadow: inset 0px 0px 0px #10b981;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
}

.success-animation .checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-animation .checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #10b981;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .buy-points-page {
    padding: 2rem 0;
  }

  .buy-points-page .page-header h1 {
    font-size: 2.2rem;
  }

  .current-points-card {
    padding: 2rem;
    margin-bottom: 3rem;
  }

  .points-value {
    font-size: 3rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0.5rem;
  }

  .offer-card {
    padding: 2.5rem 2rem;
  }

  .offer-card.featured {
    transform: scale(1);
  }

  .offer-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
  }

  .payment-section {
    padding: 2.5rem 2rem;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .purchase-history {
    padding: 2.5rem 2rem;
  }

  .history-table {
    font-size: 0.9rem;
  }

  .history-table th,
  .history-table td {
    padding: 1.2rem 0.8rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header {
    padding: 2rem 2rem 1rem;
  }

  .modal-body {
    padding: 2rem;
  }

  .modal-footer {
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .points-display {
    flex-direction: column;
    gap: 1rem;
  }

  .offer-points {
    font-size: 2.5rem;
  }

  .offer-price {
    font-size: 3rem;
  }

  .payment-method-card {
    padding: 2rem 1.5rem;
  }

  .payment-icon {
    font-size: 3rem;
  }

  .current-points-card {
    padding: 1.5rem;
  }

  .points-value {
    font-size: 2.5rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .modal-footer,
  .btn {
    display: none !important;
  }

  .buy-points-page {
    background: white !important;
    padding: 0 !important;
  }

  .offer-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}