/* 
    Created by ROKIJA :) 
*/

@font-face {
    font-family: 'Inter';
    src: url("InterFont.ttf");
    font-weight: bold;
}

:root {
    --blue: rgb(50, 70, 150);
    --blue-light: rgb(90, 130, 170);
    --background: #080a0f;
    --dark-2: #0d1117;
    --dark-3: #12181f;

    --divider-blue: rgb(0, 0, 255);

    --green: rgb(100, 255, 150);
    --yellow: rgb(255, 255, 100);
    --orange: rgb(255, 183, 49);
    --red: rgb(255, 0, 0);

    --orb-1: rgba(76, 168, 201, .06);
    --orb-2: rgba(76, 168, 201, .05);
}

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

    transition: all .3s ease;
}

a {
    text-decoration: none;
    color: white;
}

body {
    color: white;
    overflow-x: hidden;
    background: var(--background);

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* i found this on the internet i have no idea how it works */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom,
            rgba(8, 10, 15, .97),
            transparent);
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: Inter;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
    margin-right: -75px;
}

.nav-links a {
    font-size: .9rem;
    letter-spacing: .2em;
    font-weight: 600;
    text-transform: uppercase;
    color: #777;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-button {
    font-size: 1rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
    padding: .6rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
}

.nav-button:hover {
    background: var(--blue);
    color: var(--background);
}

/* Hero Background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    background: radial-gradient(ellipse at 50% 60%, #00061c 0%, var(--background) 65%);
}

@keyframes Pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .5;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: Pulse 9s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: var(--orb-1);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--orb-2);
    bottom: -100px;
    right: -80px;
    animation-delay: 4s;
}

.grid-lines {
    position: absolute;
    inset: 0;
    opacity: .025;
    background-size: 80px 80px;
    background-image: linear-gradient(to right, rgb(100, 200, 255) 1px, transparent 1px), linear-gradient(to bottom, rgb(100, 200, 255) 1px, transparent 1px);
}

/* Hero Main */
@keyframes FadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: .93;
    color: #fff;
    text-shadow: 0 0 100px rgba(240, 150, 200);
    margin-bottom: 2rem;
    animation: FadeUp 1s .2s ease both;
}

.hero-title span {
    color: rgb(255, 100, 100);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: #888;
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: FadeUp 1s .4s ease both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: FadeUp 1s .6s ease both;
}

.button-primary {
    font-size: 1rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: var(--blue);
    color: var(--background);
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

.button-secondary {
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: transparent;
    color: #999;
    padding: 1rem 2.5rem;
    border: 1px solid #666;
    cursor: pointer;
}

.button-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            var(--blue-light),
            transparent);

    opacity: .2;
}

.statistics {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 4rem;
    border: 1px solid #1a1a1a;
    animation: FadeUp 1s .8s ease both;
}

.statistics-item {
    flex: 1;
    min-width: 160px;
    padding: 1.6rem 2rem;
    text-align: center;
    border-right: 1px solid #1a1a1a;
    position: relative;
    background: rgba(255, 255, 255, .025);
}

.statistics-item:hover {
    background-color: rgba(50, 100, 150, .1);
}

.statistics-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--blue);
    opacity: 0;
}

.statistics-item:hover::before {
    opacity: 1;
}

.statistics-item:last-child {
    border-right: none;
}

.statistics-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    line-height: 1;
    margin-bottom: .4rem;
    letter-spacing: .05em;
}

.statistics-label {
    font-size: .8rem;
    letter-spacing: .15rem;
    text-transform: uppercase;
    color: #7a7a7a;
}

/* Misc */
.reveal {
    opacity: 0;
    transform: translateY(28px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Games Display */
.games {
    background-color: var(--dark-2);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.game {
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
    border: 1px solid #161616;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(20, 20, 20, .5);
    display: flex;
    flex-direction: column;
}

.game:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(10, 10, 80, .5);
}

.game:hover .game-overlay {
    opacity: 1;
}

.game.invisible {
    opacity: 0;
}

.game:hover .game-title {
    color: var(--blue);
}

.game-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(to top,
            rgba(50, 100, 150, .5),
            transparent);
    opacity: 0;
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.game-badge {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: .2rem .7rem;
    margin-bottom: .8rem;
}

.game-badge.released {
    color: var(--green);
    border: 1px solid var(--green);
}

.game-badge.experimental {
    color: var(--yellow);
    border: 1px solid var(--yellow);
}

.game-badge.coming-soon {
    color: var(--orange);
    border: 1px solid var(--orange);
}

.game-badge.cancelled {
    color: var(--red);
    border: 1px solid var(--red);
}

.game-title {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: .5rem;
}

.game-description {
    font-size: .9rem;
    color: #777;
    line-height: 1.65;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #161616;
}

.game-stat {
    font-size: .72rem;
    color: #777;
}

.game-stat span {
    display: block;
    color: var(--green);
    font-size: .88rem;
}

.line {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.line::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--blue);
}

.label {
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
}

.section {
    padding: 2rem 3rem;
}

.title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #888;
    max-width: 500px;
    line-height: 1.9;
}

.thumbnail-image {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* Roles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    margin-top: 4rem;
    background: #111;
    border: 1px solid #111;
}

.role-card {
    background: var(--background);
    padding: 1.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.role-card:hover {
    background: var(--dark-3);
}

.role-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.role-title {
    font-size: .82rem;
    color: #bbb;
    margin-bottom: .6rem;
    letter-spacing: .06em;
}

.role-description {
    font-size: .88rem;
    color: #8d8d8d;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.role {
    display: inline-block;
    margin-top: auto;
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.role.open {
    color: var(--green);
}

.role.closed {
    color: var(--red);
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-top: 4rem;
}

.contact-info p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-detail strong {
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #555;
}

.contact-detail a {
    font-size: .9rem;
    color: #888;
    min-width: 60px;
}

.contact-detail a:hover {
    color: var(--blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: .4rem;
}

.form-label {
    font-size: .61rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #888;
}

.form-input,
.form-textarea {
    background: var(--background);
    border: 1px solid #1a1a1a;
    color: #bbb;
    padding: .9rem 1rem;
    font-size: 1rem;
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--blue);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: var(--blue);
    color: var(--dark);
    padding: 1rem;
    border: none;
    cursor: pointer;
    margin-top: .5rem;
    width: 100%;
}

footer {
    background: var(--dark);
    padding: 2.5rem 3rem;
    border-top: 1px solid #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: Inter;
    font-size: .9rem;
    color: var(--blue);
    text-transform: uppercase;
}

.footer-copyright {
    font-size: .78rem;
    color: #2a2a2a;
}

.notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 999;
}

.notification.success {
    background: rgba(26, 58, 26, 0.5);
    border: 1px solid #2d6a2d;
    color: #6fcf6f;
    backdrop-filter: blur(8px);
}

.notification.error {
    background: rgba(58, 26, 26, 0.5);
    border: 1px solid #6a2d2d;
    color: #cf6f6f;
    backdrop-filter: blur(8px);
}

.notification.hidden {
    opacity: 0;
    pointer-events: none;
}

.discord-button {
    font-size: 1.25rem;
    margin-left: auto;
    margin-right: 25px;
    color: #bbb;
}

.discord-button:hover {
    transform: translateY(-2px);
    color: var(--blue);
}

@media(max-width: 768px) {
    nav {
        padding: 1.2rem 1.5rem;
    }

    .discord-button {
        margin-right: 0;
    }

    .nav-links {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 2rem 1.5rem;
    }

    .form-input,
    .form-textarea {
        width: 100%;
        font-size: 0.9rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-detail {
        flex-direction: column;
        gap: 0.2rem;
    }

    .hero-content {
        padding-top: 10rem;
    }
}

.important {
    color: red;
}