/**
 * WebLama PAL GAME - Base Styles
 * Reset și stiluri de bază
 */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--fontText);
    color: var(--negru);
    background-color: var(--albastru-fundal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--BalooBold);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--albastru-logo);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--turcoaz);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Forms */
input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

/* Pixel-perfect rendering */
canvas, img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--albastru-logo);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--albastru-logo-pal);
    color: var(--negru);
}
