:root {
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-400: #f87171;
    --red-300: #fca5a5;
    --red-200: #fecaca;
    --red-100: #fee2e2;
    --red-50: #fef2f2;

    --bg: #b91c1c;
    --bg-dark: #991b1b;
    --bg-soft: #fef2f2;
    --surface: #ffffff;
    --surface-soft: #fff5f5;
    --surface-tint: rgba(255, 255, 255, 0.92);

    --text: #2b1212;
    --text-soft: #6b3a3a;
    --text-light: #fff7f7;

    --border: #f3b5b5;
    --border-strong: #eb8f8f;

    --shadow-sm: 0 8px 20px rgba(127, 29, 29, 0.10);
    --shadow-md: 0 14px 32px rgba(127, 29, 29, 0.16);
    --shadow-lg: 0 22px 50px rgba(127, 29, 29, 0.22);

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 20%),
        linear-gradient(180deg, var(--red-700) 0%, var(--red-800) 45%, var(--red-900) 100%);
}

a {
    text-decoration: none;
}

img,
iframe {
    max-width: 100%;
}

.section-title,
.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 12px;
}

.section-subtitle,
.text-muted {
    color: var(--text-soft) !important;
}

/* Navbar */
#mainNav {
    background: rgba(127, 29, 29, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#mainNav .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff5f5;
    letter-spacing: 0.03em;
}

#mainNav .nav-link {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    margin-left: 8px;
    border-radius: 999px;
    padding: 10px 14px !important;
    transition: all 0.2s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 12px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.14);
}

/* Hero */
.masthead {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 124px 0 76px;
}

.header-content h1 {
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    color: var(--text-light);
}

.hero-text {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.84);
    max-width: 620px;
    margin-bottom: 26px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff5f5;
    border: 1px solid rgba(255,255,255,0.16);
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-main,
.btn-outline-light,
.btn-primary {
    background: linear-gradient(135deg, #ffffff, #ffe4e4);
    color: var(--red-800) !important;
    border: none !important;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transition: all 0.22s ease;
}

.btn-main:hover,
.btn-outline-light:hover,
.btn-primary:hover {
    background: #ffffff;
    color: var(--red-900) !important;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #fff7f7;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero visual */
.hero-visual-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,245,245,0.96) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: var(--shadow-lg);
    padding: 18px;
}

.phone-frame {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 14px;
}

.phone-screen {
    background: linear-gradient(180deg, #fffdfd 0%, #fff4f4 100%);
    border-radius: 20px;
    padding: 14px;
    min-height: 560px;
}

.giphy-wrap {
    display: grid;
    gap: 14px;
}

.giphy-wrap iframe {
    width: 100%;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

/* Intro */
.download {
    padding: 70px 0;
}

.glass-section {
    background: var(--surface-tint);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-xl);
    padding: 38px 26px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

/* Stats */
.data-area {
    padding: 20px 0 82px;
}

.data-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.data-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.data-card p {
    color: var(--text-soft);
    margin-bottom: 18px;
}

#kino-numbers-grid,
#kino-stats-grid,
#kino-stats-pivotgrid {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Features */
.features {
    padding: 92px 0;
}

.feature-item {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 22px;
    height: 100%;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.feature-item i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--red-800);
    background: linear-gradient(180deg, var(--red-100), #fff5f5);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-soft);
    margin-bottom: 0;
}

/* Astrologer */
.cta {
    padding: 84px 0;
}

.widget-shell {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-xl);
    padding: 34px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

/* Contact */
.contact {
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 100%);
    padding: 84px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.contact h2 {
    font-weight: 800;
    color: #fff7f7;
    margin-bottom: 10px;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.78) !important;
}

.list-social {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-left: 0;
    flex-wrap: wrap;
}

.list-social .list-inline-item {
    margin: 0;
}

.list-social a {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    color: var(--red-800);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.list-social a:hover {
    background: #ffffff;
    color: var(--red-900);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: rgba(90, 13, 13, 0.28);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0 38px;
}

footer p,
footer a {
    color: rgba(255,255,255,0.82);
}

footer a:hover {
    color: #ffffff;
}

/* DevExtreme polish */
.dx-datagrid,
.dx-pivotgrid {
    color: #3a2b2b;
}

.dx-datagrid-headers,
.dx-pivotgrid-horizontal-headers,
.dx-pivotgrid-vertical-headers {
    border-color: var(--border) !important;
}

.dx-header-row > td,
.dx-pivotgrid .dx-row-header,
.dx-pivotgrid .dx-column-header {
    font-weight: 700 !important;
    color: #5b2e2e !important;
    background: #fff1f1 !important;
}

.dx-row-alt > td {
    background: #fffafa !important;
}

.dx-datagrid,
.dx-pivotgrid {
    max-width: 100%;
}

/* Focus */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid rgba(255,255,255,0.28);
    outline-offset: 2px;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .phone-screen {
        min-height: auto;
    }
}

@media (max-width: 991.98px) {
    .masthead {
        min-height: auto;
        padding-top: 118px;
        text-align: center;
    }

    .header-content {
        margin-bottom: 26px;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    #mainNav .nav-link {
        margin-left: 0;
        margin-top: 6px;
    }

    .feature-item {
        text-align: center;
    }

    .data-card {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .masthead {
        padding: 110px 0 54px;
    }

    .glass-section,
    .widget-shell,
    .data-card {
        padding: 22px 18px;
    }

    .section-title,
    .section-heading h2 {
        font-size: 1.85rem;
    }

    .hero-badge {
        font-size: 0.88rem;
    }

    .giphy-wrap iframe {
        height: 220px !important;
    }
}

@media (max-width: 575.98px) {
    .masthead {
        padding-top: 104px;
    }

    .header-content h1 {
        font-size: 2.15rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .phone-screen {
        padding: 12px;
    }

    .giphy-wrap iframe {
        height: 200px !important;
    }

    .contact,
    .features,
    .cta {
        padding: 68px 0;
    }

    .list-social {
        gap: 10px;
    }
}