/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-gradient: linear-gradient(#200016, #10001f);
    --white: #fff;
    --black-translucent: rgba(0, 0, 0, 0.3);
    --grey: #555;
}

body {
    background: var(--background-gradient);
    font-family: system-ui, sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--white);
}

header {
    position: absolute;
    width: 95%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
}

header .logo {
    font-size: 30px;
    text-transform: uppercase;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

header ul li {
    margin-right: 30px;
}

header ul li a {
    padding: 6px 15px;
    border-radius: 20px;
}

header ul li a:hover, .active {
    background: var(--white);
    color: #200016;
}

.main {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to top, #1b001a, transparent);
}

.main img {
    position: absolute;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#moon {
    mix-blend-mode: screen;
    transform: translateY(80px);
}

.rete_neurale {
    color: var(--white);
    font-size: 40px;
    text-transform: uppercase;
    transform: translateY(-140px);
}

.content {
    text-align: center;
    width: 100%;
    justify-content: center;
    padding: 30px;
    margin-right: 200px;
    border-radius: 20px;
    box-shadow: 0 0 10px var(--black-translucent);
    color: var(--grey);
}

.content h2 {
    margin: 20px;
    font-size: 30px;
    color: rgb(129 147 207);
    margin-bottom: 15px;
    
}

.content p {
    margin: 20px auto ;
    width: 60%;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #c08989;
}

@media (max-width: 600px) {
    .content { padding: 20px; }
    h2 { font-size: 1.5em; }
    p { font-size: 1em; }
}

.shop {
    margin-top: 2rem;
    padding: 0 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.shop-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--black-translucent);
}

.product-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--white);
}

.product-price {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.add-cart {
    font-size: 2rem;
    color: var(--white);
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}
