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

:root {
    --primary-color: #FF9D1C;
    --secondary-color: #170D00;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --muted: #666666;
    --font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-card: 'Inter', var(--font-family);
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header {
    background-color: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(23, 13, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-wordmark {
    height: 36px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 157, 28, 0.12);
}

.header-stores {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 21px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
}

.store-badge:hover {
    background: #2a1a00;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.hero-banner {
    position: relative;
    min-height: min(750px, 90vh);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-v {
    position: absolute;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: clamp(200px, 40vw, 572px);
    line-height: 0.85;
    color: var(--primary-color);
    opacity: 0.35;
    user-select: none;
}

.hero-v-left {
    left: -4%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.25);
    color: transparent;
}

.hero-v-right {
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.18);
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
    max-width: 860px;
}

.hero-banner-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-banner-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-cta {
    display: inline-block;
    text-decoration: none;
}

.btn {
    padding: 15px 32px;
    border: none;
    border-radius: 21.5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-family);
}

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

.btn-primary:hover {
    background-color: #2a1a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid rgba(23, 13, 0, 0.16);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.feed-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.feed-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 48px;
    max-width: 600px;
}

.feed-scroll-wrap {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.feed-scroll {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 40px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.feed-scroll::-webkit-scrollbar {
    height: 6px;
}

.feed-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.feed-sentinel {
    flex: 0 0 1px;
    width: 1px;
    height: 1px;
    scroll-snap-align: end;
}

.feed-loading-more {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0 16px;
    color: var(--muted);
    font-size: 14px;
    scroll-snap-align: end;
}

.feed-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.feed-card {
    flex: 0 0 310px;
    width: 310px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.feed-card:hover {
    transform: translateY(-4px);
}

.feed-card-image-wrap {
    width: 310px;
    height: 246px;
    border-radius: 34px 34px 0 0;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
}

.feed-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(23, 13, 0, 0.84);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.feed-card-info {
    background: var(--white);
    border: 1px solid rgba(23, 13, 0, 0.08);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 12px 14px 14px;
    min-height: 91px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.feed-card-meta {
    flex: 1;
    min-width: 0;
    font-family: var(--font-card);
}

.feed-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card-subtitle {
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.feed-card-date {
    font-size: 13px;
    color: var(--muted);
}

.feed-card-participants {
    flex-shrink: 0;
    font-family: var(--font-card);
    font-size: 13px;
    color: var(--secondary-color);
    background: rgba(255, 157, 28, 0.15);
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.feed-loading,
.feed-error,
.feed-empty {
    flex: 0 0 auto;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 16px;
}

.feed-error {
    color: #c0392b;
}

.app-prompt {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-prompt.is-open {
    display: flex;
}

.app-prompt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 13, 0, 0.46);
}

.app-prompt-card {
    position: relative;
    width: min(560px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow-y: auto;
    border-radius: 28px;
    padding: 28px;
    background: var(--white);
    box-shadow: 0 24px 80px rgba(23, 13, 0, 0.24);
}

.app-prompt-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.app-prompt-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
    background: var(--light-gray);
}

.app-prompt-kicker {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.app-prompt-title {
    margin: 0 28px 12px 0;
    color: var(--secondary-color);
    font-size: 24px;
    line-height: 1.2;
}

.app-prompt-text {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.app-prompt-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.app-prompt-details span {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 157, 28, 0.12);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.app-prompt-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-prompt-actions .btn {
    text-decoration: none;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--secondary-color);
}

.about {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.info-block {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.info-block-alt {
    background: #fff8ef;
}

.info-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 640px;
    margin: 0 auto 28px;
}

.contacts {
    padding: 80px 0;
    background: var(--white);
}

.contacts-content {
    text-align: center;
}

.contacts-text {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--muted);
}

.contacts-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contacts-text a:hover {
    text-decoration: underline;
}

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.75;
}

.footer-col-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .header-stores {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 16px;
        border-bottom: 1px solid rgba(23, 13, 0, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav.is-open {
        display: flex;
    }

    .header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .feed-scroll {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feed-card {
        flex: 0 0 280px;
        width: 280px;
    }

    .feed-card-image-wrap {
        width: 280px;
        height: 222px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
