@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Hind+Siliguri:wght@400;600;700&family=Rajdhani:wght@600;700&display=swap');

:root {
  --space-xs: 0.35rem;
  --space-sm: 0.65rem;
  --space-md: 1.1rem;
  --space-lg: 1.6rem;
  --space-xl: 2.2rem;
  --radius: 0.85rem;
  --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 620px;
  --font-bangla: 'Hind Siliguri', sans-serif;
  --font-gaming: 'Rajdhani', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 10%, #1e1119 0%, #0a0b10 65%, #050608 100%);
  background-attachment: fixed;
  font-family: var(--font-bangla);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ব্যাকগ্রাউন্ড লাইভ অ্যাম্বিয়েন্ট লাইট */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 30, 66, 0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: pulseLight 6s ease-in-out infinite alternate;
}

@keyframes pulseLight {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.5; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 0.9; }
}

.container {
  max-width: var(--container);
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 1;
}

/* 🚀 প্রতিটি কার্ড উপর থেকে উড়ে এসে পড়ার অ্যানিমেশন */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-dark), 0 0 10px rgba(255, 183, 3, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: flyDown 0.75s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes flyDown {
  0% {
    opacity: 0;
    transform: translateY(-90px) scale(0.92);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Staggered Delay (একে একে পড়বে) */
.card:nth-child(1) { animation-delay: 0.10s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.40s; }
.card:nth-child(4) { animation-delay: 0.55s; }
.card:nth-child(5) { animation-delay: 0.70s; }
.card:nth-child(6) { animation-delay: 0.85s; }

/* কার্ড হোভার ইফেক্ট */
.card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), var(--shadow-neon-gold);
  transform: translateY(-3px);
}

/* হেডার ও লোগো এরিয়া */
header.card {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: var(--space-sm) 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fff 0%, #ffcf40 50%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(255, 183, 3, 0.5);
}

.brand-badge {
  background: var(--red-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 0 10px var(--red-glow);
  vertical-align: middle;
}

/* লাইভ নোটিস বার (স্ক্রিনশটের মতো) */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 30, 66, 0.12);
  border-left: 3px solid var(--red-primary);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #ffccd5;
}

.notice-icon {
  font-size: 1.1rem;
  animation: hornShake 1.5s infinite;
}

@keyframes hornShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* সার্চ বক্স (হাই-টেক নিয়ন লুক) */
.search {
  display: flex;
  height: 3.4rem;
  background: var(--surface);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.search:focus-within {
  border-color: var(--red-primary);
  box-shadow: 0 0 20px var(--red-glow), inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.search__input {
  flex: 1;
  padding: 0 var(--space-md);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-gaming);
  letter-spacing: 1px;
  outline: none;
}

.search__input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-bangla);
}

/* বাটনস */
.btn {
  background: var(--vip-gradient);
  color: #fff;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 15px rgba(255, 30, 66, 0.4);
}

.btn:hover {
  background: linear-gradient(135deg, #ff4d6a 0%, #ffcf40 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5);
}

.btn--search {
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 0 1.5rem;
}

.btn--install {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  color: #0b0c10;
  border: 1px solid #ffe680;
  box-shadow: 0 0 20px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

/* বাটনের উপর দিয়ে লাইট ভেসে যাওয়ার অ্যানিমেশন */
.btn--install::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shineSweep 2.8s infinite;
}

@keyframes shineSweep {
  0% { left: -100%; }
  60%, 100% { left: 140%; }
}

.title {
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
  margin-top: 0.25rem;
}

/* ডোমেইন লিস্ট আইটেম */
.list__title {
  color: var(--text-gold);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  text-shadow: 0 0 15px var(--gold-glow);
}

.item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.item:hover {
  background: rgba(255, 183, 3, 0.08);
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.item__number {
  width: 2rem;
  height: 2rem;
  background: var(--red-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 8px var(--red-glow);
}

.item__text {
  flex: 1;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-gaming);
  letter-spacing: 0.5px;
}

/* টেক্সট ও কন্টেন্ট হেডিং */
.heading {
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.text--highlight {
  color: var(--red-light);
  font-weight: 700;
}

/* স্টেপস গাইড */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 2px solid var(--gold-primary);
}

.step__number {
  width: 1.6rem;
  height: 1.6rem;
  background: var(--gold-primary);
  color: #0b0c10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step__content {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ফ্লোটিং টেলিগ্রাম এবং কাস্টমার কেয়ার বাটন */
.float {
  position: fixed;
  right: var(--space-lg);
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.float--service {
  bottom: 3.8rem;
  background: var(--red-gradient);
  border: 2px solid #ff8095;
  box-shadow: 0 0 20px var(--red-glow);
  animation: pulseService 2s infinite;
}

.float--telegram {
  bottom: 8.5rem;
  background: linear-gradient(135deg, #0088cc, #29b6f6);
  border: 2px solid #81d4fa;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
  animation: pulseTg 2.5s infinite;
}

.float:hover {
  transform: scale(1.12) rotate(5deg);
}

@keyframes pulseService {
  0%, 100% { box-shadow: 0 0 15px var(--red-glow); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(255, 30, 66, 0.8); transform: scale(1.05); }
}

@keyframes pulseTg {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 136, 204, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(41, 182, 246, 0.8); transform: scale(1.05); }
}

/* পপ-আপ মডাল */
.modal {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.3s ease-out;
}

.modal__content {
  background: #11131c;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius);
  padding: var(--space-lg);
  max-width: 26rem;
  width: 90%;
  position: relative;
  box-shadow: 0 0 35px var(--gold-glow);
  text-align: center;
  animation: modalPop 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: 0.2s;
}

.modal__close:hover {
  color: var(--red-primary);
  transform: scale(1.2);
}

.modal__url {
  background: rgba(255, 183, 3, 0.1);
  border: 1px dashed var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  padding: 10px;
  border-radius: 6px;
  margin: 12px 0;
  word-break: break-all;
}

.hidden { display: none !important; }

@media (max-width: 480px) {
  .brand-title { font-size: 1.7rem; }
  .container { padding: 10px; }
  .float { width: 3.2rem; height: 3.2rem; }
  .float--service { bottom: 3rem; }
  .float--telegram { bottom: 7rem; }
}