/* =================================
   1. Base / Global
   Used across all pages
================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    position: relative;
    color: white;

    background: linear-gradient(
        180deg,
        #07132a 0%,
        #0c2a5a 30%,
        #4b3fb3 65%,
        #ff7e5f 100%
    );
}

main {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 1;
}


/* =================================
   2. Background - Star Field
   Used on all pages
================================= */

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background-image:
        radial-gradient(circle at 5% 10%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 15% 40%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 25% 70%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 55% 60%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 85% 50%, #ffffff 1px, transparent 1px),
        radial-gradient(circle at 95% 80%, #ffffff 1px, transparent 1px);
    opacity: 0.85;
}


/* =================================
   3. Header / Page Titles
================================= */

header {
    text-align: center;
    padding: 90px 20px 40px;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0;

    background: linear-gradient(
        90deg,
        #00c6ff,
        #5f9bff,
        #ff7eb3
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header a {
    color: #ffd6f5;
    text-decoration: none;
    font-weight: 500;
}

header a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.tagline {
    font-size: 20px;
    font-weight: 500;
    margin-top: 15px;
    opacity: 0.95;
}

.brand-statement {
    margin-top: 18px;
    font-size: 16px;
    opacity: 0.85;
}


/* =================================
   4. Subpage Header / Subpage Layout
   From subcategory.css
================================= */

.sub-header {
    text-align: center;
    padding: 80px 20px 30px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    opacity: 0.5;
}

.back-link:hover {
    opacity: 1;
}

.sub-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: 12px;
    opacity: 0.95;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    opacity: 0.95;
    animation: softGlowPulse 3.5s ease-in-out infinite;
}

.sub-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 1;
}

.sub-intro {
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 16px;
}


/* =================================
   5. Quick Nav - Menu
================================= */

.quick-nav {
    position: fixed;
    top: 90px;
    right: 14px;
    z-index: 9999;
}

.quick-nav-toggle {
    display: none;
    background: rgba(12, 42, 90, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.quick-nav-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(12, 42, 90, 0.78);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
    min-width: 150px;
}

.quick-nav-panel a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-nav-panel a:hover {
    background: rgba(255,255,255,0.14);
    color: #ffd6f5;
    transform: translateX(2px);
}


/* =================================
   6. Content Sections
================================= */

.about-section {
    max-width: 850px;
    margin: 0 auto 40px;
    padding: 0 20px;
    line-height: 1.7;
    font-size: 16px;
}

.about-section h2 {
    text-align: center;
    font-size: 20px; /* adjust slightly if needed */
}

.about-list {
    margin: 20px 0;
    padding-left: 20px;
}

.about-list li {
    margin-bottom: 8px;
}

.guide-main-link {
    display: inline-block;
    margin-top: 14px;
    padding: 16px 26px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.guide-main-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =================================
   7. Cards and Grids
================================= */

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.item-card {
    background: rgba(255,255,255,0.08);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.item-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: rgba(173, 216, 230, 0.9);
}

.item-card p:first-of-type {
    color: rgba(255, 182, 193, 0.9) !important;
    text-shadow: none;
}

.item-card ul {
    padding-left: 18px;
}

.item-card li {
    margin-bottom: 6px;
}

.item-card a {
    color: rgba(29, 78, 216, 0.9);
    font-weight: 500;
}


/* =================================
   8. Age Cards / Browse by Age
================================= */

.age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.age-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px 10px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.age-card:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-4px);
    color: #ffd6f5;
}

.age-disclaimer {
    font-size: 0.8rem;   /* smaller */
    opacity: 0.8;
    margin-top: 12px;
}


/* =================================
   9. Guide Directory / Category Panels
================================= */

.directory-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

details {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

details:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

details[open] {
    background: rgba(255,255,255,0.18);
}

summary {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 19px;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.category-icon {
    font-size: 22px;
}

.category-intro {
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

details ul {
    padding-left: 20px;
}

details li {
    margin-bottom: 6px;
}

details a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

details a:hover {
    color: #ffd6f5;
    text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.subcategory-item {
    margin-bottom: 16px;
    list-style: disc;
    list-style-position: outside;
}

.subcategory-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.subcategory-examples {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 4px;
    opacity: 0.85;
}

.learn-more-link {
    margin-left: 8px;
    color: #4da6ff;          /* soft blue */
    font-style: italic;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
}

.learn-more-link:hover {
    text-decoration: underline;
    color: #66b3ff;
}


/* =================================
   10. Subcategory Pages
================================= */

.subcategory-image {
    width: 60%;
    max-width: 900px;
    display: block;
    margin: 2px auto;
    text-align: center;
}

.subcategory-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.subcategory-image figcaption {
    margin-top: 5px;
    font-size: 14px;
    color: #999;
}

.sub-image {
    margin-bottom: 40px;
}

.sub-image img {
    width: 80%;
    max-width: 900px;
    display: block;
    border-radius: 18px
}


/* =================================
   11. Popular Brands Section
   Version: v2
================================= */

.brand-section {
    margin-top: 60px;
}

.brand-section h2 {
    margin-bottom: 18px;
}

.brand-list {
    list-style: none;
    padding: 0;
    columns: 2;
}

.brand-list li {
    margin-bottom: 8px;
}


/* =================================
   12. Related Links / You May Also Like
================================= */

.related-links a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.related-links a:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.soft-links-box {
    margin: 18px 0 28px;
    padding: 12px 14px;
    background: rgba(120, 190, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
}

.soft-links-title {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.soft-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.soft-links-list li {
    margin: 0;
}

.soft-links-list a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.8rem;
    line-height: 1.2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.soft-links-list a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}


/* =================================
   13. List Pages
================================= */

.checklist-card li a {
    color: inherit;
    font-style: italic;
    font-weight: 300;
    text-decoration: none;
    position: relative;
}

.checklist-card li a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checklist-card li a::after {
    content: "View guide";
    position: absolute;
    left: 0;
    bottom: 125%;
    background: rgba(255, 255, 255, 0.95);
    color: #2f3a4a;
    font-style: normal;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.checklist-card li a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.checklist-label {
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.free-printables-preview {
    margin-bottom: 60px;
}

.free-printables-coming-soon {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.list-hub-link {
    color: #ffffff;
    background: #5f8fa8;
}

.list-hub-link:hover {
    color: #ffffff;
    background: #3f6f8f;
}

.list-hub-safety h2 {
    font-size: 1.15rem;
}

.list-hub-safety p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.section-heading {
    margin: 2rem 0 1rem;
    text-align: center;
}

.section-heading h2 {
    font-size: 1.6rem;
    margin: 0;
}


.active-filter-labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.active-filter-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}

/* =================================
   14. Checklist Example on Checklists File
================================= */

.checklist-example-outer {
    width: 100%;
    margin: 0 0 40px;
}

.checklist-example-inner {
    max-width: 560px;
    margin: 0 auto;
}

.checklist-example-inner .item-card {
    width: auto !important;
    max-width: none !important;
}


/* =================================
   15. Hub Filter Pages
   File: hub-filter.css
================================= */

.checklist-filters {
    margin-bottom: 32px;
}

.checklist-filters .filter-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.checklist-filters .filter-category-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    min-width: 95px;
    margin-right: 4px;
}

.filter-btn {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: rgba(125, 211, 252, 0.28);
    border-color: rgba(125, 211, 252, 0.9);
    color: #ffffff;
}

.filter-btn.clear-filters {
    background: rgba(255, 255, 255, 0.08);
    margin-top: 6px;
}

.checklist-card.hidden {
    display: none;
}

#noChecklistResults,
#noPrintableResults {
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    text-align: center;
    width: 100%;
    font-weight: 600;
    display: none;
}

.checklist-filters .related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

.checklist-filters .related-links li {
    margin: 0;
}

.checklist-filters .related-links a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.checklist-filters .related-links a:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}


/* =================================
   16. Printables Hub
================================= */

.printable-meta {
    font-size: 0.9rem;
    opacity: 0.88;
    margin-top: 12px;
}

.printable-status {
    margin-top: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.item-card a.printable-link {
    color: #9fd3ff !important;
    font-weight: 600;
    text-decoration: underline;
}

.item-card a.printable-link:hover {
    color: #ffd6f5 !important;
}


/* =================================
   17. Kiddoloodo Printables
   File: printables.css
================================= */

.download-count {
    display: inline-block;
    margin-left: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    align-self: center;
}

.printable-sheet {
    background: #ffffff;
    color: #1f2937;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.printable-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.print-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ff7eb3;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.print-btn:hover {
    opacity: 0.92;
}

.sheet-title {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 8px;
    color: #7c3aed;
    line-height: 1.15;
}

.sheet-subtitle {
    text-align: center;
    font-size: 1rem;
    margin: 0 0 16px;
    color: #374151;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
}

.name-line {
    flex: 1;
    border-bottom: 3px dashed #93c5fd;
    height: 18px;
    min-width: 120px;
}

.prompt-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.prompt-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.15;
    color: #1f2937;
    min-height: 128px;
}

.prompt-chip:nth-child(1) { background: #fde68a; }
.prompt-chip:nth-child(2) { background: #bfdbfe; }
.prompt-chip:nth-child(3) { background: #fecdd3; }
.prompt-chip:nth-child(4) { background: #c7f9cc; }

.prompt-image {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    margin-bottom: 6px;
}

.prompt-text {
    display: block;
    font-size: 0.95rem;
}

.drawing-box {
    position: relative;
    min-height: 410px;
    border: 4px dashed #c084fc;
    border-radius: 24px;
    background: #fffdf8;
    overflow: hidden;
}

.corner-illustration {
    position: absolute;
    object-fit: contain;
    z-index: 1;
}

.corner-top-left {
    top: 6px;
    left: 6px;
    width: 82px;
    height: 150px;
}

.corner-top-right {
    top: 6px;
    right: 6px;
    width: 82px;
    height: 150px;
}

.corner-bottom-left {
    bottom: 6px;
    left: 6px;
    width: 82px;
    height: 150px;
}

.corner-bottom-right {
    bottom: 6px;
    right: 6px;
    width: 82px;
    height: 150px;
}

.draw-here {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #7c3aed;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    border: 2px solid #e9d5ff;
    z-index: 2;
}

.bottom-ideas {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.idea-box {
    text-align: center;
    padding: 10px 6px;
    border-radius: 16px;
    background: #f3f4f6;
    font-weight: 700;
    color: #374151;
    line-height: 1.15;
    font-size: 0.88rem;
}

.idea-image {
    width: 74px;
    height: 74px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px;
}



/* =================================
   this affects all linked h3 titles inside .item-card
================================= */

.item-card h3 a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.item-card h3 a:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

/* =================================
   Name of Coloring image for download on Coloring pages
================================= */

.printable-card-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =================================
   Download button on Coloring pages
================================= */

.download-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.download-button:hover {
    background: rgba(255, 255, 255, 0.65);
    color: #fff;
    text-decoration: none;
}


/* =================================
   18. Share Buttons
================================= */

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
}

.share-label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 4px;
}

.share-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
    color: white;
}

.share-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.facebook { background: #1877f2; }
.x { background: #111111; }
.linkedin { background: #0a66c2; }
.whatsapp { background: #25d366; }
.pinterest { background: #bd081c; }
.email { background: #6b7280; }
.instagram { background: #c13584; }


/* =================================
   19. Footer
================================= */

footer {
    margin-top: 50px;
    padding: 28px 20px;
    text-align: center;
    font-size: 0.95rem;
}

footer a {
    display: inline-block;
    margin-left: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =================================
   20. Effects - Shooting Stars
================================= */

.shooting-star {
    position: fixed;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 8px 2px rgba(255,255,255,0.8);
}

.star1 {
    top: 20%;
    left: -20%;
    transform: rotate(25deg);
    animation: shoot1 35s linear infinite;
}

.star1::after {
    content: "";
    position: absolute;
    top: 1px;
    left: -120px;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0),
        rgba(255,255,255,0.8)
    );
}

.star2 {
    top: 35%;
    right: -20%;
    transform: rotate(-25deg);
    animation: shoot2 42s linear infinite;
    animation-delay: 18s;
}

.star2::after {
    content: "";
    position: absolute;
    top: 1px;
    right: -120px;
    width: 120px;
    height: 2px;
    background: linear-gradient(270deg,
        rgba(255,255,255,0),
        rgba(255,255,255,0.8)
    );
}


/* =================================
   21. Animations
================================= */

@keyframes softGlowPulse {
    0% {
        text-shadow: 0 0 0px rgba(255, 255, 255, 0.0);
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
    }
    100% {
        text-shadow: 0 0 0px rgba(255, 255, 255, 0.0);
    }
}

@keyframes shoot1 {
    0% { transform: rotate(25deg) translateX(0); opacity: 0; }
    4% { opacity: 1; }
    10% { transform: rotate(25deg) translateX(110vw); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes shoot2 {
    0% { transform: rotate(-25deg) translateX(0); opacity: 0; }
    4% { opacity: 1; }
    10% { transform: rotate(-25deg) translateX(-110vw); opacity: 0; }
    100% { opacity: 0; }
}


/* =================================
   22. Mobile / Tablet
================================= */

/* Desktop */
@media (min-width: 901px) {
    .quick-nav-panel {
        display: flex !important;
    }
}

/* Mobile/tablet */
@media (max-width: 900px) {
    .quick-nav {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: auto;
    }

    .quick-nav-toggle {
        display: inline-block;
    }

    .quick-nav-panel {
        display: none;
        margin-top: 10px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .quick-nav.open .quick-nav-panel {
        display: flex;
    }
}

@media (max-width: 760px) {
    .prompt-row,
    .bottom-ideas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drawing-box {
        min-height: 360px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 32px 20px;
        font-size: 1rem;
    }

    footer a {
        display: block;
        margin: 10px 0 0;
    }
}


/* =================================
   23. Print / PDF
================================= */

@page {
    size: A4 portrait;
    margin: 10mm;
}

@media print {
    html,
    body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0;
        padding: 0;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    body::before,
    body::after,
    .shooting-star,
    .no-print-ui,
    .share-buttons,
    footer,
    .sub-intro,
    .print-page-actions,
    .back-link,
    .print-btn {
        display: none !important;
    }

    .sub-header {
        padding: 0 !important;
        margin: 0 !important;
    }

    .page-title {
        display: none !important;
    }

    .sub-main {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .printable-sheet {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        page-break-inside: avoid;
    }

    .printable-topbar {
        display: none !important;
    }

    .sheet-title {
        font-size: 20pt;
        margin: 0 0 4mm;
    }

    .sheet-subtitle {
        font-size: 11pt;
        margin: 0 0 4mm;
    }

    .name-row {
        margin-bottom: 4mm;
        font-size: 10.5pt;
    }

    .prompt-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2.5mm !important;
        margin-bottom: 4mm !important;
        break-inside: avoid;
    }

    .prompt-chip {
        min-height: 29mm !important;
        padding: 2.5mm 1.5mm !important;
        font-size: 9.5pt !important;
        break-inside: avoid;
    }

    .prompt-image {
        width: 21mm !important;
        height: 21mm !important;
        margin-bottom: 1.5mm !important;
    }

    .drawing-box {
        min-height: 122mm !important;
        height: 122mm !important;
        margin: 0 !important;
        break-inside: avoid;
    }

    .corner-top-left,
    .corner-top-right,
    .corner-bottom-left,
    .corner-bottom-right {
        width: 18mm !important;
        height: 34mm !important;
    }

    .draw-here {
        top: 3mm !important;
        font-size: 9pt !important;
        padding: 1.8mm 4mm !important;
    }

    .bottom-ideas {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 2.5mm !important;
        margin-top: 4mm !important;
        break-inside: avoid;
    }

    .idea-box {
        padding: 2mm 1mm !important;
        font-size: 8.5pt !important;
        break-inside: avoid;
    }

    .idea-image {
        width: 18mm !important;
        height: 18mm !important;
        margin-bottom: 1mm !important;
    }
}

/* when opened in dedicated print window */
body.print-mode .no-print-ui {
    display: none !important;
}