:root {
  --bg: #f8f8f5;
  --card: #ffffff;
  --accent: #c7d8c2;
  --text: #444;
  --subtext: #777;
  --border: #e4ece2;
  --font-main: 'Inter', sans-serif;
  --font-title: 'Cormorant Garamond', serif;
}

body {
  margin:0;
  background: var(--bg);
  font-family: var(--font-main);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.page-bg {
  padding:40px 16px;
  display:flex;
  justify-content:center;
  position:relative;
}

.flower-top {
  position:absolute;
  left:5%;
  top:5%;
  width:100px;
}
.flower-top img { width:100%; }

.wrap {
  display:flex;
  gap:20px;
  max-width:1000px;
  width:100%;
}

/* البطاقة */
.main-card {
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 12px;
  padding:20px;
  flex:1;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

.site-title h1 {
  margin:0;
  font-family: var(--font-title);
  font-size:22px;
  color:#55665a;
}
.subtitle {
  font-size:12px;
  color:var(--subtext);
}

.bio { margin-top:12px; font-size:14px; }
.link-me { display:flex; align-items:center; gap:6px; margin-top:10px; }
.link-me a {
  background: var(--accent);
  padding:6px 10px;
  border-radius:6px;
  text-decoration:none;
  color:#2e4235;
  font-weight:600;
}
.link-icon { width:20px; height:auto; }

.btn-ghost {
  margin-top:12px;
  padding:8px 12px;
  background:transparent;
  border:1px dashed var(--accent);
  border-radius:8px;
  cursor:pointer;
}

/* مربع الموسيقى */
.music-box {
  margin-top:16px;
  padding:10px;
  background:#fdfdfd;
  border:1px solid var(--border);
  border-radius:10px;
  text-align:center;
}
.music-box h3 { margin:0 0 8px 0; font-size:14px; color:#5c6c5c; }
#music-toggle {
  border:none;
  background:var(--accent);
  padding:6px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}

/* شريط زخرفي */
.art-strip img { width:100%; border-radius:8px; margin-top:16px; }

/* العمود الجانبي */
.side-column {
  width:220px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}
.profile-thumb {
  width:170px; height:120px;
  border-radius:10px;
  overflow:hidden;
  border:4px solid var(--border);
}
.profile-thumb img { width:100%; height:100%; object-fit:cover; }

.mini-nav {
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:6px;
  width:100%;
}
.mini-nav a {
  text-align:center;
  padding:8px;
  background:#f9f9f9;
  border-radius:6px;
  text-decoration:none;
  color:#666;
  font-size:13px;
}

/* مشغل صوت جانبي */
.audio-box {
  width:100%;
  background:#fff;
  padding:10px;
  border-radius:8px;
  border:1px solid var(--border);
}
.audio-controls { display:flex; gap:6px; align-items:center; }
.audio-controls button {
  border:none;
  background:var(--accent);
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
}

/* التحديثات */
.updates {
  position:absolute;
  right:5%;
  bottom:5%;
  width:200px;
}
.updates-inner {
  background:#fff;
  border-radius:10px;
  padding:12px;
  border:1px solid var(--border);
}
.updates-inner h3 { margin:0 0 8px 0; font-size:14px; color:#5c6c5c; }
.updates-inner ul { margin:0; padding-left:16px; font-size:13px; color:#666; }

/* نافذة guestbook */
.modal {
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.4);
}
.hidden { display:none; }
.modal-inner {
  background:#fff;
  border-radius:10px;
  padding:18px;
  width:90%;
  max-width:600px;
  position:relative;
}
.modal-close {
  position:absolute;
  top:10px;
  right:10px;
  border:none;
  background:transparent;
  font-size:18px;
  cursor:pointer;
}
.guest-form input, .guest-form textarea {
  width:100%;
  padding:8px;
  margin-bottom:8px;
  border:1px solid #ddd;
  border-radius:6px;
}
.btn-primary {
  background:var(--accent);
  padding:8px 14px;
  border:none;
  border-radius:8px;
  cursor:pointer;
}
.entries { margin-top:10px; }
.entry {
  background:#f9f9f9;
  border-radius:8px;
  padding:8px;
  margin-bottom:6px;
  font-size:13px;
}