/* 
  ✨ Pink Shoujo Haven - Cute Indie Neocities Theme ✨
  For a dreamy teenage girl's personal site
  Customize colors, fonts, and add your own images!
*/

:root {
  --bg: #fff0f5;
  --bg-alt: #ffe4ec;
  --accent: #ff8fab;
  --accent-dark: #e85a8c;
  --soft-pink: #ffc1d8;
  --lavender: #e0bbff;
  --text: #4a3045;
  --text-light: #6b4e5e;
  --white: #fff9fb;
  --card-bg: #ffffff;
  --shadow: 0 6px 20px rgba(232, 90, 140, 0.12);
  --radius: 18px;
}

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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

/* Elegant headings for shoujo vibe */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--accent-dark);
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.9rem;
  margin: 1.5rem 0 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: " ♡";
  color: var(--accent);
  font-size: 1.4rem;
}

h3 {
  font-size: 1.35rem;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

/* Links */
a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Cute buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(232, 90, 140, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(232, 90, 140, 0.4);
  color: white !important;
}

.btn-secondary {
  background: var(--white);
  color: var(--accent-dark) !important;
  border: 2px solid var(--soft-pink);
}

.btn-secondary:hover {
  background: var(--soft-pink);
  color: white !important;
}

/* Header / Navigation */
header {
  background: var(--white);
  border-bottom: 3px solid var(--soft-pink);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.4rem;
  flex-wrap: wrap;
}

nav a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: all 0.2s ease;
}

nav a:hover {
  background: var(--accent);
  color: white !important;
  text-decoration: none;
  transform: translateY(-1px);
}

nav a.active {
  background: var(--accent);
  color: white !important;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

/* Hero / Welcome section */
.hero {
  text-align: center;
  padding: 3.5rem 2rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 3px solid var(--soft-pink);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "✿ ❀ ✿";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  color: var(--lavender);
  opacity: 0.6;
  letter-spacing: 12px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent-dark);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* Cards & Sections */
.card {
  background: var(--card-bg);
  border: 2px solid var(--soft-pink);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(232, 90, 140, 0.15);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.interest-card {
  text-align: center;
  padding: 1.8rem 1.4rem;
}

.interest-card .emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.interest-card:hover .emoji {
  transform: scale(1.15) rotate(5deg);
}

.interest-card h3 {
  margin-bottom: 0.6rem;
}

.interest-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Art Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.art-card {
  border: 2px solid var(--soft-pink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.art-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(232, 90, 140, 0.2);
}

.art-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--soft-pink);
}

.art-card .info {
  padding: 1rem 1.1rem;
}

.art-card .info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--accent-dark);
}

.art-card .info p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* Diary / Journal Entries */
.entry {
  border-left: 5px solid var(--accent);
  padding-left: 1.4rem;
  margin-bottom: 2rem;
  position: relative;
}

.entry::before {
  content: "🌸";
  position: absolute;
  left: -12px;
  top: 4px;
  background: var(--bg);
  padding: 0 4px;
  font-size: 1.1rem;
}

.entry-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

.entry h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Anime / Favorites list */
.fave-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--soft-pink);
}

.fave-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.fave-item .cover {
  width: 90px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid var(--soft-pink);
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.fave-item .details h4 {
  margin-bottom: 0.35rem;
}

.fave-item .details .meta {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.fave-item .details p {
  font-size: 0.95rem;
}

/* Quote box */
.quote-box {
  background: linear-gradient(135deg, #fff9fb 0%, #ffe4ec 100%);
  border: 2px dashed var(--lavender);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  margin: 2rem 0;
  font-style: italic;
  position: relative;
}

.quote-box::before {
  content: "“";
  font-size: 5rem;
  position: absolute;
  top: -10px;
  left: 20px;
  color: var(--soft-pink);
  font-family: Georgia, serif;
  opacity: 0.4;
}

/* Update log */
.update-log {
  background: var(--white);
  border: 2px solid var(--soft-pink);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.update-log ul {
  list-style: none;
}

.update-log li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #f8e1eb;
  font-size: 0.95rem;
}

.update-log li:last-child {
  border-bottom: none;
}

.update-log .date {
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.6rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

footer a {
  color: var(--accent-dark);
}

footer .hearts {
  font-size: 1.3rem;
  display: block;
  margin: 0.8rem 0;
  color: var(--accent);
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.small {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Sparkle / cute interactive hint */
.sparkle {
  animation: sparkle-anim 1.2s ease forwards;
}

@keyframes sparkle-anim {
  0% { transform: scale(0.6) rotate(-15deg); opacity: 0; }
  40% { transform: scale(1.3) rotate(8deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav ul {
    width: 100%;
    justify-content: flex-start;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Fun extra: floating hearts decoration (optional, add via JS) */
.floating-heart {
  position: fixed;
  font-size: 1.4rem;
  color: var(--accent);
  pointer-events: none;
  z-index: 9999;
  animation: float-up 2.5s ease forwards;
  opacity: 0.85;
}

@keyframes float-up {
  to {
    transform: translateY(-120px);
    opacity: 0;
  }
}