:root {
    --color1: #531F81;
    --color2: #004FAE;
    --color3: #0074C8;
    --color4: #0095CF;
    --color5: #00B4C8;
    --color6: #00CFBC;
    --white: #ffffff;
    --light-gray: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #531F81 0%, #004FAE 50%, #00B4C8 100%);
    color: var(--light-gray);
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

header img {
    width: 120px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1em;
    color: var(--light-gray);
}

.search-bar {
    max-width: 500px;
    margin: 30px auto;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #334155;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.5);
    color: var(--light-gray);
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-bar input::placeholder {
    color: var(--light-gray);
}

.search-bar input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(51 65 85 / 28%);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: linear-gradient(135deg, rgb(31 41 59 / 31%) 0%, rgb(51 65 85 / 28%) 100%);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 250px;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.6s ease-out;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.7) 100%);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.project-icon {
    height: 100px;
    max-width: 90%;
    object-fit: contain;
}

.project-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #f1f5f9;
    margin: 10px 0;
}

.project-url {
    font-size: 0.9em;
    color: var(--light-gray);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    margin-top: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--light-gray);
    font-size: 1.1em;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: var(--light-gray);
}