:root {
    --color-primary: #4285f4;
    --color-secondary: #0b61d6;
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-muted: #666666;
    --radius: 6px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --max-width: 960px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

header {
    background: var(--color-primary);
    color: #fff;
    padding: 1.2rem 0;
    box-shadow: var(--shadow);
}

header h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 2rem auto;
}

.btnaudiolibro {
    background: #004CCC;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btnaudiolibro:hover,
.btnaudiolibro:focus {
    background: var(--color-secondary);
}

h2 {
    color: var(--color-primary);
    margin-top: 2rem;
}

ul {
    list-style: disc inside;
    margin-left: 1rem;
}

.boxAudi {
    border: 1px solid #e3e3e3;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #fafafa;
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

footer {
    background: #f7f7f7;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 4rem;
}

@media (min-width: 700px) {
    .two-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}
