/* ----- css/style.css (Desktop + Mobile Optimized) ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 10%, #1e2b1f, #0f160e);
  font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(180, 130, 70, 0.07) 0%, transparent 50%),
    repeating-linear-gradient(45deg, rgba(255, 215, 0, 0.01) 0px, rgba(255, 215, 0, 0.01) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
  z-index: 0;
}

.maintenance-card {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  background: rgba(20, 30, 18, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 48px;
  padding: 3rem 2.5rem 3.2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 175, 55, 0.1) inset, 0 0 40px rgba(212, 175, 55, 0.1);
  transition: box-shadow 0.4s ease;
  text-align: center;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.gem-stripe {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.gem {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 30% 30%, #f9e6b3, #b8860b);
  box-shadow: 0 0 12px #d4af37, 0 0 25px rgba(212, 175, 55, 0.3);
  transform: rotate(45deg);
  animation: gemPulse 2.8s ease-in-out infinite alternate;
}
.gem:nth-child(1) { background: radial-gradient(circle at 30% 30%, #ffdab9, #b87333); animation-delay: 0s; }
.gem:nth-child(2) { background: radial-gradient(circle at 30% 30%, #e6d5b8, #a67c52); animation-delay: 0.3s; }
.gem:nth-child(3) { background: radial-gradient(circle at 30% 30%, #f5e6d3, #b8860b); animation-delay: 0.6s; }
.gem:nth-child(4) { background: radial-gradient(circle at 30% 30%, #eeddbb, #8b6508); animation-delay: 0.9s; }
.gem:nth-child(5) { background: radial-gradient(circle at 30% 30%, #f7e7ce, #c68e17); animation-delay: 1.2s; }
.gem:nth-child(6) { background: radial-gradient(circle at 30% 30%, #f3d9b1, #b8860b); animation-delay: 1.5s; }

@keyframes gemPulse {
  0% { transform: rotate(45deg) scale(0.85); opacity: 0.7; box-shadow: 0 0 8px #d4af37; }
  100% { transform: rotate(45deg) scale(1.2); opacity: 1; box-shadow: 0 0 28px #f5d742, 0 0 45px #d4af37; }
}

.icon-nature {
  font-size: 3.8rem;
  line-height: 1;
  margin-bottom: 0.2rem;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.3));
  animation: leafSway 6s ease-in-out infinite;
}
@keyframes leafSway {
  0% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(4deg) scale(1.05); }
  100% { transform: rotate(-4deg) scale(1); }
}

h1 {
  font-size: 2.9rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: #f2e3c4;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3), 0 4px 20px rgba(0,0,0,0.5);
  margin: 0.5rem 0 0.2rem;
  word-break: break-word;
  background: linear-gradient(135deg, #f7eac6, #d4af37, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.sub-gold {
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: #d4b48c;
  text-transform: uppercase;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: inline-block;
  padding: 0.5rem 1.8rem;
  margin: 0.6rem auto 1.5rem;
  backdrop-filter: blur(4px);
  font-weight: 300;
  word-spacing: 0.6rem;
}

.message {
  color: #d9c8a6;
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 1.8rem auto 1.2rem;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.2);
  padding: 1rem 1.8rem;
  border-radius: 60px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.message i {
  font-style: italic;
  color: #e4c580;
  font-weight: 400;
}

.products-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  margin: 1.8rem 0 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #bda67a;
  font-weight: 300;
}

.products-tag span {
  background: rgba(212, 175, 55, 0.06);
  padding: 0.25rem 1.2rem;
  border-radius: 40px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(2px);
  transition: all 0.2s;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.02);
}

.products-tag span:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.08);
}

.stars-badge {
  margin: 1.5rem 0 0.5rem;
  font-size: 2.2rem;
  letter-spacing: 0.6rem;
  color: #d4af37;
  opacity: 0.7;
  filter: drop-shadow(0 0 15px #d4af37);
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.5; text-shadow: 0 0 5px #d4af37; }
  100% { opacity: 1; text-shadow: 0 0 25px #f5d742, 0 0 50px #b8860b; }
}

.footer-note {
  margin-top: 2rem;
  color: #6e7a5e;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.footer-note span {
  opacity: 0.7;
}
.footer-note i {
  color: #b8860b;
  font-style: normal;
}

.particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
  width: 160px;
  height: 160px;
  z-index: 1;
  animation: particleDrift 28s linear infinite alternate;
  filter: blur(40px);
}
.particle:nth-of-type(1) { top: -20px; left: -30px; animation-duration: 34s; background: radial-gradient(circle, rgba(180, 130, 70, 0.15), transparent 80%); }
.particle:nth-of-type(2) { bottom: 0; right: 0; width: 200px; height: 200px; animation-duration: 40s; background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 80%); }
@keyframes particleDrift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.2); }
  66% { transform: translate(-30px, 20px) scale(0.9); }
  100% { transform: translate(20px, -20px) scale(1.1); }
}

/* ----- MOBILE OPTIMIZATIONS ----- */

/* Tablets and small laptops - keep desktop look */
@media (max-width: 820px) {
  .maintenance-card {
    border-radius: 40px;
    padding: 2.5rem 2rem 2.8rem;
  }
}

/* Phones (portrait) */
@media (max-width: 480px) {
  body {
    padding: 0.8rem;
  }
  
  .maintenance-card {
    border-radius: 28px;
    padding: 1.5rem 1.2rem 2rem;
    animation: cardFloat 5s ease-in-out infinite;
  }
  
  @keyframes cardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
  }
  
  .gem-stripe {
    gap: 0.5rem;
    margin-bottom: 1.2rem;
  }
  
  .gem {
    width: 14px;
    height: 14px;
  }
  
  .icon-nature {
    font-size: 2.6rem;
  }
  
  h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 0.3rem 0 0.1rem;
    white-space: nowrap;
    display: inline-block;
    padding: 0 0.2rem;
  }
  
  .sub-gold {
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 0.3rem 1.2rem;
    margin: 0.4rem auto 1rem;
    display: inline-block;
    width: auto;
    clear: both;
  }
  
  .message {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.7rem 1.2rem;
    margin: 1rem auto 0.8rem;
  }
  
  .products-tag {
    gap: 0.4rem 0.8rem;
    font-size: 0.8rem;
    margin: 1rem 0 0.8rem;
  }
  
  .products-tag span {
    padding: 0.2rem 0.9rem;
    border-radius: 30px;
  }
  
  .stars-badge {
    font-size: 1.6rem;
    letter-spacing: 0.4rem;
    margin: 1rem 0 0.3rem;
  }
  
  .footer-note {
    font-size: 0.65rem;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }
  
  .particle {
    width: 100px;
    height: 100px;
    filter: blur(30px);
  }
  .particle:nth-of-type(2) {
    width: 120px;
    height: 120px;
  }
}

/* Very small phones (under 360px) */
@media (max-width: 359px) {
  .maintenance-card {
    padding: 1rem 0.8rem 1.5rem;
    border-radius: 20px;
  }
  
  h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  
  .sub-gold {
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
  }
  
  .message {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  
  .products-tag {
    font-size: 0.7rem;
    gap: 0.3rem 0.6rem;
  }
  
  .products-tag span {
    padding: 0.15rem 0.6rem;
  }
  
  .stars-badge {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
  }
}