/*
Theme Name: DAA
Template: apparatus
Theme URI: https://www.pixouls.com/
Author: Pixouls
Author URI: https://www.pixouls.com/
Description: Apparatus child theme by Pixouls.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: apparatus-child
Tags:
*/

.button, input[type="submit"], input[type="reset"], input[type="button"] {
    color: var(--c-d);
}

/* ==========================================================================
   Splash Page
   ========================================================================== */
.home .hdr,
.home .ftr,
.skip-link {
    display: none;
}
.splash {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #000;
}

/* --- Tile Grid Background --- */

.splash-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: .6rem;
}

.splash-col {
    overflow: hidden;
    position: relative;
}

.splash-col-inner {
    display: flex;
    flex-direction: column;
    animation: splashScrollUp 40s linear infinite;
}

.splash-col:nth-child(even) .splash-col-inner {
    animation-name: splashScrollDown;
}

.splash-card {
    width: 100%;
    aspect-ratio: 720 / 992;
    display: block;
    border-radius: .4rem;
    flex-shrink: 0;
    margin-bottom: .6rem;
}

@keyframes splashScrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-33.333%); }
}

@keyframes splashScrollDown {
    0%   { transform: translateY(-33.333%); }
    100% { transform: translateY(0); }
}

/* --- Overlay --- */

.splash-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2;
}

/* --- Logo --- */

.splash-logo {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.splash-logo .logo {
    width: 100%;
    max-width: 57.6rem;
    margin-bottom: 4rem;
}

.splash-logo .logo path {
    animation: logoColor 15s ease infinite;
}

@keyframes logoColor {
    0%, 100% { fill: var(--c-pri); }
    33%      { fill: var(--c-ter); }
    66%      { fill: var(--c-qua); }
}

/* --- Bottom Bar --- */

.splash-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    z-index: 4;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
    border-top: .1rem solid rgba(255, 255, 255, .1);
    cursor: pointer;
}

.splash-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 2.4rem;
    height: 100%;
}

.splash-bar-left {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.splash-bar-label {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-pri);
}

.countdown {
    display: flex;
    gap: 1.2rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.countdown-val {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c-pri);
    font-variant-numeric: tabular-nums;
}

.countdown-lbl {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .5);
    margin-top: .3rem;
}

.badge {
    width: 6.4rem;
    height: 6.4rem;
    flex-shrink: 0;
    display: block;
}

.badge__text {
    transform-origin: center;
    animation: badgeSpin 12s linear infinite;
}

@keyframes badgeSpin {
    to { transform: rotate(360deg); }
}

.splash-bar-right {
    display: flex;
    align-items: center;
}

.splash-bar-btn {
    background: var(--c-ter);
    color: #000;
    border: 0;
    border-radius: .4rem;
    padding: .8rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.splash-bar:hover .splash-bar-btn {
    background: var(--c-qua);
}

/* --- Pop Signup --- */
.pop--signup {
    background-color: color-mix(in srgb, var(--c-bg) 50%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.pop--signup .pop__item {
    padding: 6.4rem 4.0rem;
    border-radius: none;
    background: transparent;
    top: -4.0rem;
}
.pop--signup .pop__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-bg);
    transform: skewY(-9deg);
    z-index: -1;
}
.pop--signup .pop__close {
    top: -2.4rem;
}

.p-signup__title,
.gform_title {
    font-size: 2.4rem;
    margin: 0 0 .8rem;
    text-align: center;
}
.gform_confirmation_message_1 {
    margin-top: 2.4rem;
}

.p-signup__text,
.gform_description {
    text-align: center;
    font-size: 1.4rem;
    text-wrap: pretty;
    color: var(--c-75);
}
.p-signup .gform-footer {
    justify-content: center;
}
.p-signup:has(.gform_confirmation_message) .p-signup__share {
    display: block;
}

.p-signup__share {
    display: none;
    text-align: center;
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
    padding-top: 2.4rem;
    border-top: .1rem solid rgba(255, 255, 255, .1);
}

.p-signup__share-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--c-50);
    margin: 0 0 1.2rem;
}

.p-signup__share-btns {
    display: flex;
    justify-content: center;
    gap: .8rem;
}

.p-signup__share-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 0;
    border-radius: .4rem;
    padding: .6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}

.p-signup__share-btn:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.p-signup__share-btn svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .splash-bg {
        grid-template-columns: repeat(5, 1fr);
    }
    .splash-col:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 600px) {
    .pop--signup .pop__item {
        padding-inline: 2.4rem;
    }
    .splash-bg {
        grid-template-columns: repeat(3, 1fr);
    }
    .splash-col:nth-child(n+4) {
        display: none;
    }
    .splash-logo .logo {
        max-width: 80%;
    }
}
