@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    height: 100%;
}

body {
    color: white;
    margin: 0;
    padding: 0;
    background: linear-gradient(0deg, #222E, #111E), url("../img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

p {
    margin: 0.5rem 0;
    font-weight: 400;
}

main {
    flex: 1;
}

a {
    color: #4CB7FF;
    text-decoration: none;
}

a:hover {
    color: #66C1FF;
    text-decoration: underline;
}

.beginning {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: #888;
    height: 320px;
    padding: 1rem;
}

.punch {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    gap: 0.8rem;
}

.names {
    transform: skew(-12deg);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    min-height: 56px;
    background: #181818CC;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2A2A2A;
    gap: 1rem;
}

.brand {
    color: white;
    font-size: 115%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CCC;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: color 0.1s ease, border-color 0.1s ease;
    padding: 8px 14px;
    font-size: 95%;
    white-space: nowrap;
}

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

nav a.active {
    color: white;
    border-bottom-color: #4CB7FF;
}

@media (max-width: 750px) {
    .punch {
        flex-direction: column;
        text-align: center;
    }

    header {
        padding: 0 1.5rem;
    }

    nav a {
        padding: 8px 10px;
    }
}

@media (max-width: 550px) {
    .names {
        font-size: 75%;
    }
}

@media (max-width: 400px) {
    .names {
        font-size: 55%;
    }
}

.info {
    padding: 0 2rem;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    text-align: center;
}

.links {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

@media (max-width: 750px) {
    .links {
        flex-direction: column;
    }
}

.link-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #333B;
    border-bottom: 2px solid #444;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.05s ease;
    padding: 10px 20px;
    cursor: pointer;
}

.button:hover {
    color: white;
    text-decoration: none;
    background: #444B;
}

.button.github {
    color: #111;
    background-color: #EEE;
    border-color: #999;
    height: 100%;
}

.button.github:hover {
    background-color: #DDD;
}

.button.discord {
    display: inline-flex;
    background-color: #5865F2;
    border-color: #4752C4;
}

.button.discord:hover {
    background-color: #6373ED;
}

.button.youtube {
    display: inline-flex;
    background-color: #EE0000;
    border-color: #BB0000;
}

.button.youtube:hover {
    background-color: #FF3333;
}

h2 {
    font-size: 200%;
    text-align: center;
    margin: 3rem 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overview {
    margin: 3rem 0;
}

.highlights {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}

.highlights .button {
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 20px;
    text-align: center;
}

.highlights .button .highlight-title {
    font-size: 300%;
}

@media (max-width: 900px) {
    .highlights {
        flex-direction: column;
    }
}

footer {
    text-align: center;
    padding: 1rem;
    color: #AAA;
    font-size: 90%;
}

.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem 1rem 2rem;
}

.page-hero h1 {
    margin: 0 0 0.5rem 0;
    font-size: 280%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-hero p {
    color: #AAA;
    font-weight: 300;
}

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-content section {
    margin-bottom: 3rem;
}

.link-group-title {
    color: #AAA;
    font-size: 85%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #4CB7FF22;
    border: 1px solid #456;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background 0.1s ease, border-color 0.1s ease;
}

.card:hover {
    background: #4CB7FF44;
    border-color: #567;
    color: white;
    text-decoration: none;
}

.card-title {
    font-size: 130%;
    color: white;
}

.card-desc {
    font-weight: 300;
    font-size: 90%;
    color: #EEE;
    flex: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.card-tags span {
    font-size: 75%;
    background: #2228;
    border: 1px solid #456;
    border-radius: 4px;
    padding: 2px 8px;
    color: #89A;
    font-weight: 400;
}

.more-link {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.button.spotify {
    display: inline-flex;
    background-color: #1DB954;
    border-color: #158A3E;
}

.button.spotify:hover {
    background-color: #1ED760;
}

.button.soundcloud {
    display: inline-flex;
    background-color: #F36C28;
    border-color: #C0501A;
}

.button.soundcloud:hover {
    background-color: #F57F45;
}

.button.instagram {
    display: inline-flex;
    background: linear-gradient(45deg, #DD2A7B, #8134AF);
    border-color: #9B2FAF;
}

.button.instagram:hover {
    filter: brightness(1.12);
}

/* 404 page */

.not-found-code {
    font-size: 600%;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.not-found-desc {
    margin: 2rem 0;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: #4CB7FF22;
    border: 1px solid #456;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: background 0.1s ease, border-color 0.1s ease;
}

.link-item:hover {
    background: #4CB7FF44;
    border-color: #6AA;
    color: white;
    text-decoration: none;
}

.link-item-label {
    font-size: 100%;
}

.link-item-url {
    font-size: 80%;
    color: #89A;
    font-weight: 400;
    white-space: nowrap;
}

.gameplay-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gameplay-card img {
    border-radius: 0.5rem;
    max-width: 100%;
    box-shadow: 0 0 20px #111A;
    transition: transform 0.2s ease;
}

.gameplay-card img:hover {
    transform: scale(1.02);
}

.nativesharp {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

code {
    font-family: "Consolas", "Cascadia Code", "Fira Code", monospace;
    font-size: 0.875em;
    font-weight: 400;
    background: #ffffff14;
    border: 1px solid #ffffff22;
    border-radius: 4px;
    padding: 0.15em 0.45em;
}

pre {
    background: #0D1117;
    border: 1px solid #ffffff18;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.music-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.music-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.music-info h3 {
    margin: 0;
    font-size: 200%;
}

.music-info h4 {
    margin: 0;
    font-size: 120%;
}

.music-meta {
    font-size: 0.8rem;
    font-weight: 400;
    color: #89A;
}

.music-info p {
    font-weight: 400;
    color: #ccc;
}

.centered {
    text-align: center;
}

@media (max-width: 700px) {
    .music-row {
        grid-template-columns: 1fr;
    }
}