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

html, body {
    height: 100%;
    font-family: 'Sora', system-ui, Arial, Helvetica, sans-serif;
}


.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    background-image: url('../medias/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
}


.hero-nav {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 48px;
}

.brand {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 22px;
    animation: fade-in-down 0.7s ease both;
}

.auth a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.auth a:hover {
    color: #ff9a3a;
}

.auth-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    user-select: none;
}


.user-dropdown {
    position: relative;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.user-dropdown-trigger:hover {
    color: #ff9a3a;
}

.user-dropdown-trigger svg {
    transition: transform 0.2s ease;
}

.user-dropdown.open .user-dropdown-trigger svg {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 140px;
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-dropdown.open .user-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.user-dropdown-item {
    display: block;
    padding: 9px 14px;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s ease, color 0.15s ease;
}

.user-dropdown-item:hover {
    background: rgba(255, 154, 58, 0.15);
    color: #ff9a3a;
}


.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 220px 20px 180px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.hero-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 62px;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 74px;
    font-weight: 500;
    line-height: 0.95;
    animation: fade-in-up 0.85s 0.1s ease both;
}

.hero-title .accent {
    display: inline-block;
    color: #ff8a2b;
    animation: accent-pop 0.7s 0.75s ease both;
}

.cta {
    display: inline-block;
    background: linear-gradient(180deg, #ff9a3a, #ff7a20);
    color: #111;
    padding: 25px 42px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 122, 32, 0.25);
    animation: fade-in-up 0.75s 0.35s ease both;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.06);
    box-shadow: 0 18px 42px rgba(255, 122, 32, 0.34);
    transition: 1ms;
}

.cta:active {
    transform: translateY(-1px) scale(0.99);
}



.auth-main {
    position: relative;
}

.auth-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.brand {
    color: #fff;
    text-decoration: none;
}

.login-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-container::before {
    content: "";
    position: absolute;
    inset: -20px;
    background-image: url('../medias/auth-background.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: 0;
}

.login-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.login-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1319px, 100%);
    height: min(777px, 90vh);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}


.login-image-panel {
    flex: 1;
    position: relative;
    background-image: url('../medias/auth-background.png');
    background-size: cover;
    background-position: center;
    min-width: 0;
}

.login-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(255, 122, 32, 0.10) 100%
    );
}


.login-form-panel {
    width: 380px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 36px;
    overflow-y: auto;
}

.login-form-inner {
    width: 100%;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.login-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff8a2b;
    flex-shrink: 0;
}

.login-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
    margin-bottom: 6px;
    text-align: center;
}

.login-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.login-error {
    background: #fff1f0;
    border: 1px solid #ffa39e;
    color: #cf1322;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.login-forgot {
    font-size: 12px;
    font-weight: 400;
    color: #ff8a2b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-forgot:hover {
    color: #e06a10;
}

.login-field input {
    height: 44px;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Sora', system-ui, sans-serif;
    color: #111;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.login-field input::placeholder {
    color: #bbb;
}

.login-field input:focus {
    border-color: #ff8a2b;
    background: #fff;
}

.login-password-wrap {
    position: relative;
}

.login-password-wrap input {
    padding-right: 44px;
}

.login-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.login-eye:hover {
    color: #ff8a2b;
}

.login-submit {
    height: 48px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.18s ease;
    margin-top: 4px;
}

.login-submit:hover {
    background: #ff8a2b;
    transform: translateY(-2px);
}

.login-submit:active {
    transform: translateY(0);
}

.login-register {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 20px;
}

.login-register a {
    color: #ff8a2b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-register a:hover {
    color: #e06a10;
}


@media (max-width: 700px) {
    .login-card {
        flex-direction: column;
        height: auto;
        max-height: none;
        border-radius: 18px;
    }

    .login-image-panel {
        display: none;
    }

    .login-form-panel {
        width: 100%;
        padding: 40px 28px;
    }

    .login-title {
        font-size: 23px;
    }
}


.join-container {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #151515;
    color: #fff;
    display: grid;
    place-items: center;
    padding: 0 20px;
}

.join-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.join-content h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 12px;
}

.join-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 32px;
}

.discord-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    margin-bottom: 25px;
    height: 64px;
    border-radius: 24px;
    background: linear-gradient(180deg, #d944ff 0%, #bc2df4 100%);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 0px 42px rgba(188, 45, 244, 0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.discord-cta:hover {
    transform: translateY(-5px) scale(1.10);
    filter: saturate(1.12) brightness(1.08);
    box-shadow: 0 0px 54px rgba(188, 45, 244, 0.46);
}

.discord-cta:active {
    transform: translateY(-2px) scale(0.99);
}

.icon-wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 166px;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px);
}

.icon-wave-top {
    top: 42px;
}

.icon-wave-bottom {
    bottom: 28px;
}

.icon-track {
    display: flex;
    align-items: flex-start;
    width: max-content;
    animation: icons-scroll-left 34s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.icon-set {
    display: flex;
    gap: 34px;
    padding-right: 34px;
}

.icon-track-reverse {
    animation-duration: 38s;
}

.wave-icon {
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #00000000;
    animation: icon-wave-float 3.6s ease-in-out infinite;
    will-change: transform;
}

.join-content h2,
.join-content p,
.discord-cta {
    opacity: 0;
    transform: translateY(22px);
}

.join-container.is-visible .icon-wave {
    animation: wave-row-in 0.8s ease both;
}

.join-container.is-visible .icon-wave-bottom {
    animation-delay: 0.12s;
}

.join-container.is-visible .icon-track {
    animation-play-state: running;
}

.join-container.is-visible .join-content h2 {
    animation: fade-in-up 0.75s ease both;
}

.join-container.is-visible .join-content p {
    animation: fade-in-up 0.75s 0.12s ease both;
}

.join-container.is-visible .discord-cta {
    animation: fade-in-up 0.75s 0.22s ease both;
}

.wave-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.wave-icon:nth-child(6n + 1) {
    animation-delay: -0.2s;
}

.wave-icon:nth-child(6n + 2) {
    animation-delay: -0.8s;
}

.wave-icon:nth-child(6n + 3) {
    animation-delay: -1.4s;
}

.wave-icon:nth-child(6n + 4) {
    animation-delay: -2s;
}

.wave-icon:nth-child(6n + 5) {
    animation-delay: -2.6s;
}

.wave-icon:nth-child(6n + 6) {
    animation-delay: -3.2s;
}

@keyframes icons-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes icon-wave-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(42px);
    }
}

@keyframes wave-row-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.features-section {
    min-height: 640px;
    height: 100vh;
    background: #151515;
    color: #fff;
    display: grid;
    place-items: center;
    padding: 64px 24px 34px;
}

.features-inner {
    width: min(100%, 1120px);
}

.features-heading {
    text-align: center;
    margin-bottom: 28px;
}

.features-heading h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    font-weight: 700;
}

.features-heading p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    margin-top: 6px;
}

.features-heading h2,
.features-heading p {
    opacity: 0;
    transform: translateY(22px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 82px;
    align-items: stretch;
}

.feature-card {
    overflow: hidden;
    min-height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #191919;
    opacity: 0;
    transform: translateY(28px);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 32, 0.44);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

.feature-image {
    display: block;
    width: 100%;
    height: 146px;
    object-fit: cover;
    filter: grayscale(0.42);
}

.feature-body {
    position: relative;
    min-height: 182px;
    padding: 18px 20px 28px;
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.feature-title img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
}

.feature-title h3 {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.feature-body p {
    max-width: 230px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.18;
}

.feature-watermark {
    position: absolute;
    right: 20px;
    bottom: 14px;
    width: 62px;
    height: 62px;
    object-fit: contain;
    opacity: 0.12;
}

.features-section.is-visible .features-heading h2 {
    animation: fade-in-up 0.7s ease both;
}

.features-section.is-visible .features-heading p {
    animation: fade-in-up 0.7s 0.08s ease both;
}

.features-section.is-visible .feature-card {
    animation: fade-in-up 0.72s ease both;
}

.features-section.is-visible .feature-card:nth-child(2) {
    animation-delay: 0.12s;
}

.features-section.is-visible .feature-card:nth-child(3) {
    animation-delay: 0.24s;
}

.legal-main {
    min-height: 100vh;
    background: #111;
    color: #fff;
    padding: 28px 24px 70px;
}

.legal-nav {
    position: static;
    width: min(100%, 1120px);
    margin: 0 auto 48px;
}

.legal-content {
    width: min(100%, 860px);
    margin: 0 auto;
}

.legal-kicker {
    color: #f97316;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.legal-content h1 {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    margin-bottom: 14px;
}

.legal-updated {
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 44px;
}

.legal-content h2 {
    color: #fff;
    font-size: 20px;
    margin: 30px 0 10px;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}


.site-footer {
    background: #111;
    color: #fff;
    padding: 10px 24px 30px;
}

.footer-inner {
    width: min(100%, 520px);
    margin: 0 auto;
    text-align: center;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-social-title {
    color: #fff;
    font-size: 18px;
}

.footer-discord {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    transition: transform 0.22s ease, filter 0.22s ease;
}

.footer-discord:hover {
    transform: translateY(-3px) scale(1.08);
    filter: brightness(1.2);
}

.footer-discord img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes accent-pop {
    from {
        transform: scale(1);
        filter: brightness(1);
    }

    60% {
        transform: scale(1.04);
        filter: brightness(1.12);
    }

    to {
        transform: scale(1);
        filter: brightness(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


@media (max-width: 900px) {
    .hero-nav {
        padding: 18px 24px;
    }

    .auth {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .auth a {
        font-size: 13px;
        padding: 8px 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
    }

    .auth a:hover,
    .auth a:active {
        background: rgba(255, 154, 58, 0.15);
        color: #ff9a3a;
    }

    .auth-separator {
        display: none;
    }

    .user-dropdown-trigger {
        padding: 8px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
    }

    .user-dropdown-menu {
        right: 0;
        min-width: 120px;
    }

    .user-dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 40px;
    }

    .join-container {
        min-height: 520px;
        padding: 0 18px;
    }

    .icon-wave {
        height: 136px;
    }

    .icon-set {
        gap: 22px;
        padding-right: 22px;
    }

    .wave-icon {
        width: 78px;
        height: 78px;
    }

    .discord-cta {
        min-width: 250px;
        height: 58px;
    }

    .features-section {
        height: auto;
        min-height: 100vh;
        padding: 56px 18px 42px;
    }

    .features-heading {
        margin-bottom: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 360px;
        margin: 0 auto;
    }

    .feature-card {
        min-height: 0;
    }

    .feature-image {
        height: 130px;
    }

    .feature-body {
        min-height: 150px;
    }

    .footer-links {
        gap: 34px;
    }
}
