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

:root {
  --bg-dark: #07121d;
  --bg-dark-2: #130b1d;
  --text: #ffffff;
  --muted: #cfc7d8;
  --orange: #ff7a2f;
  --orange-2: #ff9d58;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
}

body {
  font-family: "Cairo", sans-serif;
  background: #081019;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 110, 40, 0.30), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 130, 60, 0.18), transparent 25%),
    linear-gradient(90deg, #05131d 0%, #12101f 45%, #2a0f16 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 75% 45%, black 10%, transparent 65%);
  opacity: 0.35;
}

.navbar {
  width: min(1280px, calc(100% - 40px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a,
.login-link {
  color: #f3eef7;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}

.nav-links a:hover,
.login-link:hover {
  color: var(--orange-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8a3d, #ff6d28);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 115, 40, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.14);
}

.menu-btn {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.3rem;
}

.hero {
  width: min(1280px, calc(100% - 40px));
  margin: 40px auto 20px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.hero-text {
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 18px;
  color: #f0e9f7;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
}

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  line-height: 1.02;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: #ffc48e;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.big-btn {
  min-width: 220px;
  padding: 16px 24px;
  font-size: 1.02rem;
}

.rating-box {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(10, 15, 23, 0.55);
  border: 1px solid var(--border);
  color: #f3edf7;
  font-weight: 700;
}

.stars {
  color: #ffd18a;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-card {
  width: 100%;
  max-width: 760px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.search-bar {
  flex: 1;
  background: rgba(255,255,255,0.85);
  color: #777;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboard-content {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 460px;
  background: linear-gradient(180deg, #161820 0%, #10131a 100%);
}

.sidebar {
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 18px 14px;
  background: rgba(0,0,0,0.18);
}

.side-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff8f46, #ff6427);
  font-weight: 900;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.sidebar li {
  padding: 10px 12px;
  border-radius: 12px;
  color: #cfc7d8;
  font-weight: 700;
  background: transparent;
}

.sidebar li.active {
  background: rgba(255,255,255,0.08);
  color: white;
}

.cards-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-content: start;
}

.ad-card {
  height: 140px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
    radial-gradient(circle at 30% 20%, rgba(255,145,84,0.25), transparent 35%),
    #1d2230;
}

.ad-card.tall {
  height: 210px;
}

.ad-card span {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.35);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8f46, #ff6427);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(255,115,40,0.35);
}

.brands {
  width: min(1280px, calc(100% - 40px));
  margin: 10px auto 40px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  align-items: center;
  opacity: 0.92;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .dashboard-card {
    max-width: 100%;
  }

  .brands {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-btn {
    display: inline-block;
  }
}

@media (max-width: 700px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .brands {
    grid-template-columns: repeat(2, 1fr);
    font-size: 1rem;
  }

  .play-btn {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }
}
