:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #ffe66d;
  --text-color: #2d3436;
  --bg-color: #f7f1e3;
  --card-bg: rgba(255, 255, 255, 0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(78, 205, 196, 0.25),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 107, 107, 0.25),
      transparent 25%
    );
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fun Floating Shapes Animation */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  font-size: 3rem;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.shape-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.shape-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
  font-size: 4rem;
}
.shape-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}
.shape-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
  font-size: 3.5rem;
}
.shape-5 {
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

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

/* Header & Typography */
header.hero {
  text-align: center;
  padding: 8rem 1rem 2rem; /* Increased top padding so content is below the logo menu */
  animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-wrapper {
  position: absolute;
  top: 1rem; /* Moved closer to top corner */
  left: 1rem; /* Moved closer to left corner */
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
}

.main-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  transition:
    color 0.2s,
    transform 0.2s;
}

.main-nav a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.main-nav .separator {
  color: #ccc;
  font-weight: 400;
}

.title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.bunny-bg {
  position: absolute;
  font-size: 7.5rem;
  top: -3.5rem;
  left: -5rem;
  opacity: 1;
  z-index: -1;
  transform: rotate(-15deg);
  animation: hop 2s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes hop {
  0% {
    transform: rotate(-15deg) translateY(0);
  }
  100% {
    transform: rotate(-10deg) translateY(-15px);
  }
}

.title {
  font-family: "Fredoka", sans-serif;
  font-size: 4.5rem;
  color: var(--primary-color);
  text-shadow:
    4px 4px 0px var(--accent-color),
    8px 8px 0px rgba(0, 0, 0, 0.1);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.3s;
  position: relative;
}

.title:hover {
  transform: scale(1.05) rotate(-2deg);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  background: white;
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--accent-color);
  position: relative;
}

/* Main Content Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

/* Video Cards */
.video-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 5px solid white;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-card.landscape {
  border-color: var(--secondary-color);
}
.video-card.portrait {
  border-color: var(--primary-color);
}

.card-header h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-align: center;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: #000;
  margin: 0 auto;
}

.landscape-video {
  aspect-ratio: 16 / 9;
}

.portrait-video {
  max-width: 360px;
  aspect-ratio: 9 / 16;
}

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

/* Projects Section */
.projects-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 1rem 2rem;
  flex-wrap: wrap;
}

.project-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 2rem 3rem;
  border-radius: 25px;
  background: white;
  min-width: 220px;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  border: 4px solid var(--accent-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.project-link:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  border-color: var(--primary-color);
}
.btn-secondary {
  border-color: var(--secondary-color);
}

.project-icon {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.project-link:hover .project-icon {
  transform: rotate(10deg) scale(1.1);
}

.project-name {
  font-family: "Fredoka", sans-serif;
  font-size: 1.8rem;
  color: var(--text-color);
  font-weight: 700;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a4b0be;
  font-family: "Fredoka", sans-serif;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  .title {
    font-size: 3rem;
    text-shadow: 3px 3px 0px var(--accent-color);
  }
  .subtitle {
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
  }
  .card-header h2 {
    font-size: 1.6rem;
  }
  .video-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  .shape {
    transform: scale(0.6);
  }
}
