* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.home-v5-page {
    --bg: #fffaf4;
    --surface: rgba(255, 252, 248, 0.98);
    --line: #efddd0;
    --line-strong: #e7cdb9;
    --text: #17110f;
    --muted: #6e5b52;
    --accent: #f35f28;
    --accent-deep: #df4b17;
    --accent-soft: #fff1e8;
    --shadow: 0 22px 52px rgba(99, 70, 50, 0.08);
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.98), transparent 24%),
        linear-gradient(180deg, #fffdfa 0%, #fbf5ef 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.home-shell {
    width: min(1460px, calc(100% - 42px));
    margin: 14px auto 22px;
}

.home-header,
.hero-panel,
.home-section,
.community-panel,
.stat-strip,
.site-footer {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.home-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 14px 22px;
    margin-bottom: 16px;
}

.home-brand-logo {
    height: 58px;
    width: auto;
}

.home-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-size: 15px;
    font-weight: 700;
}

.home-nav a {
    color: #241917;
}

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.home-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.home-btn-ghost {
    color: #241917;
}

.home-btn-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ff7238 0%, #f15c25 48%, #de4919 100%);
    box-shadow: 0 14px 30px rgba(228, 89, 38, 0.24);
}

.home-main {
    display: grid;
    gap: 16px;
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    padding: 32px 28px 26px;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 8px 0 0;
}

.hero-copy h1 {
    max-width: 520px;
    margin: 0 0 16px;
    color: #17110f;
    font-size: clamp(58px, 5.1vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.065em;
    font-weight: 950;
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy p {
    max-width: 480px;
    margin: 0 0 6px;
    color: #4e4038;
    font-size: 18px;
    line-height: 1.52;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.hero-audience {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    color: #372a25;
    font-size: 15px;
    font-weight: 600;
}

.hero-avatar-row {
    display: flex;
    align-items: center;
}

.hero-avatar {
    width: 42px;
    height: 42px;
    margin-left: -8px;
    border: 3px solid #fffaf4;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, #50352b, #2d201b);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.hero-avatar:first-child {
    margin-left: 0;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-avatar-row-small .hero-avatar {
    width: 30px;
    height: 30px;
    margin-left: -6px;
    border-width: 2px;
    font-size: 10px;
}

.hero-avatar-small:first-child {
    margin-left: 0;
}

.hero-avatar-count {
    background: #fff2e9;
    color: #3c2b24;
}

.hero-illustration {
    position: relative;
    z-index: 1;
    min-height: 350px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 0 50%, rgba(255, 255, 255, 0.96) 0 18%, rgba(255, 255, 255, 0.72) 20%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 242, 0.96));
}

.hero-illustration-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-section {
    padding: 18px 20px 20px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section-head > a {
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 800;
}

.section-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.section-icon::before,
.section-icon::after {
    content: "";
    position: absolute;
}

.section-icon-live::before {
    left: 1px;
    right: 1px;
    top: 8px;
    height: 3px;
    background: linear-gradient(90deg, #f05423 0 20%, transparent 20% 30%, #f05423 30% 48%, transparent 48% 58%, #f05423 58% 100%);
    border-radius: 999px;
}

.section-icon-live::after {
    left: 0;
    top: 2px;
    width: 8px;
    height: 8px;
    background: #ff6d3a;
    border-radius: 50%;
    box-shadow: 12px 8px 0 #ffbf45;
}

.section-icon-lightning::before {
    inset: 1px 7px 1px 7px;
    background: linear-gradient(180deg, #ff7f3e 0%, #ef4f23 100%);
    clip-path: polygon(45% 0, 100% 0, 62% 44%, 92% 44%, 24% 100%, 38% 58%, 8% 58%);
}

.section-icon-craving::before {
    left: 1px;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 2px solid #ff8d46;
    border-radius: 6px;
    transform: rotate(-15deg);
}

.section-icon-craving::after {
    right: -1px;
    bottom: 2px;
    width: 8px;
    height: 8px;
    background: #ff6c2c;
    border-radius: 50%;
}

.section-icon-menu::before {
    left: 2px;
    right: 2px;
    top: 3px;
    bottom: 3px;
    border: 2px solid #ff8a45;
    border-radius: 6px;
}

.section-icon-menu::after {
    left: 6px;
    right: 6px;
    top: 7px;
    height: 2px;
    background: #ff8a45;
    box-shadow: 0 5px 0 #ff8a45, 0 10px 0 #ff8a45;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.table-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fffdfb;
}

.table-card-media {
    position: relative;
    display: block;
    height: 138px;
    overflow: hidden;
    background: #211714;
}

.table-card-media img,
.table-card-fallback {
    width: 100%;
    height: 100%;
}

.table-card-media img {
    object-fit: cover;
}

.table-card-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #3f2f29 0%, #211714 100%);
    color: #fff;
    font-size: 40px;
    font-weight: 900;
}

.table-card-pill,
.table-card-online {
    position: absolute;
    top: 10px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
}

.table-card-pill {
    left: 10px;
    color: #fff;
}

.table-card-pill-live {
    background: #ff5324;
}

.table-card-pill-soon {
    background: #ffb93a;
    color: #3d2a1d;
}

.table-card-online {
    right: 10px;
    background: rgba(30, 21, 17, 0.82);
    color: #fff;
}

.table-card-copy {
    padding: 14px 14px 16px;
}

.table-card-copy h3,
.menu-copy h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
}

.table-card-copy > p,
.menu-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.table-card-social {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.table-card-meta {
    display: flex;
    gap: 14px;
    color: #4d3c34;
    font-size: 14px;
    font-weight: 600;
}

.table-card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--accent-deep);
    font-size: 15px;
    font-weight: 800;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.activity-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fffdfb;
}

.activity-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, #4d342b, #241917);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
}

.activity-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-copy strong {
    display: block;
    color: #261a16;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.activity-copy small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.activity-action {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    position: relative;
    background: #fff9f3;
}

.activity-action::before,
.activity-action::after {
    content: "";
    position: absolute;
}

.activity-action-heart::before {
    left: 10px;
    top: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #ff6a3d;
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(45deg);
    border-radius: 3px;
}

.activity-action-heart::after {
    left: 9px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 8px 0 0 #fff9f3, 0 0 0 2px #ff6a3d inset, 8px 0 0 2px #ff6a3d inset;
}

.activity-action-menu::before {
    left: 11px;
    right: 11px;
    top: 11px;
    height: 2px;
    background: #ff6a3d;
    box-shadow: 0 6px 0 #ff6a3d, 0 12px 0 #ff6a3d;
}

.activity-action-people::before {
    left: 9px;
    top: 12px;
    width: 8px;
    height: 8px;
    border: 2px solid #ff6a3d;
    border-radius: 50%;
    box-shadow: 12px 0 0 -2px #ff6a3d;
}

.activity-action-people::after {
    left: 8px;
    bottom: 9px;
    width: 22px;
    height: 10px;
    border: 2px solid #ff6a3d;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.craving-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.craving-chip {
    min-height: 62px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffdfb;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #2a1d18;
    font-size: 16px;
    font-weight: 700;
}

.craving-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.craving-icon-popcorn::before {
    content: "";
    position: absolute;
    inset: 2px 4px 0 4px;
    border-radius: 6px 6px 9px 9px;
    background: linear-gradient(90deg, #ffffff 0 30%, #ff5f28 30% 42%, #ffffff 42% 58%, #ff5f28 58% 70%, #ffffff 70% 100%);
    border: 1px solid #ffb48d;
}

.craving-icon-popcorn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -2px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 4px 4px, #fff4d5 0 3px, transparent 3.2px), radial-gradient(circle at 11px 4px, #fff4d5 0 3px, transparent 3.2px), radial-gradient(circle at 18px 4px, #fff4d5 0 3px, transparent 3.2px);
}

.craving-icon-brain::before,
.craving-icon-flame::before,
.craving-icon-bowl::before,
.craving-icon-smile::before,
.craving-icon-spark::before {
    content: "";
    position: absolute;
}

.craving-icon-brain::before {
    inset: 2px;
    border-radius: 10px;
    background: radial-gradient(circle at 35% 40%, #c989ff 0 25%, transparent 26%), radial-gradient(circle at 62% 35%, #b36cff 0 24%, transparent 25%), radial-gradient(circle at 40% 68%, #d598ff 0 24%, transparent 25%), radial-gradient(circle at 65% 65%, #c47aff 0 23%, transparent 24%);
}

.craving-icon-flame::before {
    left: 4px;
    top: 1px;
    width: 14px;
    height: 20px;
    background: linear-gradient(180deg, #ffd75f 0%, #ff6a2f 70%, #ff351c 100%);
    clip-path: polygon(50% 0, 70% 25%, 85% 52%, 72% 84%, 50% 100%, 26% 86%, 14% 55%, 28% 26%);
}

.craving-icon-bowl::before {
    left: 2px;
    right: 2px;
    bottom: 3px;
    height: 12px;
    border-radius: 0 0 10px 10px;
    background: #f59a3f;
    box-shadow: inset 0 4px 0 #ffcb76;
}

.craving-icon-smile::before {
    inset: 1px;
    border-radius: 50%;
    background: #ffd24f;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.06);
}

.craving-icon-smile::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 10px;
    height: 5px;
    border-bottom: 2px solid #6f4a16;
    border-radius: 0 0 12px 12px;
    box-shadow: -3px -5px 0 -2px #6f4a16, 3px -5px 0 -2px #6f4a16;
}

.craving-icon-spark::before {
    inset: 3px;
    background: linear-gradient(180deg, #ffcf90, #ff8b3a);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.craving-chip-more {
    justify-content: center;
}

.craving-caret {
    color: #7d675b;
    font-size: 14px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.menu-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fffdfb;
}

.menu-collage {
    display: flex;
    height: 168px;
    overflow: hidden;
    background: #211714;
}

.menu-poster {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    overflow: hidden;
}

.menu-poster img,
.menu-poster span {
    width: 100%;
    height: 100%;
}

.menu-poster img {
    object-fit: cover;
}

.menu-poster span {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.menu-copy {
    padding: 14px 16px 18px;
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.menu-tags span {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff1e8;
    color: #8b5b42;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
}

.menu-save {
    position: absolute;
    right: 14px;
    bottom: 18px;
    font-size: 20px;
    color: #241917;
}

.community-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 24px;
}

.community-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.community-copy-icon,
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #fff1e7;
    display: grid;
    place-items: center;
}

.community-copy-icon img,
.stat-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.community-copy h3 {
    margin: 0 0 6px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
}

.community-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
}

.community-actions {
    display: grid;
    justify-items: end;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
}

.community-actions a:last-child {
    color: var(--accent-deep);
    font-weight: 800;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px 24px;
}

.stat-item {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 8px 16px;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--line);
}

.stat-item strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.stat-item span:last-child {
    color: var(--muted);
    font-size: 15px;
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 34px;
    padding: 22px 24px;
}

.footer-brand {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-brand img {
    width: auto;
    height: 48px;
}

.footer-brand strong {
    display: block;
    font-size: 16px;
}

.footer-brand span,
.footer-meta {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-links strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.footer-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 6px;
}

@media (max-width: 1240px) {
    .hero-panel,
    .community-panel,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .table-grid,
    .activity-grid,
    .menu-grid,
    .craving-row,
    .footer-links,
    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-nav {
        gap: 28px;
    }
}

@media (max-width: 860px) {
    .home-shell {
        width: min(100%, calc(100% - 20px));
    }

    .home-header {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .home-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 18px 22px;
    }

    .home-header-actions,
    .hero-actions,
    .footer-meta {
        flex-wrap: wrap;
    }

    .hero-copy h1 {
        font-size: 52px;
    }

    .table-grid,
    .activity-grid,
    .menu-grid,
    .craving-row,
    .footer-links,
    .stat-strip {
        grid-template-columns: 1fr;
    }
}
