/* ==========================================================================
   PRODUCTION CSS - EXACT COPY FROM playcity.gov.ua
   v=prod3 — якщо бачите цей коментар у DevTools, новий CSS завантажується
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT FACES
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'e-Ukraine';
    src: url('../fonts/e-Ukraine/e-Ukraine-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url('../fonts/e-Ukraine/e-Ukraine-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. BASE RESET (from production)
   -------------------------------------------------------------------------- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,ul,ol,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

article,aside,details,figcaption,figure,footer,header,menu,nav,section {
    display: block;
}

/* Production: body is flex container */
body {
    font-family: 'e-Ukraine', 'Segoe UI', Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    overflow-y: visible;
}

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

a:hover {
    text-decoration: none;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT: gov-container (EXACT from production)
   -------------------------------------------------------------------------- */
.gov-container {
    max-width: 1440px;
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 575.98px) {
    .gov-container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Production: additional container variants */
.gov-container-lg {
    max-width: 1366px;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
}

.layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Production: .wrapper has no max-width/margin — width controlled by .gov-container */
.wrapper {
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000;
    width: 100%;
}

.layout-main {
    flex: 1;
}

.layout-footer {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. HEADER
   -------------------------------------------------------------------------- */
.header {
    padding: 16px 0;
}

.header_toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo {
    display: flex;
    align-items: center;
}

.header_logo-icon {
    height: 40px;
    width: auto;
}

.header-search-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-search:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-search svg {
    width: 24px;
    height: 24px;
}

.header_menu-block {
    padding: 16px 0;
}

.nav_wrap {
    margin-left: 48px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_item-link {
    font-family: 'e-Ukraine', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    color: #fff;
    white-space: nowrap;
}

.nav_item-link:hover {
    opacity: 0.7;
}

.header_actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   5. HERO: section-panel-bg-primary (EXACT from production)
   -------------------------------------------------------------------------- */
.section-panel-bg-primary {
    background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), linear-gradient(180deg, rgba(0,0,0,0.004) 0%, rgba(0,161,16,0.2) 100%);
    box-shadow: inset 0 0 32px 0 #fff;
    border-radius: 32px;
    padding: 120px 32px 105px;
}

.section-panel-small {
    padding: 80px 72px;
}

@media (max-width: 767.98px) {
    .section-panel-small {
        padding: 32px;
    }
}

.section-panel-text {
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.18px;
}

@media (max-width: 767.98px) {
    .section-panel-text {
        font-size: 13px;
        line-height: 18px;
        letter-spacing: -0.26px;
    }
}

.section-panel-small .section-panel-text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
}

@media (max-width: 767.98px) {
    .section-panel-small .section-panel-text {
        font-size: 11px;
        line-height: 14px;
        margin-top: 16px;
    }
}

.section-panel-muted-text {
    color: #a1a1a1;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: -0.16px;
    margin-top: 16px;
}

/* Breadcrumbs */
.breadcrumbs-main {
    margin-bottom: 24px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-item {
    font-family: 'e-Ukraine', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #a1a1a1;
}

.breadcrumbs-item a {
    color: #a1a1a1;
}

.breadcrumbs-item a:hover {
    color: #fff;
}

.breadcrumbs-item.main::after {
    content: '/';
    margin-left: 8px;
    color: #a1a1a1;
}

.breadcrumbs-item.active {
    color: #fff;
}

/* Page title */
.page-title {
    font-family: 'e-Ukraine', sans-serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -0.38px;
    color: #fff;
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 24px;
        line-height: 30px;
    }
}

/* --------------------------------------------------------------------------
   6. SECTION BLOCK (dark panels)
   -------------------------------------------------------------------------- */
.section-block {
    background: #111;
    border-radius: 32px;
    padding: 80px 32px;
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 24px 16px 32px;
    }
}

.section-title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 24px;
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* --------------------------------------------------------------------------
   7. WARNING SIGNS (EXACT from production)
   -------------------------------------------------------------------------- */
.warning-signs {
    max-width: 1270px;
    margin: 120px auto 0;
}

@media (max-width: 767.98px) {
    .warning-signs {
        margin-top: 60px;
    }
}

.warning-signs-title-secondary {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 24px;
    text-align: left;
}

@media (max-width: 767.98px) {
    .warning-signs-title-secondary {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 16px;
    }
}

.warning-signs-list {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767.98px) {
    .warning-signs-list {
        display: flex;
        overflow-x: auto;
        flex-direction: row;
    }
}

.warning-signs-item {
    margin-top: 8px;
    border-radius: 32px;
    background: #1b1b1b;
    padding: 40px 72px;
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .warning-signs-item {
        flex-direction: column;
        padding: 16px 16px 32px;
        align-items: baseline;
        border-radius: 16px;
        min-width: 190px;
        margin-right: 8px;
        margin-top: 0;
    }
}

.warning-signs-item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 16px;
    color: #d80d0d;
    transform: rotate(180deg);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .warning-signs-item-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 16px;
        margin-right: 0;
    }
}

.warning-signs-item-text {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    font-weight: 300;
}

@media (max-width: 767.98px) {
    .warning-signs-item-text {
        text-align: left;
        font-size: 11px;
        line-height: 14px;
    }
}

/* --------------------------------------------------------------------------
   8. WARNING PANEL + TASKS (EXACT from production)
   -------------------------------------------------------------------------- */
.warning-panel {
    background: linear-gradient(360deg, rgba(255,255,255,0.7) 0%, rgba(0,161,16,0.5) 10%, rgb(17,17,17) 40%, rgb(17,17,17) 100%);
    padding: 120px 32px 105px;
    border-radius: 32px;
}

@media (max-width: 767.98px) {
    .warning-panel {
        padding: 24px 16px 32px;
    }
}

.warning-panel-md {
    padding: 80px 32px 105px;
}

@media (max-width: 767.98px) {
    .warning-panel-md {
        padding: 24px 16px 32px;
    }
}

.tasks-list {
    max-width: 1310px;
    margin: 40px auto auto;
}

@media (max-width: 767.98px) {
    .tasks-list {
        margin-top: 0;
    }
}

.tasks-item {
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
    padding: 16px;
}

@media (max-width: 767.98px) {
    .tasks-item {
        padding: 0;
        margin-top: 32px;
    }
}

.tasks-item-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 7px;
    color: #00a110;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .tasks-item-icon {
        width: 16px;
        height: 16px;
    }
}

.tasks-item-title {
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .tasks-item-title {
        font-size: 13px;
        line-height: 18px;
        font-weight: 300;
    }
}

.tasks-item-text {
    color: #a1a1a1;
    font-size: 16px;
    line-height: 24px;
    margin-top: 10px;
}

@media (max-width: 767.98px) {
    .tasks-item-text {
        font-size: 10px;
        line-height: 14px;
    }
}

/* --------------------------------------------------------------------------
   9. WARNING REGISTER / CTA (EXACT from production)
   -------------------------------------------------------------------------- */
.warning-register {
    background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    box-shadow: inset 0 0 32px 0 #fff;
    border-radius: 32px;
    padding: 70px;
    text-align: center;
    max-width: 1270px;
    margin: 120px auto 0;
}

@media (max-width: 767.98px) {
    .warning-register {
        margin-top: 60px;
        padding: 32px;
        text-align: left;
    }
}

.warning-register-title {
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    margin-top: 32px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .warning-register-title {
        font-size: 18px;
        line-height: 20px;
        text-align: left;
        margin-top: 16px;
    }
}

.fs-38 {
    font-size: 38px !important;
    line-height: 40px !important;
}

@media (max-width: 575.98px) {
    .warning-register-title.fs-38 {
        font-size: 16px !important;
        line-height: 20px !important;
        text-align: center;
    }
}

.section-descr {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    max-width: 680px;
    margin: 24px auto;
}

@media (max-width: 767.98px) {
    .section-descr {
        text-align: left;
        font-size: 11px;
        line-height: 14px;
    }
}

/* CTA Button (white on dark) */
.btn.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: 'e-Ukraine', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.2px;
    padding: 20px 60px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn.btn-secondary:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #000;
}

.btn-secondary_small {
    font-size: 16px !important;
    padding: 16px 40px !important;
}

/* --------------------------------------------------------------------------
   10. STATISTICS (EXACT from production)
   -------------------------------------------------------------------------- */
.statistic-descr {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 24px;
    color: #a1a1a1;
}

@media (max-width: 767.98px) {
    .statistic-descr {
        font-size: 10px;
        line-height: 14px;
    }
}

.row.row-custom {
    display: flex;
    flex-wrap: wrap;
    margin-right: -4px;
    margin-left: -4px;
}

.mob-scroll-x {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.statistic-col {
    flex-basis: 20%;
    padding: 4px;
}

@media (max-width: 1199.98px) {
    .statistic-col {
        flex-basis: 40%;
    }
}

@media (max-width: 767.98px) {
    .statistic-col {
        flex-basis: 80%;
        min-width: 160px;
    }
}

.statistic-col-lg {
    flex-basis: 33.333%;
    padding: 4px;
}

@media (max-width: 1199.98px) {
    .statistic-col-lg {
        flex-basis: 40%;
    }
}

@media (max-width: 767.98px) {
    .statistic-col-lg {
        flex-basis: 80%;
        min-width: 200px;
    }
}

.statistic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 64px;
    gap: 24px;
    border-radius: 32px;
    background: #1b1b1b;
    height: 100%;
}

@media (max-width: 767.98px) {
    .statistic-card {
        gap: 12px;
        padding: 24px;
    }
}

.statistic-card-title {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #a1a1a1;
}

@media (max-width: 767.98px) {
    .statistic-card-title {
        font-size: 10px;
        line-height: 24px;
    }
}

.statistic-card span {
    font-weight: 400;
    font-size: 38px;
    line-height: 40px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   11. ADDITION LINKS / PARTNERS (EXACT from production)
   -------------------------------------------------------------------------- */
.addition-links {
    display: flex;
    overflow-x: auto;
    margin-right: -4px;
    margin-left: -4px;
}

.addition-links-card {
    height: 200px;
    min-width: 200px;
    flex-basis: 16.666%;
    display: flex;
    background: #111;
    border-radius: 32px;
    padding: 24px;
    margin: 4px;
    align-items: center;
    justify-content: center;
}

.addition-links-card:hover {
    background: #2e2e2e;
}

@media (max-width: 575.98px) {
    .addition-links-card {
        height: auto;
        min-height: 120px;
    }
}

.addition-links-card-image {
    height: 56px;
    width: 100%;
    margin: auto;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   12. FOOTER NAV (EXACT from production)
   -------------------------------------------------------------------------- */
.footer-nav {
    background: #1b1b1b;
    padding: 50px 60px 0;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

@media (max-width: 991.98px) {
    .footer-nav {
        padding-top: 32px;
    }
}

@media (max-width: 767.98px) {
    .footer-nav {
        flex-direction: column;
        padding: 16px 24px 0;
    }
}

.footer-nav-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
    color: #fff;
}

@media (max-width: 991.98px) {
    .footer-nav-title {
        position: relative;
        padding: 0 12px 0 0;
        margin: 15px 0 10px;
    }
}

@media (max-width: 575.98px) {
    .footer-nav-title {
        font-size: 13px;
        line-height: 18px;
        letter-spacing: -0.26px;
    }
}

.footer-nav-list {
    font-size: 13px;
    font-weight: 300;
    line-height: 18px;
    display: block;
    color: #a1a1a1;
}

@media (max-width: 575.98px) {
    .footer-nav-list {
        font-size: 11px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: -0.22px;
    }
}

.footer-nav-list-item {
    margin-bottom: 10px;
}

@media (max-width: 575.98px) {
    .footer-nav-list-item {
        margin-bottom: 6px;
    }
}

.footer-nav-list-item a {
    color: #a1a1a1;
}

.footer-nav-list-item a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. FOOTER (EXACT from production)
   -------------------------------------------------------------------------- */
.footer {
    background: #1b1b1b;
    color: #fff;
    padding: 0 60px 40px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

@media (max-width: 767.98px) {
    .footer {
        padding: 0 24px 30px;
    }
}

.footer-divider {
    height: 2px;
    background: #4c4c4c;
}

.footer_logo {
    display: inline-flex;
    max-width: 400px;
}

.footer_logo .header_logo-icon {
    height: 40px;
    width: auto;
}

.property-block-text {
    font-size: 13px;
    line-height: 18px;
    color: #a1a1a1;
    text-align: right;
}

/* --------------------------------------------------------------------------
   14. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    min-width: 280px;
    padding: 18px 22px;
    border-radius: 16px;
    background: #1b1b1b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'e-Ukraine', sans-serif;
    color: #fff;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast--success {
    border-left: 3px solid #00a110;
}

.toast--error {
    border-left: 3px solid #d80d0d;
}

.field-error {
    border-color: #d80d0d !important;
}

/* --------------------------------------------------------------------------
   15. PRINT
   -------------------------------------------------------------------------- */
@media print {
    #layout-header,
    .addition-links,
    .footer-nav,
    .footer,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
