/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #1e1e1e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #bb86fc;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bb86fc;
}

/* Sections */
section {
    padding: 50px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hidden-section {
    display: none;
}

.active-section {
    display: flex;
}

.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

/* Home */
.hero {
    text-align: center;
    margin-top: 100px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #a0a0a0;
}

/* Inputs & Buttons */
input[type="text"] {
    padding: 10px 15px;
    width: 300px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #2c2c2c;
    color: white;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #bb86fc;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #9955d4;
}

/* About */
.about-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-top: 40px;
}

/* Search Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.result-card {
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.result-card:hover {
    transform: translateY(-5px);
    background-color: #252525;
}

.result-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.no-result {
    grid-column: 1 / -1;
    color: #ff6b6b;
    font-size: 1.2rem;
}

/* Detail Page */
.back-btn {
    background-color: transparent;
    color: #bb86fc;
    margin-bottom: 20px;
    display: inline-block;
}

.profile-card {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #bb86fc;
}

.download-area {
    margin-top: 30px;
}

.download-btn {
    text-decoration: none;
    background-color: #03dac6;
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
}

.download-btn:hover {
    background-color: #01bdae;
}