:root {
    --bg-color: #f4f6f9;
    --primary: #8A1538; /* Багровий */
    --primary-dark: #630F28;
    --accent-green: #8BC34A; /* Салатовий */
    --accent-green-hover: #7CB342;
    --danger: #d32f2f;
    --danger-light: #ffebee;
    --text-main: #2c3e50;
    --text-muted: #546e7a;
    --white: #ffffff;
    --border: #cfd8dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); display: flex; flex-direction: column; min-height: 100vh; line-height: 1.6; }
.container { max-width: 850px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Шапка з прапором */
.header { background-color: var(--primary); color: var(--white); padding: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.header-container { display: flex; justify-content: center; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; text-align: left; }
.header-flag { width: 50px; height: auto; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.logo-text h1 { font-size: 28px; font-weight: 900; letter-spacing: 1px; line-height: 1.1; margin-bottom: 2px; }
.logo-text span { font-size: 12px; text-transform: uppercase; color: #e8b3c0; font-weight: 600; letter-spacing: 0.5px; }

main { padding: 40px 20px 60px 20px; flex-grow: 1; }

.alert-box.critical { background-color: var(--danger-light); border: 2px solid var(--danger); border-radius: 10px; padding: 25px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 35px; box-shadow: 0 6px 20px rgba(211, 47, 47, 0.15); }
.alert-icon { color: var(--danger); flex-shrink: 0; }
.alert-content h2 { color: var(--danger); font-size: 22px; margin-bottom: 10px; font-weight: 900; letter-spacing: -0.5px;}
.alert-content p { color: #8a1c1c; font-size: 16px; line-height: 1.5; font-weight: 500;}

.content-card { background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); overflow: hidden; border: 1px solid var(--border); }
.card-header { background: #f8f9fa; padding: 25px 30px; border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: 20px; color: var(--primary-dark); font-weight: 800; text-transform: uppercase;}
.card-body { padding: 35px 30px; }

.intro-text { font-size: 16px; margin-bottom: 30px; text-align: justify; color: var(--text-main); font-weight: 500;}

.consequences { background: #fffcfc; border: 1px solid #ffcdd2; border-left: 5px solid var(--danger); padding: 25px; border-radius: 6px; margin-bottom: 35px; }
.consequences h4 { color: var(--danger); margin-bottom: 10px; font-size: 18px; font-weight: 800;}
.consequence-desc { font-size: 15px; color: var(--text-main); margin-bottom: 20px; font-style: italic; background: #ffebee; padding: 10px 15px; border-radius: 4px;}
.consequences ul { list-style: none; padding-left: 0; }
.consequences li { margin-bottom: 15px; font-size: 15px; position: relative; padding-left: 30px; line-height: 1.5; font-weight: 500;}
.consequences li:last-child { margin-bottom: 0; }
.consequences li::before { content: "!"; color: var(--danger); font-size: 18px; font-weight: bold; position: absolute; left: 8px; top: 0; background: #ffcdd2; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;}

.action-section { text-align: center; border-top: 1px solid var(--border); padding-top: 35px; }
.action-text { font-size: 16px; margin-bottom: 25px; font-weight: 700; color: var(--text-main); }
.btn-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background-color: var(--accent-green); color: #1a1f18; padding: 18px 35px; border-radius: 10px; font-size: 18px; font-weight: 800; text-decoration: none; width: 100%; transition: all 0.3s; box-shadow: 0 6px 15px rgba(139, 195, 74, 0.4); text-transform: uppercase; letter-spacing: 0.5px;}
.btn-action:hover { background-color: var(--accent-green-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(139, 195, 74, 0.5); }

.footer { background-color: #263238; color: #cfd8dc; padding: 40px 0; margin-top: auto; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 14px; text-align: center; }
.footer-left, .footer-right { flex: 1; min-width: 250px; }
.footer-left p, .footer-right p { margin-bottom: 8px; }
.footer-right strong { color: var(--white); font-size: 16px;}

@media (max-width: 650px) {
    .logo { flex-direction: column; text-align: center; }
    .alert-box.critical { flex-direction: column; gap: 15px; align-items: center; text-align: center; }
    .footer-container { flex-direction: column; }
    .btn-action { font-size: 15px; padding: 16px 20px; }
}