@font-face {
  font-family: "alibaba";
  src: url("../font/regular.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "alibaba";
  src: url("../font/bold.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "alibaba";
  src: url("../font/black.woff2");
  font-weight: 900;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  font-family: "alibaba";
  -webkit-user-drag: none;
  -moz-user-select: none;
  user-select: none;
}

body {
  background: #f5f0e8;
  color: #1a1a1a;
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Hero Section - Neo Brutalism */
.hero-section {
  background: #ffd93d;
  border: 4px solid #1a1a1a;
  border-radius: 0;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 10px 10px 0 #1a1a1a;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  display: inline-block;
  background: #1a1a1a;
  color: #ffd93d;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
  border: 3px solid #1a1a1a;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
  margin: 0.5rem 0;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 rgba(26, 26, 26, 0.2);
}

.hero-slogan {
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 600;
  background: white;
  padding: 0.5rem 1rem;
  border: 3px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  width: fit-content;
}

.hero-slogan img {
  width: 26px;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 0.5rem 1.5rem;
  border: 3px solid #1a1a1a;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-box {
  background: white;
  border: 4px solid #1a1a1a;
  padding: 2rem;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 0 #1a1a1a;
  transform: rotate(3deg);
  position: relative;
  overflow: hidden;
}

.illustration-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.wave-emoji {
  animation: float 2s ease-in-out infinite;
}

.wave-emoji img {
  width: 80px;
}

.sound-waves {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}

.sound-waves span {
  display: block;
  width: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  animation: wave 1s ease-in-out infinite;
}

.sound-waves span:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}
.sound-waves span:nth-child(2) {
  height: 35px;
  animation-delay: 0.2s;
}
.sound-waves span:nth-child(3) {
  height: 45px;
  animation-delay: 0.4s;
}
.sound-waves span:nth-child(4) {
  height: 30px;
  animation-delay: 0.6s;
}
.sound-waves span:nth-child(5) {
  height: 15px;
  animation-delay: 0.8s;
}

.record-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ff6b6b;
  border: 4px solid #1a1a1a;
  margin-top: 0.5rem;
  animation: spin 3s linear infinite;
  transition: transform 0.2s;
  cursor: pointer;
}

.record-circle:hover {
  transform: scale(1.1);
}

.record-circle:active {
  transform: scale(0.9);
}

.easter-egg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Filter Form - Neo Brutalism */
.filter-form {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border: 4px solid #1a1a1a;
  box-shadow: 10px 10px 0 #1a1a1a;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.form-group input {
  flex: 1 1 180px;
  padding: 0.7rem 1rem;
  border: 3px solid #1a1a1a;
  font-family: inherit;
  font-size: 0.9rem;
  background: #f9f6f0;
  transition: 0.1s;
  outline: none;
  color: #1a1a1a;
  height: 50px;
}

.form-group input:focus {
  background: #ffffff;
  box-shadow: 4px 4px 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.custom-select-wrapper {
  flex: 1 1 160px;
  position: relative;
}

.custom-select-wrapper::after {
  content: "▾";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a1a1a;
  font-size: 0.8rem;
  pointer-events: none;
}

.custom-select {
  width: 100%;
  height: 50px;
  padding: 0.7rem 1rem;
  padding-left: 2.5rem;
  border: 3px solid #1a1a1a;
  font-family: inherit;
  font-size: 0.9rem;
  background: #f9f6f0;
  transition: 0.1s;
  outline: none;
  color: #1a1a1a;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-select:focus {
  background: #ffffff;
  box-shadow: 4px 4px 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.custom-select option {
  padding: 0.5rem;
}

.form-group button {
  padding: 0.7rem 1.8rem;
  background: #1a1a1a;
  color: white;
  border: 3px solid #1a1a1a;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.1s;
  white-space: nowrap;
  height: 50px;
}

.form-group button:hover {
  background: #ff6b6b;
  color: #1a1a1a;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #1a1a1a;
}

.divider {
  border: none;
  border-top: 4px solid #1a1a1a;
  margin: 1.5rem 0 1.75rem;
  margin-right: -10px;
}

/* Cards - Neo Brutalism */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 1.5rem;
}

.card {
  background: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: 0.1s;
  border: 4px solid #1a1a1a;
  box-shadow: 10px 10px 0 #1a1a1a;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 #1a1a1a;
}

.card-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: #e8e0d6;
  border: 3px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image-placeholder {
  font-size: 2.5rem;
  color: #1a1a1a;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.card-meta span:first-child {
  background: #ffd93d;
  padding: 0.05rem 0.7rem;
  border: 2px solid #1a1a1a;
  font-weight: 600;
}

.card-date {
  font-size: 0.8rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #1a1a1a;
  background: #ffffff;
  border: 4px solid #1a1a1a;
  box-shadow: 10px 10px 0 #1a1a1a;
}

/* Footer Cards - Neo Brutalism */
.footer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.footer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  text-decoration: none;
  color: #1a1a1a;
  transition: 0.1s;
  border: 4px solid #1a1a1a;
  box-shadow: 10px 10px 0 #1a1a1a;
}

.footer-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 #1a1a1a;
}

.youtube-card:hover {
  background: #ffd93d;
}

.rss-card:hover {
  background: #ffd93d;
}

.footer-card-icon {
  flex-shrink: 0;
}

.footer-card-icon img {
  width: 50px;
}

.footer-card-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.footer-card-content p {
  font-size: 0.85rem;
  color: #1a1a1a;
  margin: 0;
}

/* Latest Video Section */
.latest-video-section {
    margin-bottom: 2rem;
}

.latest-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.latest-video-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
}

.view-all-btn {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 3px solid #1a1a1a;
    transition: 0.1s;
}

.view-all-btn:hover {
    background: #ffd93d;
    color: #1a1a1a;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #1a1a1a;
}

.latest-video-card {
    background: #ffffff;
    border: 4px solid #1a1a1a;
    box-shadow: 10px 10px 0 #1a1a1a;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.latest-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #1a1a1a;
}

.latest-video-wrapper iframe,
.latest-video-wrapper .aparat-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.latest-video-wrapper .aparat-embed > div {
    width: 100%;
    height: 100%;
}

.latest-video-wrapper .aparat-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.latest-video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-video-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.latest-video-info h3 a {
    text-decoration: none;
    color: #1a1a1a;
    transition: 0.1s;
}

.latest-video-info h3 a:hover {
    color: #ff6b6b;
}

.latest-video-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.latest-video-meta span {
    background: #ffd93d;
    padding: 0.05rem 0.7rem;
    border: 2px solid #1a1a1a;
    font-weight: 600;
}

.latest-video-meta span:nth-child(2) {
    background: unset;
    border: unset;
    padding: 0;
}

.latest-video-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 3px solid #1a1a1a;
    transition: 0.1s;
    text-align: center;
    width: fit-content;
}

.latest-video-link:hover {
    background: #ffd93d;
    color: #1a1a1a;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #1a1a1a;
}

@media (max-width: 768px) {
    .latest-video-card {
        grid-template-columns: 1fr;
    }

    .latest-video-info {
        padding: 1rem;
    }

    .latest-video-header {
        flex-direction: row;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-illustration {
    order: -1;
  }

  .illustration-box {
    max-width: 250px;
    padding: 1.5rem;
    margin-bottom: 20px;
  }

  .illustration-content {
    gap: 7px;
  }

  .wave-emoji {
    font-size: 3rem;
  }

  .record-circle {
    width: 35px;
    height: 35px;
  }

  .sound-waves span {
    width: 4px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 1.5rem;
    box-shadow: 8px 8px 0 #1a1a1a;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stat {
    padding: 0.3rem 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .filter-form {
    padding: 1rem 1.25rem;
  }

  .form-group input,
  .custom-select-wrapper {
    flex: 1 1 100%;
  }

  .form-group button {
    width: 100%;
    justify-content: center;
    padding: 0.7rem;
  }

  .card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .card-image {
    width: 100%;
    height: 100%;
  }

  .footer-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-card {
    padding: 1rem 1.25rem;
    box-shadow: 4px 4px 0 #1a1a1a;
  }

  .footer-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #1a1a1a;
  }
}
