/* ============================================
   COFFEE WITCH — Premium café website
   Dark chocolate & gold, witchcore, mobile-first
   ============================================ */

/* --- Variables --- */
:root {
  --bg-dark: #0d0a08;
  --bg-chocolate: #1a120b;
  --bg-card: #251a12;
  --black: #0a0806;
  --gold: #c9a227;
  --gold-light: #e5c76b;
  --gold-glow: rgba(201, 162, 39, 0.4);
  --gold-glow-soft: rgba(201, 162, 39, 0.15);
  --text: #e8e4df;
  --text-muted: #a89f94;
  --border: rgba(201, 162, 39, 0.2);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-glow: 0 0 20px var(--gold-glow-soft);
  --transition: 0.25s ease;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-chocolate);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition), box-shadow var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0 0 0.5em; }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
}
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}
.content-block p { margin: 0 0 1rem; }
.content-block p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  min-height: 48px;
}
.btn-glow {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-glow:hover {
  box-shadow: 0 0 24px var(--gold-glow), 0 0 48px var(--gold-glow-soft);
  transform: translateY(-1px);
}
.btn-glow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}
.btn-sm { padding: 0.5rem 1rem; min-height: 40px; font-size: 0.9rem; }
.btn-social {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  margin: 0.25rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 10, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}



.logo { display: inline-block; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.logo:hover .logo-text { color: var(--gold); }

/* Nav */
.nav-list {
  display: none;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nav-list { display: flex; }
}
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.25rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--gold-light);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* Mobile menu */
.nav-list.open {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--bg-chocolate);
  padding: 2rem;
}
.nav-list.open .nav-link { font-size: 1.25rem; }

/* Lang switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
}
.lang-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--gold-light); }
.lang-btn.active, .lang-btn[aria-pressed="true"] {
  color: var(--black);
  background: var(--gold);
}
.lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --- Main padding for fixed header --- */
main { padding-top: var(--header-h); min-height: 100vh; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1920&q=80') center/cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,8,0.7) 0%, rgba(26,18,11,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 640px;
}
.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  text-shadow: 0 0 40px var(--gold-glow-soft);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-content .btn { margin-bottom: 2rem; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-icon {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* --- Page hero (inner pages) --- */
.page-hero {
  position: relative;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--gold-glow-soft) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-chocolate) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* --- Sections --- */
.section { padding: 3rem 0; }
@media (min-width: 768px) {
  .section { padding: 4rem 0; }
}
.philosophy .philosophy-text {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--text-muted);
}
.philosophy .btn { display: block; margin: 0 auto; }

/* Grid */
.grid-2 {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* --- Menu hits (home) --- */
.menu-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .menu-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .menu-cards { grid-template-columns: repeat(3, 1fr); }
}
.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.menu-card:hover {
  box-shadow: 0 0 30px var(--gold-glow-soft);
  transform: translateY(-4px);
}
.menu-card-image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-card-img { transform: scale(1.05); }
.menu-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--black);
  border-radius: 4px;
}
.menu-card-content { padding: 1.25rem; }
.menu-card-title { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--gold-light); }
.menu-card-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.menu-hits .btn { display: block; margin: 0 auto; }

/* --- CTA --- */
.cta {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, var(--gold-glow-soft) 50%, transparent 100%);
}
.cta-text { max-width: 480px; margin: 0 auto 1.5rem; color: var(--text-muted); }

/* --- Menu page --- */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.menu-tab {
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.menu-tab:hover { color: var(--gold-light); border-color: var(--gold); }
.menu-tab.active {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}
.menu-category.hidden { display: none; }
.category-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}
.menu-list { display: flex; flex-direction: column; gap: 0.75rem; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.menu-item:hover { box-shadow: var(--shadow-glow); }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-name { display: block; font-weight: 500; color: var(--text); }
.menu-item-desc { font-size: 0.9rem; color: var(--text-muted); }
.menu-item-price { font-family: var(--font-heading); color: var(--gold); font-weight: 600; white-space: nowrap; }

/* --- Blog --- */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 0 30px var(--gold-glow-soft);
  transform: translateY(-4px);
}
.blog-card-link { display: block; color: inherit; }
.blog-card-link:hover { color: inherit; }
.blog-card-image-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image-wrap img { transform: scale(1.05); }
.blog-card-date {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: var(--gold-light);
}
.blog-card-content { padding: 1.25rem; }
.blog-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
}
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* --- Article --- */
.article-page { padding-bottom: 3rem; }
.article-header { padding: 2rem 1.5rem; text-align: center; }
.article-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.article-back:hover { color: var(--gold); }
.article-date { display: block; font-size: 0.9rem; color: var(--gold); margin-bottom: 0.5rem; }
.article-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  color: var(--text);
}
.article-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.article-featured-image {
  width: 100%;
  max-height: 50vh;
  overflow: hidden;
  margin-bottom: 2rem;
}
.article-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body .content-block { margin-bottom: 2rem; }
.article-body .btn { display: inline-block; }

/* --- About --- */
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-image-wrap img { width: 100%; height: auto; }
.about-content .section-title { text-align: left; }
.about-concept-text { max-width: 720px; margin: 0 auto 2rem; color: var(--text-muted); }
.about-features {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .about-features { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-glow); }
.feature-icon { display: block; font-size: 1.5rem; color: var(--gold); margin-bottom: 0.5rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--gold-light); }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* --- Contacts --- */
.contacts-address { font-style: normal; margin-bottom: 1.5rem; }
.contacts-street, .contacts-hours, .contacts-phone { margin: 0 0 0.5rem; }
.contacts-phone a { color: var(--gold-light); }
.contacts-social-title { margin-bottom: 0.75rem; font-size: 1rem; color: var(--gold-light); }
.social-links-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contacts-map-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

/* --- Footer --- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    text-align: left;
  }
  .footer-copy { grid-column: 1 / -1; text-align: center; margin-top: 0.5rem; }
}
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin: 0.25rem 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-nav a { color: var(--text-muted); }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.footer-social .social-link { font-size: 0.9rem; color: var(--text-muted); }
.footer-social .social-link:hover { color: var(--gold); }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-chocolate);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bean {
  width: 48px;
  height: 48px;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, var(--gold) 0%, var(--gold-light) 50%, transparent 70%);
  border-radius: 50%;
  animation: beanPulse 1.2s ease-in-out infinite;
}
.loader.done .loader-bean {
  animation: beanToStar 0.6s ease-out forwards;
}
@keyframes beanPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}
@keyframes beanToStar {
  0% { transform: scale(1); background: radial-gradient(ellipse 60% 100% at 50% 50%, var(--gold) 0%, var(--gold-light) 50%, transparent 70%); border-radius: 50%; }
  50% { transform: scale(1.2); background: var(--gold-glow); border-radius: 30%; }
  100% { transform: scale(1.5); opacity: 0; background: var(--gold-glow); border-radius: 0; box-shadow: 0 0 60px var(--gold-glow); }
}
.loader-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Particles --- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 15s linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* --- Cursor trail (dots created by JS) --- */
.cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
  box-shadow: 0 0 8px var(--gold-glow-soft);
}

/* --- Sound toggle button --- */
.sound-toggle {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(13, 10, 8, 0.85);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  opacity: 0.75;
}
.sound-toggle:hover {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow-soft);
  transform: translateY(-1px);
}
.sound-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.sound-toggle.active {
  background: radial-gradient(circle at 30% 0%, var(--gold-glow-soft) 0%, rgba(13, 10, 8, 0.95) 60%);
  color: var(--gold);
  border-color: var(--gold);
  opacity: 1;
}
.sound-toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
}
@media (max-width: 480px) {
  .sound-toggle {
    left: 0.75rem;
    bottom: 0.75rem;
    width: 40px;
    height: 40px;
  }
}

/* --- Scroll animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.hidden { display: none !important; }

/* --- Admin --- */
.admin-page .header { display: none; }
.admin-page main { padding-top: 0; }
.particles-admin .particle { opacity: 0.08; }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}
.admin-login-card {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 0 40px var(--gold-glow-soft);
}
.admin-login-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.admin-login-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.admin-form .admin-label { display: block; margin-bottom: 0.35rem; color: var(--text-muted); font-size: 0.9rem; }
.admin-form .admin-input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}
.admin-form .admin-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow-soft);
}
.admin-submit { width: 100%; margin-top: 0.5rem; }
.admin-error { color: #c75c5c; font-size: 0.9rem; margin-bottom: 0.5rem; }

.admin-panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-bottom: 3rem;
}
.admin-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-main { padding: 2rem 0; }
.admin-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 640px;
}
.admin-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.admin-section h3 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--gold-light); }
.admin-form-group { margin-bottom: 1rem; }
.admin-form-group:last-child { margin-bottom: 0; }
.admin-label { display: block; margin-bottom: 0.35rem; color: var(--text-muted); font-size: 0.9rem; }
.admin-input-wide, .admin-textarea { width: 100%; max-width: 560px; }
.admin-input, .admin-textarea {
  padding: 0.6rem 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}
.admin-textarea { min-height: 100px; resize: vertical; }
.admin-input:focus, .admin-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.admin-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.admin-status { font-size: 0.9rem; color: var(--gold); margin-top: 0.5rem; }

/* --- Responsive tweaks --- */
@media (max-width: 767px) {
  .menu-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .article-featured-image { max-height: 40vh; }
}
@media (max-width: 480px) {
  .lang-switcher .lang-btn { padding: 0.3rem 0.5rem; font-size: 0.75rem; }
  .hero-content .btn, .cta .btn { width: 100%; }
}
