/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0f;
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Top Header Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.header-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-btn:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.5);
}

.header-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, #f97316, #ffffff, #22c55e);
  animation: progress-slide 3s ease-in-out infinite;
}

@keyframes progress-slide {
  0%, 100% { width: 30%; }
  50% { width: 70%; }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  font-size: 14px;
}

.btn-primary:hover {
  background: linear-gradient(to right, #a855f7, #f472b6);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, #f97316, #f59e0b);
  color: white;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-download:hover {
  background: linear-gradient(to right, #fb923c, #fbbf24);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 16px 32px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(88, 28, 135, 0.2), transparent);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: rgba(147, 51, 234, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.badge span {
  font-size: 12px;
  color: #d4d4d8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-title .subtitle {
  font-size: 18px;
  color: #a1a1aa;
  font-weight: 400;
}

.hero-desc {
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(8px);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 4px;
}

/* Features Section */
.features-section {
  padding: 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.features-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.feature-icon-new {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  flex-shrink: 0;
}

.feature-box span {
  font-size: 13px;
  color: #d4d4d8;
  font-weight: 500;
}

/* Install Card */
.install-card-section {
  padding: 40px 16px;
}

.install-card {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.install-header {
  text-align: center;
  padding: 32px 24px 24px;
}

.install-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.install-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.install-subtitle {
  font-size: 14px;
  color: #a1a1aa;
}

.install-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.install-divider-sm {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 24px;
}

.install-features {
  padding: 24px;
}

.install-feature {
  text-align: center;
  padding: 16px 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
}

.feature-icon.purple {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.feature-icon.orange {
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.feature-icon.indigo {
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.install-feature h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.install-feature p {
  font-size: 12px;
  color: #a1a1aa;
}

.install-cta {
  padding: 24px;
  text-align: center;
}

/* Share VIP Section */
.share-vip-section {
  padding: 1.5rem 1rem;
}

.share-vip-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.share-vip-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.share-vip-desc {
  font-size: 0.95rem;
  color: #a1a1aa;
  margin-bottom: 1.5rem;
}

.share-progress-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.share-progress-label {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-bottom: 0.75rem;
}

.share-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.share-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.share-progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbbf24;
}

.share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc, #00a8e8);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.share-link-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.8rem;
}

.share-link-label {
  color: #a1a1aa;
  margin-right: 0.25rem;
}

.share-link-url {
  color: #fbbf24;
  word-break: break-all;
}

@media (max-width: 640px) {
  .share-vip-card {
    padding: 1.5rem 1rem;
  }
  
  .share-vip-title {
    font-size: 1.25rem;
  }
  
  .share-buttons {
    grid-template-columns: 1fr;
  }
}

/* Content Sections */
.content-section {
  padding: 40px 0;
}

.section-header {
  padding: 0 16px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-header p {
  font-size: 13px;
  color: #a1a1aa;
}

.scroll-row {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0 16px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.scroll-row {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Auto Scroll Animation */
.scroll-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0 16px 8px;
}

.scroll-wrapper .scroll-row {
  padding: 0;
  animation: scroll-left 15s linear infinite;
  width: max-content;
}

.scroll-wrapper:hover .scroll-row {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Cards */
.content-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}

.card-image {
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image .emoji {
  font-size: 32px;
  opacity: 0.3;
}

.card-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  color: white;
}

.tag-hit { background: #f97316; }
.tag-4k { background: #3b82f6; }
.tag-live { background: #ef4444; }
.tag-hd { background: #22c55e; }
.tag-new { background: #a855f7; }
.tag-night { background: #4f46e5; }
.tag-hot { background: #ec4899; }
.tag-noir { background: #4b5563; }
.tag-18 { background: #dc2626; }
.tag-adult { background: #dc2626; }
.tag-free { background: rgba(255, 255, 255, 0.2); }

.card-info {
  padding: 12px;
}

.card-info h4 {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info p {
  font-size: 11px;
  color: #a1a1aa;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sport Card */
.sport-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
}

.sport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}

.sport-image {
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sport-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-image .emoji {
  font-size: 40px;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.sport-info {
  padding: 12px;
}

.sport-info h4 {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sport-info p {
  font-size: 11px;
  color: #a1a1aa;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Why Section */
.why-section {
  padding: 56px 16px;
}

.why-section h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.features-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}

.feature-emoji {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 12px;
  color: #a1a1aa;
}

/* Compare Section */
.compare-section {
  padding: 40px 16px;
}

.compare-section h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.table-wrapper {
  max-width: 600px;
  margin: 0 auto;
  overflow-x: auto;
}

table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
}

th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  color: #a1a1aa;
}

th.purple {
  color: #a855f7;
  text-align: center;
  font-weight: 600;
}

th:last-child {
  text-align: center;
}

td:nth-child(2) {
  text-align: center;
  color: #4ade80;
  font-weight: 500;
}

td:last-child {
  text-align: center;
  color: #71717a;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* CTA Section */
.cta-section {
  padding: 56px 16px;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3), rgba(157, 23, 77, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.cta-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 24px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.cta-stats > div {
  text-align: center;
}

.cta-stats .gradient-text {
  font-size: 24px;
  font-weight: 700;
}

.cta-stats > div > div:last-child {
  font-size: 12px;
  color: #a1a1aa;
}

/* Guide Section */
.guide-section {
  padding: 40px 16px;
}

.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.guide-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.guide-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 12px;
  color: #a1a1aa;
}

.app-info {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.app-info table {
  width: 100%;
  font-size: 13px;
}

.app-info td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-info td:first-child {
  color: #a1a1aa;
}

.app-info td:last-child {
  color: white;
  font-weight: 500;
  text-align: left;
}

.app-info tr:last-child td {
  border-bottom: none;
}

/* FAQ Section */
.faq-section {
  padding: 40px 16px;
}

.faq-section h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.faq-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-q:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-q .arrow {
  color: #a1a1aa;
  transition: transform 0.3s;
  font-size: 12px;
}

.faq-item.active .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  font-size: 13px;
  color: #a1a1aa;
}

.faq-item.active .faq-a {
  padding: 0 16px 12px;
  max-height: 200px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 16px;
  text-align: center;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 12px;
  color: #71717a;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: #71717a;
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 12px;
  color: #52525b;
}

/* Tablet */
@media (min-width: 640px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-title .subtitle {
    font-size: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .features-grid-new {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .content-card, .sport-card {
    width: 180px;
  }
  
  .card-image, .sport-image {
    height: 120px;
  }
  
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
  
  .hero-title .subtitle {
    font-size: 24px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .content-card, .sport-card {
    width: 200px;
  }
  
  .card-image, .sport-image {
    height: 140px;
  }
  
  .features-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Download Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 20px;
}

.modal-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-step:last-child {
  border-bottom: none;
}

.modal-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.modal-step-text {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.6;
}

.modal-step-text strong {
  color: #ffffff;
}

.modal-close-btn {
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  background: linear-gradient(135deg, #f59e0b, #22c55e);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* Fixed Bottom Download Bar */
.fixed-download-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.fixed-download-bar.visible {
  transform: translateY(0);
}

.fixed-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f59e0b, #22c55e);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fixed-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.fixed-download-sub {
  text-align: center;
  font-size: 12px;
  color: #71717a;
  margin-top: 8px;
}
