.container {
  max-width: 1100px;
}

/* ===== Particles ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  bottom: -10px;
  background: var(--gold);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-100vh) translateX(30px);
    opacity: 0;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 168, 83, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 50%, #111 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(212, 168, 83, 0.06) 0%,
    transparent 70%
  );
  animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.25);
  }
}

.hero-badge i {
  font-size: 12px;
}

.hero-icon {
  font-size: 64px;
  color: var(--gold);
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 20px rgba(212, 168, 83, 0.3));
}

.hero-title {
  font-size: 75px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #c5943a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  padding-right: 20px;
}

.hero-subtitle-en {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-divider span {
  width: 60px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}

.hero-divider i {
  color: var(--gold);
  font-size: 16px;
  opacity: 0.6;
}

.hero-location {
  font-size: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-location i {
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(212, 168, 83, 0.3);
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.hero-scroll a:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold);
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ===== Stats Section ===== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    #111 0%,
    var(--bg-main) 100%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 168, 83, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--gold);
  opacity: 0.15;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== Prayer Times Section ===== */
.prayer-section {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
}

.prayer-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px 32px;
  overflow: hidden;
}

.prayer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.prayer-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 16px;
  font-weight: 600;
}

.prayer-title i {
  color: var(--gold);
  font-size: 18px;
}

.prayer-location {
  width: 100%;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 0.8;
}

.prayer-date {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-input);
  padding: 6px 14px;
  border-radius: 8px;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.prayer-item {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: var(--bg-input);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.prayer-item.skeleton .prayer-time {
  color: var(--text-secondary);
  opacity: 0.3;
}

.prayer-item.active {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(212, 168, 83, 0.04));
  border-color: rgba(212, 168, 83, 0.3);
}

.prayer-icon {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  opacity: 0.5;
}

.prayer-item.active .prayer-icon {
  color: var(--gold);
  opacity: 1;
}

.prayer-name {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.prayer-item.active .prayer-name {
  color: var(--gold-light);
}

.prayer-time {
  font-size: 17px;
  font-weight: 700;
}

.prayer-item.active .prayer-time {
  color: var(--gold-light);
}

.prayer-next-label {
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.prayer-countdown {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(212, 168, 83, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
}

.prayer-countdown i {
  font-size: 10px;
  animation: countdownPulse 2s ease-in-out infinite;
}

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

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== About Section ===== */
.about-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 168, 83, 0.3);
}

.about-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
}

.about-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-card strong {
  color: var(--gold-light);
}

/* ===== Schedule Section ===== */
.schedule-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #111 50%, var(--bg-main) 100%);
}

.schedule-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.schedule-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.schedule-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-value {
  font-size: 17px;
  font-weight: 600;
}

/* ===== Map ===== */
.map-wrapper {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  display: block;
  border-radius: 16px;
}

/* ===== Anniversary Section ===== */
.anniversary-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.anniversary-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 83, 0.08) 0%,
    rgba(212, 168, 83, 0.04) 50%,
    rgba(212, 168, 83, 0.08) 100%
  );
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  overflow: hidden;
}

.anniversary-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 168, 83, 0.08) 0%,
    transparent 70%
  );
  animation: anniversaryGlow 4s ease-in-out infinite;
}

@keyframes anniversaryGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.anniversary-content {
  position: relative;
  z-index: 1;
}

.anniversary-badge {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(212, 168, 83, 0.3));
}

.anniversary-card h2 {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.anniversary-card p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.anniversary-card p strong {
  color: var(--gold-light);
}

.anniversary-stars {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
  font-size: 16px;
  opacity: 0.5;
}

/* ===== Links Section ===== */
.links-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #111 100%);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.youtube-card::before {
  background: linear-gradient(90deg, #ff0000, #cc0000);
}

.archive-card::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.food-card::before {
  background: linear-gradient(90deg, var(--gold), var(--success));
}

.food-card .link-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 168, 83, 0.3);
}

.link-card:hover::before {
  opacity: 1;
}

.link-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.youtube-card .link-icon {
  background: rgba(255, 0, 0, 0.1);
  color: var(--primary);
}

.archive-card .link-icon {
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}

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

.link-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
  background: var(--gold);
  color: #000;
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-brand i {
  color: var(--gold);
  font-size: 20px;
}

.footer-arabic {
  font-family: "Amiri", serif;
  font-size: 20px;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  font-size: 18px;
}

.footer-links a:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ===== Fade In Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle-en {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-icon {
    font-size: 48px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .stat-number {
    font-size: 36px;
  }

  .prayer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .prayer-card {
    padding: 20px 16px;
  }

  .prayer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .schedule-card {
    padding: 32px 24px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .anniversary-card {
    padding: 40px 24px;
  }

  .anniversary-card h2 {
    font-size: 28px;
  }

  .links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .stats-section,
  .about-section,
  .schedule-section,
  .anniversary-section,
  .links-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle-en {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .stat-number {
    font-size: 32px;
  }

  .anniversary-card h2 {
    font-size: 24px;
  }

  .anniversary-card p {
    font-size: 15px;
  }
}
