* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    background-image: url('https://placehold.co/1920x1080/f0f0f0/cccccc?text=Background');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.header p {
    color: #718096;
    font-size: 1.1rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.link-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.content {
    flex: 1;
}

.title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.description {
    font-size: 0.9rem;
    color: #718096;
}

.external-icon {
    color: #4299e1;
}

.local-icon {
    color: #48bb78;
}

.yandex-search {
    margin: 25px 0 35px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.yandex-search form {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px 0 0 16px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-button {
    width: 50px;
    height: 50px;
    border: 1px solid #e2e8f0;
    border-left: none;
    border-radius: 0 16px 16px 0;
    background: #f3f3f3;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #3182ce;
    border-color: #3182ce;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    body {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        padding: 20px;
        gap: 12px;
    }
    
    .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}