
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #000; color: #ccc; line-height: 1.6; }
header { background: #333; background: linear-gradient(to bottom, #444, #111); padding: 10px 0; text-align: center; border-bottom: 2px solid #555; }
header h1 { font-size: 1.8rem; color: #fff; margin:0; }
.header-nav { display: flex; justify-content: center; gap: 15px; }
.header-nav a { color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: bold; }
.header-nav a:hover { color: #ccc; }

.container { max-width: 800px; margin: 20px auto; text-align: center; }
.container h2 { color: #fff; margin-bottom: 10px; }

.ad-banner { margin-bottom: 20px; }
.ad-banner img { max-width: 100%; border-radius: 5px; }

.gallery-container { position: relative; margin: 0 auto; background: #000; padding: 10px; display: inline-block; max-width: 100%;}
.gallery-slide { display: none; text-align: center; }
.gallery-slide.active { display: block; animation: fade 0.5s; }
.gallery-slide img { max-width: 100%; max-height: 600px; border: 2px solid #fff; }
.caption { margin-top: 15px; font-size: 1.1rem; font-weight: bold; color: #555; }
@keyframes fade { from {opacity: 0.4} to {opacity: 1} }

.gallery-controls { display: flex; align-items: center; justify-content: center; background: #333; padding: 10px; margin-top: 5px; gap: 5px; }
.nav-btn { background: none; border: none; color: #fff; cursor: pointer; font-size: 14px; padding: 0 10px; }
.nav-btn:hover { text-decoration: underline; }

.thumbnails { display: flex; gap: 5px; overflow-x: auto; max-width: 600px; scroll-behavior: smooth; }
.thumb { width: 50px; height: 60px; object-fit: cover; cursor: pointer; border: 1px solid #555; opacity: 0.7; }
.thumb:hover, .thumb.active { opacity: 1; border-color: #fff; }

.categories { margin-top: 40px; text-align: center; }
.categories h2 { font-size: 24px; color: #fff; margin-bottom: 20px; }
.category-columns { display: flex; justify-content: space-between; text-align: left; padding: 0 50px; }
.col { flex: 1; }
.col a { display: block; color: #999; text-decoration: none; margin-bottom: 5px; font-size: 14px; }
.col a:hover { text-decoration: underline; color: #ccc; }
