/* ATCKR Prevention Page — Kid-friendly educational styles */


/* RESET */
article, body, div, footer, header, main, h1, h2, h3, h4, nav, img, ul, li, p {
    border: 0;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Share Tech Mono", monospace;
    line-height: 1.6;
    color: #00FF00;
    background-color: #0A0A0A;
}


/* -----------------------------------------------
   HEADER
----------------------------------------------- */
header {
    background: #0a0a0a;
    border-bottom: 2px solid #526d3a;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    animation: fadeDown 1s ease forwards;
}

.logo {
    height: 150px;
    grid-column: 1;
    justify-self: left;
}

nav {
    grid-column: 3;
    justify-self: end;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li { margin: 0; }

nav a {
    text-decoration: none;
    color: #fff;
    font-family: "Share Tech Mono", monospace;
}

nav a:hover { color: #52d63a; }


/* -----------------------------------------------
   MAIN BACKGROUND
----------------------------------------------- */
main {
    background-image: url("gif.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-bottom: 80px;
}


/* -----------------------------------------------
   PAGE TITLE
----------------------------------------------- */
.page-title {
    text-align: center;
    margin-top: 40px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
}

.page-subtitle {
    text-align: center;
    max-width: 680px;
    margin: 14px auto 30px auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}


/* -----------------------------------------------
   LEVEL STRIP — navigation badges at the top
----------------------------------------------- */
.level-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.level-badge {
    background: rgba(82, 214, 58, 0.1);
    border: 1px solid #52d63a;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: #52d63a;
    font-weight: bold;
}


/* -----------------------------------------------
   PREVENTION SECTIONS
----------------------------------------------- */
.prevention-section {
    max-width: 1050px;
    margin: 0 auto 70px auto;
    padding: 0 24px;
    animation: fadeUp 0.8s ease forwards;
}

/* Section heading row */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #526d3a;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.section-header.centered {
    justify-content: center;
    text-align: center;
}

.section-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

/* Level label above h2 */
.level-label {
    font-size: 0.7rem;
    color: #52d63a;
    letter-spacing: 0.15em;
    margin-bottom: 3px;
    opacity: 0.85;
}

.section-header h2 {
    font-size: 1.7rem;
    color: #52d63a;
    margin: 0;
}


/* -----------------------------------------------
   DID YOU KNOW BOX
----------------------------------------------- */
.did-you-know {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 211, 42, 0.08);
    border: 1px solid rgba(255, 211, 42, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #ffe08a;
    font-size: 0.9rem;
    line-height: 1.6;
}

.dyk-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}


/* -----------------------------------------------
   SECTION INTRO TEXT
----------------------------------------------- */
.section-intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.97rem;
    max-width: 820px;
    margin-bottom: 26px;
    line-height: 1.8;
}

.section-intro strong {
    color: #52d63a;
}


/* -----------------------------------------------
   IMAGE + TIPS SIDE BY SIDE
----------------------------------------------- */
.content-block {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.section-img {
    width: 340px;
    flex-shrink: 0;
    border-radius: 14px;
    border: 2px solid #526d3a;
    object-fit: cover;
    height: 240px;
    filter: brightness(0.88) saturate(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.section-img:hover {
    filter: brightness(1) saturate(1.1);
    transform: scale(1.02);
}

/* Tips box */
.tips-box {
    flex: 1;
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid #52d63a;
    border-radius: 14px;
    padding: 22px 24px;
}

.tips-box h3 {
    color: #52d63a;
    font-size: 1rem;
    margin-bottom: 18px;
}

/* Tips list */
.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d6d6d6;
    font-size: 0.88rem;
    line-height: 1.65;
}

.tip-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.tips-list strong {
    color: #ffffff;
}

.tips-list code {
    background: rgba(82, 214, 58, 0.12);
    border: 1px solid #526d3a;
    border-radius: 4px;
    padding: 1px 5px;
    color: #52d63a;
    font-family: "Share Tech Mono", monospace;
    font-size: 0.82rem;
}


/* -----------------------------------------------
   WARNING BANNER
----------------------------------------------- */
.warning-banner {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.45);
    border-radius: 10px;
    padding: 14px 20px;
    color: #ffb0b8;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.warning-banner strong {
    color: #ff4757;
}


/* -----------------------------------------------
   REMEMBER BOX
----------------------------------------------- */
.remember-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(82, 214, 58, 0.07);
    border: 1px solid rgba(82, 214, 58, 0.35);
    border-radius: 10px;
    padding: 13px 18px;
    color: #b8ffb0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.remember-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.remember-box strong {
    color: #52d63a;
}


/* -----------------------------------------------
   QUICK TIPS / SAFETY RULES SECTION
----------------------------------------------- */
.quick-tips {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
}

.rules-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 10px 0 30px 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.quick-card {
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid #52d63a;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(82, 214, 58, 0.3);
}

.quick-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 10px;
}

.quick-card h3 {
    color: #52d63a;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.quick-card p {
    color: #d6d6d6;
    font-size: 0.82rem;
    line-height: 1.65;
}


/* -----------------------------------------------
   QUIZ CALLOUT
----------------------------------------------- */
.quiz-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(82, 214, 58, 0.08);
    border: 2px solid #52d63a;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 10px;
}

.quiz-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
}

.quiz-callout strong {
    color: #ffffff;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 6px;
}

.quiz-callout p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.quiz-btn {
    display: inline-block;
    background: #52d63a;
    color: #001a00;
    font-family: "Share Tech Mono", monospace;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
}

.quiz-btn:hover {
    filter: brightness(1.15);
    transform: scale(1.04);
}


/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
footer {
    margin-top: 80px;
    background: #111;
    padding: 25px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #555;
    color: lightgreen;
}

.contacts a {
    color: #52d63a;
    text-decoration: none;
}

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


/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 768px) {
    .content-block,
    .content-block.reverse {
        flex-direction: column;
    }

    .section-img {
        width: 100%;
        height: 200px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-callout {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .level-strip {
        gap: 8px;
    }
}


/* PRINT */
@media print {
    .container, h1, h2, p {
        color: black;
        background-color: lightgrey;
    }
    nav { display: none; }
}


/* ANIMATIONS */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}