body {
background-color: #0e1117;
font-family: 'Segoe UI', sans-serif;
color: white;
margin: 0;
padding: 0;
}
.home-header {
text-align: center;
padding: 60px 20px 30px;
}
.home-header h1 {
font-size: 48px;
color: #cceeff;
margin: 0;
}
.home-header p {
color: #aaaaaa;
margin-top: 8px;
}
.search-bar {
display: flex;
justify-content: center;
margin: 20px auto;
}
.search-bar input {
padding: 14px;
border-radius: 30px;
border: none;
width: 400px;
font-size: 16px;
background-color: #1c2128;
color: #ddd;
}
.event-banner {
margin: 20px auto;
background: linear-gradient(to right, #1c1e2b, #3a1f4f);
border-radius: 10px;
padding: 16px;
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1100px;
}
.event-banner .text {
flex-grow: 1;
}
.event-banner button {
background: #3096e6;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
}
.tiles {
max-width: 1100px;
margin: 20px auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
}
.tile {
background-color: #1c2128;
border-radius: 8px;
overflow: hidden;
text-align: center;
color: #eee;
font-size: 14px;
padding: 6px;
}
.tile img {
width: 100%;
height: 80px;
object-fit: cover;
}
.stats {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.featured, .start-editing, .wiki-links {
background-color: #1c2128;
border-radius: 8px;
padding: 20px;
flex: 1;
}
.featured img {
width: 100%;
border-radius: 4px;
margin-bottom: 10px;
}
.featured span {
background: #3074a5;
color: white;
padding: 2px 6px;
font-size: 12px;
border-radius: 4px;
}
.start-editing h3, .wiki-links h3 {
margin-top: 0;
color: #00baff;
}
.wiki-links ul {
list-style: none;
padding: 0;
}
.wiki-links li {
padding: 4px 0;
color: #aaa;
}
.tile-image-overlay {
position: relative;
text-align: center;
display: inline-block;
}
.tile-image-overlay .overlay-text {
position: absolute;
top: 8px;
left: 0;
right: 0;
color: white;
font-weight: bold;
text-shadow: 1px 1px 3px black;
z-index: 2;
pointer-events: none;
transition: color 0.2s ease;
}
.tile-image-overlay:hover .overlay-text {
color: #ffbe02;
text-shadow: 1px 1px 3px black;
}
.featured-box {
flex: 0 0 200px; /* fixed width per box */
min-height: 300px; /* ensures uniform height */
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
background-color: #11161c;
border: 1px solid #2b2f38;
border-radius: 12px;
padding: 10px;
box-shadow: 0 0 10px #00000055;
text-align: center;
}
.featured-box img {
border-radius: 4px;
}
.featured-label {
display: inline-block;
background-color: #FF2222;
color: white;
font-weight: bold;
padding: 2px 2px;
border-radius: 2px;
margin-top: 5px;
font-size: 14px;
}
.featured-desc {
color: #b0c4de;
margin-top: 4px;
font-size: 14px;
}