* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #fff9e6 25%, #fce4ec 50%, #e8f5e9 75%, #f3e5f5 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(66, 133, 244, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 67, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(251, 188, 4, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(52, 168, 83, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(32, 33, 36, 0.15);
}

.logo {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.logo .g { color: #4285F4; }
.logo .o1 { color: #EA4335; }
.logo .o2 { color: #FBBC04; }
.logo .g2 { color: #4285F4; }
.logo .l { color: #34A853; }
.logo .e { color: #EA4335; }

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 15px 25px;
    border: 1px solid #dfe1e5;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.search-box:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.search-icon {
    width: 24px;
    height: 24px;
    fill: #9aa0a6;
    flex-shrink: 0;
}

#searchInput {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    background: transparent;
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    padding: 0 10px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-icon {
    font-size: 32px;
    color: #5f6368;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0;
    justify-items: center;
}

#mainContent {
    max-width: 100%;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(218, 220, 224, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 220px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-color: #dadce0;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 12px;
    color: #5f6368;
    transition: color 0.3s ease;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.card-icon.image-icon {
    font-size: inherit;
}

.card:hover .card-icon {
    color: #4285F4;
}

.card h3 {
    color: #202124;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.card p {
    color: #5f6368;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.download-btn {
    background: #4285F4;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #1a73e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.card.hidden {
    display: none;
}

.category-section.hidden {
    display: none;
}

.description-box {
    margin-top: 25px;
    padding: 18px 30px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(52, 168, 83, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(66, 133, 244, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.description-text {
    color: #3c4043;
    font-size: 15px;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.description-text .material-icons {
    color: #4285F4;
    font-size: 22px;
    vertical-align: middle;
    margin-left: 15px;
}

.description-text .material-icons:first-child {
    margin-left: 0;
}

.description-text strong {
    color: #202124;
    font-weight: 600;
    margin-left: 5px;
}

.description-text::after {
    content: '';
}

.description-separator {
    color: #dadce0;
    font-weight: 300;
    margin: 0 8px;
}

@media (max-width: 768px) {
    .description-box {
        padding: 15px 20px;
    }
    
    .description-text {
        font-size: 13px;
        gap: 6px;
    }
    
    .description-text .material-icons {
        font-size: 20px;
    }
}





.card-source {
    font-size: 11px;
    color: #5f6368;
    margin-bottom: 6px;
    word-break: break-all;
    font-weight: 400;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 30px 15px;
    }
}
