/* Section: Base + Palette */
:root {
  --bg: #0a0610;
  --bg-2: #0a0b14;
  --text: #eaf2ff;
  --muted: #a9b4c7;
  --accent: #ff2a92;
  --accent-2: #e3062c;
  --glass: rgba(255,255,255,0.14);
  --glass-2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 6px 24px rgba(0,0,0,0.45);
  --radius: 14px;
  --radius-sm: 10px;
}

/* Section: Global */
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

/* Section: Layered background (gradient + scanlines) */
:root { color-scheme: dark; }
body {
  min-height: 100svh;
  background-image:
    linear-gradient(135deg, rgba(120,0,60,0.60), rgba(20,0,40,0.60) 60%, rgba(0,0,0,0.80)),
    linear-gradient(to bottom, rgba(255,0,120,0.04), rgba(255,0,120,0.04)),
    repeating-linear-gradient(to bottom, rgba(255,0,120,0.03) 0 2px, transparent 2px 4px);
  background-blend-mode: overlay, overlay, overlay;
  background-color: #050509;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Section: Layout primitives */
.container { width: 100%; max-width: clamp(320px, 90vw, 1100px); margin-inline: auto; padding-inline: 1rem; }

/* Section: Page structure defaults */
header, nav, main, article, aside, footer { display: block; }

/* Section: Header / Hero */
header { padding: clamp(1.5rem, 2vw, 2rem) 0; text-align: center; }
header h1 { font-size: clamp(1.6rem, 3vw + 1rem, 2.8rem); font-weight: 700; margin: 0; color: #fff; text-shadow: 0 0 14px rgba(255,0,140,0.7); }

/* Section: Main content */
main { padding: 1rem 0 2rem; }

/* Section: Image frame (gallery hero) */
.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.25);
  box-shadow: var(--shadow);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 640px) {
  .image-frame { border-radius: 12px; }
}

/* Section: Content helpers */
.content { padding: 1rem; color: var(--text); }

/* Section: Card / grid utilities */
.grid { display: grid; gap: 1rem; }
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  padding: .75rem;
}
.tag {
  display: inline-block;
  padding: .15em .6em;
  border-radius: 999px;
  font-size: .75rem;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Section: Navigation / links */
a, button, .btn, .cta { cursor: pointer; text-decoration: none; }

/* Section: Basic typography links */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }

/* Section: Controls (buttons) */
button, .btn, .cta {
  border: none;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,0,140,0.95), rgba(180,0,60,0.95));
  display: inline-block;
}
.btn { /* primary action style */ }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,0,140,0.6); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: .65rem 1.1rem;
}
.btn-outline:hover { background: rgba(255,0,120,0.15); }

/* Section: Form controls (basic style for potential forms) */
.input, input[type="text"], input[type="email"], input[type="password"], textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .5rem .75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.input:focus, input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }

/* Section: Footer */
footer { padding: 2rem 0; text-align: center; }
footer p { margin: .25rem 0 0; color: var(--muted); }

/* Section: Utility layout helpers (responsive grid) */
@media (min-width: 860px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .container { padding-inline: 0; }
}

/* Section: Navigation adjustments (present but minimal) */
nav { padding: 0.5rem 0; }

/* Section: Aside (optional content) */
aside { display: none; }

/* Section: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Section: Print readability (lightweight) */
@media print {
  body { background: #fff; color: #000; }
  a, button { color: #000; text-decoration: underline; }
  .image-frame { page-break-inside: avoid; }
}