/* ===================================================
   Werbekennzeichnung Guide — Styles
   Palette: bg #f0f2f5, text #1a1a2e, accent #0088cc,
            success #2e7d32, error #dc3545
   =================================================== */

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
        sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f0f2f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0088cc;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* === Typography === */
h1, h2, h3, h4 {
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
    margin-bottom: 0.75rem;
}

a {
    color: #0088cc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #006699;
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
    border-radius: 2px;
}

ul {
    list-style: none;
}

/* === German terms === */
.de-term {
    font-style: italic;
    color: #555;
}

.de-term-small {
    display: block;
    font-size: 0.82rem;
    font-style: italic;
    color: #888;
    font-weight: 400;
    margin-top: 0.15em;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    line-height: 1.4;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

.btn-primary {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.btn-primary:hover {
    background: #006fa3;
    border-color: #006fa3;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #0088cc;
    border-color: #0088cc;
}

.btn-outline:hover {
    background: #0088cc;
    color: #fff;
}

/* === Header === */
.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: #0088cc;
    text-decoration: none;
}

.logo-dot {
    color: #0088cc;
}

/* === Page Tabs === */
.page-tabs {
    display: none;
}

@media (min-width: 768px) {
    .page-tabs {
        display: flex;
        gap: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.page-tab {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.page-tab:hover {
    color: #0088cc;
    background: #f0f2f5;
    text-decoration: none;
}

.page-tab--active {
    color: #0088cc;
    background: #e8f4fc;
}

/* === "More" dropdown (desktop) === */
.page-tab-more {
    position: relative;
}

.page-tab-more-btn {
    font-family: inherit;
    cursor: pointer;
}

.page-tab-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    padding: 0.4rem 0;
    z-index: 120;
}

.page-tab-more.open .page-tab-dropdown {
    display: block;
}

.page-tab-dropdown a {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.page-tab-dropdown a:hover {
    background: #f0f2f5;
    color: #0088cc;
    text-decoration: none;
}

.page-tab-dropdown a.page-tab-dropdown--active {
    color: #0088cc;
    background: #e8f4fc;
    font-weight: 600;
}

/* "More" button active when a dropdown page is current */
.page-tab-more-btn--active {
    color: #0088cc;
    background: #e8f4fc;
}

/* === "More" section in burger (mobile) === */
.nav-tabs-more {
    padding: 0.5rem 1rem 0.75rem;
}

.nav-tabs-more-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.nav-tabs-more .nav-tab-link {
    margin-bottom: 0.35rem;
}

/* Mobile tabs inside burger */
.nav-tabs-mobile {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.75rem;
    flex-wrap: wrap;
}

.nav-tab-link {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: #f0f2f5;
    border-radius: 20px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.nav-tab-link:hover {
    color: #0088cc;
    text-decoration: none;
}

.nav-tab-link--active {
    color: #fff;
    background: #0088cc;
}

@media (min-width: 768px) {
    .nav-tabs-mobile {
        display: none;
    }
}

/* Header needs relative for abs tabs */
.site-header .container {
    position: relative;
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.nav-list li {
    border-bottom: 1px solid #f0f2f5;
}

.nav-list li:last-child {
    border-bottom: none;
}

.nav-list a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-list a:hover {
    background: #f0f2f5;
    text-decoration: none;
    color: #0088cc;
}

.nav-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 0.25rem 1rem;
}

/* === Sections === */
.section {
    padding: 3rem 0;
}

.section--alt {
    background: #fff;
}

.section-intro {
    font-size: 1.05rem;
    color: #444;
    max-width: 720px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.hero-subtitle .de-term {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero .btn-primary {
    background: #fff;
    color: #0088cc;
    border-color: #fff;
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #005f8f;
    border-color: rgba(255, 255, 255, 0.9);
}

.hero .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0;
}

.hero-note a {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
    }
}

/* === Cards Grid (3 types of ads) === */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.section--alt .card {
    background: #f8f9fa;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card-icon {
    margin-bottom: 1rem;
    color: #0088cc;
}

.card--paid .card-icon { color: #dc3545; }
.card--free .card-icon { color: #e67e22; }
.card--own .card-icon { color: #2e7d32; }

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.93rem;
    color: #444;
}

.card ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.card ul li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.3rem;
}

.card-verdict {
    margin-top: auto;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-size: 0.88rem;
}

.card-verdict--required {
    background: #fdecea;
    border-left: 3px solid #dc3545;
    color: #8b1a1a;
}

.card-verdict--free {
    background: #e8f5e9;
    border-left: 3px solid #2e7d32;
    color: #1b5e20;
}

/* === Callout === */
.callout {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.93rem;
    line-height: 1.5;
}

.callout--info {
    background: #e3f2fd;
    border-left: 4px solid #0088cc;
    color: #0d47a1;
}

.callout--warning {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    color: #5d4037;
}

.callout strong {
    display: inline;
}

/* === Filter Bar (Matrix) === */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.filter-btn.active {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.filter-btn:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

/* === Matrix Table === */
.matrix-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.matrix-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.matrix-table thead {
    background: #1a1a2e;
    color: #fff;
}

.matrix-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.col-scenario { width: 44px; }
.col-desc { min-width: 200px; }

.matrix-table td {
    padding: 0.85rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid #e8e8e8;
}

.matrix-table tbody tr {
    background: #fff;
    transition: background 0.15s;
}

.matrix-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.matrix-table tbody tr:hover {
    background: #eef6fc;
}

.matrix-table tbody tr.hidden {
    display: none;
}

.scenario-id {
    text-align: center;
}

.scenario-desc {
    font-size: 0.83rem;
    color: #666;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.badge--red { background: #dc3545; }
.badge--green { background: #2e7d32; }
.badge--yellow { background: #e67e22; color: #fff; }

/* Labels */
.label-required,
.label-optional,
.label-caution {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.label-required {
    background: #fdecea;
    color: #b71c1c;
}

.label-optional {
    background: #e8f5e9;
    color: #1b5e20;
}

.label-caution {
    background: #fff3e0;
    color: #bf360c;
}

/* Platform tags in matrix */
.how-cell {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.platform-tag {
    font-size: 0.83rem;
    line-height: 1.4;
    color: #555;
    padding: 0.25rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.platform-tag:last-child {
    border-bottom: none;
}

.platform-tag.hidden {
    display: none;
}

/* === Templates Grid (How to label) === */
.templates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.template-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.template-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-size: 0.95rem;
}

.template-header h3 {
    margin: 0;
    font-size: 1rem;
    color: inherit;
}

.template-header--tiktok { background: #010101; }
.template-header--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.template-header--youtube { background: #ff0000; }
.template-header--telegram { background: #0088cc; }

.template-body {
    padding: 1.25rem;
}

.template-rules {
    font-size: 0.88rem;
    color: #444;
    margin-bottom: 1rem;
}

.template-copy-block {
    background: #f4f6f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.template-text {
    display: block;
    font-size: 0.85rem;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.btn-copy {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #0088cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-copy:hover {
    background: #006fa3;
}

.btn-copy:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

.btn-copy.copied {
    background: #2e7d32;
}

.template-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0;
    font-style: italic;
}

/* === Red Flags === */
.flags-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .flags-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.flag-item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    border: 1px solid;
}

.flag-item--bad {
    background: #fff5f5;
    border-color: #f5c6cb;
}

.flag-item--good {
    background: #f0faf0;
    border-color: #c3e6c3;
}

.flag-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

.flag-item--bad .flag-icon {
    background: #dc3545;
    color: #fff;
}

.flag-item--good .flag-icon {
    background: #2e7d32;
    color: #fff;
}

.flag-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.93rem;
}

.flag-content p {
    font-size: 0.87rem;
    color: #555;
    margin: 0;
}

/* === Checklist === */
.checklist-container {
    max-width: 640px;
}

.checklist-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.progress-fill {
    height: 100%;
    background: #0088cc;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.complete {
    background: #2e7d32;
}

.progress-text {
    font-size: 0.85rem;
    color: #666;
}

.checklist-group {
    margin-bottom: 1.5rem;
}

.checklist-group-title {
    font-size: 0.92rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1.45;
}

.checklist-item:hover {
    border-color: #0088cc;
    background: #f8fbfe;
}

.checklist-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    margin-top: 1px;
}

.checklist-item input:checked ~ .checkmark {
    background: #0088cc;
    border-color: #0088cc;
}

.checklist-item input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checklist-item input:focus-visible ~ .checkmark {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

.checklist-item input:checked ~ .checklist-text {
    color: #888;
}

.checklist-text {
    font-size: 0.9rem;
    color: #333;
}

.checklist-reset {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* === FAQ === */
.faq-list {
    max-width: 720px;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 0.65rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.section--alt .faq-item {
    background: #fff;
}

.faq-item[open] {
    border-color: #0088cc;
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: "";
}

.faq-question::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 300;
    color: #999;
    transition: transform 0.2s;
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    content: "\2212";
    color: #0088cc;
}

.faq-question:hover {
    color: #0088cc;
}

.faq-question:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: -2px;
    border-radius: 6px;
}

.faq-answer {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* === Disclaimer === */
.disclaimer-box {
    max-width: 720px;
}

.disclaimer-box blockquote {
    background: #f8f9fa;
    border-left: 4px solid #0088cc;
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.disclaimer-box .btn {
    margin-bottom: 1.25rem;
}

/* === Rules Grid (Gewinnspiele) === */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .rules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rule-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.section--alt .rule-card {
    background: #f8f9fa;
}

.rule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.rule-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.rule-card h3 {
    margin-bottom: 0.5rem;
}

.rule-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* === Check Post === */
.check-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .check-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.check-post-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.section--alt .check-post-card {
    background: #f8f9fa;
}

.check-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.check-post-icon {
    color: #0088cc;
    margin-bottom: 1rem;
}

.check-post-card h3 {
    margin-bottom: 0.75rem;
}

.check-post-card p {
    font-size: 0.93rem;
    color: #555;
    margin-bottom: 1.25rem;
}

.check-post-card .btn {
    margin-top: auto;
}

/* === Section Header with Badge === */
.section-header-with-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.section-header-with-badge h2 {
    margin-bottom: 0;
}

/* === Disabled Buttons & Cards === */
.btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.check-post-card--disabled {
    opacity: 0.65;
}

.check-post-card--disabled:hover {
    transform: none;
    box-shadow: none;
}

/* === Coming Soon Badge (bright) === */
.coming-soon-badge--bright {
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255, 107, 53, 0); }
}

/* === Coming Soon === */
.coming-soon-card {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf2 100%);
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.coming-soon-badge {
    display: inline-block;
    background: #0088cc;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.coming-soon-card h2 {
    margin-bottom: 0.75rem;
}

.coming-soon-card p {
    color: #555;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.coming-soon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.coming-soon-features span {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #666;
}

/* === Legal Sections === */
.legal-placeholder {
    max-width: 720px;
}

.legal-placeholder h2 {
    margin-bottom: 1rem;
}

.legal-placeholder p {
    font-size: 0.93rem;
    color: #444;
}

.legal-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #888;
}

/* === Footer === */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0 1.25rem;
    text-align: center;
    font-size: 0.82rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: #fff;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 0.6rem 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a {
    font-size: 0.8rem;
}

.footer-source {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.footer-author-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.footer-author-links a {
    font-size: 0.78rem;
    opacity: 0.7;
}

.footer-author-links a:hover {
    opacity: 1;
}

.footer-legal {
    font-size: 0.72rem;
    opacity: 0.45;
    max-width: 600px;
    margin: 0.75rem auto;
    line-height: 1.5;
}

.footer-legal p {
    margin-bottom: 0.3rem;
}

.footer-disclaimer {
    font-size: 0.72rem;
    opacity: 0.45;
    max-width: 480px;
    margin: 0 auto 0.5rem;
}

.footer-copyright {
    font-size: 0.72rem;
    opacity: 0.35;
    margin-bottom: 0;
}

/* === Notify Form (Generator) === */
.coming-soon-notify {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.coming-soon-notify-label {
    font-size: 0.93rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.notify-form {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 420px;
    margin: 0 auto 0.5rem;
}

.notify-form-prefix {
    background: #e8edf2;
    color: #666;
    padding: 0.6rem 0.6rem 0.6rem 0.85rem;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notify-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-right: none;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.notify-input:focus {
    border-color: #0088cc;
}

.notify-btn {
    border-radius: 0 6px 6px 0 !important;
    white-space: nowrap;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
}

.notify-hint {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 0;
}

.notify-success {
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.9rem;
}

/* === Storage Banner === */
.storage-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    z-index: 250;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.storage-banner.hidden {
    display: none;
}

.storage-banner-content {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.storage-banner-content p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 240px;
}

.storage-banner-content a {
    color: #7dc4e8;
}

.btn-banner-accept {
    background: #0088cc;
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-banner-accept:hover {
    background: #006fa3;
}

/* === Scroll-locked body (burger open) === */
body.menu-open {
    overflow: hidden;
}

/* === Print === */
@media print {
    .site-header,
    .hero-actions,
    .filter-bar,
    .btn-copy,
    .checklist-reset,
    .site-footer,
    .burger {
        display: none !important;
    }

    .section, .hero {
        padding: 1rem 0;
    }

    .matrix-table {
        font-size: 0.8rem;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* === Signs List === */
.signs-list {
    list-style: none;
    padding: 0;
}

.signs-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f2f5;
}

.signs-list li:last-child {
    border-bottom: none;
}

.signs-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0088cc;
    font-weight: 700;
}

/* === Floating Ask Button === */
.fab-ask {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0088cc;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.fab-ask:hover {
    background: #006fa8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.45);
    text-decoration: none;
    color: #fff;
}

.fab-ask:active {
    transform: translateY(0);
}

.fab-ask svg {
    flex-shrink: 0;
}

.fab-ask-label {
    white-space: nowrap;
}

/* На мобильном — только иконка */
@media (max-width: 480px) {
    .fab-ask {
        padding: 0.85rem;
        border-radius: 50%;
    }

    .fab-ask-label {
        display: none;
    }
}

/* Не показывать при печати */
@media print {
    .fab-ask {
        display: none;
    }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}