@font-face {
    font-family: "Rubik";
    src: url("./fonts/Rubik-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Rubik";
    src: url("./fonts/Rubik-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

strong,
b {
    font-weight: 700;
}

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

/* Base styles */
body {
    font-family: "Rubik", sans-serif;
    background-color: #0c0e17;
    color: #f6e8e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: block;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo {
    width: 64px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-inline: 2rem;
}

nav a {
    color: #b0a7b8;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #f6e8e0;
}

nav a.active {
    color: #f6e8e0;
}

.main-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    text-align: center;
    word-break: break-word;
}

section {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding: 0 1rem;
    color: #b0a7b8;
    text-align: left;
}

h1 {
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
}

p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #f6e8e0;
}

a {
    color: #3388de;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #36c5f4;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

input {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    background-color: #f6e8e0;
    border: none;
    border-radius: 8px;
}

button {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    background-color: #f6e8e0;
    color: #10121c;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #fff;
}

ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    color: #f6e8e0;
    line-height: 1.4;
    font-size: 1rem;
}

ul li {
    margin-bottom: 0.5rem;
}

.game-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0px;
    margin-bottom: 32px;
}

.game-image {
    width: 500px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 16px;
    background-color: transparent;
}

.game-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.game-link {
    display: inline-block;
    align-self: flex-end;
}

.buy-button {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    color: #3388de;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
    transition: color 0.2s ease;
}

.buy-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #36c5f4;
}

.button-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

footer {
    text-align: center;
    padding: 0 1rem;
}

.social-links {
    margin-bottom: 10px;
}

.social-links a img {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    vertical-align: middle;
    transition: opacity 0.2s;
}

.social-links a:hover img {
    opacity: 0.7;
}

.copyright {
    font-size: 0.6rem;
    color: #3e3b65;
}

/* Responsive breakpoint */
@media (max-width: 600px) {
    nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .logo {
        width: 48px;
    }

    .game-image {
        margin-right: 0;
        margin-bottom: 16px;
        width: 80%;
        max-width: 300px;
        align-self: center;
    }
}
