/*
Theme Name: NomNomChicks
Theme URI: https://nomnomchicks.com
Author: LiveAndFeed
Description: Cute, candy-colored theme for NomNomChicks live feeding channel
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --pink:       #FF6B9D;
  --pink-light: #FFD6E7;
  --yellow:     #FFD93D;
  --yellow-light: #FFF8CC;
  --mint:       #6BCB77;
  --mint-light: #D4F5D8;
  --purple:     #C77DFF;
  --purple-light: #EFD6FF;
  --orange:     #FF9A3C;
  --bg:         #FFF5F9;
  --white:      #FFFFFF;
  --text:       #3D2C3E;
  --text-soft:  #8A6E8B;
  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 8px 30px rgba(255,107,157,0.15);
  --shadow-lg:  0 16px 50px rgba(255,107,157,0.25);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--purple); }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--pink-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(255,107,157,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--pink);
  text-decoration: none;
}
.site-logo .logo-emoji {
  font-size: 2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--text);
  transition: all 0.2s;
}
.site-nav a:hover {
  background: var(--pink-light);
  color: var(--pink);
}
.site-nav .nav-live {
  background: var(--pink);
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav .nav-live:hover {
  background: var(--purple);
  color: var(--white) !important;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--yellow-light) 50%, var(--mint-light) 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '🐣🐥🌻🥚🐥🌈🐣';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  font-size: 1.5rem;
  letter-spacing: 20px;
  opacity: 0.3;
}
.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--pink);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 3px 3px 0 var(--pink-light);
}
.hero-title span { color: var(--yellow); -webkit-text-stroke: 2px var(--orange); }
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-emojis {
  font-size: 3rem;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero-emojis span { display: inline-block; animation: wobble 3s infinite; }
.hero-emojis span:nth-child(2) { animation-delay: 0.3s; }
.hero-emojis span:nth-child(3) { animation-delay: 0.6s; }
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-10deg); }
  75%       { transform: rotate(10deg); }
}
.hero-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
}
.hero-btn:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(199,125,255,0.35);
}

/* ===== SECTION BASE ===== */
.section { padding: 60px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ===== LIVE SECTION ===== */
.section-live { background: var(--white); }
.section-live .section-title { color: var(--pink); }

.live-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.live-badge.is-live {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 0 20px rgba(255,107,157,0.5);
}
.live-badge.is-live .live-dot { background: var(--white); }
.live-badge.is-offline {
  background: var(--pink-light);
  color: var(--text-soft);
}
.live-badge.is-offline .live-dot {
  background: var(--text-soft);
  animation: none;
}

.live-info-box {
  background: linear-gradient(135deg, var(--yellow-light), var(--pink-light));
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 24px;
  border: 2px solid var(--yellow);
  text-align: center;
}
.live-info-box .live-what {
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 4px;
}
.live-info-box .live-next {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.live-embed {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pink-light);
}
.live-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.live-placeholder {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 4px dashed var(--pink);
}
.live-placeholder .placeholder-emoji { font-size: 4rem; }
.live-placeholder p {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--text-soft);
}

/* ===== SHORTS SECTION ===== */
.section-shorts { background: var(--bg); }
.section-shorts .section-title { color: var(--purple); }

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.short-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.short-card:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: var(--shadow-lg);
}
.short-card .short-thumb {
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, var(--yellow-light), var(--mint-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.short-card .short-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}
.short-card .short-label {
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  text-align: center;
}

/* ===== NEWSLETTER ===== */
.section-newsletter {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
}
.section-newsletter .section-title { color: var(--purple); }

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 3px solid var(--purple-light);
}
.newsletter-emoji { font-size: 3rem; margin-bottom: 16px; display: block; }
.newsletter-box h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 8px;
}
.newsletter-box p {
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 2px solid var(--purple-light);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--purple);
}
.newsletter-form input[type="email"]::placeholder { color: var(--text-soft); }
.btn-subscribe {
  background: var(--purple);
  color: var(--white);
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-subscribe:hover {
  background: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.newsletter-privacy {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ===== GDPR ===== */
.gdpr-consent {
  margin-top: 16px;
  text-align: left;
}
.gdpr-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.gdpr-label input[type="checkbox"] { display: none; }
.gdpr-checkmark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--purple-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: transparent;
  background: var(--white);
  transition: all 0.2s;
  margin-top: 1px;
}
.gdpr-label input[type="checkbox"]:checked + .gdpr-checkmark {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--white);
}
.gdpr-label:hover .gdpr-checkmark { border-color: var(--purple); }
.gdpr-text {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.gdpr-text a {
  color: var(--purple);
  text-decoration: underline;
  font-weight: 700;
}
.gdpr-text a:hover { color: var(--pink); }
.gdpr-info {
  background: var(--bg);
  border: 1px solid var(--purple-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 16px;
  text-align: left;
}
.gdpr-info strong { color: var(--text); }

/* ===== STRONY PRAWNE ===== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-inner h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--pink);
  margin-bottom: 4px;
}
.legal-date {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 36px;
}
.legal-inner h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--purple);
  margin-top: 32px;
  margin-bottom: 10px;
}
.legal-inner p, .legal-inner li {
  line-height: 1.7;
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.legal-inner ul, .legal-inner ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal-inner a { color: var(--purple); text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: var(--pink-light);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
}
.footer-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--pink);
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--pink-light);
  font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy { color: #8A6E8B; font-size: 0.82rem; }

/* ===== ADMIN NOTICE ===== */
.setup-notice {
  background: var(--yellow-light);
  border: 2px dashed var(--yellow);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  margin: 12px auto;
  max-width: 800px;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hero { padding: 40px 20px; }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input[type="email"] { width: 100%; }
}
@media (max-width: 480px) {
  .shorts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
