* { margin:0; padding:0; box-sizing:border-box; }
body { background:#171717; color:#fff; font-family: Arial, sans-serif; }
.wrap { max-width:1080px; margin:20px auto; padding:15px; }

/* Header */
.header { display:flex; justify-content: space-between; align-items: center; padding:20px; background:#222; border-radius:10px; margin-bottom:25px; }
.header .logo { font-size:28px; font-weight:bold; }
.header .description { text-align:right; font-size:16px; color:#ccc; max-width:600px; }

/* Toplist */
.toplist { display:grid; grid-template-columns: repeat(2, 1fr); gap:15px; font-size:25px; margin-bottom:15px; }
.toplist div { background:#333; padding:15px; border-radius:10px; text-align:center; position:relative; transition: transform 0.3s, background 0.3s, color 0.3s; cursor:pointer; }
.toplist div:hover { transform:scale(1.05); background: linear-gradient(45deg,#ff6b6b,#ffb56b,#6bffb5,#6bb5ff); color:#000; }
.toplist div::before { content: attr(data-rank); position:absolute; top:-10px; left:-10px; background:#ff0000; color:#fff; font-size:14px; font-weight:bold; padding:3px 8px; border-radius:50%; }

/* Galleries */
.galleries { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:15px; margin-bottom:25px; justify-items:center; }
.galleries div { width:180px; height:250px; background:#555; padding:5px; transition: background 0.3s; text-align:center; overflow:hidden; border-radius:10px; }
.galleries div:hover { background:#666; }
.galleries h2 { font-size:16px; color:#00b9d3; margin-bottom:5px; }
.galleries img { width:100%; height:calc(100% - 30px); object-fit:cover; border-radius:8px; }

/* Footer */
.footer { display:flex; justify-content:space-between; flex-wrap:wrap; background:#222; padding:25px 20px; border-radius:12px; color:#fff; gap:20px; margin-top:25px; }
.footer-column { flex:1 1 45%; min-width:200px; }
.footer-title { font-size:20px; margin-bottom:12px; color:#00B9D3; border-bottom:2px solid #00B9D3; padding-bottom:5px; }
.footer-list { list-style:none; padding:0; margin:0; }
.footer-list li { margin-bottom:8px; }
.footer-list li a { color:#fff; text-decoration:none; padding:5px 8px; display:block; border-radius:6px; transition: all 0.3s; }
.footer-list li a:hover { background: linear-gradient(90deg,#ff6b6b,#ffb56b,#6bffb5,#6bb5ff); color:#000; }

/* Mini Toplist */
.mini-toplist { margin-top:40px; max-width:1080px; margin-left:auto; margin-right:auto; }
.mini-toplist h2 { color:#00B9D3; font-size:28px; text-align:center; margin-bottom:20px; }
.mini-toplist ul { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; list-style:none; padding:0; }
.mini-toplist ul li { background:#333; padding:8px; border-radius:6px; text-align:left; transition: transform 0.3s, background 0.3s; cursor:pointer; font-size:15px; }
.mini-toplist ul li a { color:#fff; text-decoration:none; } /* oq rang */
.mini-toplist ul li:hover { transform:scale(1.05); background:linear-gradient(45deg,#ff6b6b,#ffb56b,#6bffb5,#6bb5ff); color:#000; }

@media(max-width:1024px) { .mini-toplist ul { grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .mini-toplist ul { grid-template-columns:1fr; } }
