/*
    Ability in Motion — Custom Styles
    Single theme: pink-to-blue neon gradient on a dark canvas
*/

:root {
    --aim-bg:        #07040f;
    --aim-bg-alt:    #0d0a1e;
    --aim-bg-alt2:   #120c24;
    --aim-text:      #eae7f7;
    --aim-text-muted:#b0a8d1;
    --aim-pink:      #ff2e9c;
    --aim-purple:    #8a3ffa;
    --aim-blue:      #33b4ff;
    --aim-gradient:  linear-gradient(90deg, var(--aim-pink) 0%, var(--aim-purple) 50%, var(--aim-blue) 100%);
}

/* =============================================
   SITE LOGO (gradient text wordmark)
   ============================================= */

.site-logo-text {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 800;
    font-size: 1.3em;
    letter-spacing: 0.02em;
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

/* =============================================
   PAGE BACKGROUND — pink/blue glow on near-black
   ============================================= */

body {
    background: var(--aim-bg);
}

body.landing #page-wrapper {
    background-image:
        radial-gradient(ellipse 60% 50% at 12% 15%, rgba(255, 46, 156, 0.22), transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 80%, rgba(51, 180, 255, 0.20), transparent 60%);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile fallback (no fixed attachment) */
body.is-mobile.landing #banner,
body.is-mobile.landing .wrapper.style4 {
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 46, 156, 0.22), transparent 60%),
        radial-gradient(ellipse 70% 55% at 85% 90%, rgba(51, 180, 255, 0.20), transparent 60%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Banner preload fade */
#banner:after {
    background: var(--aim-bg);
}

/* Banner headline accent lines + glow */
#banner h2:before,
#banner h2:after {
    background: var(--aim-gradient);
    box-shadow: 0 0 12px rgba(255, 46, 156, 0.5), 0 0 12px rgba(51, 180, 255, 0.4);
}
#banner h2 {
    text-shadow: 0 0 40px rgba(255, 46, 156, 0.2), 0 0 80px rgba(51, 180, 255, 0.15);
}

/* =============================================
   HEADER AUTH LINKS (Log In / Sign Up)
   ============================================= */

.header-auth-link {
    border: 0 !important;
    color: #fff !important;
    display: inline-block;
    font-size: 0.75em;
    letter-spacing: 0.18em;
    padding: 0 1em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.header-auth-link:hover { opacity: 1; }

.header-signup {
    font-size: 0.65em !important;
    height: 2.2em !important;
    line-height: 2.2em !important;
    padding: 0 1.2em !important;
    margin: 0 0.5em;
    vertical-align: middle;
    border: 0 !important;
}

@media screen and (min-width: 737px) {
    #header nav > ul > li > a.header-auth-link,
    #header nav > ul > li > a.header-signup {
        display: inline-block;
    }
}

/* =============================================
   POWERED BY FOOTER BLOCK
   ============================================= */

.powered-by {
    margin-top: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}
.powered-by:hover { opacity: 1; }

.powered-by span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7em;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jam-logo {
    height: 32px;
    width: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.powered-by a:hover .jam-logo { opacity: 1; }

/* =============================================
   HEADER / MENU
   ============================================= */

#header {
    background: var(--aim-bg);
    border-bottom: 1px solid rgba(255, 46, 156, 0.12);
}

#menu {
    background: #08081e;
    border-left: 1px solid rgba(51, 180, 255, 0.25);
}
#menu ul > li {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* =============================================
   SECTION: About / Mission (style1)
   ============================================= */

.wrapper.style1 {
    background-color: var(--aim-bg-alt);
    color: var(--aim-text-muted);
}
.wrapper.style1 .about-body {
    max-width: 48em;
    margin: 1.5em auto 0 auto;
    color: var(--aim-text-muted);
}
.wrapper.style1 h2,
.wrapper.style1 h3,
.wrapper.style1 h4,
.wrapper.style1 h5,
.wrapper.style1 h6 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wrapper.style1 header p       { color: #cabfe8; }
.wrapper.style1 header.major p { color: var(--aim-text-muted); }
.wrapper.style1 header.major h2,
.wrapper.style1 header.major h3 {
    border-bottom-color: rgba(255, 46, 156, 0.3);
}
.wrapper.style1 .icon.major {
    border-color: rgba(255, 255, 255, 0.15);
}
.wrapper.style1 select option {
    background: var(--aim-bg-alt);
}
.wrapper.style1 input[type="checkbox"]:checked + label:before {
    background: #fff;
    color: var(--aim-bg-alt);
}
.wrapper.style1 input[type="submit"],
.wrapper.style1 input[type="reset"],
.wrapper.style1 input[type="button"],
.wrapper.style1 button,
.wrapper.style1 .button {
    box-shadow: inset 0 0 0 2px var(--aim-blue);
    color: var(--aim-blue);
}

/* =============================================
   SECTION: Offerings spotlights (style2)
   ============================================= */

.wrapper.style2 {
    background-color: var(--aim-bg);
}

.spotlight .image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.offer-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(var(--aim-bg-alt2), var(--aim-bg-alt2)), var(--aim-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
    box-shadow: 0 0 40px rgba(255, 46, 156, 0.2), 0 0 60px rgba(51, 180, 255, 0.15);
}
.offer-icon-circle i {
    font-size: 3em;
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.spotlight .content h2 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.spotlight .content p {
    color: var(--aim-text-muted);
}
.spotlight .content p a {
    color: var(--aim-blue);
    border-bottom: 1px dotted rgba(51, 180, 255, 0.5);
}
.spotlight .content p a:hover {
    border-bottom-color: var(--aim-blue);
}

/* =============================================
   SECTION: Membership features (style3)
   ============================================= */

.wrapper.style3 {
    background-color: var(--aim-bg-alt2);
    color: var(--aim-text-muted);
}
.wrapper.style3 strong,
.wrapper.style3 b,
.wrapper.style3 h2,
.wrapper.style3 h3,
.wrapper.style3 h4,
.wrapper.style3 h5,
.wrapper.style3 h6 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wrapper.style3 header p        { color: #cabfe8; }
.wrapper.style3 header.major p  { color: var(--aim-text-muted); }
.wrapper.style3 select option   { background: var(--aim-bg-alt2); }
.wrapper.style3 input[type="checkbox"]:checked + label:before {
    background: #fff;
    color: var(--aim-bg-alt2);
}
.wrapper.style3 .icon.major { border-color: rgba(255, 255, 255, 0.12); }
.wrapper.style3 ul.alt li   { border-color: rgba(255, 255, 255, 0.12); }
.wrapper.style3 table tbody tr { border-color: rgba(255, 255, 255, 0.12); }
.wrapper.style3 table thead     { border-color: rgba(255, 255, 255, 0.12); }
.wrapper.style3 table tfoot     { border-color: rgba(255, 255, 255, 0.12); }
.wrapper.style3 input[type="submit"],
.wrapper.style3 input[type="reset"],
.wrapper.style3 input[type="button"],
.wrapper.style3 button,
.wrapper.style3 .button {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    color: #fff;
}
.wrapper.style3 .features li {
    border-top-color: rgba(255, 255, 255, 0.08);
}
.wrapper.style3 .features li:before {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =============================================
   SECTION: FAQ (style5)
   ============================================= */

.wrapper.style5 {
    background-color: var(--aim-bg);
    color: var(--aim-text-muted);
}
.wrapper.style5 h2 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2em 0;
}
.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--aim-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary:after {
    content: '+';
    flex: none;
    font-size: 1.5em;
    line-height: 1;
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.25s ease;
}
.faq-item[open] summary:after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0.8em 0 0 0;
    color: var(--aim-text-muted);
    line-height: 1.7;
}

/* =============================================
   SECTION: CTA (style4)
   ============================================= */

.wrapper.style4 h2 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wrapper.style4 header p {
    color: var(--aim-text-muted);
}

/* =============================================
   FOOTER
   ============================================= */

#footer {
    background-color: #020208;
}
body.landing #footer {
    background-color: rgba(2, 2, 8, 0.95);
}

/* =============================================
   BUTTONS
   ============================================= */

.button.primary,
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary {
    background-image: var(--aim-gradient) !important;
    background-color: var(--aim-purple) !important;
    border: 0 !important;
    box-shadow: 0 0 22px rgba(255, 46, 156, 0.35), 0 0 22px rgba(51, 180, 255, 0.25) !important;
}
.button.primary:hover,
input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover {
    box-shadow: 0 0 34px rgba(255, 46, 156, 0.55), 0 0 34px rgba(51, 180, 255, 0.4) !important;
}
.button.primary:active,
input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
button.primary:active {
    box-shadow: 0 0 15px rgba(255, 46, 156, 0.4), 0 0 15px rgba(51, 180, 255, 0.3) !important;
}

.button:not(.primary) {
    box-shadow: inset 0 0 0 2px var(--aim-blue);
    color: var(--aim-blue);
}
.button:not(.primary):hover {
    background-color: rgba(51, 180, 255, 0.1) !important;
    box-shadow: inset 0 0 0 2px var(--aim-blue), 0 0 14px rgba(51, 180, 255, 0.3);
}

/* Diamond icon accent colours */
.icon.style1 { color: var(--aim-pink); }
.icon.style2 { color: var(--aim-purple); }
.icon.style3 { color: var(--aim-blue); }

/* Features grid icon colour (fallback for browsers without background-clip:text) */
.features li:before { color: var(--aim-blue); }

/* Input focus ring */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px var(--aim-blue), 0 0 10px rgba(51, 180, 255, 0.3);
}

/* =============================================
   SECTION: Katz Corner — upcoming events (style6)
   ============================================= */

.wrapper.style6 {
    background-color: var(--aim-bg-alt);
    color: var(--aim-text-muted);
}
.wrapper.style6 h2 {
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wrapper.style6 header.major p { color: var(--aim-text-muted); }

.kc-events {
    max-width: 860px;
    margin: 0 auto 2.5em auto;
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    text-align: left;
}

.kc-card {
    display: flex;
    gap: 1.5em;
    align-items: flex-start;
    padding: 1.5em;
    border-radius: 10px;
    background-image: linear-gradient(var(--aim-bg-alt2), var(--aim-bg-alt2)), var(--aim-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.kc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(255, 46, 156, 0.22), 0 0 26px rgba(51, 180, 255, 0.18);
}

.kc-date {
    flex: none;
    width: 4.8em;
    padding: 0.6em 0;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.1;
}
.kc-date span { display: block; }
.kc-month,
.kc-weekday {
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aim-text-muted);
}
.kc-day {
    margin: 0.15em 0;
    font-size: 2em;
    font-weight: 800;
    background: var(--aim-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.kc-body { flex: 1; min-width: 0; }
.kc-body h3 {
    margin: 0 0 0.4em 0;
    font-size: 1em;
    color: var(--aim-text);
    letter-spacing: 0.08em;
}
.kc-meta {
    margin: 0 0 0.5em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em 1.4em;
    font-size: 0.85em;
    color: #cabfe8;
}
.kc-meta i { color: var(--aim-pink); margin-right: 0.2em; }
.kc-desc {
    margin: 0 0 0.6em 0;
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--aim-text-muted);
}
.kc-link {
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aim-blue) !important;
    border-bottom: 1px dotted rgba(51, 180, 255, 0.5) !important;
}
.kc-link:hover { border-bottom-color: var(--aim-blue) !important; }

.kc-status {
    text-align: center;
    color: var(--aim-text-muted);
    margin: 0;
}

@media screen and (max-width: 480px) {
    .kc-card { gap: 1em; padding: 1.1em; }
    .kc-date { width: 3.8em; }
    .kc-day  { font-size: 1.6em; }
}

/* Peeking cat Lottie, pinned flush to the section's bottom-right corner.
   The animation canvas is pre-cropped to the cat (1260x710). */
#katz-corner {
    position: relative;
    overflow: hidden;
}
.kc-cat {
    position: absolute;
    right: 2em;
    bottom: 0;
    width: 110px;
    aspect-ratio: 1260 / 710;
    pointer-events: none;
    line-height: 0;
}
.kc-cat-anim,
.kc-cat-anim svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media screen and (max-width: 736px) {
    .kc-cat { width: 80px; right: 1em; }
}
