:root {
  --primary-color: #e90505;
  --primary-hover: #c00404;
  --secondary-color: #2c3e50;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --gradient: linear-gradient(135deg, #e90505 0%, #c00404 100%);
  --shadow-sm: 0 2px 8px rgba(233, 5, 5, 0.1);
  --shadow-md: 0 4px 16px rgba(233, 5, 5, 0.15);
  --shadow-lg: 0 8px 32px rgba(233, 5, 5, 0.2);
}

* {
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fafafa;
  padding-top: 80px;
}

/* Lazy Loading */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazy:not([data-src]) {
  opacity: 1;
}

/* Navbar */
.navbar {
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 45px;
}

.navbar-partner-btn {
  background: var(--gradient);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-partner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 5, 5, 0.3);
  color: white;
}

/* Loading */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-screen .spinner-border {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
}

/* Search Box */
.main-search {
  max-width: 700px;
  margin: 2rem auto 1rem;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  box-shadow: var(--shadow-md);
  border-radius: 50px;
  background: white;
}

.search-input-wrapper input {
  border: none;
  padding: 1rem 3.5rem 1rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  width: 100%;
}

.search-input-wrapper input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 5, 5, 0.2);
}

.search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}

.search-results.active {
  display: block;
}

.search-result-header {
  padding: 0.8rem 1.2rem;
  border-bottom: 2px solid #f0f0f0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-color);
  background: #f8f9fa;
}

.search-result-item {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.search-result-item:hover {
  background: #f8f9fa;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 1rem;
}

/* Quick Search Tags */
.quick-search {
  margin: 1rem 0 2rem;
  text-align: center;
}

.search-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  margin: 0.3rem;
  font-size: 0.85rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.search-tag:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(233, 5, 5, 0.05);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.5rem 0 1.2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
}

.view-all-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.view-all-btn:hover {
  color: var(--primary-hover);
}

/* Stories Section */
.stories-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
  display: none;
}

.story-item {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.story-item:hover {
  transform: scale(1.05);
}

.story-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  padding: 2px;
  margin-bottom: 0.5rem;
  background: white;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.story-name {
  font-size: 0.7rem;
  color: var(--dark-color);
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Scroll Container */
.scroll-container {
  position: relative;
}

.scroll-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.scroll-grid::-webkit-scrollbar {
  height: 6px;
}

.scroll-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.scroll-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

/* Reel Card */
.reel-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
  min-width: 240px;
  flex: 0 0 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 1.2rem;
  color: white;
}

.reel-restaurant {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.reel-restaurant img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.reel-restaurant-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.reel-description {
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.reel-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Restaurant Card */
.restaurant-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 260px;
  flex: 0 0 260px;
  cursor: pointer;
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.restaurant-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.restaurant-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.restaurant-card:hover .restaurant-card-image img {
  transform: scale(1.1);
}

.restaurant-card-body {
  padding: 1.2rem;
}

.restaurant-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.restaurant-logo {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
}

.restaurant-branch {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.restaurant-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge-delivery,
.badge-reservation {
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-delivery {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
}

.badge-reservation {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

/* Item Card */
.item-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: pointer;
  min-width: 200px;
  flex: 0 0 200px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.item-card-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.item-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.item-card:hover .item-card-image img {
  transform: scale(1.1);
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 3px 10px rgba(233, 5, 5, 0.4);
}

.new-badge {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.selected-badge {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.item-card-body {
  padding: 1rem;
}

.item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--dark-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4rem;
}

.item-price-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.item-price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.8rem;
}

.item-price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-link:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
}

.empty-state i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navbar-partner-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .main-search {
    margin: 1.5rem auto 1rem;
  }

  .search-input-wrapper input {
    padding: 0.9rem 3rem 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .search-btn {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .view-all-btn {
    font-size: 0.75rem;
  }

  /* Mobile: 2 columns layout */
  .scroll-grid {
    gap: 0.8rem;
  }

  .reel-card {
    height: 320px;
    min-width: calc(50% - 0.4rem);
    flex: 0 0 calc(50% - 0.4rem);
  }

  .reel-restaurant-name {
    font-size: 0.8rem;
  }

  .restaurant-card {
    min-width: calc(50% - 0.4rem);
    flex: 0 0 calc(50% - 0.4rem);
  }

  .restaurant-card-image {
    height: 140px;
  }

  .restaurant-card-body {
    padding: 1rem;
  }

  .restaurant-name {
    font-size: 0.95rem;
  }

  .restaurant-logo {
    width: 30px;
    height: 30px;
  }

  .restaurant-branch {
    font-size: 0.75rem;
  }

  .item-card {
    min-width: calc(50% - 0.4rem);
    flex: 0 0 calc(50% - 0.4rem);
  }

  .item-card-image {
    height: 130px;
  }

  .item-name {
    font-size: 0.85rem;
  }

  .item-price {
    font-size: 1rem;
  }

  .story-avatar {
    width: 60px;
    height: 60px;
  }

  .story-name {
    max-width: 60px;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .reel-card {
    height: 280px;
  }

  .restaurant-card-image {
    height: 120px;
  }

  .item-card-image {
    height: 110px;
  }

  .search-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Reels Viewer - Instagram Style */
.reels-viewer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 10000;
  display: none;
  overflow: hidden;
}

.reels-viewer.active {
  display: block;
}

.reels-viewer-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reels-viewer-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.reels-viewer-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  -webkit-appearance: none;
  appearance: none;
}

/* Safari Video Controls Fix */
.reels-viewer-video::-webkit-media-controls-panel {
  display: flex !important;
  opacity: 1 !important;
}

.reels-viewer-video::-webkit-media-controls-play-button {
  display: flex !important;
}

.reels-viewer-video::-webkit-media-controls-timeline {
  display: flex !important;
}

.reels-viewer-video::-webkit-media-controls-current-time-display,
.reels-viewer-video::-webkit-media-controls-time-remaining-display {
  display: flex !important;
}

.reels-viewer-video::-webkit-media-controls-mute-button,
.reels-viewer-video::-webkit-media-controls-volume-slider {
  display: flex !important;
}

.reels-viewer-video::-webkit-media-controls-fullscreen-button {
  display: flex !important;
}

.reels-viewer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
}

.reels-viewer-close:hover {
  background: rgba(233, 5, 5, 0.9);
  transform: scale(1.1);
}

.reels-viewer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 2rem 1.5rem 3rem;
  color: white;
  z-index: 10;
}

.reels-viewer-restaurant {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reels-viewer-restaurant-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.reels-viewer-restaurant-info {
  flex: 1;
}

.reels-viewer-restaurant-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.reels-viewer-restaurant-type {
  font-size: 0.85rem;
  opacity: 0.8;
}

.reels-viewer-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.reels-viewer-stats {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}

.reels-viewer-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reels-viewer-stat i {
  font-size: 1.2rem;
}

.reels-viewer-actions {
  position: absolute;
  right: 1.5rem;
  bottom: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 11;
}

.reels-viewer-action-btn {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.reels-viewer-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.reels-viewer-action-btn i {
  font-size: 1.5rem;
}

.reels-viewer-action-btn span {
  font-size: 0.7rem;
  margin-top: 0.2rem;
  font-weight: 600;
}

.reels-viewer-action-btn.liked {
  background: rgba(233, 5, 5, 0.3);
  border-color: var(--primary-color);
}

.reels-viewer-action-btn.liked i {
  color: var(--primary-color);
}

.reels-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
  opacity: 0;
}

.reels-viewer:hover .reels-viewer-nav {
  opacity: 1;
}

.reels-viewer-nav:hover {
  background: rgba(233, 5, 5, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.reels-viewer-nav.prev {
  left: 1rem;
}

.reels-viewer-nav.next {
  right: 1rem;
}

.reels-viewer-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: all 0.3s;
}

.reels-viewer-visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 5, 5, 0.4);
  color: white;
}

@media (max-width: 768px) {
  .reels-viewer-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .reels-viewer-overlay {
    padding: 1.5rem 1rem 2.5rem;
  }

  .reels-viewer-restaurant-logo {
    width: 45px;
    height: 45px;
  }

  .reels-viewer-restaurant-name {
    font-size: 1rem;
  }

  .reels-viewer-actions {
    right: 1rem;
    bottom: 7rem;
    gap: 1.2rem;
  }

  .reels-viewer-action-btn {
    width: 50px;
    height: 50px;
  }

  .reels-viewer-action-btn i {
    font-size: 1.3rem;
  }

  .reels-viewer-nav {
    display: none;
  }
}

/* Download App Popup */
.download-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  padding: 1rem;
}

.download-popup.active {
  display: flex;
}

.download-popup-content {
  background: white;
  border-radius: 25px;
  max-width: 450px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupSlideUp 0.3s ease-out;
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.download-popup-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.download-popup-icon {
  /* width: 80px; */
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(233, 5, 5, 0.3);
}

.download-popup-icon img {
  /* width: 50px; */
  height: 50px;
  filter: brightness(0) invert(1);
}

.download-popup-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 0.8rem;
}

.download-popup-text {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.download-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.download-popup-btn i {
  font-size: 1.5rem;
}

.download-popup-btn.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 5, 5, 0.3);
}

.download-popup-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 5, 5, 0.4);
  color: white;
}

.download-popup-btn.secondary {
  background: #000;
  color: white;
}

.download-popup-btn.secondary:hover {
  background: #333;
  transform: translateY(-2px);
  color: white;
}

.download-popup-divider {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.download-popup-continue {
  text-align: center;
  margin-top: 1rem;
}

.download-popup-continue button {
  background: none;
  border: none;
  color: #999;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s;
}

.download-popup-continue button:hover {
  color: var(--dark-color);
}

@media (max-width: 576px) {
  .download-popup-content {
    padding: 2rem 1.5rem;
  }

  .download-popup-icon {
    height: 70px;
  }

  .download-popup-icon img {
    height: 40px;
  }

  .download-popup-title {
    font-size: 1.4rem;
  }

  .download-popup-text {
    font-size: 0.95rem;
  }

  .download-popup-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}
