body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    padding: 40px 0;
    border-bottom: 1px solid #222;
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Style für das Promi-Raster auf der Startseite */
.celeb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.celeb-link {
    background-color: #1e1e1e;
    color: #00bcd4;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    border: 1px solid #333;
}

.celeb-link:hover {
    background-color: #00bcd4;
    color: #121212;
    transform: translateY(-3px);
}

/* Style für die Bilder-Galerie */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tattoo-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.back-btn {
    display: inline-block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 20px;
}
.back-btn:hover {
    color: #00bcd4;
}

footer {
    margin-top: 8px;
    padding: 20px;
    color: #777;
    font-size: 0.9em;
}

/* --- STARTSEITEN GRID & CARDS --- */

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.welcome-section h2 {
    font-size: 2.2rem;
    color: #00bcd4;
    margin-bottom: 10px;
}

.welcome-section p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Das Grid-System: Passt sich vollautomatisch der Bildschirmbreite an */
.celeb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Die Promi-Karte */
.celeb-card {
    background-color: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Hover-Effekt: Karte hebt sich leicht an und leuchtet cyan */
.celeb-card:hover {
    transform: translateY(-5px);
    border-color: #00bcd4;
    box-shadow: 0 8px 15px rgba(0, 188, 212, 0.2);
    background-color: #252525;
}

.celeb-avatar {
    font-size: 2rem;
    background: #2a2a2a;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 1px solid #3d3d3d;
    transition: background 0.3s ease;
}

.celeb-card:hover .celeb-avatar {
    background: #00bcd4;
}

.celeb-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: 500;
    color: #fff;
}

.view-gallery {
    font-size: 0.85rem;
    color: #00bcd4;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- SEARCH BAR --- */
.search-wrapper {
    margin: 0 auto 40px;
    max-width: 600px;
    padding: 0 20px;
}

#celebSearch {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #1e1e1e;
    color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#celebSearch:focus {
    outline: none;
    border-color: #00bcd4;
}