/*---------------------------------------/*
 # SETTINGS
/*---------------------------------------*/
:root {
    /* color */
    --black: hsl(0 0 7%);
    --dark-gray: hsl(0 0 10%);
    --darkblue: rgb(0, 149, 255);
    --light-gray: hsl(0 0 13%);
    --lightblue: hsl(205 100% 78%);
    --white: hsl(0 0 93%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/*---------------------------------------/*
 # GENERIC - BOOTSTRAP
/*---------------------------------------*/

/*---------------------------------------/*
 # ELEMENTS
/*---------------------------------------*/
body {
    font-family: 'Ysabeau Office', sans-serif;
    background-color: var(--black);
    background: var(--black);
    background-image: 
        linear-gradient(rgba(24, 85, 216, 0.07), rgba(24, 85, 216, 0.06)),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    background-position: center center;
    padding: 40px;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
    background-color: var(--darkblue);
    opacity: 0.3;
    z-index: 1;
}

body::before {
    left: calc((100vw - 1200px) / 2);
}

body::after {
    right: calc((100vw - 1200px) / 2);
}

@media (max-width: 1280px) {
    body::before {
        left: 40px;
    }
    
    body::after {
        right: 40px;
    }
}

@media (max-width: 768px) {
    body::before {
        left: 20px;
    }
    
    body::after {
        right: 20px;
    }
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
    text-align: center;
    font-weight: 700;
    color: var(--white);
}

footer {
    margin-top: 100px;
}
/*---------------------------------------/*
 # COMPONENTS
/*---------------------------------------*/
.c-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: url('./images/Glow_TopLeft.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

.c-glow--bottom {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: url('./images/Glow_BottomRight.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.c-title {
    color: var(--white);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5rem;
}

.c-description {
    padding-top: 80px;
}

.c-description__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    color: var(--white);
    font-size: 96px;
    line-height: 1.1;
}

.c-description__text {
    text-shadow: 0 0 10px var(--lightblue);
}

.c-description__text[data-text] {
    position: relative;
    animation: glitch 1s linear infinite;
}

.c-description__text[data-text]::before,
.c-description__text[data-text]::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.c-description__text[data-text]::before {
    animation: glitchTop 1s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.c-description__text[data-text]::after {
    animation: glitchBotom 1.5s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
    2%,64% {
        transform: translate(1px,0) skew(0deg);
    }
    4%,60% {
        transform: translate(-1px,0) skew(0deg);
    }
    62% {
        transform: translate(0,0) skew(2deg); 
    }
}

@keyframes glitchTop {
    2%,64% {
        transform: translate(1px,-1px);
    }
    4%,60% {
        transform: translate(-1px,1px);
    }
    62% {
        transform: translate(3px,0) skew(-5deg); 
    }
}

@keyframes glitchBotom {
    2%,64% {
        transform: translate(-1px,0);
    }
    4%,60% {
        transform: translate(1px,0);
    }
    62% {
        transform: translate(-3px,2px) skew(5deg); 
    }
}

.c-description__text--gradient {
    background-image: linear-gradient(to top, var(--darkblue), var(--lightblue));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}

.c-countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 30px;
}

.c-countdown__cell {
    text-align: center;
}

.c-countdown__card {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100px;
    height: 100px;
    position: relative;
    background-color: var(--dark-gray);
}

.c-countdown__circles {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.c-countdown__divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    border: 0;
    width: 140px;
    height: 1px;
    background-color: var(--dark-gray);
    z-index: 2;
}

.c-countdown__card-top,
.c-countdown__card-bottom,
.c-countdown__card-bottom-bg {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
}

.c-countdown__number {
    position: absolute;
    font-size: 3rem;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--darkblue);
    font-weight: 700;
}

.c-countdown__card-top {
    top: 0;
    background-color: var(--dark-gray);
}

.c-countdown__card-top .c-countdown__number {
    top: 100%;
}

.c-countdown__card-bottom,
.c-countdown__card-bottom-bg {
    bottom: 0;
    background-color: var(--dark-gray);
}

.c-countdown__card-bottom {
    transform-origin: top;
    z-index: 1;
}

.c-countdown__card-bottom .c-countdown__number {
    top: 0;
}

.c-countdown__label {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.9rem;
}

.c-date {
    text-align: center;
    margin-top: 25px;
}

.c-date__text {
    background-color: rgba(142, 208, 255, 0.1);
    color: var(--white);
    padding: 7px 20px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(142, 208, 255, 0.5);
}

.c-date__text--blue {
    color: var(--darkblue);
}

.c-join {
    margin-top: 100px;
    text-align: center;
    color: var(--white);
}

.c-join__text {
    margin-top: 20px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.c-join__card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.c-join__card {
    width: 100%;
    height: 250px;
    background-color: var(--dark-gray);
    border-radius: 10px;
    border: 1px solid rgba(0, 149, 255, 0.2);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.c-join__card::before,
.c-join__card::after,
.c-join__card span:nth-child(1),
.c-join__card span:nth-child(2) {
    content: '';
    position: absolute;
    background-color: var(--darkblue);
    opacity: 0.3;
    z-index: 0;
}

.c-join__card::before,
.c-join__card::after {
    bottom: 10px;
    right: 10px;
}

.c-join__card span:nth-child(1),
.c-join__card span:nth-child(2) {
    top: 10px;
    left: 10px;
}

.c-join__card::before {
    height: 2px;
    width: 0;
    animation: borderWidth 3s ease infinite;
}

.c-join__card::after {
    width: 2px;
    height: 0;
    animation: borderHeight 3s ease infinite;
}

.c-join__card span:nth-child(1) {
    height: 2px;
    width: 0;
    animation: borderWidth 3s ease infinite;
}

.c-join__card span:nth-child(2) {
    width: 2px;
    height: 0;
    animation: borderHeight 3s ease infinite;
}

@keyframes borderWidth {
    0%, 100% {
        width: 0;
        opacity: 0;
    }
    5% {
        opacity: 0.3;
        width: 0;
    }
    50% {
        width: 30px;
        opacity: 0.3;
    }
    95% {
        width: 30px;
        opacity: 0;
    }
}

@keyframes borderHeight {
    0%, 100% {
        height: 0;
        opacity: 0;
    }
    5% {
        opacity: 0.3;
        height: 0;
    }
    50% {
        height: 30px;
        opacity: 0.3;
    }
    95% {
        height: 30px;
        opacity: 0;
    }
}

.c-join__card:hover {
    transform: translateY(-5px);
}

.c-join__card:hover .c-join__card-icon {
    background-color: rgba(0, 149, 255, 0.2);
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
        background-color: rgba(0, 149, 255, 0.05);
    }
    50% {
        transform: translateY(-5px);
        background-color: rgba(0, 149, 255, 0.1);
    }
}

.c-join__card-icon {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 149, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    animation: floating 3s ease-in-out infinite;
}

.c-join__card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--darkblue);
    stroke-width: 2;
    transition: stroke 0.3s ease;
    animation: floatingColor 3s ease-in-out infinite;
}

@keyframes floatingColor {
    0%, 100% {
        stroke: rgba(0, 149, 255, 0.4);
    }
    50% {
        stroke: rgba(0, 149, 255, 1);
    }
}

.c-join__card-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.c-join__card-text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.c-about {
    margin-top: 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    width: 100%;
}

.c-about__title {
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 20px 0;
}

.c-about__title::before,
.c-about__title::after {
    content: '';
    position: absolute;
    left: -50vw;
    right: -50vw;
    height: 1px;
    background-color: var(--darkblue);
    opacity: 0.3;
}

.c-about__title::before {
    top: 0;
}

.c-about__title::after {
    bottom: 0;
}

.c-about__text {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
    position: relative;
}

.c-about__text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50vw;
    right: -50vw;
    height: 1px;
    background-color: var(--darkblue);
    opacity: 0.3;
}

.c-about__container {
    padding-top: 30px;
    background: linear-gradient(to bottom, rgba(0, 149, 255, 0), rgba(142, 208, 255, 0.05));
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 40px;
    padding-right: 40px;
}

.c-about__logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.c-footer__title {
    font-size: 1.5rem;
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1rem;
}

.c-footer__socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.c-footer__socials svg {
    width: 24px;
    height: 24px;
    color: var(--white);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.c-footer__socials a {
    display: inline-block;
    transition: all 0.3s ease;
}

.c-footer__socials a:hover {
    transform: translateY(-5px);
}

.c-footer__socials a:hover svg {
    color: var(--darkblue);
    filter: drop-shadow(0 0 8px rgba(0, 149, 255, 0.5));
}

.c-footer__copyright {
    text-align: center;
    color: var(--white);
    margin-top: 2rem;
}

/*---------------------------------------/*
 # OBJECTS
/*---------------------------------------*/

/*---------------------------------------/*
 # UTILITIES
/*---------------------------------------*/

/*---------------------------------------/*
 # MEDIA QUERIES
/*---------------------------------------*/
@media (max-width: 576px) {
    .c-description__container {
        font-size: 2rem;
    }

    .c-description__text {
        font-size: 2.3rem;
    }

    .c-countdown {
        gap: 0.75rem;
    }

    .c-countdown__card {
        width: 60px;
        height: 60px;
    }

    .c-countdown__number {
        font-size: 2rem;
    }

    .c-countdown__label {
        font-size: 0.55rem;
        margin-top: 0.3rem;
        letter-spacing: 0;
    }

    .c-title {
        font-size: 1.2rem;
        letter-spacing: 0.3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .c-join__card {
        height: auto;
        min-height: 200px;
        padding: 20px;
    }

    .c-join__card-title {
        font-size: 1.2rem;
    }

    .c-join__card-text {
        font-size: 0.9rem;
    }

    .c-join__card-icon {
        width: 40px;
        height: 40px;
    }

    .c-join__card-icon svg {
        width: 20px;
        height: 20px;
    }

    .c-date__text {
        font-size: 16px;
    }

    .c-footer__title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .c-title {
        letter-spacing: 0.5rem;
    }

    .c-description__container {
        font-size: 48px;
    }

    .c-join__card-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .c-join__text,
    .c-about__text {
        width: 90%;
    }

    .c-footer__title {
        letter-spacing: 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .c-description__container {
        font-size: 72px;
    }

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

    .c-join__text,
    .c-about__text {
        width: 70%;
    }
}