* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f6f3;
    color: #242321;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8e5df;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.5px;
}

.logo-paw {
    font-size: 24px;
}

nav {
    display: flex;
    gap: 8px;
}

.filter {
    border: 0;
    background: transparent;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #777;
}

.filter:hover {
    background: #eeeae3;
}

.filter.active {
    background: #242321;
    color: white;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.hero {
    padding: 70px 0 45px;
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 70px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 span {
    color: #777;
}

.hero p {
    max-width: 520px;
    margin: 22px auto 0;
    color: #777;
    font-size: 17px;
    line-height: 1.5;
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0,0,0,.07);
}

.video-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder.cat {
    background: linear-gradient(135deg, #f3d6bd, #e9b8a0);
}

.video-placeholder.dog {
    background: linear-gradient(135deg, #c7dceb, #91b5d0);
}

.video-placeholder.other {
    background: linear-gradient(135deg, #d9d1c4, #b7a991);
}

.placeholder-emoji {
    font-size: 110px;
    filter: drop-shadow(0 15px 12px rgba(0,0,0,.12));
}

.placeholder-text {
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(5px);
    font-size: 14px;
}

.card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 20px;
}

.card-info h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.card-info p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

.like {
    border: 0;
    background: #f4f2ee;
    padding: 9px 13px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.like:hover {
    background: #ebe8e2;
}

.like.liked {
    color: #d35b5b;
}

footer {
    border-top: 1px solid #e8e5df;
    padding: 28px 6%;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
}

@media (max-width: 600px) {
    .header {
        padding: 0 16px;
    }

    nav {
        gap: 2px;
    }

    .filter {
        padding: 7px 9px;
        font-size: 12px;
    }

    main {
        padding: 0 12px 40px;
    }

    .hero {
        padding: 50px 10px 35px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .card {
        border-radius: 18px;
    }

    .placeholder-emoji {
        font-size: 80px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
