* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #fff5f6 0%, #fdf4f5 100%);
  color: #333;
  line-height: 1.6;
  padding-bottom: 300px; /* مساحة لصندوق السعر الثابت */
}

.container {
  max-width: 430px;
  margin: 0 auto;
  padding: 25px 20px 0;
}

.logo-container {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.logo {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.tagline {
  color: #ffa8f8;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

/* Video tile */
.video {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  background: #000 center/cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.video:hover::after {
  background: rgba(0,0,0,0.1);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.video:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

/* Triangle inside play icon */
.play-icon::before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffa8f8;
  margin-left: 3px;
}

.counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  z-index: 2;
}

/* Fixed price box */
.fixed-price-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding: 25px;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
  max-width: 430px;
  margin: auto;
  z-index: 100;
  transition: transform 0.3s ease;
}

.fixed-price-box:hover {
  transform: translateY(-5px);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.discount-badge {
  background: #ffa8f8;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.media-count {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.detail {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.secure {
  background: #e8fcec;
  color: #2d8b49;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.secure::before {
  content: '✓';
  font-weight: bold;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.payment-methods .icon {
  height: 24px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  border-radius: 5px;
  padding: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.payment-methods .icon:hover {
  transform: scale(1.05);
  background: #f1f1f1;
}

.payment-methods .icon img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(30%);
}

.button {
  background: linear-gradient(135deg, #ffa8f8 0%, #ffa8f8 100%);
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 16px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(3, 235, 223, 0.3);
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 213, 228, 0.4);
  background: linear-gradient(135deg, #ffa8f8 0%, #ffa8f8 100%);
}

.button svg {
  width: 16px;
  height: 16px;
}

.guarantee {
  text-align: center;
  font-size: 11px;
  color: #999;
  margin-top: 15px;
  line-height: 1.4;
}

.support-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.support-link:hover {
  color: #ffa8f8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 400px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .video {
    height: 220px;
  }
}