/* Mobile-first styles - Purple & Gold theme (B) */
:root{
  --bg:#fff8ff;
  --card:#ffffff;
  --primary:#6a3ea0; /* purple */
  --accent:#d4a017;  /* gold */
  --muted:#6b6b6b;
  --radius:12px;
  --shadow:0 6px 20px rgba(106,62,160,0.12);
  --font:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:var(--font);background:var(--bg);color:#111;height:100%}
.page{min-height:100vh;display:flex;flex-direction:column}

/* Top Navbar */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  background:linear-gradient(90deg,var(--primary),#7b47b8);
  color:#fff;
  position:sticky;
  top:0;
  z-index:20;
}
.brand{font-weight:700;font-size:18px}
.nav-toggle{background:transparent;border:0;color:#fff;font-size:20px;display:block}
.nav-links{display:none;list-style:none;padding:0;margin:0}
.nav-links li{display:inline-block;margin-left:12px}
.nav-links a{color:#fff;text-decoration:none;font-weight:600}

/* Main container */
.container{padding:16px;flex:1}

/* Hero Section */
.hero{
  background: linear-gradient(135deg,#f6ebff,#fff8ff);
  padding:24px;
  border-radius:12px;
  text-align:center;
  margin-bottom:16px;
}
.hero h1{color:var(--primary);margin:0;font-size:24px;font-weight:700;}
.hero p{color:var(--muted);margin-top:8px;font-size:14px;}

/* Cards */
.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:14px;
  margin-bottom:12px;
  box-shadow:var(--shadow);
}
.votd-card .verse-ref{font-weight:700;color:var(--primary);margin:8px 0}
.votd-card .verse-text{font-size:16px;line-height:1.4}
.small{font-size:13px;color:var(--muted)}
.actions{margin-top:12px;display:flex;gap:8px}
.actions button{background:var(--accent);border:0;padding:8px 12px;border-radius:8px;color:#fff;font-weight:600}

/* Grid Tiles */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}
.tile{
  display:block;
  padding:12px;
  border-radius:10px;
  background:linear-gradient(180deg,#f6ebff,#fff);
  text-align:center;
  text-decoration:none;
  color:var(--primary);
  font-weight:700;
  font-size:14px;
}

/* Notes */
.note{padding:10px;border-radius:8px;border:1px solid #efe8f7;margin-bottom:8px}
.note h4{margin:0}
.note .small{font-size:12px;color:var(--muted)}
.note .note-actions{margin-top:8px}
.note .note-actions button{margin-right:6px;padding:6px 10px;border-radius:8px;border:0;background:var(--primary);color:#fff}

/* Responsive nav show */
@media(min-width:700px){
  .nav-toggle{display:none}
  .nav-links{display:block}
  .container{max-width:720px;margin:0 auto}
}

/* Bottom Navbar */
.bottom-nav{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#fff;
  border-top:1px solid #eee;
  display:flex;
  justify-content:space-around;
  padding:8px 0;
  z-index:20;
}
.bottom-nav a{
  text-decoration:none;
  color:var(--primary);
  font-size:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.bottom-nav a svg{width:20px;height:20px;margin-bottom:2px}