/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #f0f8ff;
  background: radial-gradient(circle at top, #0a1727 0%, #030b13 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background aurora and snow */
.snow-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(50,100,200,0.4), rgba(0,0,50,0.9));
  z-index: -3;
}

#snowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

/* Container */
.billing-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  box-shadow: 0 0 25px rgba(120, 180, 255, 0.2);
}

/* Header */
.frost-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.status-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: cyan;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Info Section */
.info-section {
  text-align: center;
  margin-bottom: 2rem;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.progress-crystal {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-crystal .fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #aaf, #5ef);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.progress-crystal .shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  from { left: -50%; }
  to { left: 100%; }
}

.progress-crystal .percent {
  position: absolute;
  top: -30px;
  right: 0;
  font-weight: 600;
}

/* Details Section */
.details-section {
  margin-top: 2rem;
}

.update-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.update-list li {
  background: rgba(255,255,255,0.1);
  margin: 0.5rem 0;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  transition: background 0.3s;
}

.update-list li:hover {
  background: rgba(255,255,255,0.2);
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.frost-btn {
  background: linear-gradient(90deg, #5ef, #8ff);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 600;
  color: #012;
  transition: transform 0.2s;
}

.frost-btn:hover {
  transform: scale(1.05);
}

.link-btn {
  color: #aef;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.link-btn:hover {
  opacity: 0.8;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 700px) {
  .billing-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  .frost-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
