/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

main {
    padding: 2rem;
}

.affiliate-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.affiliate-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.affiliate-item a {
    color: inherit;
    text-decoration: none;
}

.affiliate-item img {
    width: 100%;
    height: auto;
}

.affiliate-item h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.affiliate-item p {
    padding: 0 1rem 1rem;
}

.affiliate-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent-color: #ff6347;
}

body {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

header {
    background: var(--primary-color);
}

.affiliate-item:hover {
    border-color: var(--accent-color);
}