body {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 40px;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    min-height: 372px;
    margin: auto;
    padding: 20px;
    background: #000000d9;
    border-radius: 15px;
    box-shadow: 0 10px 30px #000000b3;
}

.site, .product, .link {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    transition: transform .23s ease, box-shadow .23s ease;
    position: relative;
    overflow: hidden;
}

.site, .link {
    background: #252525;
}

.site:hover, .product:hover, .link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px var(--primary-shadow);
}

.site::before, .product::before, .link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff6f61 0%, #ffb061 20%, #fff161 40%, #61ff7d 60%, #61cbff 80%, #4ea8de 100%);
    opacity: 1;
}

a {
    color: #4ea8de; /* ff6f61; */
    text-decoration: none;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    transition: color .3s ease;
}

a:hover {
    color: #ff6f61;
}

h1 {
    font-size: 1.5em;
    font-weight: 300;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px color-mix(in srgb, var(--primary-color) 25%, transparent);
}

h2, h3, h4 {
    margin: 0 0 10px;
    color: #fff;
    font-weight: 700;
}

.header {
    margin-top: 5px;
    font-size: .9em;
    color: #666;
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
}

.footer {
    margin-top: 50px;
    font-size: .9em;
    color: #888;
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(372px, 1fr));
    gap: 25px;
}

.site p, .product p, .link p {
    font-size: 1em;
    line-height: 1.6;
    color: #ddd;
    text-align: justify;
    hyphens: auto;
    margin: 0;
}

/* Product Specific Styling */
.product {
    position: relative;
    z-index: 1;
    background: transparent !important;
    backdrop-filter: none;
    color: #fff;
    text-align: center;
    min-height:372px;
    opacity: 0.9;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.43);
    opacity: 1;
    z-index: -1;
}

.product h3 {
    margin-bottom: 10px;
    color: #4ea8de;
    transition: color .3s ease;
}

.product:hover h3 {
    color: #ff6f61;
}

.product img {
    display: block;
    max-width: 200px;
    margin: 30px auto;
    border-radius: 8px;
    transition: transform .3s ease;
    opacity: 1;
    filter: brightness(0.95) contrast(1.1) grayscale(0.2);
}

.product:hover img {
    transform: scale(1.2);
}


.product::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, #ff6f61 0%, #ffb061 20%, #fff161 40%, #61ff7d 60%, #61cbff 80%, #4ea8de 100%);
    opacity: 1;
    z-index: 2;
}

.product:hover a {
    color: #ff6f61;
}

.link:hover a {
    color: #ff6f61;
}

