
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

header h1 {
    text-align: center;
    margin-bottom: 10px;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.slideshow .slides img {
    width: 100%;
    display: none;
}

.slideshow .slides img.active {
    display: block;
}

.slideshow button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.slideshow .prev { left: 20px; }
.slideshow .next { right: 20px; }

.upload {
    text-align: center;
    margin-bottom: 40px;
}

.upload input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.upload button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    background: #e52e71;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.meme-feed h2 {
    text-align: center;
    margin-bottom: 20px;
}

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

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.card img {
    width: 100%;
    display: block;
}

.share-btn {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px;
    border: none;
    background: #ff8a00;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}
