*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
background:#f6f3ea;
color:#333;
}

.container{
width:95%;
max-width:1600px;
margin:auto;
padding:30px 0;
}

.top-ad{
height:120px;
background:#c7cfb0;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
font-size:32px;
margin-bottom:30px;
}

.wallpaper-layout{
display:grid;
grid-template-columns:320px 1fr 280px;
gap:30px;
align-items:start;
}

.wallpaper-image{
width:100%;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
border:6px solid #fff;
}

.center-column{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.wallpaper-title{
font-size:48px;
margin-bottom:15px;
}

.wallpaper-description{
font-size:22px;
line-height:1.7;
margin-bottom:25px;
color:#555;
}

.button-row{
display:flex;
gap:15px;
margin-bottom:25px;
flex-wrap:wrap;
}

.download-btn,
.home-btn{
padding:16px 30px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
font-size:18px;
}

.download-btn{
background:#b8c8a5;
color:#000;
}

.home-btn{
background:#e6e6e6;
color:#333;
}

.wallpaper-meta{
font-size:20px;
margin-bottom:20px;
}

.tags{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.tags span{
background:#d8dec2;
padding:10px 18px;
border-radius:30px;
}

.custom-ad{
background:#c7cfb0;
border-radius:30px;
padding:30px;
text-align:center;
min-height:500px;
display:flex;
flex-direction:column;
justify-content:center;
}

.related-section{
margin-top:80px;
}

.related-title{
text-align:center;
font-size:42px;
margin-bottom:40px;
color:#6d7553;
}

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:25px;
}

.related-card{
background:#fffdf8;
padding:15px;
border-radius:20px;
text-decoration:none;
color:#333;
position:relative;
box-shadow:0 8px 20px rgba(0,0,0,.08);
transition:.3s;
}

.related-card:hover{
transform:translateY(-5px);
}

.paper-clip{
position:absolute;
top:-8px;
right:12px;
font-size:24px;
}

.related-card img{
width:100%;
height:260px;
object-fit:cover;
border-radius:15px;
}

.related-card h3{
margin-top:15px;
text-align:center;
font-size:18px;
}

.view-btn{
display:block;
margin-top:15px;
background:#b8c8a5;
padding:10px;
text-align:center;
border-radius:30px;
font-weight:bold;
}

.footer{
margin-top:80px;
background:#aab58f;
padding:60px 40px;
color:#fff;
}

.footer-content{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.footer ul{
list-style:none;
}

.footer ul li{
margin-bottom:8px;
}

.footer a{
color:#fff;
text-decoration:none;
}

.copyright{
text-align:center;
margin-top:40px;
}

@media(max-width:900px){

.wallpaper-layout{
grid-template-columns:1fr;
}

.top-ad{
height:90px;
font-size:22px;
}

.wallpaper-title{
font-size:34px;
}

.wallpaper-description{
font-size:18px;
}

.related-grid{
grid-template-columns:1fr;
}

}
