/* All homepage styles are scoped so the PHP pages retain their existing UI. */
html:has(.homepage) {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    color-scheme: light;
}
html[data-theme="dark"]:has(.homepage) { color-scheme: dark; background: #101713; }

.homepage {
    --home-ink: #213b33;
    --home-muted: #69756e;
    --home-green: #143e32;
    --home-sage: #b7ceb8;
    --home-line: #e2e7e1;
    --home-background: #f7f8f5;
    --home-nav-background: rgba(247, 248, 245, 0.94);
    --home-surface: #fff;
    --home-soft-surface: #fafbf8;
    --home-tint: #edf2e9;
    --home-secondary: #607060;
    --home-faint: #859186;
    --home-link: #335a40;
    --home-link-hover: #173b22;
    --home-control-border: #dce4da;
    --home-badge-background: rgba(255, 255, 255, 0.65);
    height: auto;
    background: var(--home-background);
    color: var(--home-ink);
    font-family: 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] .homepage {
    --home-ink: #e5eee4;
    --home-muted: #a7b5a8;
    --home-line: #334438;
    --home-background: #101713;
    --home-nav-background: rgba(16, 23, 19, 0.94);
    --home-surface: #1a241e;
    --home-soft-surface: #18211b;
    --home-tint: #202d23;
    --home-secondary: #b5c5b7;
    --home-faint: #98aa9c;
    --home-link: #b3d5b5;
    --home-link-hover: #e2f2df;
    --home-control-border: #415447;
    --home-badge-background: rgba(24, 35, 27, 0.86);
}

.homepage a { text-decoration: none; }
.homepage button, .homepage input { font: inherit; }
.homepage ::selection { background: #c8dfcc; color: #143e32; }
.homepage :focus-visible { outline: 3px solid #609f7a; outline-offset: 5px; }
.homepage .home-container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.homepage .home-main { flex: 1; }
.homepage .skip-link { position: fixed; top: 12px; left: 12px; z-index: 1100; padding: 12px 20px; border-radius: 10px; background: var(--home-surface); color: var(--home-ink); transform: translateY(-150%); }
.homepage .skip-link:focus { transform: translateY(0); }

/* Quiet, sticky navigation. */
.homepage .my-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 17px 0;
    border-bottom: 1px solid transparent;
    background: var(--home-nav-background);
    color: var(--home-ink);
    box-shadow: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 220ms ease, box-shadow 220ms ease;
}
.homepage .my-navbar.is-scrolled { border-color: var(--home-line); box-shadow: 0 4px 20px rgba(28, 53, 40, 0.04); }
.homepage .navbar-main-row { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0; }
.homepage .my-navbar .navbar-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; margin-right: 0; white-space: nowrap; color: var(--home-ink); font-size: 1.13rem; font-weight: 800; letter-spacing: -0.045em; }
.homepage .navbar-brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.homepage .my-navbar .navbar-brand:hover { opacity: 1; transform: none; }
.homepage .brand-domain { color: var(--home-faint); font-weight: 500; }
.homepage .brand-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--home-green); transition: background 220ms ease; }
.homepage .navbar-brand:hover .brand-icon { background: #24533f; }
.homepage .navbar-logo { width: 32px; height: 32px; margin: 0; }
.homepage .nav-actions { display: flex; flex-shrink: 0; align-items: center; flex-wrap: nowrap; gap: 24px; margin-left: auto; }
.homepage .nav-link { padding: 8px 0; color: var(--home-secondary); font-size: 0.82rem; font-weight: 600; transition: color 180ms ease; }
.homepage .nav-link:hover { color: var(--home-link-hover); }
.homepage .nav-link span { margin-left: 4px; }
.homepage .my-btn { gap: 18px; min-height: 42px; padding: 0 20px; border: 1px solid var(--home-green); border-radius: 9px; background: var(--home-green); color: #fff; font-size: 0.82rem; font-weight: 700; box-shadow: none; transition: background 200ms ease, transform 200ms ease; }
.homepage .my-btn:hover { background: #24533f; color: #fff; box-shadow: none; transform: translateY(-2px); }
.homepage .theme-toggle { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; padding: 0; border: 1px solid var(--home-line); border-radius: 9px; background: var(--home-surface); color: var(--home-secondary); transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.homepage .theme-toggle:hover { border-color: var(--home-control-border); background: var(--home-tint); color: var(--home-ink); }
.homepage .theme-icon-sun { display: none; }
[data-theme="dark"] .homepage .theme-icon-moon { display: none; }
[data-theme="dark"] .homepage .theme-icon-sun { display: block; }

/* The muted video sits behind the content at a deliberately low opacity. */
.homepage .home-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    width: min(1320px, calc(100% - 40px));
    margin: 10px auto 0;
    border: 1px solid #254b3d;
    border-radius: 24px;
    background: radial-gradient(ellipse at 85% 45%, rgba(109, 151, 106, 0.15), transparent 55%), #153c30;
    color: #f6f8f0;
}
.homepage .hero-background { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.homepage .hero-background-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.12; filter: saturate(0.45); }
.homepage .hero-video-toggle { position: absolute; right: 18px; bottom: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(190, 210, 178, 0.18); border-radius: 50%; background: rgba(21, 60, 48, 0.5); color: #a4bca9; font-size: 0.75rem; line-height: 1; transition: color 180ms ease, background 180ms ease; }
.homepage .hero-video-toggle[hidden] { display: none; }
.homepage .hero-video-toggle:hover { background: rgba(21, 60, 48, 0.9); color: #f6f8f0; }
.homepage .home-hero::after { content: ''; position: absolute; z-index: -1; width: 600px; height: 600px; right: -300px; bottom: -470px; border: 1px solid rgba(196, 219, 189, 0.09); border-radius: 50%; }
.homepage .hero-layout { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 36px; min-height: 550px; padding-block: 70px 80px; }
.homepage .eyebrow { margin: 0 0 16px; font-size: 0.67rem; font-weight: 800; line-height: 1.5; letter-spacing: 0.16em; text-transform: uppercase; }
.homepage .hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; color: #c6d9c6; }
.homepage .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #bed4ac; box-shadow: 0 0 0 4px rgba(190, 212, 172, 0.07); }
.homepage .hero-copy h1 { margin: 0 0 24px; font-size: clamp(2.5rem, 4.6vw, 4.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.055em; }
.homepage .hero-copy h1 span { color: var(--home-sage); }
.homepage .hero-description { max-width: 430px; margin: 0; color: #c2d0c5; font-size: 0.95rem; line-height: 1.85; }
.homepage .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.homepage .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 9px; font-size: 0.8rem; font-weight: 800; line-height: 1.5; transition: background 200ms ease, transform 200ms ease, border-color 200ms ease; }
.homepage .home-button:hover { transform: translateY(-2px); }
.homepage .button-light { background: #e8eee1; color: #204334; }
.homepage .button-light:hover { background: #fff; color: #204334; }
.homepage .button-arrow { font-size: 1.1rem; font-weight: 500; transition: transform 200ms ease; }
.homepage .home-button:hover .button-arrow { transform: translate(2px, -2px); }
.homepage .hero-community-link { color: #e0e8df; font-size: 0.8rem; font-weight: 600; }
.homepage .hero-community-link:hover { color: #fff; }
.homepage .hero-community-link span { margin-left: 10px; }
.homepage .hero-topics { display: flex; flex-wrap: wrap; gap: 0; margin-top: 37px; color: #aabeb0; font-size: 0.65rem; letter-spacing: 0.035em; }
.homepage .hero-topics span + span::before { content: '·'; margin: 0 13px; color: #91ab96; }
.homepage .hero-art { position: relative; display: grid; place-items: center; width: min(100%, 390px); aspect-ratio: 1; margin: 0 auto; }
.homepage .emblem-orbit { position: absolute; border: 1px solid rgba(190, 210, 178, 0.12); border-radius: 50%; pointer-events: none; }
.homepage .orbit-outer { inset: 0; }
.homepage .orbit-inner { inset: 28px; border-style: dashed; border-color: rgba(190, 210, 178, 0.1); }
/*.homepage .orbit-outer::before { content: ''; position: absolute; top: 16%; right: 13%; width: 7px; height: 7px; border: 2px solid #2e5642; border-radius: 50%; background: #99b38d; }
.homepage .orbit-outer::after { content: ''; position: absolute; left: 2%; bottom: 32%; width: 5px; height: 5px; border-radius: 50%; background: #6f8d70; }
*/ 
.homepage .hero-emblem { display: grid; place-items: center; width: 74%; aspect-ratio: 1; border: 1px solid rgba(189, 209, 179, 0.12); border-radius: 50%; background: radial-gradient(circle at 35% 20%, #345b43, #1c4635 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 65px rgba(7, 27, 19, 0.18); animation: emblemFloat 8s ease-in-out 1.2s infinite; }
.homepage .hero-logo { width: 73%; height: auto; filter: drop-shadow(0 8px 12px rgba(6, 24, 16, 0.16)); animation: logoEnter 1.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.homepage .emblem-caption { position: absolute; bottom: -22px; color: #9db69e; font-size: 0.56rem; letter-spacing: 0.18em; }
.homepage .emblem-caption span { margin: 0 9px; }
.homepage .hero-scroll { position: absolute; bottom: 20px; left: 50%; display: flex; align-items: center; gap: 11px; transform: translateX(-50%); color: #a4bca9; font-size: 0.61rem; letter-spacing: 0.03em; }
.homepage .hero-scroll:hover { color: #e2eddf; }
.homepage .scroll-line { width: 24px; height: 1px; background: #6a8a73; }
.homepage .hero-intro { animation: contentEnter 750ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.homepage .hero-intro:nth-child(2) { animation-delay: 90ms; }
.homepage .hero-intro:nth-child(3) { animation-delay: 180ms; }
.homepage .hero-intro:nth-child(4) { animation-delay: 270ms; }
.homepage .hero-intro:nth-child(5) { animation-delay: 360ms; }

/* Project details remain visible on touch screens and with a keyboard. */
.homepage .projects-section { padding-block: 76px 0; scroll-margin-top: 10px; }
.homepage .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.homepage .section-heading .eyebrow { margin-bottom: 10px; color: var(--home-secondary); }
.homepage .section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.3; }
.homepage .section-heading > p { margin: 0 0 4px; color: var(--home-muted); font-size: 0.76rem; }
.homepage .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.homepage .project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--home-line); border-radius: 17px; background: var(--home-surface); box-shadow: 0 4px 12px rgba(34, 55, 40, 0.015); transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease; }
.homepage .project-card:hover { border-color: var(--home-control-border); box-shadow: 0 14px 30px rgba(34, 55, 40, 0.055); transform: translateY(-4px); }
.homepage .project-visual { position: relative; display: grid; place-items: center; height: 172px; margin: 8px 8px 0; overflow: hidden; border-radius: 11px; }
.homepage .minecraft-visual { background: radial-gradient(ellipse at 50% 80%, #d9e5ce, transparent 65%), #edf2e8; }
.homepage .gta-visual { background: radial-gradient(ellipse at 50% 80%, #e0e4df, transparent 65%), #f0f2ef; }
.homepage .drillaz-visual { background: radial-gradient(ellipse at 50% 80%, #dce1e3, transparent 65%), #edf0f1; }
[data-theme="dark"] .homepage .minecraft-visual { background: radial-gradient(ellipse at 50% 80%, #344c30, transparent 65%), #202e21; }
[data-theme="dark"] .homepage .gta-visual { background: radial-gradient(ellipse at 50% 80%, #3c4539, transparent 65%), #252e26; }
[data-theme="dark"] .homepage .drillaz-visual { background: radial-gradient(ellipse at 50% 80%, #384347, transparent 65%), #232d2e; }
.homepage .project-category { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 9px; border: 1px solid var(--home-line); border-radius: 5px; background: var(--home-badge-background); color: var(--home-secondary); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.04em; }
.homepage .project-number { position: absolute; top: 17px; right: 15px; color: var(--home-faint); font-size: 0.57rem; font-weight: 600; }
.homepage .project-image { position: relative; width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(33, 55, 31, 0.1)); transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.homepage .project-card:hover .project-image { transform: translateY(-3px) scale(1.035); }
.homepage .minecraft-image { width: 105px; height: 115px; margin-top: 12px; }
.homepage .gta-image { width: 137px; height: 115px; margin-top: 13px; }
.homepage .drillaz-image { width: 140px; height: 140px; align-self: end; margin-bottom: -2px; filter: none; }
.homepage .project-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 23px 24px 21px; }
.homepage .project-kicker { margin: 0 0 9px; color: var(--home-secondary); font-size: 0.66rem; font-weight: 600; }
.homepage .project-content h3 { margin: 0 0 11px; color: var(--home-ink); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; }
.homepage .project-description { min-height: 48px; margin: 0 0 18px; color: var(--home-muted); font-size: 0.85rem; line-height: 1.85; }
.homepage .server-details { display: grid; gap: 7px; width: 100%; margin: 0 0 22px; font-size: 0.73rem; }
.homepage .server-details div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.homepage .server-details dt { color: var(--home-faint); font-weight: 500; }
.homepage .server-details dd { margin: 0; color: var(--home-secondary); font-weight: 600; }
.homepage .server-details .minecraft-status { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.homepage .minecraft-status::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #98a298; }
.homepage .minecraft-status[data-state="online"]::before { background: #3f8653; box-shadow: 0 0 0 3px rgba(63, 134, 83, 0.1); }
.homepage .server-details .minecraft-status[data-state="unavailable"] { color: var(--home-muted); }
.homepage .project-tag { margin-bottom: 22px; padding: 5px 9px; border: 1px solid var(--home-line); border-radius: 5px; color: var(--home-secondary); background: var(--home-soft-surface); font-size: 0.67rem; line-height: 1.5; }
.homepage .project-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--home-line); color: var(--home-link); font-size: 0.8rem; font-weight: 800; }
.homepage .project-link span { font-size: 1rem; font-weight: 500; transition: transform 200ms ease; }
.homepage .project-link:hover { color: var(--home-link-hover); }
.homepage .project-link:hover span { transform: translate(2px, -2px); }

.homepage .community-section { padding-block: 42px 70px; }
.homepage .community-banner { display: flex; align-items: center; gap: 24px; padding: 32px 34px; border: 1px solid var(--home-line); border-radius: 17px; background: var(--home-tint); }
.homepage .community-icon { display: grid; place-items: center; flex-shrink: 0; width: 68px; height: 68px; border-radius: 18px; background: #2a5039; }
.homepage .community-copy { flex: 1; }
.homepage .community-copy .eyebrow { margin-bottom: 7px; color: var(--home-secondary); font-size: 0.57rem; }
.homepage .community-copy h2 { margin: 0 0 6px; font-size: 1.21rem; font-weight: 700; letter-spacing: -0.035em; }
.homepage .community-copy > p:last-child { margin: 0; color: var(--home-muted); font-size: 0.73rem; line-height: 1.8; }
.homepage .button-dark { flex-shrink: 0; background: #254b35; color: #fff; }
.homepage .button-dark:hover { background: #163d25; color: #fff; }
.homepage .home-footer { padding-block: 27px; border-top: 1px solid var(--home-line); background: var(--home-background); color: var(--home-faint); font-size: 0.62rem; }
.homepage .footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.homepage .footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--home-secondary); font-size: 0.7rem; font-weight: 700; }
.homepage .footer-brand img { padding: 3px; border-radius: 6px; background: #48624c; }
.homepage .back-to-top { color: var(--home-secondary); }
.homepage .back-to-top:hover { color: var(--home-link-hover); }
.homepage .back-to-top span { margin-left: 8px; }

/* Bootstrap login remains fully functional, with the same visual language. */
.homepage .modal-content { border: 1px solid var(--home-line); border-radius: 18px; background: var(--home-soft-surface); color: var(--home-ink); box-shadow: 0 24px 80px rgba(16, 39, 25, 0.2); }
.homepage .modal-header { padding: 24px 26px 20px; border-color: var(--home-line); }
.homepage .modal-title { color: var(--home-ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.035em; }
.homepage .modal-body { padding: 26px; }
.homepage .form-label { font-size: 0.8rem; font-weight: 600; }
.homepage .form-control { min-height: 45px; border-color: var(--home-control-border); border-radius: 8px; background: var(--home-surface); color: var(--home-ink); font-size: 0.85rem; }
.homepage .form-control:focus { border-color: #86a78a; box-shadow: 0 0 0 3px rgba(89, 138, 95, 0.12); }
.homepage .modal .btn-outline-secondary { border-color: var(--home-control-border); border-radius: 8px; color: var(--home-secondary); font-size: 0.76rem; }
.homepage .modal .btn-outline-secondary:hover { background: var(--home-tint); color: var(--home-ink); }
[data-theme="dark"] .homepage .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.homepage .modal .my-btn { min-height: 45px; }
.homepage #togglePw { min-width: 92px; border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Only observer-managed elements are hidden; without JS all content is visible. */
.homepage [data-reveal].reveal-pending { opacity: 0; transform: translateY(18px); }
.homepage [data-reveal].reveal-visible { animation: contentEnter 650ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--reveal-delay, 0ms); }
.homepage .project-card.reveal-visible { animation-fill-mode: backwards; }
@keyframes contentEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes logoEnter { from { opacity: 0; transform: translateY(12px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes emblemFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }

@media (min-width: 1500px) { .homepage .hero-layout { min-height: 580px; } }
@media (max-width: 1050px) {
    .homepage .hero-layout { grid-template-columns: 1.4fr 1fr; gap: 20px; min-height: 490px; padding-block: 60px 70px; }
    .homepage .hero-copy h1 { font-size: clamp(2.4rem, 4.7vw, 3.1rem); }
    .homepage .hero-art { width: min(100%, 320px); }
    .homepage .project-content { padding-inline: 19px; }
    .homepage .project-description { min-height: 66px; }
    .homepage .community-banner { gap: 20px; padding: 27px; }
}
@media (max-width: 760px) {
    .homepage .home-container { width: calc(100% - 40px); }
    .homepage .my-navbar { padding-block: 12px; }
    .homepage .navbar-main-row { gap: 10px; }
    .homepage .nav-actions { gap: 8px; }
    .homepage .nav-actions > .nav-link { display: none; }
    .homepage .my-navbar .navbar-brand { font-size: 0.9rem; gap: 8px; }
    .homepage .brand-icon { width: 34px; height: 34px; border-radius: 10px; }
    .homepage .navbar-logo { width: 26px; height: 26px; }
    .homepage .theme-toggle { width: 40px; height: 42px; }
    .homepage .my-navbar .navbar-login { padding-inline: 14px; gap: 10px; }
    .homepage .home-hero { width: calc(100% - 24px); margin-top: 6px; border-radius: 19px; }
    .homepage .hero-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 65px; }
    .homepage .hero-copy { text-align: center; }
    .homepage .hero-copy > .eyebrow, .homepage .hero-actions, .homepage .hero-topics { justify-content: center; }
    .homepage .hero-copy h1 { font-size: clamp(2rem, 7.3vw, 3.8rem); }
    .homepage .hero-description { margin-inline: auto; font-size: 0.84rem; }
    .homepage .hero-actions { margin-top: 24px; gap: 22px; }
    .homepage .hero-topics { margin-top: 25px; }
    .homepage .hero-art { width: 235px; }
    .homepage .orbit-inner { inset: 17px; }
    .homepage .emblem-caption { bottom: -18px; font-size: 0.48rem; }
    .homepage .hero-scroll { bottom: 16px; }
    .homepage .projects-section { padding-top: 48px; }
    .homepage .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 22px; }
    .homepage .projects-grid { grid-template-columns: 1fr; gap: 20px; }
    .homepage .project-visual { height: 180px; }
    .homepage .project-content { padding: 23px 24px; }
    .homepage .project-description { min-height: 0; font-size: 0.83rem; }
    .homepage .project-kicker { font-size: 0.65rem; }
    .homepage .project-link { font-size: 0.8rem; }
    .homepage .server-details { font-size: 0.73rem; }
    .homepage .community-section { padding-block: 28px 44px; }
    .homepage .community-banner { flex-wrap: wrap; padding: 25px; gap: 19px; }
    .homepage .community-icon { width: 52px; height: 52px; border-radius: 13px; }
    .homepage .community-icon img { width: 38px; height: 38px; }
    .homepage .community-copy { flex-basis: calc(100% - 80px); }
    .homepage .community-copy h2 { font-size: 1.1rem; }
    .homepage .community-banner .home-button { width: 100%; }
    .homepage .footer-layout { flex-wrap: wrap; justify-content: center; column-gap: 24px; row-gap: 15px; }
    .homepage .footer-brand { justify-content: center; width: 100%; }
}
@media (max-width: 380px) {
    .homepage .home-container { width: calc(100% - 32px); }
    .homepage .navbar-main-row { gap: 8px; }
    .homepage .my-navbar .navbar-brand { font-size: 0.78rem; gap: 7px; }
    .homepage .brand-icon { width: 30px; height: 30px; }
    .homepage .navbar-logo { width: 24px; height: 24px; }
    .homepage .my-navbar .navbar-login { padding-inline: 12px; }
    .homepage .navbar-login > span { display: none; }
    .homepage .hero-copy h1 { font-size: 2rem; }
    .homepage .hero-actions { gap: 17px; }
    .homepage .hero-actions .home-button { padding-inline: 15px; gap: 15px; }
    .homepage .community-banner { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.homepage) { scroll-behavior: auto; }
    .homepage *, .homepage *::before, .homepage *::after { animation: none !important; transition: none !important; }
    .homepage [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
