/* ===== VARIABLES ===== */
:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --purple: #A55EEA;
  --dark: #2C2C54;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #666666;
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-about: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --gradient-videos: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
  --gradient-contact: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  --shadow: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.hippo-emoji {
  font-size: 1.8rem;
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -80px;
  left: -80px;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--white);
  top: 50%;
  left: 10%;
  animation: float 5s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

.avatar {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.highlight {
  color: var(--accent);
  position: relative;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--white);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  background: var(--accent);
}

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.title-icon {
  margin-right: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--gradient-about);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-avatar {
  font-size: 5rem;
  flex-shrink: 0;
  line-height: 1;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.placeholder-hint {
  background: #fff9e6;
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem !important;
  color: var(--text-light) !important;
}

.fun-facts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.fact-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: default;
}

.fact-card:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.fact-icon {
  font-size: 1.2rem;
}

/* ===== VIDEOS ===== */
.videos-section {
  background: var(--gradient-videos);
}

.videos-section .section-title,
.videos-section .section-subtitle {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.playlist-link {
  text-align: center;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--gradient-contact);
}

.contact-section .section-title,
.contact-section .section-subtitle {
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(78,205,196,0.15);
}

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

.contact-form .btn-primary {
  background: var(--gradient-hero);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.contact-form .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.form-notice {
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  min-height: 1.5rem;
}

.form-notice.success {
  color: #27ae60;
}

.form-notice.error {
  color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 2rem;
}

.footer strong {
  color: var(--accent);
}

.footer-year {
  font-size: 0.85rem;
  margin-top: 0.3rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 1.2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .about-avatar {
    font-size: 4rem;
  }

  .fun-facts {
    justify-content: center;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .avatar {
    font-size: 4.5rem;
  }
}
