:root {
  --bg-main: #071712;
  --bg-surface: #0d221b;
  --bg-surface-soft: #102a21;
  --gold: #c5a059;
  --gold-soft: #ddc188;
  --text: #f3ead6;
  --text-muted: #c6b99c;
  --line: rgba(197, 160, 89, 0.34);
  --line-soft: rgba(197, 160, 89, 0.16);
  --panel-shadow: 0 20px 38px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 0%, rgba(197, 160, 89, 0.14), rgba(197, 160, 89, 0) 26%),
    radial-gradient(circle at 0% 100%, rgba(25, 76, 59, 0.35), rgba(25, 76, 59, 0) 34%),
    var(--bg-main);
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08), transparent 40%);
  z-index: 0;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: rgba(7, 23, 18, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  color: var(--gold-soft);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.top-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-nav nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.87rem;
}

.top-nav nav a:hover {
  border-color: var(--line-soft);
  color: var(--gold-soft);
}

main {
  width: min(980px, 100% - 28px);
  margin: 24px auto 90px;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero,
.panel,
.quote {
  background: linear-gradient(165deg, var(--bg-surface), var(--bg-surface-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--panel-shadow);
  position: relative;
  overflow: hidden;
}

.hero::before,
.panel::before,
.quote::before {
  content: '☪';
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 1.05rem;
  color: rgba(197, 160, 89, 0.52);
}

.hero::after,
.panel::after,
.quote::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  border-bottom: 1px dashed rgba(197, 160, 89, 0.35);
}

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--gold-soft);
  background: rgba(197, 160, 89, 0.08);
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: 'Cinzel', serif;
  color: #f7e7c4;
}

h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}

h3 {
  margin: 8px 0;
  font-size: 1.06rem;
}

p {
  margin: 0;
  line-height: 1.72;
  color: var(--text-muted);
}

.hero p,
.contact p {
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 10px;
  padding: 11px 18px;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-primary {
  border: 1px solid #b88f45;
  background: linear-gradient(135deg, #c9a562, var(--gold));
  color: #2f220f;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(197, 160, 89, 0.3);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(197, 160, 89, 0.07);
  color: var(--gold-soft);
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.14);
}

.grid {
  display: grid;
  gap: 12px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-cards article {
  background: rgba(6, 19, 15, 0.42);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
}

.simple-cards article p {
  color: #bdae90;
}

.symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.36);
  color: var(--gold-soft);
  font-size: 1rem;
}

.quote {
  text-align: center;
}

.quote p {
  color: #efddb6;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.24rem);
}

.quote span {
  display: inline-block;
  margin-top: 10px;
  color: #cab996;
  font-size: 0.88rem;
}

.zikirmatik {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: 250px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(13, 34, 27, 0.95);
  box-shadow: var(--panel-shadow);
}

.zikirmatik h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.zikr-value {
  margin: 0;
  font-family: 'Cinzel', serif;
  color: var(--gold-soft);
  font-size: 1.95rem;
}

.zikr-actions {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.zikr-actions .btn {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .zikirmatik {
    position: static;
    width: min(980px, 100% - 28px);
    margin: 0 auto 22px;
  }
}
