/* Variables de color */
:root {
    --background-color: #121212;
    --card-background: #1e1e1e;
    --primary-color: hsl(201, 100%, 50%);
    --primary-color-30: hsl(201, 100%, 30%);
    --secondary-color: #bdbdbd;
    --text-color: #ffffff;
    --card-border: #333333;
    --hover-shadow: rgba(0, 0, 0, 0.5);
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Header Styling */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color-30);
margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px var(--hover-shadow);
    line-height: 1;

}

.header h1 span {
    color: var(--primary-color);
    display: block;
    font-size: 4rem;
    font-weight: bold;
    rotate: -5deg;
}

.header p {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Game Container */
.game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
}

/* Game Card */
.game-card {
    background: var(--card-background);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--hover-shadow);
}

.game-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.game-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-card p {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Nueva clase para tarjetas destacadas */
.game-card.new {
    position: relative;
    overflow: hidden;
}

.game-card.new::before {
    content: "nuevo 2025";
    position: absolute;
    top: 16px;
    right: -40px;
    background: linear-gradient(90deg, #00bfff 60%, #074e8c 100%);
    color: #fff;
    font-size: 0.80rem;
    /* font-weight: bold; */
    padding: 4px 32px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(5, 113, 185, 0.349);
    z-index: 2;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #0002;
    pointer-events: none;
}

/* Footer Styling */
.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-color);


}

a:is(a:visited, a:link) {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:is(a:hover, a:focus) {
    text-decoration: underline;
}