/* ---------- TheBoldPhythons — dark & bold theme ---------- */
:root {
  --bg: #0a0d0c;
  --bg-2: #0f1613;
  --surface: #121a17;
  --surface-2: #16211c;
  --border: #223029;
  --border-2: #2c3d33;
  --text: #eaf2ee;
  --muted: #8fa79b;
  --accent: #34d399;
  --accent-2: #10b981;
  --accent-deep: #065f46;
  --danger: #f87171;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(6, 95, 70, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 600; font-size: 0.98rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #04120c; }
.btn-primary:hover { color: #04120c; filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: transparent; border-color: rgba(248, 113, 113, 0.4); color: var(--danger); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.12); color: var(--danger); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 13, 12, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-family: var(--display); }
.brand:hover { color: var(--text); }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-text { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-text strong { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.site-nav a.nav-cta { color: #04120c; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero-copy .lead { font-size: 1.14rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 0.8rem; margin: 1.6rem 0 1.4rem; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.hero-points li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.92rem; }
.hero-points li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg { width: min(100%, 380px); position: relative; z-index: 1; }
.hero-glow {
  position: absolute; inset: 0; margin: auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.28), transparent 65%); filter: blur(20px);
}

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.band { background: linear-gradient(180deg, var(--bg-2), transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.link-arrow { font-weight: 600; }

.page-head { padding: clamp(2.2rem, 5vw, 3.4rem) 0 0.5rem; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), transparent); }
.page-head h1 { margin-bottom: 0.3rem; }
.breadcrumb { padding-top: 1.4rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid-cards { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Snake cards ---------- */
.snake-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  color: var(--text); transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.snake-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); color: var(--text); }
.snake-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.snake-card-media img { width: 100%; height: 100%; object-fit: cover; }
.snake-card-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--border-2); }
.snake-card-body { padding: 1rem 1.1rem 1.2rem; }
.snake-card-body h3 { margin: 0 0 0.2rem; font-size: 1.2rem; }
.snake-card-species { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.8rem; }
.snake-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.snake-card-meta .price { font-family: var(--display); font-weight: 700; color: var(--accent); }
.snake-card-meta span:not(.price) { font-size: 0.85rem; color: var(--muted); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700;
  padding: 0.28rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.badge-available { background: rgba(52, 211, 153, 0.16); color: var(--accent); border-color: rgba(52, 211, 153, 0.35); }
.badge-reserved { background: rgba(251, 191, 36, 0.14); color: var(--warn); border-color: rgba(251, 191, 36, 0.3); }
.badge-sold { background: rgba(148, 163, 184, 0.14); color: #b6c2ce; border-color: rgba(148, 163, 184, 0.3); }
.badge-hidden { background: rgba(148, 163, 184, 0.1); color: var(--muted); }
.snake-card-media .badge { position: absolute; top: 0.7rem; left: 0.7rem; }

/* ---------- Steps ---------- */
.steps .step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(52, 211, 153, 0.14); color: var(--accent); font-family: var(--display); font-weight: 800; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 2rem 2.2rem;
}
.cta-card h2 { margin-bottom: 0.3rem; }
.cta-card p { margin: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 1rem; align-items: end; margin-bottom: 1.8rem; flex-wrap: wrap; }
.filters label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.filters select { min-width: 180px; }

/* ---------- Snake detail ---------- */
.snake-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; padding-top: 1.4rem; padding-bottom: 4rem; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { display: grid; place-items: center; color: var(--muted); }
.gallery-badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; flex-wrap: wrap; }
.thumb { width: 74px; height: 74px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent); }

.live-cam { margin-top: 1.4rem; }
.live-cam h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(248,113,113,0.5);} 70% { box-shadow: 0 0 0 10px rgba(248,113,113,0);} 100% { box-shadow: 0 0 0 0 rgba(248,113,113,0);} }
.embed-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.snake-info .detail-price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--accent); margin: 0.2rem 0 1rem; }
.detail-desc { color: var(--muted); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1.5rem; margin: 1.4rem 0; border-top: 1px solid var(--border); }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.spec-list dt { color: var(--muted); font-size: 0.9rem; margin: 0; }
.spec-list dd { margin: 0; text-align: right; font-weight: 500; }

/* ---------- Inquiry box / forms ---------- */
.inquiry-box { margin-top: 1.6rem; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.6rem; }
.inquiry-box h2 { font-size: 1.35rem; }
.form { display: grid; gap: 1rem; margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; }
.form .hint, .hint { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
input, select, textarea {
  font-family: var(--font); font-size: 0.98rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; padding: 0.72rem 0.85rem;
  width: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
textarea { resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238fa79b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2rem; }
.checkbox-label { flex-direction: row; align-items: center; gap: 0.6rem; }
.checkbox-label input { width: auto; }
.fineprint { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; gap: 0.8rem; margin-top: 0.5rem; }

/* ---------- Alerts ---------- */
.alert { padding: 0.9rem 1.1rem; border-radius: 12px; margin: 0 0 1rem; font-size: 0.92rem; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert-success { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--accent); }
.alert-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: var(--danger); }
.alert-info { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); color: var(--warn); }

/* ---------- Prose pages ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2rem; }
.prose p, .prose li { color: #cdd9d2; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.care-grid { margin-top: 0.5rem; }
.care-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.care-card h2 { margin-top: 0; font-size: 1.2rem; }
.care-card p { margin: 0; color: var(--muted); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 0.8rem; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.4rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; flex-direction: column; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.contact-list span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-list a { font-size: 1.05rem; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }

.empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius-lg); }
.empty p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 3rem 0 1.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-grid a { display: block; color: var(--muted); margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { margin-bottom: 0.8rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ---------- Error page ---------- */
.error-page { text-align: center; padding: 5rem 1rem; }
.error-mark { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ================= ADMIN ================= */
.admin-bar { background: var(--bg-2); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.admin-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(52,211,153,0.15); color: var(--accent); padding: 0.15rem 0.5rem; border-radius: 6px; margin-left: 0.5rem; }
.admin-nav { display: flex; align-items: center; gap: 1.2rem; }
.admin-nav a { color: var(--muted); font-size: 0.92rem; }
.admin-nav a:hover, .admin-nav a.active { color: var(--text); }
.inline-form { display: inline; margin: 0; }
.admin-main { padding: 2rem 0 4rem; }
.admin-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.admin-head h1 { margin-bottom: 0.2rem; }

.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 1.8rem; }
.stat-label { color: var(--muted); font-size: 0.85rem; }
.stat-link { color: var(--text); transition: border-color 0.2s; }
.stat-link:hover { border-color: var(--accent); color: var(--text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th, .admin-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table thead th { background: var(--surface-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.admin-table tbody tr:hover { background: var(--surface); }
.thumb-cell { width: 64px; }
.thumb-cell img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.thumb-empty { color: var(--border-2); }
.pill { font-size: 0.68rem; background: rgba(52,211,153,0.14); color: var(--accent); padding: 0.1rem 0.45rem; border-radius: 6px; margin-left: 0.4rem; }
.actions-cell { display: flex; gap: 0.5rem; justify-content: flex-end; }

.card-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.image-manager { margin-top: 2rem; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.image-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.image-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.image-item form { padding: 0.6rem; text-align: center; }

/* Admin login */
.admin-login-page { min-height: 80vh; display: grid; place-items: center; padding: 2rem; }
.login-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.login-brand { justify-content: center; margin-bottom: 1rem; }
.login-card h1 { font-size: 1.6rem; text-align: center; }
.login-card > .muted { text-align: center; }

/* Inquiries */
.inquiry-list { display: grid; gap: 1rem; }
.inquiry-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; }
.inquiry-card.status-new { border-left: 3px solid var(--accent); }
.inquiry-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.inquiry-top h3 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 0.6rem; }
.badge-inq { text-transform: capitalize; }
.inquiry-fields { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0.8rem 0; font-size: 0.92rem; color: #cdd9d2; }
.inquiry-message { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem 1rem; color: #cdd9d2; white-space: pre-wrap; }
.inquiry-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.status-form select { min-width: 150px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 300px; }
  .grid-cards, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .snake-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0.5rem 22px 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .site-nav a.nav-cta { text-align: center; margin-top: 0.6rem; border: 0; }
  .grid-cards, .grid-3, .grid-2, .care-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; align-items: start; }
}
