/* ===== Dayem Store — Design Tokens ===== */
:root {
  --bg: #060a14;
  --bg-alt: #080e1c;
  --surface: #0d1424;
  --surface-hover: #121b31;
  --border: #1c2740;
  --accent: #4fc3ff;
  --accent-soft: #2e6fa8;
  --accent-glow: rgba(79, 195, 255, 0.35);
  --text: #eaf3ff;
  --text-muted: #8593ab;
  --whatsapp: #25d366;
  --discord: #5865f2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
body::before {
  width: 560px; height: 560px;
  top: -180px; right: -160px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
body::after {
  width: 640px; height: 640px;
  bottom: -220px; left: -200px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.5px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #06111e; font-weight: 800; padding: 11px 24px; border-radius: 999px;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform .25s ease, box-shadow .25s ease;
  font-size: 0.92rem;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }

.hero { padding: 90px 0 70px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 700; font-size: 0.85rem;
  border: 1px solid var(--accent-soft); padding: 7px 16px; border-radius: 999px;
  background: rgba(79, 195, 255, 0.06);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.28; margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); font-size: 1.08rem; line-height: 1.9; max-width: 480px; margin-bottom: 34px; }

.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2f8fd6);
  color: #06111e; font-weight: 800; padding: 16px 34px; border-radius: 999px;
  border: none; font-size: 1.02rem;
  box-shadow: 0 10px 30px var(--accent-glow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px var(--accent-glow); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text); font-weight: 700;
  padding: 15px 28px; border-radius: 999px; transition: border-color .25s ease, color .25s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone-frame {
  width: min(360px, 82vw);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(79, 195, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px var(--accent-glow);
  transform-style: preserve-3d;
  animation: floatTilt 7s ease-in-out infinite;
}
.phone-frame img { width: 100%; display: block; }
@keyframes floatTilt {
  0%   { transform: rotateY(-8deg) rotateX(4deg) translateY(0px); }
  50%  { transform: rotateY(6deg) rotateX(-2deg) translateY(-16px); }
  100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0px); }
}
.phone-ring {
  position: absolute; inset: -40px; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(10px);
}

.logo-float {
  width: min(380px, 78vw);
  animation: floatTilt 7s ease-in-out infinite;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .nav-links { display: none; }
}

.section { padding: 70px 0; position: relative; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); line-height: 1.8; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: block;
}
.card:hover { transform: translateY(-8px); border-color: var(--accent-soft); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.card-body p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.8; margin-bottom: 16px; }
.card-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 0.92rem; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .product-card { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; } }
.product-logo {
  width: 160px; height: 160px; margin: 0 auto;
  background: radial-gradient(circle at 30% 30%, #0f1c33, #05070f);
  border-radius: 30px; border: 1px solid var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px var(--accent-glow);
}
.product-logo img { width: 62%; }
.product-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.product-info p { color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price-tag .amount { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.price-tag .period { color: var(--text-muted); font-size: 0.9rem; }

.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--accent); }

.contact-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.contact-strip h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.contact-strip p { color: var(--text-muted); }
.social-row { display: flex; gap: 14px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.94rem;
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.social-btn.whatsapp:hover { background: rgba(37,211,102,0.1); border-color: var(--whatsapp); transform: translateY(-2px); }
.social-btn.discord:hover { background: rgba(88,101,242,0.12); border-color: var(--discord); transform: translateY(-2px); }
.social-btn svg { width: 20px; height: 20px; }

footer { padding: 40px 0 60px; text-align: center; color: var(--text-muted); font-size: 0.86rem; position: relative; z-index: 1; }
footer .brand { justify-content: center; margin-bottom: 14px; }

/* ===== Auth slot + modal ===== */
#auth-slot { display: flex; align-items: center; gap: 12px; }

.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 5, 12, 0.72); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 38px 34px; max-width: 380px; width: 100%;
  text-align: center;
}
.modal-box h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.modal-box p { color: var(--text-muted); margin-bottom: 26px; line-height: 1.8; font-size: 0.92rem; }
.login-options { display: flex; flex-direction: column; gap: 12px; }
.login-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--border); transition: transform .2s ease, border-color .2s ease;
}
.login-btn:hover { transform: translateY(-2px); }
.login-btn.discord { background: rgba(88,101,242,0.12); border-color: var(--discord); }
.login-btn.google { background: rgba(255,255,255,0.04); }
.login-btn svg { width: 20px; height: 20px; }
.modal-close { margin-top: 18px; color: var(--text-muted); font-size: 0.85rem; }
.modal-close:hover { color: var(--accent); }

/* ===== Purchase button ===== */
.buy-btn {
  background: linear-gradient(135deg, var(--accent), #2f8fd6);
  color: #06111e; font-weight: 800; padding: 15px 30px; border-radius: 999px;
  border: none; font-size: 1rem; width: 100%;
  box-shadow: 0 10px 26px var(--accent-glow);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.buy-btn:hover { transform: translateY(-2px); }
.buy-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.pay-methods { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--text-muted); font-size: 0.82rem; justify-content: center; }
.pay-methods span.pill { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
