/* ================================================
   ZVEZDA.BG — Main Styles
   ================================================ */

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: 'Chillax', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.site-logo svg { flex-shrink: 0; }

.logo-tagline {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.nav-links a:hover {
  color: var(--color-primary);
  background: var(--color-surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
}

.theme-toggle:hover { color: var(--color-primary); background: var(--color-primary-highlight); }

.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  align-items: center; justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4);
    gap: var(--space-2);
    box-shadow: var(--shadow-md);
  }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0b0e24 0%, #1a2270 50%, #2243c7 100%);
  color: white;
  padding-block: clamp(var(--space-16), 12vw, var(--space-24));
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,202,40,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107,141,245,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.star-dot {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-star);
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: var(--space-6);
  color: white;
}

.hero h1 .accent {
  color: var(--color-star);
  display: block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  margin-top: var(--space-16);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Chillax', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-star);
  display: block;
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- ZVEZDA NA DENA (Star of the Day) ---- */
.star-of-day {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border-bottom: 1px solid var(--color-divider);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 540px;
  margin-inline: auto;
}

/* Featured star card */
.featured-star-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .featured-star-card { grid-template-columns: 1fr; }
}

.featured-star-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2270, #2243c7);
}

.featured-star-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.featured-crown {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-gold);
  color: #12153a;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.featured-star-info {
  padding: var(--space-8);
}

.featured-category {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.featured-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.featured-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.featured-achievement {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.vote-widget {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-gold);
  color: #12153a;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: var(--text-sm);
  cursor: pointer;
  border: none;
}

.vote-btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.vote-btn.voted {
  background: var(--color-success);
  color: white;
}

.vote-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.vote-count strong {
  color: var(--color-text);
}

/* ---- TALENT GRID ---- */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.talent-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.talent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.talent-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface-offset));
}

.talent-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.talent-card:hover .talent-card-media img {
  transform: scale(1.05);
}

.talent-cat-icon {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.talent-card-body {
  padding: var(--space-5);
}

.talent-card-name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.talent-card-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.talent-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.talent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-vote-btn {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--color-gold-highlight);
  color: var(--color-gold-active);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.mini-vote-btn:hover {
  background: var(--color-gold);
  color: #12153a;
}

.mini-vote-btn.voted {
  background: var(--color-success);
  color: white;
}

/* ---- CATEGORIES ---- */
.categories-section { background: var(--color-bg); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
}

.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.cat-emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  display: block;
}

.cat-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.cat-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- HALL OF FAME ---- */
.hall-of-fame {
  background: linear-gradient(160deg, #0b0e24 0%, #1a2270 60%, #0b1640 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hall-of-fame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,202,40,0.08) 0%, transparent 60%);
}

.hof-title {
  font-size: var(--text-2xl);
  color: var(--color-star);
  text-align: center;
  margin-bottom: var(--space-3);
}

.hof-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-12);
}

.hof-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hof-tab {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.hof-tab.active, .hof-tab:hover {
  background: var(--color-gold);
  color: #12153a;
  border-color: var(--color-gold);
}

.hof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-5);
}

.hof-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.hof-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
}

.hof-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-3);
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 20px var(--color-star-glow);
}

.hof-medal {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-2);
}

.hof-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
  margin-bottom: var(--space-1);
}

.hof-talent {
  font-size: var(--text-xs);
  color: var(--color-star);
  margin-bottom: var(--space-1);
}

.hof-period {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

/* ---- AI ASSISTANT ZVEZDICKO ---- */
.zvezdicko-section {
  background: linear-gradient(135deg, var(--color-primary-highlight) 0%, var(--color-surface) 100%);
  border-top: 1px solid var(--color-divider);
}

.zvezdicko-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 960px) {
  .zvezdicko-wrapper { grid-template-columns: 1fr; }
}

.zvezdicko-intro h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.zvezdicko-intro p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.zvezdicko-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.zvezdicko-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.zvezdicko-features li::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.7rem;
  margin-top: 0.35em;
  flex-shrink: 0;
}

/* Chat widget */
.zvezdicko-chat {
  min-width: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chat-header {
  background: linear-gradient(135deg, var(--color-primary), #1a2270);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: white;
}

.chat-avatar {
  width: 40px; height: 40px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.chat-name {
  font-weight: 700;
  font-size: var(--text-sm);
  display: block;
}

.chat-status {
  font-size: var(--text-xs);
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.chat-status::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.chat-messages {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 220px;
}

.chat-msg {
  max-width: 85%;
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
}

.chat-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chat-msg--bot .chat-bubble {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-bottom-left-radius: var(--radius-sm);
}

.chat-msg--user .chat-bubble {
  background: var(--color-primary);
  color: white;
  border-bottom-right-radius: var(--radius-sm);
}

.chat-input-row {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-2);
}

.chat-input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.chat-send-btn:hover {
  background: var(--color-primary-hover);
}

/* ---- PARTICIPATION CTA ---- */
.participate-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2270 100%);
  color: white;
  text-align: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  position: relative;
  overflow: hidden;
}

.participate-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,202,40,0.12) 0%, transparent 60%);
}

.cta-content { position: relative; z-index: 1; }

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-star);
  margin-bottom: var(--space-6);
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: white;
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.cta-steps {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.cta-step {
  text-align: center;
  max-width: 160px;
}

.cta-step-num {
  width: 48px; height: 48px;
  background: var(--color-gold);
  color: #12153a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Chillax', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto var(--space-3);
}

.cta-step-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
}

/* ---- TALENT MAP ---- */
.map-placeholder {
  background: var(--color-surface-2);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-xl);
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  gap: var(--space-4);
  font-size: var(--text-sm);
}

.map-placeholder .map-icon { font-size: 3rem; }

/* ---- FOOTER ---- */
.site-footer {
  background: linear-gradient(180deg, #0b0e24 0%, #070a1a 100%);
  color: rgba(255,255,255,0.6);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-3);
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Chillax', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal {
  font-size: var(--text-xs);
  display: flex;
  gap: var(--space-4);
}

.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--color-gold); }

/* ---- MODALS ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition);
  position: relative;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}

.modal-close:hover { background: var(--color-surface-offset); color: var(--color-text); }

.modal h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.modal p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

.form-textarea { resize: vertical; min-height: 100px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* ---- NOTIFICATION TOAST ---- */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: var(--text-sm);
  max-width: 320px;
}

.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ---- VIRTUAL CERTIFICATE ---- */
.certificate {
  background: linear-gradient(135deg, #fffbf0, #fff8e7);
  border: 3px solid var(--color-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.certificate::before {
  content: '★';
  position: absolute;
  top: -20px; right: -20px;
  font-size: 8rem;
  color: rgba(232,168,0,0.06);
  pointer-events: none;
}

.certificate-title {
  font-family: 'Chillax', sans-serif;
  font-size: var(--text-xl);
  color: var(--color-gold-active);
  margin-bottom: var(--space-2);
}

.certificate-name {
  font-family: 'Chillax', sans-serif;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* ---- PROTECTION BANNER ---- */
.protection-bar {
  background: var(--color-primary-highlight);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.protection-bar-icon { font-size: 1.5rem; flex-shrink: 0; }

.protection-bar h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-primary);
}

.protection-bar p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- OVERRIDE TT4 layout constraints ---- */
.wp-site-blocks,
.wp-site-blocks > *,
.entry-content,
.wp-block-post-content {
  max-width: 100% !important;
  padding-inline: 0 !important;
}

body {
  overflow-x: hidden;
}

/* Fix zvezdicko chat overflow */
.zvezdicko-section .container {
  overflow: hidden;
}

.zvezdicko-chat {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.wp-site-blocks, .wp-site-blocks > * { max-width: 100% !important; padding-inline: 0 !important; }
body { overflow-x: hidden; }
.zvezdicko-chat { max-width: 100%; min-width: 0; overflow: hidden; }

/* ---- OVERRIDE TT4 root padding ---- */
body {
  --wp--style--root--padding-right: 0px !important;
  --wp--style--root--padding-left: 0px !important;
}
.has-global-padding {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
:root :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Скриване на page title от TT4 */
.wp-block-post-title,
.entry-header .entry-title,
.page-header .page-title {
  display: none !important;
}

/* Скриване на header padding блока от TT4 FSE template */
.wp-block-template-part > .wp-block-group.has-base-background-color {
  display: none !important;
}

/* Премахване на горния padding в header от TT4 */
header.wp-block-template-part > .wp-block-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Скриване на spacer-ите около page title */
.wp-block-post-title ~ .wp-block-spacer,
.wp-block-spacer + .wp-block-post-title,
.entry-content > .wp-block-group > .wp-block-spacer {
  display: none !important;
}
/* Скриване на целия wrapper около page title */
.wp-block-group.has-global-padding > .wp-block-spacer,
main > .wp-block-group > .wp-block-spacer {
  display: none !important;
}

/* Премахване на br тагове между секциите */
.entry-content br,
.wp-block-post-content br {
  display: none;
}

.entry-content > br,.wp-block-post-content > br{display:none;}
/* Текстът за секцията "Запознай се със Звездичко" да стане светъл */
.zvezdichko-intro,
.zvezdichko-intro p,
.zvezdichko-intro li {
  color: #f5f5ff !important;
}

.zvezdichko-intro h2 {
  color: #ffffff !important;
}

/* ---- SINGLE TALENT PAGE ---- */
.talent-single-page { padding: var(--space-12) 0; background: var(--color-bg); min-height: 60vh; }
.talent-single-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
@media(max-width:720px){ .talent-single-card { grid-template-columns: 1fr; } }
.talent-single-media img { width:100%; height:100%; object-fit:cover; min-height:360px; }
.talent-single-placeholder { width:100%; min-height:360px; display:flex; align-items:center; justify-content:center; font-size:6rem; background:linear-gradient(135deg,#1a2270,#2243c7); }
.talent-single-info { padding: var(--space-8); }
.talent-single-cat { display:inline-block; background:var(--color-primary-highlight); color:var(--color-primary); padding:var(--space-1) var(--space-3); border-radius:var(--radius-full); font-size:var(--text-xs); font-weight:700; margin-bottom:var(--space-4); }
.talent-single-info h1 { font-size:var(--text-2xl); margin-bottom:var(--space-3); color:var(--color-text); }
.talent-single-meta { display:flex; gap:var(--space-4); font-size:var(--text-sm); color:var(--color-text-muted); margin-bottom:var(--space-6); }
.talent-single-content { font-size:var(--text-base); color:var(--color-text-muted); line-height:1.8; }
