:root {
  --bg: #111012;
  --panel: #1f1d21;
  --text-primary: #f4f4f5;
  --text-secondary: #d6d6db;
  --button-bg: rgba(255, 255, 255, 0.88);
  --button-icon: #1c1c1f;
  --button-bg-pressed: rgba(0, 0, 0, 0.78);
  --button-icon-pressed: #f6f6f8;
  --shadow-strong: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.32);
  --corner: 28px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 165, 0, 0.08), transparent 32%),
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.05), transparent 30%),
              var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
}

.app {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.shell {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border-radius: var(--corner);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero {
  position: relative;
  height: 280px;
  border-radius: 0 0 var(--corner) var(--corner);
  overflow: hidden;
  background: var(--panel);
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(10px);
  opacity: 0.6;
  transform: scale(1.06);
  pointer-events: none;
}

.hero__actions {
  position: absolute;
  inset: 16px 16px auto 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.hero__action {
  --press-scale: 1;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--button-bg);
  color: var(--button-icon);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
  transform: translateX(0) scale(var(--press-scale));
}

.hero__action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero__action.is-pressing {
  background: var(--button-bg-pressed);
  color: var(--button-icon-pressed);
  --press-scale: 0.96;
}

.hero__action img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero__bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero__bottom::before {
  content: none;
}

.hero__bottom::after {
  content: none;
}

.hero__bottom > * {
  position: relative;
  z-index: 1;
}

.hero__content {
  width: 100%;
  padding: 40px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  gap: 12px;
  pointer-events: auto;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  height: 100%;
}

.hero__title {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.5;
  padding: 0 6px;
}

.hero__social {
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: transform 140ms ease, opacity 140ms ease;
}

.hero__social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero__social:hover,
.hero__social:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.hero__social:active {
  opacity: 0.82;
  transform: scale(0.98);
}

.content-area {
  background: #1f1f23;
  padding: 0 18px 28px;
}

.social-row {
  margin: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.card-grid {
  padding: 12px 2px var(--space-lg);
  margin-top: var(--space-md);
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #0f0f10;
}

.video-card__thumb {
  position: absolute;
  inset: 0;
  background: url("perro.jpeg") center center / cover no-repeat;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play::before {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.video-card__play-icon {
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #f7f7f8;
}

.video-card:hover .video-card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.46) 100%);
}

.video-card:active {
  transform: scale(0.995);
}

.action-list {
  padding: 0 2px 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.action-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: #f4f4f5;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 140ms ease, opacity 120ms ease, background-color 140ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover,
.action-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.action-btn:active {
  opacity: 0.92;
  transform: scale(0.995);
}

.footer {
  padding: 22px 0 26px;
  text-align: center;
  margin-top: var(--space-lg);
}

.footer__cta {
  --press-scale: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 120ms ease, box-shadow 140ms ease, background-color 140ms ease, opacity 120ms ease;
}

.footer__cta:hover,
.footer__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.footer__cta:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.footer__text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.4;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 14px;
  background: rgba(20, 20, 24, 0.85);
  color: var(--text-primary);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

@keyframes shake {
  0% { transform: translateX(0) scale(var(--press-scale)); }
  20% { transform: translateX(-3px) scale(var(--press-scale)); }
  40% { transform: translateX(3px) scale(var(--press-scale)); }
  60% { transform: translateX(-2px) scale(var(--press-scale)); }
  80% { transform: translateX(2px) scale(var(--press-scale)); }
  100% { transform: translateX(0) scale(var(--press-scale)); }
}

.hero__action.shake,
.footer__cta.shake {
  animation: shake 0.6s ease;
}
